mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-20 17:31:10 +00:00
e4af82ae96
velocity, and now it's known as such. The actor variables momx/momy/momz are now known as velx/vely/velz, and the ACS functions GetActorMomX/Y/Z are now known as GetActorVelX/Y/Z. For compatibility, momx/momy/momz will continue to work as aliases from DECORATE. The ACS functions, however, require you to use the new name, since they never saw an official release yet. SVN r1689 (trunk)
110 lines
1.7 KiB
Text
110 lines
1.7 KiB
Text
|
|
// Ettin --------------------------------------------------------------------
|
|
|
|
ACTOR Ettin 10030
|
|
{
|
|
Game Hexen
|
|
SpawnID 4
|
|
Health 175
|
|
Radius 25
|
|
Height 68
|
|
Mass 175
|
|
Speed 13
|
|
Damage 3
|
|
Painchance 60
|
|
Monster
|
|
+FLOORCLIP
|
|
+TELESTOMP
|
|
SeeSound "EttinSight"
|
|
AttackSound "EttinAttack"
|
|
PainSound "EttinPain"
|
|
DeathSound "EttinDeath"
|
|
ActiveSound "EttinActive"
|
|
HowlSound "PuppyBeat"
|
|
Obituary "$OB_ETTIN"
|
|
States
|
|
{
|
|
Spawn:
|
|
ETTN AA 10 A_Look
|
|
Loop
|
|
See:
|
|
ETTN ABCD 5 A_Chase
|
|
Loop
|
|
Pain:
|
|
ETTN H 7 A_Pain
|
|
Goto See
|
|
Melee:
|
|
ETTN EF 6 A_FaceTarget
|
|
ETTN G 8 A_CustomMeleeAttack(random[EttinAttack](1,8)*2)
|
|
Goto See
|
|
Death:
|
|
ETTN IJ 4
|
|
ETTN K 4 A_Scream
|
|
ETTN L 4 A_NoBlocking
|
|
ETTN M 4 A_QueueCorpse
|
|
ETTN NOP 4
|
|
ETTN Q -1
|
|
Stop
|
|
XDeath:
|
|
ETTB A 4
|
|
ETTB B 4 A_NoBlocking
|
|
ETTB C 4 A_SpawnItemEx("EttinMace", 0,0,8.5,
|
|
random[DropMace](-128,127) * 0.03125,
|
|
random[DropMace](-128,127) * 0.03125,
|
|
10 + random[DropMace](0,255) * 0.015625, 0, SXF_ABSOLUTEVELOCITY)
|
|
ETTB D 4 A_Scream
|
|
ETTB E 4 A_QueueCorpse
|
|
ETTB FGHIJK 4
|
|
ETTB L -1
|
|
Stop
|
|
Ice:
|
|
ETTN R 5 A_FreezeDeath
|
|
ETTN R 1 A_FreezeDeathChunks
|
|
Wait
|
|
}
|
|
}
|
|
|
|
// Ettin mace ---------------------------------------------------------------
|
|
|
|
ACTOR EttinMace
|
|
{
|
|
Radius 5
|
|
Height 5
|
|
+DROPOFF
|
|
+CORPSE
|
|
+NOTELEPORT
|
|
+FLOORCLIP
|
|
States
|
|
{
|
|
Spawn:
|
|
ETTB MNOP 5
|
|
Loop
|
|
Crash:
|
|
ETTB Q 5
|
|
ETTB R 5 A_QueueCorpse
|
|
ETTB S -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Ettin mash ---------------------------------------------------------------
|
|
|
|
ACTOR EttinMash : Ettin
|
|
{
|
|
Game Hexen
|
|
SpawnID 102
|
|
+NOBLOOD
|
|
+NOICEDEATH
|
|
RenderStyle Translucent
|
|
Alpha 0.4
|
|
States
|
|
{
|
|
Death:
|
|
XDeath:
|
|
Ice:
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
|