mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-06 21:11:43 +00:00
a90ba9deb6
- Made the Ettin's and Centaur's howling sound an actor property. - Added A_CustomComboAttack function to finally have something that can replace the old A_ComboAttack function. - Added A_SpawnItemEx function that removes the problems with A_SpawnItem and which also should make most of the A_CustomMissile abuse unnecessary. - Added A_QueueCorpse to the list of DECORATE code pointers. - Made the size of Hexen's corpse queue configurable by CVAR (sv_corpsequeuesize.) Setting this CVAR to -1 will disable corpse queuing completely so that even in Hexen all corpses will stay forever. SVN r392 (trunk)
109 lines
1.7 KiB
Text
109 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"
|
|
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, 4)
|
|
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
|
|
}
|
|
}
|
|
|
|
|
|
|