Skip to content

Commit

Permalink
Adjust gun names, use 1up sound in util menu #71
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Jan 15, 2024
1 parent e996774 commit 7cf7ba7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions missions/custom/techdemo/cyberdogs.cdogscpn/characters.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"Hat": "ff1616ff",
"Glasses": "ff1616ff",
"speed": 384,
"Gun": "Lazer",
"Gun": "Gun",
"Melee": "Fists",
"maxHealth": 12,
"excessHealth": 24,
Expand All @@ -128,7 +128,7 @@
"Hat": "ff1616ff",
"Glasses": "020000ff",
"speed": 128,
"Gun": "Gun",
"Gun": "Lazer",
"Melee": "Fists",
"maxHealth": 60,
"excessHealth": 120,
Expand All @@ -151,7 +151,7 @@
"Hat": "ff1616ff",
"Glasses": "ff1616ff",
"speed": 512,
"Gun": "Lazer",
"Gun": "Gun",
"Melee": "Chainsaw",
"maxHealth": 12,
"excessHealth": 24,
Expand Down
16 changes: 10 additions & 6 deletions missions/custom/techdemo/cyberdogs.cdogscpn/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@
},
{
"Pic": "blaster_yellow",
"Name": "Lazer",
"Name": "Gun",
"Bullet": "laser",
"Lock": 65,
"Lock": 30,
"Sound": "pistol",
"MuzzleFlashSprite": "muzzle_flash_big",
"MuzzleFlashColor": "ffff00",
Expand Down Expand Up @@ -193,14 +193,18 @@
"Name": "DumbGun",
"Bullet": "laser_dumb",
"Lock": 40,
"Sound": "pistol"
"Sound": "pistol",
"MuzzleFlashColor": "ff0000"
},
{
"Pic": "zapper_green",
"Name": "Gun",
"Name": "Lazer",
"Bullet": "pulse_green",
"Lock": 30,
"Sound": "pistol"
"Lock": 65,
"Sound": "pulse",
"MuzzleFlashSprite": "muzzle_flash_big",
"MuzzleFlashColor": "00ff00",
"MuzzleFlashDuration": 5
}
],
"PseudoGuns" : [
Expand Down
2 changes: 1 addition & 1 deletion src/util_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static void OnSelect(menu_t *menu, int cmd, void *data)
max = CampaignGetMaxLives(&gCampaign);
delta = 1;
price = LIFE_PRICE;
sound = "spawn";
sound = "1up";
break;
case OPTION_COUNT:
d->SelectResult = UTIL_MENU_CANCEL;
Expand Down

0 comments on commit 7cf7ba7

Please sign in to comment.