SHOW:
|
|
- or go back to the newest paste.
1 | ACTOR ChargedEnergy : Inventory | |
2 | { | |
3 | Inventory.MaxAmount 1 | |
4 | } | |
5 | ||
6 | ||
7 | Actor WandOfEmbers : Weapon replaces Chainsaw | |
8 | { | |
9 | Inventory.PickupSound "Misc/W_PkUp" | |
10 | Inventory.PickupMessage "Wand of Embers" | |
11 | Obituary "%o was burned by %k" | |
12 | Weapon.AmmoType "WandOfEmbersAmmo" | |
13 | Weapon.AmmoGive 20 | |
14 | Weapon.AmmoUse 1 | |
15 | Weapon.SisterWeapon "WandOfEmbers~Powered" | |
16 | +WEAPON.NOAUTOFIRE | |
17 | States | |
18 | { | |
19 | Spawn: | |
20 | WEMB A -1 | |
21 | Loop | |
22 | Select: | |
23 | WEMB B 1 A_Raise | |
24 | Loop | |
25 | Deselect: | |
26 | WEMB B 1 A_Lower | |
27 | Loop | |
28 | Ready: | |
29 | WEMB A 0 A_JumpIfInventory("ChargedEnergy",1,"ReadyCharged") | |
30 | ReadyCharged: | |
31 | WEMB B 1 A_WeaponReady | |
32 | Uncharged: | |
33 | WEMB C 1 | |
34 | WEMB D 1 | |
35 | WEMB C 1 | |
36 | WEMB D 1 | |
37 | ||
38 | Fire: | |
39 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-5, -3), 0, 0, 0, 0, Random(-2, 2)) | |
40 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(5, 3), 0, 0, 0, 0, Random(-2, 2)) | |
41 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-3, 3), 0, 0, 0, 0, Random(3, 1)) | |
42 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-3, 3), 0, 0, 0, 0, Random(-3, -1)) | |
43 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", 0, 1, 0, 0, 0, 0) | |
44 | WEMB FG 5 Bright | |
45 | WEMB D 6 | |
46 | WEMB B 1 A_TakeInventory("ChargedEnergy") | |
47 | Goto Ready | |
48 | ||
49 | AltHold: | |
50 | WEBM C 1 Offset(-1,33) | |
51 | WEBM C 1 Offset(1,33) | |
52 | WEBM C 1 Offset(-2,34) | |
53 | WEBM C 1 Offset(2,34) | |
54 | WEBM C 1 Offset(3,35) | |
55 | WEBM C 1 Offset(-3,35) | |
56 | WEBM C 1 Offset(4,36) | |
57 | WEBM C 1 Offset(-4,36) | |
58 | WEMB C 1 A_GiveInventory("ChargedEnergy") | |
59 | } | |
60 | } | |
61 | ||
62 | Actor WandOfEmbers~Powered : WandOfEmbers | |
63 | { | |
64 | Obituary "%o was melted by %k" | |
65 | Weapon.AmmoUse 1 | |
66 | Weapon.SisterWeapon "WandOfEmbers" | |
67 | +Weapon.Powered_Up | |
68 | States | |
69 | { | |
70 | Fire: | |
71 | WEMB C 0 A_PlaySoundEx("Weapons/WandOfEmbers/Open", "SoundSlot6", 0) | |
72 | WEMB E 2 Bright | |
73 | Hold: | |
74 | WEMB E 0 A_PlayWeaponSound("Weapons/WandOfEmbers/Fire") | |
75 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall2", Random(-6, -4), 0, 0, 0, 0, Random(-2, 2)) | |
76 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall2", Random(6, 4), 0, 0, 0, 0, Random(-2, 2)) | |
77 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall2", Random(-5, 5), 0, 0, 0, 0, Random(2, 1)) | |
78 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall2", Random(-5, 5), 0, 0, 0, 0, Random(-2, -1)) | |
79 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall3", Random(-4, -2), 0, 0, 0, 0, Random(-2, 2)) | |
80 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall3", Random(4, 2), 0, 0, 0, 0, Random(-2, 2)) | |
81 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall3", Random(-3, 3), 0, 0, 0, 0, Random(4, 2)) | |
82 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall3", Random(-3, 3), 0, 0, 0, 0, Random(-4, -2)) | |
83 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-5, -3), 0, 0, 0, 0, Random(-2, 2)) | |
84 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(5, 3), 0, 0, 0, 0, Random(-2, 2)) | |
85 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-3, 3), 0, 0, 0, 0, Random(3, 1)) | |
86 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-3, 3), 0, 0, 0, 0, Random(-3, -1)) | |
87 | WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", 0, 1, 0, 0, 0, 0) | |
88 | WEMB FG 5 Bright | |
89 | WEMB D 6 | |
90 | WEMB C 5 A_ReFire | |
91 | WEMB B 6 | |
92 | Goto Ready | |
93 | } | |
94 | } | |
95 | ||
96 | ||
97 | Actor WandOfEmbersAmmo : Ammo | |
98 | { | |
99 | Inventory.PickupMessage "Ember Ruby" | |
100 | Inventory.Amount 10 | |
101 | Inventory.MaxAmount 100 | |
102 | Ammo.BackpackAmount 10 | |
103 | Ammo.BackpackMaxAmount 200 | |
104 | Inventory.Icon "WEMAA0" | |
105 | States | |
106 | { | |
107 | Spawn: | |
108 | WEMA ABC 8 Bright | |
109 | Loop | |
110 | } | |
111 | } | |
112 | ||
113 | Actor WandOfEmbersHefty : WandOfEmbersAmmo | |
114 | { | |
115 | Inventory.PickupMessage "Phoenix Ruby" | |
116 | Inventory.Amount 25 | |
117 | States | |
118 | { | |
119 | Spawn: | |
120 | WEMA DEF 8 Bright | |
121 | Loop | |
122 | } | |
123 | } | |
124 | ||
125 | Actor WandOfEmbersBall | |
126 | { | |
127 | Radius 4 | |
128 | Height 4 | |
129 | Speed 24 | |
130 | Damage (2*Random(3, 5)) | |
131 | DamageType Fire | |
132 | RenderStyle Add | |
133 | Alpha 0.75 | |
134 | Scale 0.75 | |
135 | Projectile | |
136 | -BloodSplatter | |
137 | +BloodlessImpact | |
138 | DeathSound "Weapons/WandOfEmbers/Hit1" | |
139 | Decal EmberWandScorch | |
140 | States | |
141 | { | |
142 | Spawn: | |
143 | WEMP AABBB 1 Bright A_SpawnItemEx("WandOfEmbersTrail", 0, 0, 0, 0, 0, 0, 0, 128) | |
144 | Loop | |
145 | Death: | |
146 | WEMP CDEFG 3 Bright | |
147 | Stop | |
148 | } | |
149 | } | |
150 | ||
151 | Actor WandOfEmbersBall2 | |
152 | { | |
153 | Radius 4 | |
154 | Height 4 | |
155 | Speed 20 | |
156 | Damage (2*Random(2, 4)) | |
157 | DamageType Fire | |
158 | RenderStyle Add | |
159 | Alpha 0.75 | |
160 | Scale 0.75 | |
161 | Projectile | |
162 | -BloodSplatter | |
163 | +BloodlessImpact | |
164 | DeathSound "Weapons/WandOfEmbers/Hit1" | |
165 | Decal EmberWandScorch | |
166 | States | |
167 | { | |
168 | Spawn: | |
169 | WEMP AABBB 1 Bright A_SpawnItemEx("WandOfEmbersTrail", 0, 0, 0, 0, 0, 0, 0, 128) | |
170 | Loop | |
171 | Death: | |
172 | WEMP CDEFG 3 Bright | |
173 | Stop | |
174 | } | |
175 | } | |
176 | ||
177 | Actor WandOfEmbersBall3 | |
178 | { | |
179 | Radius 4 | |
180 | Height 4 | |
181 | Speed 16 | |
182 | Damage (Random(3, 5)) | |
183 | DamageType Fire | |
184 | RenderStyle Add | |
185 | Alpha 0.75 | |
186 | Scale 0.75 | |
187 | Projectile | |
188 | -BloodSplatter | |
189 | +BloodlessImpact | |
190 | DeathSound "Weapons/WandOfEmbers/Hit1" | |
191 | Decal EmberWandScorch | |
192 | States | |
193 | { | |
194 | Spawn: | |
195 | WEMP AABBB 1 Bright A_SpawnItemEx("WandOfEmbersTrail", 0, 0, 0, 0, 0, 0, 0, 128) | |
196 | Loop | |
197 | Death: | |
198 | WEMP CDEFG 3 Bright | |
199 | Stop | |
200 | } | |
201 | } | |
202 | ||
203 | Actor WandOfEmbersTrail | |
204 | { | |
205 | Radius 2 | |
206 | Height 2 | |
207 | Damage 0 | |
208 | Scale 0.75 | |
209 | Projectile | |
210 | -BloodSplatter | |
211 | +BloodlessImpact | |
212 | RenderStyle Add | |
213 | Alpha 0.5 | |
214 | States | |
215 | { | |
216 | Spawn: | |
217 | TNT1 A 2 | |
218 | WEMP HIJ 3 Bright | |
219 | Stop | |
220 | } | |
221 | } |