mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
5ac0789e6e
meaningful message instead of the nondescript 'Tried to spawn a class-less actor'. - Converted AGlassJunk to DECORATE and made the spawn function a little more flexible so that replacing the shard is easier. - Converted ABloodSplatter to DECORATE. - Removed A_Jiggle because it never worked properly. - Changed DECORATE parser to allow commas between arguments for multi- argument properties. For all newly added properties this format will become mandatory but for backwards compatibility it is optional for old ones. - Added a check for negative indices to TAutoGrowArray::SetVal to prevent passing an index of -1 from crashing the game. - Fixed: Morphing must clear the weapon's flash sprite. - Fixed: Resurrecting a morphed player caused a crash. - Fixed: Random sounds that recursively refer to themselves caused a stack overflow. Now they print a warning and get ignored. SVN r277 (trunk)
400 lines
4.2 KiB
Text
400 lines
4.2 KiB
Text
|
|
// Rocks --------------------------------------------------------------------
|
|
|
|
ACTOR Rock1
|
|
{
|
|
SpawnID 41
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK A 20
|
|
Loop
|
|
Death:
|
|
ROKK A 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR Rock2
|
|
{
|
|
SpawnID 42
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK B 20
|
|
Loop
|
|
Death:
|
|
ROKK B 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
ACTOR Rock3
|
|
{
|
|
SpawnID 43
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK C 20
|
|
Loop
|
|
Death:
|
|
ROKK C 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
// Dirt --------------------------------------------------------------------
|
|
|
|
ACTOR Dirt1
|
|
{
|
|
SpawnID 44
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK D 20
|
|
Loop
|
|
Death:
|
|
ROKK D 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR Dirt2
|
|
{
|
|
SpawnID 45
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK E 20
|
|
Loop
|
|
Death:
|
|
ROKK E 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR Dirt3
|
|
{
|
|
SpawnID 46
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK F 20
|
|
Loop
|
|
Death:
|
|
ROKK F 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR Dirt4
|
|
{
|
|
SpawnID 47
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK G 20
|
|
Loop
|
|
Death:
|
|
ROKK G 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR Dirt5
|
|
{
|
|
SpawnID 48
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK H 20
|
|
Loop
|
|
Death:
|
|
ROKK H 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR Dirt6
|
|
{
|
|
SpawnID 49
|
|
+NOBLOCKMAP
|
|
+DROPOFF
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
States
|
|
{
|
|
Spawn:
|
|
ROKK I 20
|
|
Loop
|
|
Death:
|
|
ROKK I 10
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Stained glass ------------------------------------------------------------
|
|
|
|
|
|
ACTOR SGShard1 : GlassShard
|
|
{
|
|
SpawnID 54
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSA ABCDE 4
|
|
Loop
|
|
Death:
|
|
SGSA E 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard2 : GlassShard
|
|
{
|
|
SpawnID 55
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSA FGHIJ 4
|
|
Loop
|
|
Death:
|
|
SGSA J 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard3 : GlassShard
|
|
{
|
|
SpawnID 56
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSA KLMNO 4
|
|
Loop
|
|
Death:
|
|
SGSA O 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard4 : GlassShard
|
|
{
|
|
SpawnID 57
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSA PQRST 4
|
|
Loop
|
|
Death:
|
|
SGSA T 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard5 : GlassShard
|
|
{
|
|
SpawnID 58
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSA UVWXY 4
|
|
Loop
|
|
Death:
|
|
SGSA Y 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard6 : GlassShard
|
|
{
|
|
SpawnID 59
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSB A 4
|
|
Loop
|
|
Death:
|
|
SGSB A 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard7 : GlassShard
|
|
{
|
|
SpawnID 60
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSB B 4
|
|
Loop
|
|
Death:
|
|
SGSB B 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard8 : GlassShard
|
|
{
|
|
SpawnID 61
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSB C 4
|
|
Loop
|
|
Death:
|
|
SGSB C 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard9 : GlassShard
|
|
{
|
|
SpawnID 62
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSB D 4
|
|
Loop
|
|
Death:
|
|
SGSB D 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR SGShard0 : GlassShard
|
|
{
|
|
SpawnID 63
|
|
Radius 5
|
|
Mass 5
|
|
Projectile
|
|
-ACTIVATEMCROSS
|
|
-ACTIVATEIMPACT
|
|
BounceFactor 0.3
|
|
States
|
|
{
|
|
Spawn:
|
|
SGSB E 4
|
|
Loop
|
|
Death:
|
|
SGSB E 30
|
|
Stop
|
|
}
|
|
}
|
|
|
|
ACTOR GlassJunk
|
|
{
|
|
+NOCLIP
|
|
+NOBLOCKMAP
|
|
RenderStyle Translucent
|
|
Alpha 0.4
|
|
Health 3 // Number of different shards
|
|
States
|
|
{
|
|
// Are the first three frames used anywhere?
|
|
SHAR A 128
|
|
Goto Death
|
|
SHAR B 128
|
|
Goto Death
|
|
SHAR C 128
|
|
Goto Death
|
|
Spawn:
|
|
SHAR D 128
|
|
Goto Death
|
|
SHAR E 128
|
|
Goto Death
|
|
SHAR F 128
|
|
Goto Death
|
|
Death:
|
|
"----" A 1 A_FadeOut(0.03)
|
|
Wait
|
|
}
|
|
}
|