Classes:ThrowingBomb
A projectile spawned when a fighter fléchette is used, it bounces on the ground and explodes after a short while or when hitting an actor or a wall.
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
| Fléchette used by a fighter | |||
|---|---|---|---|
| Actor type | Explosive | Game | |
| DoomEd Number | None | Class Name | ThrowingBomb |
Classes: ThrowingBomb
DECORATE definition
ACTOR ThrowingBomb
{
Health 48
Speed 12
Radius 8
Height 10
DamageType "Fire"
+NOBLOCKMAP
+DROPOFF
+MISSILE
BounceType "HexenCompat"
SeeSound "FlechetteBounce"
DeathSound "FlechetteExplode"
action native A_CheckThrowBomb();
action native A_CheckThrowBomb2();
States
{
Spawn:
THRW A 4 A_CheckThrowBomb
THRW BCDE 3 A_CheckThrowBomb
THRW F 3 A_CheckThrowBomb2
Loop
THRW G 6 A_CheckThrowBomb
THRW F 4 A_CheckThrowBomb
THRW H 6 A_CheckThrowBomb
THRW F 4 A_CheckThrowBomb
THRW G 6 A_CheckThrowBomb
THRW F 3 A_CheckThrowBomb
Wait
Death:
CFCF Q 4 Bright A_NoGravity
CFCF R 3 Bright A_Scream
CFCF S 4 Bright A_Explode
CFCF T 3 Bright
CFCF U 4 Bright
CFCF W 3 Bright
CFCF X 4 Bright
CFCF Z 3 Bright
Stop
}
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.