mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 07:34:50 +00:00
49422188f2
- Added MissSound parameter to A_CustomMeleeAttack. - Converted Heretic's Snake (Ophidian) to DECORATE. - Added an option to A_CustomMissile to jump to the see state if the caller's target is dead. - Fixed: A_ThrowGrenade didn't play the missile's spawn sound. - Added MF_SPAWNSOUNDSOURCE flag so that Raven's missile spawning code pointers can be recreated with DECORATE. - Converted a_ravenambient.cpp to DECORATE. SVN r388 (trunk)
48 lines
749 B
Text
48 lines
749 B
Text
|
|
ACTOR Clink 90
|
|
{
|
|
Game Heretic
|
|
SpawnID 1
|
|
Health 150
|
|
Radius 20
|
|
Height 64
|
|
Mass 75
|
|
Speed 14
|
|
Painchance 32
|
|
Monster
|
|
+NOBLOOD
|
|
+FLOORCLIP
|
|
SeeSound "clink/sight"
|
|
AttackSound "clink/attack"
|
|
PainSound "clink/pain"
|
|
DeathSound "clink/death"
|
|
ActiveSound "clink/active"
|
|
Obituary "$OB_CLINK"
|
|
DropItem "SkullRodAmmo", 84, 20
|
|
States
|
|
{
|
|
Spawn:
|
|
CLNK AB 10 A_Look
|
|
Loop
|
|
See:
|
|
CLNK ABCD 3 A_Chase
|
|
Loop
|
|
Melee:
|
|
CLNK E 5 A_FaceTarget
|
|
CLNK F 4 A_FaceTarget
|
|
CLNK G 7 A_CustomMeleeAttack(random(3,9), "clink/attack", "clink/attack")
|
|
Goto See
|
|
Pain:
|
|
CLNK H 3
|
|
CLNK H 3 A_Pain
|
|
Goto See
|
|
Death:
|
|
CLNK IJ 6
|
|
CLNK K 5 A_Scream
|
|
CLNK L 5 A_NoBlocking
|
|
CLNK MN 5
|
|
CLNK O -1
|
|
Stop
|
|
}
|
|
}
|
|
|