Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
jfwcust.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_Custom_Toggle_Radar : public ScriptImpClass {
14 void Custom(GameObject *obj,int type,int param,GameObject *sender);
15};
16
17class JFW_Reflect_Custom : public ScriptImpClass {
18 void Custom(GameObject *obj,int type,int param,GameObject *sender);
19};
20
21class JFW_Reflect_Custom_Delay : public ScriptImpClass {
22 void Custom(GameObject *obj,int type,int param,GameObject *sender);
23};
24
25class JFW_Custom_Destroy_Object : public ScriptImpClass {
26 void Custom(GameObject *obj,int type,int param,GameObject *sender);
27};
28
29class JFW_Custom_Objectives_Dlg : public ScriptImpClass {
30 void Custom(GameObject *obj,int type,int param,GameObject *sender);
31};
32
47class JFW_Death_Send_Custom : public ScriptImpClass {
48 void Killed(GameObject *obj,GameObject *killer);
49};
50
51class JFW_Custom_Destroy_Building : public ScriptImpClass {
52 void Custom(GameObject *obj,int type,int param,GameObject *sender);
53};
54
55class JFW_Timer_Custom : public ScriptImpClass {
56 void Created(GameObject *obj);
57 void Timer_Expired(GameObject *obj,int number);
58};
59
60class JFW_2D_Sound_Custom : public ScriptImpClass {
61 void Custom(GameObject *obj,int type,int param,GameObject *sender);
62};
63
64class JFW_3D_Sound_Custom_2 : public ScriptImpClass {
65 void Custom(GameObject *obj,int type,int param,GameObject *sender);
66};
67
68class JFW_3D_Sound_Custom_Bone : public ScriptImpClass {
69 void Custom(GameObject *obj,int type,int param,GameObject *sender);
70};
71
72class JFW_Random_Custom : public ScriptImpClass {
73 void Created(GameObject *obj);
74 void Timer_Expired(GameObject *obj,int number);
75};
76
77class JFW_Custom_Damage_Object : public ScriptImpClass {
78 void Custom(GameObject *obj,int type,int param,GameObject *sender);
79};
80
81class JFW_Blow_Up_On_Custom : public ScriptImpClass {
82 void Custom(GameObject *obj,int type,int param,GameObject *sender);
83};
84
85class JFW_Blow_Up_Obj_On_Custom : public ScriptImpClass {
86 void Custom(GameObject *obj,int type,int param,GameObject *sender);
87};
88
89class JFW_Delay_Custom : public ScriptImpClass {
90 void Custom(GameObject *obj,int type,int param,GameObject *sender);
91};
92
93class JFW_Startup_Custom : public ScriptImpClass {
94 void Created(GameObject *obj);
95};
96
97class JFW_Teleport_Custom : public ScriptImpClass {
98 void Custom(GameObject *obj,int type,int param,GameObject *sender);
99};
100
101class JFW_Teleport_Custom_Random : public ScriptImpClass {
102 void Custom(GameObject *obj,int type,int param,GameObject *sender);
103};
104
105class JFW_Teleport_Custom_Timer : public ScriptImpClass {
106 bool enabled;
107 void Created(GameObject *obj);
108 void Custom(GameObject *obj,int type,int param,GameObject *sender);
109 void Timer_Expired(GameObject *obj,int number);
110 public: void Register_Auto_Save_Variables();
111};
112
113class JFW_Blow_Up_Location_On_Custom : public ScriptImpClass {
114 void Custom(GameObject *obj,int type,int param,GameObject *sender);
115};
116
117class JFW_3D_Sound_Custom : public ScriptImpClass {
118 void Custom(GameObject *obj,int type,int param,GameObject *sender);
119};
120
121class JFW_Created_Send_Custom : public ScriptImpClass {
122 void Created(GameObject *obj);
123};
124
125class JFW_Damaged_Send_Custom : public ScriptImpClass {
126 void Damaged(GameObject *obj,GameObject *damager,float amount);
127};
128
129class JFW_Enemy_Seen_Send_Custom : public ScriptImpClass {
130 void Created(GameObject *obj);
131 void Enemy_Seen(GameObject *obj,GameObject *enemy);
132};
133
134class JFW_Create_Object_Custom : public ScriptImpClass {
135 void Custom(GameObject *obj,int type,int param,GameObject *sender);
136};
137
138class JFW_Enable_Spawner_On_Custom : public ScriptImpClass {
139 void Custom(GameObject *obj,int type,int param,GameObject *sender);
140};
141
142class JFW_Set_Animation_On_Custom : public ScriptImpClass {
143 void Custom(GameObject *obj,int type,int param,GameObject *sender);
144};
145
146class JFW_Set_Model_Animation_On_Custom : public ScriptImpClass {
147 void Custom(GameObject *obj,int type,int param,GameObject *sender);
148};
149
150class JFW_Set_Model_On_Custom : public ScriptImpClass {
151 void Custom(GameObject *obj,int type,int param,GameObject *sender);
152};
153
154class JFW_Enable_Disable_Animation_On_Custom : public ScriptImpClass {
155 bool enabled;
156 void Custom(GameObject *obj,int type,int param,GameObject *sender);
157 void Created(GameObject *obj);
158 public: void Register_Auto_Save_Variables();
159};
160
161class JFW_Custom_Toggle_Visible : public ScriptImpClass {
162 void Custom(GameObject *obj,int type,int param,GameObject *sender);
163};
164
165class JFW_Customs_Send_Custom : public ScriptImpClass {
166 bool custom1;
167 bool custom2;
168 bool custom3;
169 bool custom4;
170 bool custom5;
171 bool custom6;
172 bool custom7;
173 bool custom8;
174 bool trigger;
175 void Created(GameObject *obj);
176 void Custom(GameObject *obj,int type,int param,GameObject *sender);
177 public: void Register_Auto_Save_Variables();
178};
179
180class JFW_Custom_Multiple_Send_Custom : public ScriptImpClass {
181 int times_recieved;
182 bool enabled;
183 void Created(GameObject *obj);
184 void Custom(GameObject *obj,int type,int param,GameObject *sender);
185 public: void Register_Auto_Save_Variables();
186};
187
188class JFW_Custom_Multiple_Send_Custom_2 : public ScriptImpClass {
189 int times_recieved;
190 void Created(GameObject *obj);
191 void Custom(GameObject *obj,int type,int param,GameObject *sender);
192 public: void Register_Auto_Save_Variables();
193};
194
195class JFW_Custom_Send_Custom : public ScriptImpClass {
196 void Custom(GameObject *obj,int type,int param,GameObject *sender);
197};
198
199class JFW_Custom_Send_Random_Custom : public ScriptImpClass {
200 void Custom(GameObject *obj,int type,int param,GameObject *sender);
201};
202
203class JFW_Create_Destroy_Object_On_Custom : public ScriptImpClass {
204 int ObjectID;
205 void Created(GameObject *obj);
206 void Custom(GameObject *obj,int type,int param,GameObject *sender);
207 public: void Register_Auto_Save_Variables();
208};
209
210class JFW_Create_Destroy_Object_On_Custom_Animate : public ScriptImpClass {
211 int ObjectID;
212 void Created(GameObject *obj);
213 void Custom(GameObject *obj,int type,int param,GameObject *sender);
214 public: void Register_Auto_Save_Variables();
215};
216
217class JFW_Create_Destroy_Object_On_Custom_Animate_2 : public ScriptImpClass {
218 int ObjectID;
219 void Created(GameObject *obj);
220 void Custom(GameObject *obj,int type,int param,GameObject *sender);
221 void Timer_Expired(GameObject *obj,int number);
222 public: void Register_Auto_Save_Variables();
223};
224
225class JFW_Damaged_Send_Custom_Amount : public ScriptImpClass {
226 void Damaged(GameObject *obj,GameObject *damager,float amount);
227};
228
229class JFW_Invulnerable_On_Custom : public ScriptImpClass {
230 bool enabled;
231 float health;
232 float shield_strength;
233 void Created(GameObject *obj);
234 void Custom(GameObject *obj,int type,int param,GameObject *sender);
235 void Damaged(GameObject *obj,GameObject *damager,float amount);
236 public: void Register_Auto_Save_Variables();
237};
238
239class JFW_Invulnerable_On_Custom_2 : public ScriptImpClass {
240 void Custom(GameObject *obj,int type,int param,GameObject *sender);
241};
242
243class JFW_Custom_Send_Custom_Parameter : public ScriptImpClass {
244 void Custom(GameObject *obj,int type,int param,GameObject *sender);
245};
246
247class JFW_Create_Destroy_Object_On_Custom_Bone : public ScriptImpClass {
248 int ObjectID;
249 void Created(GameObject *obj);
250 void Custom(GameObject *obj,int type,int param,GameObject *sender);
251 public: void Register_Auto_Save_Variables();
252};
253
254class JFW_Custom_Send_Ordered_Customs : public ScriptImpClass {
255 int CurrentCustom;
256 void Created(GameObject *obj);
257 void Custom(GameObject *obj,int type,int param,GameObject *sender);
258 public: void Register_Auto_Save_Variables();
259};
260
261class JFW_Custom_Send_Customs : public ScriptImpClass {
262 void Custom(GameObject *obj,int type,int param,GameObject *sender);
263};
264
265class JFW_Custom_Send_Custom_Multiple_IDs : public ScriptImpClass {
266 void Custom(GameObject *obj,int type,int param,GameObject *sender);
267};
268
269class JFW_Create_Destroy_Object_On_Custom_Death : public ScriptImpClass {
270 int ObjectID;
271 void Created(GameObject *obj);
272 void Killed(GameObject *obj,GameObject *killer);
273 void Custom(GameObject *obj,int type,int param,GameObject *sender);
274 public: void Register_Auto_Save_Variables();
275};
276
277class JFW_Create_Destroy_Object_On_Custom_Death_Bone : public ScriptImpClass {
278 int ObjectID;
279 void Created(GameObject *obj);
280 void Killed(GameObject *obj,GameObject *killer);
281 void Custom(GameObject *obj,int type,int param,GameObject *sender);
282 public: void Register_Auto_Save_Variables();
283};
284
285class JFW_Custom_Destroy_All_Buildings : public ScriptImpClass {
286 void Custom(GameObject *obj,int type,int param,GameObject *sender);
287};
288
289class JFW_Timer_Custom_On_Off : public ScriptImpClass {
290 bool enabled;
291 void Created(GameObject *obj);
292 void Timer_Expired(GameObject *obj,int number);
293 void Custom(GameObject *obj,int type,int param,GameObject *sender);
294 public: void Register_Auto_Save_Variables();
295};
296
297class JFW_Create_Vehicle_On_Custom : public ScriptImpClass {
298 void Custom(GameObject *obj,int type,int param,GameObject *sender);
299};
300
301class JFW_Set_Model_On_Custom_Sender : public ScriptImpClass {
302 void Custom(GameObject *obj,int type,int param,GameObject *sender);
303};
304
305class JFW_Death_Send_Custom_ID : public ScriptImpClass {
306 void Killed(GameObject *obj,GameObject *killer);
307};
308
309class JFW_Death_Send_Custom_Driver_ID : public ScriptImpClass {
310 int DriverID;
311 void Created(GameObject *obj);
312 void Killed(GameObject *obj,GameObject *killer);
313 void Custom(GameObject *obj,int type,int param,GameObject *sender);
314 public: void Register_Auto_Save_Variables();
315};
316
317class JFW_Repair_On_Custom : public ScriptImpClass {
318 void Custom(GameObject *obj,int type,int param,GameObject *sender);
319};
320
326class JFW_Wind_Custom : public ScriptImpClass {
327 void Custom(GameObject *obj,int type,int param,GameObject *sender);
328 void Timer_Expired(GameObject *obj,int number);
329};
330
336class JFW_War_Blitz_Custom : public ScriptImpClass {
337 void Custom(GameObject *obj,int type,int param,GameObject *sender);
338 void Timer_Expired(GameObject *obj,int number);
339};
340
346class JFW_Fog_Custom : public ScriptImpClass {
347 void Custom(GameObject *obj,int type,int param,GameObject *sender);
348 void Timer_Expired(GameObject *obj,int number);
349};
350
356class JFW_Lightning_Custom : public ScriptImpClass {
357 void Custom(GameObject *obj,int type,int param,GameObject *sender);
358 void Timer_Expired(GameObject *obj,int number);
359};
360
366class JFW_Precipitation_Custom : public ScriptImpClass {
367 void Custom(GameObject *obj,int type,int param,GameObject *sender);
368 void Timer_Expired(GameObject *obj,int number);
369};
370
376class JFW_Clouds_Custom : public ScriptImpClass {
377 void Custom(GameObject *obj,int type,int param,GameObject *sender);
378 void Timer_Expired(GameObject *obj,int number);
379};
380
381class JFW_Enable_Stealth_On_Custom : public ScriptImpClass {
382 void Custom(GameObject *obj,int type,int param,GameObject *sender);
383};
384
385class JFW_Console_Message_On_Custom : public ScriptImpClass {
386 void Custom(GameObject *obj,int type,int param,GameObject *sender);
387};
388
389class JFW_Console_Input_On_Custom : public ScriptImpClass {
390 void Custom(GameObject *obj,int type,int param,GameObject *sender);
391};
392
393class JFW_Invulnerable_On_Custom_3 : public ScriptImpClass {
394 void Custom(GameObject *obj,int type,int param,GameObject *sender);
395};
396
397class JFW_Set_Skin_Custom : public ScriptImpClass {
398 void Custom(GameObject *obj,int type,int param,GameObject *sender);
399};
400
401class JFW_Set_Armor_Custom : public ScriptImpClass {
402 void Custom(GameObject *obj,int type,int param,GameObject *sender);
403};
404
405class JFW_Change_Team_On_Custom : public ScriptImpClass {
406 void Custom(GameObject *obj,int type,int param,GameObject *sender);
407};
408
409class JFW_Enable_Team_Radar_On_Custom : public ScriptImpClass {
410 void Custom(GameObject *obj,int type,int param,GameObject *sender);
411};
412
413class JFW_2D_Sound_Team_Custom : public ScriptImpClass {
414 void Custom(GameObject *obj,int type,int param,GameObject *sender);
415};
416
417class JFW_3D_Sound_Team_Custom : public ScriptImpClass {
418 void Custom(GameObject *obj,int type,int param,GameObject *sender);
419};
420
421class JFW_Send_Custom_Distance_Objects_Timer : public ScriptImpClass {
422 void Created(GameObject *obj);
423 void Timer_Expired(GameObject *obj,int number);
424};
425
426class JFW_Send_Custom_Distance_Objects_Custom : public ScriptImpClass {
427 void Custom(GameObject *obj,int type,int param,GameObject *sender);
428};
429
430class JFW_Send_Custom_All_Objects_Timer : public ScriptImpClass {
431 void Created(GameObject *obj);
432 void Timer_Expired(GameObject *obj,int number);
433};
434
435class JFW_Send_Custom_All_Objects_Custom : public ScriptImpClass {
436 void Custom(GameObject *obj,int type,int param,GameObject *sender);
437};
438
439class JFW_Destroy_Create_Object_On_Custom : public ScriptImpClass {
440 void Custom(GameObject *obj,int type,int param,GameObject *sender);
441};
442
443class JFW_Send_Message_Preset : public ScriptImpClass {
444 void Created(GameObject *obj);
445 void Destroyed(GameObject *obj);
446};
447
448class JFW_Shader_Custom_Zone_Entry : public ScriptImpClass {
449};
450
451class JFW_Shader_Custom_Zone_Exit : public ScriptImpClass {
452};
453
454class JFW_Shader_Custom_Vehicle_Entry : public ScriptImpClass {
455};
456
457class JFW_Shader_Custom_Vehicle_Exit : public ScriptImpClass {
458};
459
460class JFW_Shader_Custom_Create : public ScriptImpClass {
461};
462
463class JFW_Shader_Custom_Poke : public ScriptImpClass {
464};
465
466class JFW_Kill_All_Buildings_Customs : public ScriptImpClass {
467 int count;
468 void Created(GameObject *obj);
469 void Custom(GameObject *obj,int type,int param,GameObject *sender);
470};
471
472class JFW_Send_Self_Custom_On_Key : public JFW_Key_Hook_Base {
473 void Created(GameObject *obj);
474 void KeyHook();
475};
476
477class JFW_Send_Message_On_Key : public JFW_Key_Hook_Base {
478 void Created(GameObject *obj);
479 void KeyHook();
480};
481
497class JFW_Startup_Custom_Self : public ScriptImpClass {
498 void Created(GameObject *obj);
499};
500
525class JFW_Send_Custom_On_Damage : public ScriptImpClass {
526 bool above;
527 void Created(GameObject *obj);
528 void Damaged(GameObject *obj,GameObject *damager,float amount);
529};
Set cloud conditions on custom.
Definition jfwcust.h:376
Send Custom on Death.
Definition jfwcust.h:47
Set fog conditions on custom.
Definition jfwcust.h:346
Set lightning conditions on custom.
Definition jfwcust.h:356
Set precipitation conditions on custom.
Definition jfwcust.h:366
Send a custom based on health values.
Definition jfwcust.h:525
Send a custom to itself.
Definition jfwcust.h:497
Set war blitz lightning conditions on custom.
Definition jfwcust.h:336
Set wind conditions on custom.
Definition jfwcust.h:326