qzdoom-gpl/wadsrc/decorate/doom/lostsoul.txt
Christoph Oelckers 063c85b157 - Fixed: The global WeaponSection string was never freed. It has been replaced
with an FString now.
- Fixed: The music strings in the default level info were never freed and
  caused memory leaks when used repeatedly.
- Fixed: The intermusic string in the level info was never freed.
- Fixed: The default fire obituary should only be printed if the damage
  came from the environment. If it comes from a monster the monster specific
  obituary should be used instead.
- Added custom damage types from the floating point test release.
- Changed Pain Elemental's massacre check. Now A_PainDie checks for the damage 
  type and doesn't spawn anything if it is NAME_Massacre. A_PainDie can also 
  be used by other actors so a more generalized approach is needed than hard
  coding it into the Pain Elemental.
- Converted a few of Doom's monsters to DECORATE because I couldn't test the
  first version of the custom state code with the corpses inheriting from them.
- Added custom states from last year's floating point test release and fixed
  some bugs I found in that code. Unfortunately it wasn't all salvageable
  and it was easier to recreate some parts from scratch.



SVN r368 (trunk)
2006-10-31 14:53:21 +00:00

51 lines
957 B
Text

//===========================================================================
//
// Lost Soul
//
//===========================================================================
ACTOR LostSoul 3006
{
Game Doom
SpawnID 110
Health 100
Radius 16
Height 56
Mass 50
Speed 8
Damage 3
PainChance 256
Monster
+FLOAT +NOGRAVITY +MISSILEMORE +DONTFALL +NOICEDEATH
AttackSound "skull/melee"
PainSound "skull/pain"
DeathSound "skull/death"
ActiveSound "skull/active"
RenderStyle SoulTrans
Obituary "$OB_SKULL"
States
{
Spawn:
SKUL AB 10 BRIGHT A_Look
Loop
See:
SKUL AB 6 BRIGHT A_Chase
Loop
Missile:
SKUL C 10 BRIGHT A_FaceTarget
SKUL D 4 BRIGHT A_SkullAttack
SKUL CD 4 BRIGHT
Goto Missile+2
Pain:
SKUL E 3 BRIGHT
SKUL E 3 BRIGHT A_Pain
Goto See
Death:
SKUL F 6 BRIGHT
SKUL G 6 BRIGHT A_Scream
SKUL H 6 BRIGHT
SKUL I 6 BRIGHT A_Fall
SKUL J 6
SKUL K 6
Stop
}
}