Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //In ZScript you start with "Class" instead of "Actor", and actors need to explicitly inherit from the base Actor class.
- Class AllyMarine : Actor
- {
- //The actors' properties and flags have to be put inside a Default{} block, similar to how states are put in a States{} block.
- Default
- {
- //Actor properties need to have semicolons at the end.
- Health 200;
- GibHealth -50; //-35 orignal submission Default. -200 Vanilla Doom Default
- Radius 20;
- Height 56;
- Mass 100;
- SeeSound "Ally/Site";
- PainSound "Ally/Pain";
- DeathSound "Ally/Death";
- ActiveSound "Ally/Active";
- MaxTargetRange 2048;
- MaxStepHeight 32;
- MaxDropoffHeight 64;
- //Default speeds & pain chance for majority
- Speed 10;
- FastSpeed 12;
- PainChance 128;
- MONSTER;
- //Default Flags for majority
- +BOSS //But flags don't, though you could give them semicolons if you want.
- +FLOORCLIP
- +FRIENDLY
- +AVOIDMELEE
- +MISSILEMORE
- +QUICKTORETALIATE
- +SLIDESONWALLS
- +CANPUSHWALLS
- +CANUSEWALLS
- +JUMPDOWN
- +NODROPOFF
- +PUSHABLE
- //+NOTAUTOAIMED
- +NOBLOCKMONST
- +LOOKALLAROUND
- -COUNTKILL
- //Optional Flags that I'm leaving you to decide whether to use them
- //+NOTIMEFREEZE
- //+NOFEAR
- }
- States
- {
- //All state frames in ZScript need to have semicolors, even ones that don't contain anonymous functions.
- Crush:
- TNT1 A 0 A_XScream();
- POL5 R -1;
- Loop;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement