mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-11 05:01:09 +00:00
a59de25107
* MBF's dog (definition only, no sprites yet.) * User variables. There's an array of 10. They can be set and checked in both DECORATE and ACS. * Made the tag name changeable but eliminated the redundancy of having both the meta property and the individual actor's one. Having one is fully sufficient. TO BE FIXED: Names are case insensitive but this should better be case sensitive. Unfortunately there's currently nothing better than FName to store a string inside an actor without severely complicating matters. Also bumped savegame version to avoid problems with this change. SVN r1823 (trunk)
45 lines
669 B
Text
45 lines
669 B
Text
ACTOR Dog 888
|
|
{
|
|
Game Doom
|
|
Health 500
|
|
Speed 10
|
|
PainChance 180
|
|
Radius 12
|
|
Height 28
|
|
Mass 100
|
|
Monster
|
|
+JUMPDOWN
|
|
ActiveSound "dog/active"
|
|
AttackSound "dog/attack"
|
|
DeathSound "dog/death"
|
|
PainSound "dog/pain"
|
|
SeeSound "dog/sight"
|
|
Obituary "$OB_DOG"
|
|
States
|
|
{
|
|
Spawn:
|
|
DOGS AB 10 A_Look
|
|
Loop
|
|
See:
|
|
DOGS AABBCCDD 2 A_Chase
|
|
Loop
|
|
Melee:
|
|
DOGS EF 8 A_FaceTarget
|
|
DOGS G 8 A_SargAttack
|
|
Goto See
|
|
Pain:
|
|
DOGS H 2
|
|
DOGS H 2 A_Pain
|
|
Goto See
|
|
Death:
|
|
DOGS I 8
|
|
DOGS J 8 A_Scream
|
|
DOGS K 4
|
|
DOGS L 4 A_Fall
|
|
DOGS M 4
|
|
DOGS N -1
|
|
Raise:
|
|
DOGS NMLKJI 5
|
|
Goto See
|
|
}
|
|
}
|