Skip to content

Commit

Permalink
backpack sprite
Browse files Browse the repository at this point in the history
not entirely done but its good for now
also added floatbob to demon spheres
  • Loading branch information
iamcarrotmaster committed Jun 8, 2023
1 parent 2252422 commit 4c18c22
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 11 deletions.
11 changes: 2 additions & 9 deletions BMAP/Ammo.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
//Combat Backpack
brightmap sprite CMPKA0 { map "Brightmaps/ITEMS/CMPKA.png" }
brightmap sprite CMPKB0 { map "Brightmaps/ITEMS/CMPKB.png" }
brightmap sprite CMPKC0 { map "Brightmaps/ITEMS/CMPKC.png" }
brightmap sprite CMPKD0 { map "Brightmaps/ITEMS/CMPKD.png" }
brightmap sprite CMPKE0 { map "Brightmaps/ITEMS/CMPKE.png" }
brightmap sprite CMPKF0 { map "Brightmaps/ITEMS/CMPKF.png" }
brightmap sprite CMPKG0 { map "Brightmaps/ITEMS/CMPKG.png" }
brightmap sprite CMPKC0 { map "Brightmaps/ITEMS/CMPKC.png" }
//Backpack
brightmap sprite BPAKA0 { map "Brightmaps/ITEMS/BPAKA.png" }

//Cell
brightmap sprite CELLA0 { map "Brightmaps/ITEMS/CELLA.png" }
Expand Down
Binary file added SPRITES/ITEMS/BPAKA0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed SPRITES/ITEMS/Backpack/BPAKA0.png
Binary file not shown.
Binary file removed SPRITES/ITEMS/Backpack/CMPKA0.png
Binary file not shown.
Binary file removed SPRITES/ITEMS/Backpack/CMPKB0.png
Binary file not shown.
Binary file removed SPRITES/ITEMS/Backpack/CMPKC0.png
Binary file not shown.
Binary file removed SPRITES/ITEMS/Backpack/CMPKD0.png
Binary file not shown.
Binary file removed SPRITES/ITEMS/Backpack/CMPKE0.png
Binary file not shown.
Binary file removed SPRITES/ITEMS/Backpack/CMPKF0.png
Binary file not shown.
Binary file removed SPRITES/ITEMS/Backpack/CMPKG0.png
Binary file not shown.
13 changes: 11 additions & 2 deletions zscript/AmmoBase.zsc
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,11 @@ class PB_DTech : PB_Ammo replaces demonpickup
Inventory.Amount 20;
Inventory.MaxAmount 300;
Inventory.PickupSound "demonsoulpickup";
Ammo.BackpackAmount 0;
Ammo.BackpackAmount 60;
Ammo.BackpackMaxAmount 600;
PB_Ammo.ammotype "dtech";
+FLOATBOB
floatbobstrength .4;
}

override void DoPickupSpecial(actor toucher)
Expand Down Expand Up @@ -339,4 +341,11 @@ class PB_QuickLauncherAmmo : PB_Ammo
}

//Backpack
class PB_Backpack : Backpack { Default { Inventory.PickupSound "BACKPCK"; } }
class PB_Backpack : Backpack replaces Backpack
{
Default
{
Inventory.PickupSound "BACKPCK";
Scale .15;
}
}

0 comments on commit 4c18c22

Please sign in to comment.