Yuki Senmatsu Posted November 24, 2014 Hi. I was adding a new battle inventory item for Xmas wad I was enhancing for 2 years. When I used it, it also decreased my bullet ammo for some reason. Code: ACTOR SnowBallPickup : CustomInventory 22054 { +FLOATBOB +NOGRAVITY +INVENTORY.INVBAR +INVENTORY.PICKUPFLASH +INVENTORY.FANCYPICKUPSOUND Inventory.Icon "SICOA0" Inventory.PickupSound "Xmas/Powerup" Inventory.PickupMessage "SNOWBALL" Inventory.UseSound "imp/attack" States { Spawn: SINV A -1 Loop Use: TNT1 A 0 A_FireCustomMissile("SnowBall",0) Stop } } actor SnowBall { radius 6 height 16 damage 16 speed 15 seesound "XFIRE" deathsound "baron/shotx" decal CacoScorch1 PROJECTILE states { Spawn: SBAL AB 4 bright loop Death: SBAL CDE 6 bright stop } } Could someone please help me resolve this issue? -Omegalore 0 Share this post Link to post
Gez Posted November 24, 2014 First, learn to use code tags. :p Secondly, you said "found out, it was the pistol2", so do you still need help or what? 0 Share this post Link to post
Yuki Senmatsu Posted November 24, 2014 Gez said:First, learn to use code tags. :p Secondly, you said "found out, it was the pistol2", so do you still need help or what? I do know about tags. Well the reason I used DECORATE for the pistol was because of the Readme of the old version of this Xmas wad. It's more powerful and it has a reload animation after 10 shots. Yes, I still need help. Please. 0 Share this post Link to post
Yuki Senmatsu Posted November 24, 2014 Found out something else. It also takes other ammo if selected. What? I should've tested it with other weapons before posting. Ah bugger! 0 Share this post Link to post
Blue Shadow Posted November 24, 2014 A_FireCustomMissile consumes ammo by default. You can change that with third parameter. Referring to the snowball pickup here. 0 Share this post Link to post
Yuki Senmatsu Posted November 24, 2014 Blue Shadow said:A_FireCustomMissile consumes ammo by default. You can change that with third parameter. Referring to the snowball pickup here. Why thank you my good sir. Resolved now :) It's a first with battle items. 0 Share this post Link to post