forked from EmeraldCoasttt/BrutalDoomPlatinum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ZSCRIPT.txt
115 lines (96 loc) · 3.11 KB
/
ZSCRIPT.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version "4.10.0"
#include "ZScript/math.zsc"
#include "ZScript/PlayerPawn.ZMV"
#include "ZScript/DoxUtilities.txt"
#include "ZScript/Projectiles.txt"
#include "Zscript/HeadShots.txt"
#include "Zscript/GORE.txt"
#include "Zscript/BDP_hud.zs"
#include "Zscript/MapEnhancement.txt"
#include "Zscript/Items/Artifacts.txt"
#include "Zscript/Items/DemonRunes.txt"
#include "Zscript/Items/Keyes.txt"
#include "Zscript/Weapons/WeaponBase.txt"
#include "Zscript/Weapons/WeaponSpawners.txt"
//Slot 1
#include "Zscript/Weapons/Slot1/Chainsaw.txt"
#include "Zscript/Weapons/Slot1/Melee.txt"
//Slot 2
#include "Zscript/Weapons/Slot2/RiotShield.txt"
//Slot 3
#include "Zscript/Weapons/Slot3/SuperShotgun.txt"
//Slot 4
#include "Zscript/Weapons/Slot4/MinigunTurret.txt"
//Slot 5
#include "Zscript/Weapons/Slot5/StickyGrenade.txt"
#include "Zscript/Weapons/Slot5/TripMine.txt"
//Slot 6
#include "Zscript/Weapons/Slot6/Freezer.txt"
#include "Zscript/Weapons/Slot6/Needler.txt"
#include "Zscript/Weapons/Slot6/Railgun.txt"
//Slot 7
#include "Zscript/Weapons/Slot7/BFG.txt"
#include "Zscript/Weapons/Slot7/Unmaker.txt"
//Slot 8
#include "Zscript/Weapons/Slot8/RevenantJetpack.txt"
#include "Zscript/Weapons/Slot8/Tenderizer.txt"
//Slot 9
#include "Zscript/Weapons/Slot9/VoidGrenades.txt"
#include "Zscript/Monsters/ExplosiveBarrel.txt"
#include "Zscript/Monsters/Archvile.txt"
#include "Zscript/Monsters/Zombie.txt"
#include "Zscript/Monsters/LostSoul.txt"
#include "Zscript/Monsters/Spiders.txt"
#include "Zscript/Monsters/Cyberdemon.txt"
#include "Zscript/Monsters/BrutalFriend.txt"
#include "ZScript/Vehicles/Kinematics/kine_parts.zsc"
#include "ZScript/Vehicles/veh_parts.zsc"
#include "ZScript/Vehicles/veh_halobase.zsc"
#include "ZScript/Vehicles/veh_ghost.zsc"
#include "Zscript/BDPMatrix.txt"
#include "Zscript/BDPGutamatics/Include.zsc"
#include "zscript/6dof/quaternion.zs"
#include "zscript/6dof/roll_handler.zs"
#include "zscript/TiltPlusPlus/TiltPlusPlus.zc"
#include "zscript/TiltPlusPlus/TiltPlusPlusMenu.zc"
#include "ZScript/Modifiers/modifier_base.zsc"
#include "ZScript/Modifiers/modifiers.zsc"
#include "ZScript/Modifiers/modifier_events.zsc"
#include "ZScript/Modifiers/modifier_items.zsc"
#include "ZScript/Menus/Base/sbs.zsc"
#include "ZScript/Menus/Base/menu_elements.zsc"
#include "ZScript/Menus/Base/menu_base.zsc"
#include "ZScript/Menus/menuswitcher.zsc"
#include "ZScript/Menus/modifiers_menu.zsc"
#include "ZScript/weather/weatherhandler.zs"
#include "ZScript/weather/weather.zs"
#include "ZScript/weather/precipitation.zs"
#include "ZScript/weather/weatherparticles.txt"
#include "ZScript/weather/weathertypes.txt"
// Any decorations should inherit from this if they've got no special behaviors.
// This uses a custom Tick override which only goes through States and checks for
// alpha or if the Actor is frozen, so it's very light-weight.
class DecoActor : Actor
{
Default
{
Radius 1;
+NOINTERACTION;
}
override void Tick()
{
if (alpha <= 0)
{
destroy();
return;
}
if (isFrozen()) return;
//animation:
if (tics != -1)
{
if(tics > 0) tics--;
while (!tics)
if(!SetState(CurState.NextState)) return;
}
}
}