Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Yuki Senmatsu

Inventory As Ammo

Recommended Posts

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

Share this post


Link to post

First, learn to use code tags. :p


Secondly, you said "found out, it was the pistol2", so do you still need help or what?

Share this post


Link to post
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.

Share this post


Link to post
Guest
This topic is now closed to further replies.
×