qzdoom-gpl/wadsrc/static/actors/heretic/hereticmisc.txt
Randy Heit 41a416f068 This commit is 90% contributed content:
- Added transference of a select few flags from PowerProtection to its owner.
- Added actor type parameters to A_PodPain() and A_MakePod().
- The savegame path is now passed through NicePath(), since it's user-
  specifiable.
- Added save_dir cvar. When non-empty, it controls where savegames go.
- SBARINFO update:
  * Added the ability to center things with fullscreenoffsets enabled.  Due
    to some limitations the syntax is [-]<integer> [+ center].
  * Fixed: the translucent flag on drawinventorybar didn't work quite right.
  * Fixed: Extremely minor inaccuracy in the Doom SBarInfo code.  The
    fullscreen inventory bar wasn't scaled correctly.


SVN r1571 (trunk)
2009-05-09 02:31:49 +00:00

241 lines
4 KiB
Text

// Pod ----------------------------------------------------------------------
ACTOR Pod 2035
{
Game Heretic
SpawnID 125
Health 45
Radius 16
Height 54
Painchance 255
+SOLID +NOBLOOD +SHOOTABLE +DROPOFF
+WINDTHRUST +PUSHABLE +SLIDESONWALLS
+CANPASS +TELESTOMP +DONTMORPH
+NOBLOCKMONST +DONTGIB +OLDRADIUSDMG
DeathSound "world/podexplode"
action native A_PodPain (class<Actor> podtype = "PodGoo");
action native A_RemovePod ();
States
{
Spawn:
PPOD A 10
Loop
Pain:
PPOD B 14 A_PodPain
Goto Spawn
Death:
PPOD C 5 BRIGHT A_RemovePod
PPOD D 5 BRIGHT A_Scream
PPOD E 5 BRIGHT A_Explode
PPOD F 10 BRIGHT
Stop
Grow:
PPOD IJKLMNOP 3
Goto Spawn
}
}
// Pod goo (falls from pod when damaged) ------------------------------------
ACTOR PodGoo
{
Radius 2
Height 4
Gravity 0.125
+NOBLOCKMAP +MISSILE +DROPOFF
+NOTELEPORT +CANNOTPUSH
States
{
Spawn:
PPOD GH 8
Loop
Death:
PPOD G 10
Stop
}
}
// Pod generator ------------------------------------------------------------
ACTOR PodGenerator 43
{
Game Heretic
SpawnID 126
+NOBLOCKMAP
+NOSECTOR
+DONTSPLASH
action native A_MakePod (class<Actor> podtype = "Pod");
States
{
Spawn:
TNT1 A 35 A_MakePod
Loop
}
}
// Teleglitter generator 1 --------------------------------------------------
ACTOR TeleGlitterGenerator1 74
{
Game Heretic
SpawnID 166
+NOBLOCKMAP
+NOSECTOR
+NOGRAVITY
+DONTSPLASH
States
{
Spawn:
TNT1 A 8 A_SpawnItemEx("TeleGlitter1", random[TeleGlitter](0,31)-16, random[TeleGlitter](0,31)-16, 0, 0,0,0.25)
Loop
}
}
// Teleglitter generator 2 --------------------------------------------------
ACTOR TeleGlitterGenerator2 52
{
Game Heretic
SpawnID 167
+NOBLOCKMAP
+NOSECTOR
+NOGRAVITY
+DONTSPLASH
States
{
Spawn:
TNT1 A 8 A_SpawnItemEx("TeleGlitter2", random[TeleGlitter2](0,31)-16, random[TeleGlitter2](0,31)-16, 0, 0,0,0.25)
Loop
}
}
// Teleglitter 1 ------------------------------------------------------------
ACTOR TeleGlitter1
{
+NOBLOCKMAP +NOGRAVITY +MISSILE
RenderStyle Add
Damage 0
action native A_AccTeleGlitter ();
States
{
Spawn:
TGLT A 2 BRIGHT
TGLT B 2 BRIGHT A_AccTeleGlitter
TGLT C 2 BRIGHT
TGLT D 2 BRIGHT A_AccTeleGlitter
TGLT E 2 BRIGHT
Loop
}
}
// Teleglitter 2 ------------------------------------------------------------
ACTOR TeleGlitter2 : TeleGlitter1
{
States
{
Spawn:
TGLT F 2 BRIGHT
TGLT G 2 BRIGHT A_AccTeleGlitter
TGLT H 2 BRIGHT
TGLT I 2 BRIGHT A_AccTeleGlitter
TGLT J 2 BRIGHT
Loop
}
}
// --- Volcano --------------------------------------------------------------
ACTOR Volcano 87
{
Game Heretic
SpawnID 150
Radius 12
Height 20
+SOLID
action native A_VolcanoSet ();
action native A_VolcanoBlast ();
States
{
Spawn:
VLCO A 350
VLCO A 35 A_VolcanoSet
VLCO BCDBCD 3
VLCO E 10 A_VolcanoBlast
Goto Spawn+1
}
}
// Volcano blast ------------------------------------------------------------
ACTOR VolcanoBlast
{
Game Heretic
SpawnID 123
Radius 8
Height 8
Speed 2
Damage 2
DamageType Fire
Gravity 0.125
+NOBLOCKMAP +MISSILE +DROPOFF
+NOTELEPORT
DeathSound "world/volcano/blast"
action native A_VolcBallImpact ();
States
{
Spawn:
VFBL A 4 BRIGHT A_SpawnItemEx("Puffy", random2[BeastPuff]()*0.015625, random2[BeastPuff]()*0.015625, random2[BeastPuff]()*0.015625,
0,0,0,0,SXF_ABSOLUTEPOSITION, 64)
Loop
Death:
XPL1 A 4 BRIGHT A_VolcBallImpact
XPL1 BCDEF 4 BRIGHT
Stop
}
}
// Volcano T Blast ----------------------------------------------------------
ACTOR VolcanoTBlast
{
Game Heretic
SpawnID 124
Radius 8
Height 6
Speed 2
Damage 1
DamageType Fire
Gravity 0.125
+NOBLOCKMAP +MISSILE +DROPOFF
+NOTELEPORT
States
{
Spawn:
VTFB AB 4 BRIGHT
Loop
Death:
SFFI CBABCDE 4 BRIGHT
Stop
}
}