mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-22 17:01:08 +00:00
- gave the blimp its own source file
This commit is contained in:
parent
0c5f3a5dcd
commit
867dd76902
3 changed files with 21 additions and 16 deletions
|
@ -160,6 +160,7 @@ version "4.10"
|
|||
#include "zscript/games/duke/actors/dukeenemies/tank.zs"
|
||||
#include "zscript/games/duke/actors/dukeenemies/turret.zs"
|
||||
|
||||
#include "zscript/games/duke/actors/dukestuff/blimp.zs"
|
||||
#include "zscript/games/duke/actors/redneckcstuff/airplane.zs"
|
||||
#include "zscript/games/duke/actors/redneckcstuff/balloons.zs"
|
||||
#include "zscript/games/duke/actors/redneckcstuff/bowling.zs"
|
||||
|
|
|
@ -163,22 +163,6 @@ class RedneckBlood : DukeBlood
|
|||
}
|
||||
|
||||
|
||||
class DukeBlimp : DukeActor
|
||||
{
|
||||
default
|
||||
{
|
||||
pic "BLIMP";
|
||||
+SPAWNWEAPONDEBRIS;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
{
|
||||
self.cstat |= CSTAT_SPRITE_BLOCK_ALL;
|
||||
self.clipdist = 32;
|
||||
self.ChangeStat(STAT_ACTOR);
|
||||
}
|
||||
}
|
||||
|
||||
class DukeMike : DukeActor
|
||||
{
|
||||
default
|
||||
|
|
20
wadsrc/static/zscript/games/duke/actors/dukestuff/blimp.zs
Normal file
20
wadsrc/static/zscript/games/duke/actors/dukestuff/blimp.zs
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
class DukeBlimp : DukeActor
|
||||
{
|
||||
const BLIMPRESPAWNTIME = 2048;
|
||||
|
||||
default
|
||||
{
|
||||
pic "BLIMP";
|
||||
Strength 1;
|
||||
+SPAWNWEAPONDEBRIS;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
{
|
||||
self.cstat |= CSTAT_SPRITE_BLOCK_ALL;
|
||||
self.clipdist = 32;
|
||||
self.ChangeStat(STAT_ACTOR);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue