mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 04:50:26 +00:00
90db40c70f
- Fixed: The shotgun had spawn ID 21 instead of 27. - Fixed: All 3 states in the DoomUnusedStates actor need to end with a 'stop'. - Fixed: The DECORATE TakeInventory functions didn't check the IF_KEEPDEPLETED flag. - Fixed: ClearInventory should leave ammo in the inventory because it might be referenced by undroppable weapons. - Fixed: Several functions in a_artifacts.cpp were missing a check for a valid owner. - Fixed: sc_man counted lines wrong when ungetting strings but getting tokens next. SVN r552 (trunk)
91 lines
1.4 KiB
Text
91 lines
1.4 KiB
Text
//===========================================================================
|
|
//
|
|
// Imp
|
|
//
|
|
//===========================================================================
|
|
ACTOR DoomImp 3001
|
|
{
|
|
Game Doom
|
|
SpawnID 5
|
|
Health 60
|
|
Radius 20
|
|
Height 56
|
|
Mass 100
|
|
Speed 8
|
|
PainChance 200
|
|
Monster
|
|
+FLOORCLIP
|
|
SeeSound "imp/sight"
|
|
PainSound "imp/pain"
|
|
DeathSound "imp/death"
|
|
ActiveSound "imp/active"
|
|
HitObituary "$OB_IMPHIT"
|
|
Obituary "$OB_IMP"
|
|
States
|
|
{
|
|
Spawn:
|
|
TROO AB 10 A_Look
|
|
Loop
|
|
See:
|
|
TROO AABBCCDD 3 A_Chase
|
|
Loop
|
|
Melee:
|
|
Missile:
|
|
TROO EF 8 A_FaceTarget
|
|
TROO G 6 A_TroopAttack
|
|
Goto See
|
|
Pain:
|
|
TROO H 2
|
|
TROO H 2 A_Pain
|
|
Goto See
|
|
Death:
|
|
TROO I 8
|
|
TROO J 8 A_Scream
|
|
TROO K 6
|
|
TROO L 6 A_NoBlocking
|
|
TROO M -1
|
|
Stop
|
|
XDeath:
|
|
TROO N 5
|
|
TROO O 5 A_XScream
|
|
TROO P 5
|
|
TROO Q 5 A_NoBlocking
|
|
TROO RST 5
|
|
TROO U -1
|
|
Stop
|
|
Raise:
|
|
TROO MLKJI 8
|
|
Goto See
|
|
}
|
|
}
|
|
|
|
//===========================================================================
|
|
//
|
|
// Imp fireball
|
|
//
|
|
//===========================================================================
|
|
ACTOR DoomImpBall
|
|
{
|
|
Game Doom
|
|
SpawnID 10
|
|
Radius 6
|
|
Height 8
|
|
Speed 10
|
|
FastSpeed 20
|
|
Damage 3
|
|
Projectile
|
|
+RANDOMIZE
|
|
RenderStyle Add
|
|
Alpha 1
|
|
SeeSound "imp/attack"
|
|
DeathSound "imp/shotx"
|
|
States
|
|
{
|
|
Spawn:
|
|
BAL1 AB 4 BRIGHT
|
|
Loop
|
|
Death:
|
|
BAL1 CDE 6 BRIGHT
|
|
Stop
|
|
}
|
|
}
|