Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
jfwzone.h
1/* Renegade Scripts.dll
2 Copyright 2013 Tiberian Technologies
3
4 This file is part of the Renegade scripts.dll
5 The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version. See the file COPYING for more details.
9 In addition, an exemption is given to allow Run Time Dynamic Linking of this code with any closed source module that does not contain code covered by this licence.
10 Only the source code to the module(s) containing the licenced code has to be released.
11*/
12#pragma once
13class JFW_3D_Sound_Zone : public ScriptImpClass {
14 void Entered(GameObject *obj,GameObject *enterer);
15};
16
17class JFW_Bounce_Zone_Entry : public ScriptImpClass {
18 void Entered(GameObject *obj,GameObject *enterer);
19};
20
21class JFW_Grant_Key_Zone_Entry : public ScriptImpClass {
22 void Entered(GameObject *obj,GameObject *enterer);
23};
24
25class JFW_Zone_Send_Custom_Enable : public ScriptImpClass {
26 bool enabled;
27 void Created(GameObject *obj);
28 void Custom(GameObject *obj,int type,int param,GameObject *sender);
29 void Entered(GameObject *obj,GameObject *enterer);
30 void Exited(GameObject *obj,GameObject *exiter);
31 public: void Register_Auto_Save_Variables();
32};
33
34class JFW_Zone_Send_Custom_Preset : public ScriptImpClass {
35 void Entered(GameObject *obj,GameObject *enterer);
36 void Exited(GameObject *obj,GameObject *exiter);
37};
38
39class JFW_Zone_Send_Custom_Enable_Enter : public ScriptImpClass {
40 bool enabled;
41 void Created(GameObject *obj);
42 void Custom(GameObject *obj,int type,int param,GameObject *sender);
43 void Entered(GameObject *obj,GameObject *enterer);
44 void Exited(GameObject *obj,GameObject *exiter);
45 public: void Register_Auto_Save_Variables();
46};
47
48class JFW_Zone_Send_Custom_Preset_Enter : public ScriptImpClass {
49 void Entered(GameObject *obj,GameObject *enterer);
50 void Exited(GameObject *obj,GameObject *exiter);
51};
52
53class JFW_Send_Custom_Zone_Enter : public ScriptImpClass {
54 void Entered(GameObject *obj,GameObject *enterer);
55 void Exited(GameObject *obj,GameObject *exiter);
56};
57
58class JFW_Gate_Zone : public ScriptImpClass {
59 void Entered(GameObject *obj,GameObject *enterer);
60 void Timer_Expired(GameObject *obj,int number);
61};
62
63class JFW_Repair_Zone : public ScriptImpClass {
64 void Entered(GameObject *obj,GameObject *enterer);
65 void Timer_Expired(GameObject *obj,int number);
66};
67
68class JFW_Repair_Zone_Aircraft_Only : public ScriptImpClass {
69 void Entered(GameObject *obj,GameObject *enterer);
70 void Timer_Expired(GameObject *obj,int number);
71};
72
73class JFW_Repair_Zone_No_Aircraft : public ScriptImpClass {
74 void Entered(GameObject *obj,GameObject *enterer);
75 void Timer_Expired(GameObject *obj,int number);
76};
77
78class JFW_Zone_Send_Custom_Not_Preset : public ScriptImpClass {
79 void Entered(GameObject *obj,GameObject *enterer);
80 void Exited(GameObject *obj,GameObject *exiter);
81};
82
83class JFW_Zone_Send_Custom_Keycard : public ScriptImpClass {
84 void Entered(GameObject *obj,GameObject *enterer);
85 void Exited(GameObject *obj,GameObject *exiter);
86};
87
88class JFW_Heal_Zone : public ScriptImpClass {
89 void Entered(GameObject *obj,GameObject *enterer);
90 void Timer_Expired(GameObject *obj,int number);
91};
92
93class JFW_Heal_Zone_2 : public ScriptImpClass {
94 void Entered(GameObject *obj,GameObject *enterer);
95 void Timer_Expired(GameObject *obj,int number);
96};
97
98class JFW_Disable_Transitions_Zone : public ScriptImpClass {
99 void Entered(GameObject *obj,GameObject *enterer);
100 void Exited(GameObject *obj,GameObject *exiter);
101};
102
103class JFW_Bounce_Zone_Entry_All_Directions : public ScriptImpClass {
104 void Entered(GameObject *obj,GameObject *enterer);
105};
106
107class JFW_Zone_Send_Custom_Cost : public ScriptImpClass {
108 void Entered(GameObject *obj,GameObject *enterer);
109};
110
111class JFW_Vechicle_Damage_Zone : public ScriptImpClass {
112 void Entered(GameObject *obj,GameObject *enterer);
113 void Timer_Expired(GameObject *obj,int number);
114};
115
116class JFW_Weapon_Buy : public ScriptImpClass {
117 void Entered(GameObject *obj,GameObject *enterer);
118};
119
120class JFW_Preset_Buy : public ScriptImpClass {
121 void Entered(GameObject *obj,GameObject *enterer);
122};
123
124class JFW_Zone_Character : public ScriptImpClass {
125 void Entered(GameObject *obj,GameObject *enterer);
126};
127
128class JFW_Zone_Character_Swap : public ScriptImpClass {
129 void Entered(GameObject *obj,GameObject *enterer);
130};
131
132class JFW_Character_Buy : public ScriptImpClass {
133 void Entered(GameObject *obj,GameObject *enterer);
134};
135
136class JFW_Teleport_Zone_Team : public ScriptImpClass {
137 void Entered(GameObject *obj,GameObject *enterer);
138};
139
140class JFW_Repair_Zone_VTOL_Only : public ScriptImpClass {
141 void Entered(GameObject *obj,GameObject *enterer);
142 void Timer_Expired(GameObject *obj,int number);
143};
144
145class JFW_Repair_Zone_No_VTOL : public ScriptImpClass {
146 void Entered(GameObject *obj,GameObject *enterer);
147 void Timer_Expired(GameObject *obj,int number);
148};
149
150class JFW_Refill_Buy : public ScriptImpClass {
151 void Entered(GameObject *obj,GameObject *enterer);
152};
153
154class JFW_Powerup_Buy : public ScriptImpClass {
155 void Entered(GameObject *obj,GameObject *enterer);
156};
157
158class JFW_Vehicle_Buy : public ScriptImpClass {
159 void Entered(GameObject *obj,GameObject *enterer);
160};
161
162class JFW_Zone_Vehicle : public ScriptImpClass {
163 void Entered(GameObject *obj,GameObject *enterer);
164};
165
166class JFW_Zone_Powerup : public ScriptImpClass {
167 void Entered(GameObject *obj,GameObject *enterer);
168};
169
170class JFW_Zone_Refill : public ScriptImpClass {
171 void Entered(GameObject *obj,GameObject *enterer);
172};
173
174class JFW_Zone_Send_Custom_Team: public ScriptImpClass {
175 void Entered(GameObject *obj,GameObject *enterer);
176 void Exited(GameObject *obj,GameObject *exiter);
177};
178
179class JFW_Zone_Animation : public ScriptImpClass {
180 bool enabled;
181 int ID;
182 void Created(GameObject *obj);
183 void Animation_Complete(GameObject *obj,const char *animation_name);
184 void Entered(GameObject *obj,GameObject *enterer);
185 void Exited(GameObject *obj,GameObject *exiter);
186 public: void Register_Auto_Save_Variables();
187};
188
189class JFW_Group_Purchase_Zone : public ScriptImpClass {
190 float cash;
191 bool enabled;
192 void Created(GameObject *obj);
193 void Entered(GameObject *obj,GameObject *enterer);
194 public: void Register_Auto_Save_Variables();
195};
196
197class JFW_Zone_Timer : public ScriptImpClass {
198 int count;
199 bool enabled;
200 void Created(GameObject *obj);
201 void Entered(GameObject *obj,GameObject *enterer);
202 void Exited(GameObject *obj,GameObject *exiter);
203 void Timer_Expired(GameObject *obj,int number);
204 public: void Register_Auto_Save_Variables();
205};
206
207class JFW_Gate_Zone_2 : public ScriptImpClass {
208 void Entered(GameObject *obj,GameObject *enterer);
209 void Timer_Expired(GameObject *obj,int number);
210};
211
212class JFW_Blow_Up_On_Enter : public ScriptImpClass {
213 void Entered(GameObject *obj,GameObject *enterer);
214};
215
216class JFW_Blow_Up_On_Enter_Delay : public ScriptImpClass {
217 void Entered(GameObject *obj,GameObject *enterer);
218 void Timer_Expired(GameObject *obj,int number);
219};
220
221class JFW_Apply_Damage_On_Enter : public ScriptImpClass {
222 void Entered(GameObject *obj,GameObject *enterer);
223};
224
225class JFW_Apply_Damage_On_Enter_Timer : public ScriptImpClass {
226 int ID;
227 void Entered(GameObject *obj,GameObject *enterer);
228 void Timer_Expired(GameObject *obj,int number);
229 public: void Register_Auto_Save_Variables();
230};
231
232class JFW_Blow_Up_On_Enter_Random : public ScriptImpClass {
233 void Entered(GameObject *obj,GameObject *enterer);
234};
235
236class JFW_Create_Destroy_Object_On_Enter : public ScriptImpClass {
237 int ObjectID;
238 void Created(GameObject *obj);
239 void Entered(GameObject *obj,GameObject *enterer);
240 void Exited(GameObject *obj,GameObject *exiter);
241 public: void Register_Auto_Save_Variables();
242};
243
244class JFW_Send_Driver_Custom_On_Enter : public ScriptImpClass {
245 void Custom(GameObject *obj,int type,int param,GameObject *sender);
246};
247
248class JFW_Stealth_Zone : public ScriptImpClass {
249 void Entered(GameObject *obj,GameObject *enterer);
250 void Exited(GameObject *obj,GameObject *exiter);
251};
252
253class JFW_Fog_Zone : public ScriptImpClass {
254 void Entered(GameObject *obj,GameObject *enterer);
255 void Exited(GameObject *obj,GameObject *exiter);
256 void Timer_Expired(GameObject *obj,int number);
257};
258
259class JFW_War_Blitz_Zone : public ScriptImpClass {
260 void Entered(GameObject *obj,GameObject *enterer);
261 void Exited(GameObject *obj,GameObject *exiter);
262 void Timer_Expired(GameObject *obj,int number);
263};
264
265class JFW_Heavy_Vehicle_Damage_Zone : public ScriptImpClass {
266 void Entered(GameObject *obj,GameObject *enterer);
267 void Timer_Expired(GameObject *obj,int number);
268};
269
270class JFW_Light_Vehicle_Damage_Zone : public ScriptImpClass {
271 void Entered(GameObject *obj,GameObject *enterer);
272 void Timer_Expired(GameObject *obj,int number);
273};
274
275class JFW_2D_Sound_Zone : public ScriptImpClass {
276 void Entered(GameObject *obj,GameObject *enterer);
277};
278
279class JFW_Zone_Send_Custom_Multiple : public ScriptImpClass {
280 int count;
281 void Created(GameObject *obj);
282 void Entered(GameObject *obj,GameObject *enterer);
283 void Exited(GameObject *obj,GameObject *exiter);
284 public: void Register_Auto_Save_Variables();
285};
286
287class JFW_Zone_Send_Custom_Enter : public ScriptImpClass {
288 void Entered(GameObject *obj,GameObject *enterer);
289};
290
291class JFW_Zone_Send_Custom_Exit : public ScriptImpClass {
292 void Exited(GameObject *obj,GameObject *exiter);
293};
294
295class JFW_Vehicle_Zone_Animation : public ScriptImpClass {
296 int refcount;
297 int ID;
298 void Created(GameObject *obj);
299 void Animation_Complete(GameObject *obj,const char *animation_name);
300 void Entered(GameObject *obj,GameObject *enterer);
301 void Exited(GameObject *obj,GameObject *exiter);
302 public: void Register_Auto_Save_Variables();
303};
304
305class JFW_Zone_Money_Preset : public ScriptImpClass {
306 int ID;
307 void Entered(GameObject *obj,GameObject *enterer);
308 void Exited(GameObject *obj,GameObject *exiter);
309 public: void Register_Auto_Save_Variables();
310};
311
312class JFW_Look_At_Location_Entry : public ScriptImpClass {
313 void Entered(GameObject *obj,GameObject *enterer);
314};
315
316class JFW_Look_At_Object_Entry : public ScriptImpClass {
317 void Entered(GameObject *obj,GameObject *enterer);
318};
319
320class JFW_3D_Sound_Team_Zone : public ScriptImpClass {
321 void Entered(GameObject *obj,GameObject *enterer);
322};
323
324class JFW_3D_Sound_Player_Zone : public ScriptImpClass {
325 void Entered(GameObject *obj,GameObject *enterer);
326};
327
328class JFW_2D_Sound_Team_Zone : public ScriptImpClass {
329 void Entered(GameObject *obj,GameObject *enterer);
330};
331
332class JFW_2D_Sound_Player_Zone : public ScriptImpClass {
333 void Entered(GameObject *obj,GameObject *enterer);
334};
335
336class JFW_Zone_PCT : public ScriptImpClass {
337 void Entered(GameObject *obj,GameObject *enterer);
338};
339
340class JFW_Disable_Radar_Zone : public ScriptImpClass {
341 void Entered(GameObject *obj,GameObject *enterer);
342 void Exited(GameObject *obj,GameObject *exiter);
343};
344
345class JFW_PPAGE_Zone : public ScriptImpClass {
346 void Entered(GameObject *obj,GameObject *enterer);
347};
348
349class JFW_MSG_Zone : public ScriptImpClass {
350 void Entered(GameObject *obj,GameObject *enterer);
351};
352
353class JFW_TMSG_Zone : public ScriptImpClass {
354 void Entered(GameObject *obj,GameObject *enterer);
355};
356
357class JFW_Teleport_Zone_Enable : public ScriptImpClass {
358 bool enabled;
359 void Custom(GameObject *obj,int type,int param,GameObject *sender);
360 void Created(GameObject *obj);
361 void Entered(GameObject *obj,GameObject *enterer);
362 public: void Register_Auto_Save_Variables();
363};
364
365class JFW_Radar_Spy_Zone : public ScriptImpClass {
366 bool reset;
367 void Created(GameObject *obj);
368 void Entered(GameObject *obj,GameObject *enterer);
369};
370
371class JFW_Radar_Spy_Zone_New : public ScriptImpClass {
372 bool reset;
373 void Created(GameObject *obj);
374 void Entered(GameObject *obj,GameObject *enterer);
375};
376
377class JFW_2D_Sound_Zone_Team : public ScriptImpClass {
378 void Entered(GameObject *obj,GameObject *enterer);
379 void Timer_Expired(GameObject *obj,int number);
380};
381
382
434class JFW_Repair_Zone_2 : public JFW_Key_Hook_Base {
435 int ID;
436 bool WaitForKeyhook;
437 void Created(GameObject *obj);
438 void Entered(GameObject *obj,GameObject *enterer);
439 void Exited(GameObject *obj,GameObject *exiter);
440 void Timer_Expired(GameObject *obj,int number);
441 void KeyHook();
442 public: void Register_Auto_Save_Variables();
443};
444
445class JFW_Repair_Zone_No_Boats : public JFW_Key_Hook_Base {
446 int ID;
447 void Created(GameObject *obj);
448 void Entered(GameObject *obj,GameObject *enterer);
449 void Exited(GameObject *obj,GameObject *exiter);
450 void Timer_Expired(GameObject *obj,int number);
451 void KeyHook();
452 public: void Register_Auto_Save_Variables();
453};
454
455class JFW_Repair_Zone_Boats : public JFW_Key_Hook_Base {
456 int ID;
457 void Created(GameObject *obj);
458 void Entered(GameObject *obj,GameObject *enterer);
459 void Exited(GameObject *obj,GameObject *exiter);
460 void Timer_Expired(GameObject *obj,int number);
461 void KeyHook();
462 public: void Register_Auto_Save_Variables();
463};
464
465class JFW_Sell_Zone : public JFW_Key_Hook_Base {
466 int ID;
467 void Created(GameObject *obj);
468 void Entered(GameObject *obj,GameObject *enterer);
469 void Exited(GameObject *obj,GameObject *exiter);
470 void KeyHook();
471 void Timer_Expired(GameObject *obj,int number);
472 public: void Register_Auto_Save_Variables();
473};
474
475class JFW_Infantry_Force_Composition_Zone : public ScriptImpClass {
476 unsigned int *IDs;
477 unsigned int count;
478 bool reset;
479 void Created(GameObject *obj);
480 void Entered(GameObject *obj,GameObject *enterer);
481 void Timer_Expired(GameObject *obj,int number);
482public:
483 JFW_Infantry_Force_Composition_Zone() {IDs = 0;}
484 ~JFW_Infantry_Force_Composition_Zone();
485};
486
487class JFW_Vehicle_Force_Composition_Zone : public ScriptImpClass {
488 unsigned int *IDs;
489 unsigned int count;
490 bool reset;
491 void Created(GameObject *obj);
492 void Entered(GameObject *obj,GameObject *enterer);
493 void Timer_Expired(GameObject *obj,int number);
494public:
495 JFW_Vehicle_Force_Composition_Zone() {IDs = 0;}
496 ~JFW_Vehicle_Force_Composition_Zone();
497};
498
499class JFW_Infantry_Force_Composition_Zone_New : public ScriptImpClass {
500 unsigned int *IDs;
501 unsigned int count;
502 bool reset;
503 void Created(GameObject *obj);
504 void Entered(GameObject *obj,GameObject *enterer);
505 void Timer_Expired(GameObject *obj,int number);
506public:
507 JFW_Infantry_Force_Composition_Zone_New() {IDs = 0;}
508 ~JFW_Infantry_Force_Composition_Zone_New();
509};
510
511class JFW_Vehicle_Force_Composition_Zone_New : public ScriptImpClass {
512 unsigned int *IDs;
513 unsigned int count;
514 bool reset;
515 void Created(GameObject *obj);
516 void Entered(GameObject *obj,GameObject *enterer);
517 void Timer_Expired(GameObject *obj,int number);
518public:
519 JFW_Vehicle_Force_Composition_Zone_New() {IDs = 0;}
520 ~JFW_Vehicle_Force_Composition_Zone_New();
521};
522
523class JFW_Resize_Zone : public ScriptImpClass {
524 void Created(GameObject *obj);
525};
526
527class JFW_Cash_Spy_Zone : public ScriptImpClass {
528 bool reset;
529 void Created(GameObject *obj);
530 void Entered(GameObject *obj,GameObject *enterer);
531 void Timer_Expired(GameObject *obj,int number);
532};
533
534class JFW_Power_Spy_Zone : public ScriptImpClass {
535 bool reset;
536 int team;
537 void Created(GameObject *obj);
538 void Entered(GameObject *obj,GameObject *enterer);
539 void Timer_Expired(GameObject *obj,int number);
540};
541
542class JFW_Cash_Spy_Zone_New : public ScriptImpClass {
543 bool reset;
544 void Created(GameObject *obj);
545 void Entered(GameObject *obj,GameObject *enterer);
546 void Timer_Expired(GameObject *obj,int number);
547};
548
549class JFW_Power_Spy_Zone_New : public ScriptImpClass {
550 bool reset;
551 int team;
552 void Created(GameObject *obj);
553 void Entered(GameObject *obj,GameObject *enterer);
554 void Timer_Expired(GameObject *obj,int number);
555};
556
557class JFW_Conyard_Spy_Zone : public ScriptImpClass {
558 bool reset;
559 bool cydisabled;
560 int team;
561 void Created(GameObject *obj);
562 void Entered(GameObject *obj,GameObject *enterer);
563 void Timer_Expired(GameObject *obj,int number);
564};
565
566class JFW_Conyard_Spy_Zone_2 : public ScriptImpClass {
567 bool reset;
568 bool cydisabled;
569 int team;
570 void Created(GameObject *obj);
571 void Entered(GameObject *obj,GameObject *enterer);
572 void Timer_Expired(GameObject *obj,int number);
573};
574
575class JFW_Conyard_Spy_Zone_2_New : public ScriptImpClass {
576 bool reset;
577 bool cydisabled;
578 int team;
579 void Created(GameObject *obj);
580 void Entered(GameObject *obj,GameObject *enterer);
581 void Timer_Expired(GameObject *obj,int number);
582};
583
584class JFW_Custom_Spawn_Zone : public ScriptImpClass {
585 int zoneid;
586 void Created(GameObject *obj);
587 void Custom(GameObject *obj,int type,int param,GameObject *sender);
588};
589
590class JFW_Spawn_Zone_Created : public ScriptImpClass {
591 int zoneid;
592 void Created(GameObject *obj);
593 void Killed(GameObject *obj,GameObject *killer);
594};
595
596class JFW_Boat : public ScriptImpClass {
597};
598
599class JFW_Destroy_Vehicle_Zone : public ScriptImpClass {
600 void Entered(GameObject *obj,GameObject *enterer);
601};
602
603class JFW_Destroy_Vehicle_Zone_Marker : public ScriptImpClass {
604};
Repair Zone (Extended)
Definition jfwzone.h:434