Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
kak.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 KAK_Warp_On_Pickup : public ScriptImpClass {
14 void Custom(GameObject *obj,int type,int param,GameObject *sender);
15};
16
17class KAK_Precipitation_Create : public ScriptImpClass {
18 void Created(GameObject *obj);
19 void Destroyed(GameObject *obj);
20 void Timer_Expired(GameObject *obj,int number);
21};
22
23class KAK_Precipitation_Zone : public ScriptImpClass {
24 void Entered(GameObject *obj,GameObject *enterer);
25 void Exited(GameObject *obj,GameObject *exiter);
26 void Timer_Expired(GameObject *obj,int number);
27};
28
29class KAK_Wind_Create : public ScriptImpClass {
30 void Created(GameObject *obj);
31 void Destroyed(GameObject *obj);
32 void Timer_Expired(GameObject *obj,int number);
33};
34
35class KAK_Wind_Zone : public ScriptImpClass {
36 void Entered(GameObject *obj,GameObject *enterer);
37 void Exited(GameObject *obj,GameObject *exiter);
38 void Timer_Expired(GameObject *obj,int number);
39};
40
41class KAK_Clouds_Create : public ScriptImpClass {
42 void Created(GameObject *obj);
43 void Destroyed(GameObject *obj);
44 void Timer_Expired(GameObject *obj,int number);
45};
46
47class KAK_Clouds_Zone : public ScriptImpClass {
48 void Entered(GameObject *obj,GameObject *enterer);
49 void Exited(GameObject *obj,GameObject *exiter);
50 void Timer_Expired(GameObject *obj,int number);
51};
52
53class KAK_Lightning_Create : public ScriptImpClass {
54 void Created(GameObject *obj);
55 void Destroyed(GameObject *obj);
56 void Timer_Expired(GameObject *obj,int number);
57};
58
59class KAK_Lightning_Zone : public ScriptImpClass {
60 void Entered(GameObject *obj,GameObject *enterer);
61 void Exited(GameObject *obj,GameObject *exiter);
62 void Timer_Expired(GameObject *obj,int number);
63};
64
65class KAK_Flowing_Weather : public ScriptImpClass {
66 void Created(GameObject *obj);
67 void Timer_Expired(GameObject *obj,int number);
68 public: void Register_Auto_Save_Variables();
69 float Range,CurrentClouds,CurrentPrecipitation,CurrentLightning,CurrentWind,CurrentWindHeading;
70};
71
72class KAK_Give_Powerup_On_Pickup : public ScriptImpClass {
73 void Custom(GameObject *obj,int type,int param,GameObject *sender);
74};
75
76class KAK_Select_Weapon_Zone : public ScriptImpClass {
77 void Entered(GameObject *obj,GameObject *enterer);
78 void Exited(GameObject *obj,GameObject *exiter);
79};
80
81class KAK_Select_Weapon_On_Pickup : public ScriptImpClass {
82 void Custom(GameObject *obj,int type,int param,GameObject *sender);
83};
84
85class KAK_Harvester_Logic : public ScriptImpClass {
86 int HarvyID;
87 bool enabled;
88 void Created(GameObject *obj);
89 void Custom(GameObject *obj,int type,int param,GameObject *sender);
90 public: void Register_Auto_Save_Variables();
91};
92
93class KAK_Harvester_Kill : public ScriptImpClass {
94 void Killed(GameObject *obj,GameObject *killer);
95};
96
97class KAK_Harvester_Spawn_Kill : public ScriptImpClass {
98 void Killed(GameObject *obj,GameObject *killer);
99};
100
101class KAK_Harvester_Attached : public ScriptImpClass {
102 void Custom(GameObject *obj,int type,int param,GameObject *sender);
103 void Created(GameObject *obj);
104 void Killed(GameObject *obj,GameObject *killer);
105 void Action_Complete(GameObject *obj,int action_id,ActionCompleteReason complete_reason);
106 void Timer_Expired(GameObject *obj,int number);
107 public: void Register_Auto_Save_Variables();
108 bool End_Timer;
109 float facing;
110 int CrystalNumber;
111 int PathNumber;
112 int Crystal1,Crystal2,Crystal3,Crystal4,Crystal5,Crystal6,Crystal7,Crystal8,Crystal9,Crystal10;
113};
114
115class KAK_Prevent_Kill : public ScriptImpClass {
116 void Damaged(GameObject *obj,GameObject *damager,float amount);
117 void Killed(GameObject *obj,GameObject *killer);
118};
119
120class KAK_Convert_Visceroid : public ScriptImpClass {
121 void Created(GameObject *obj);
122 void Timer_Expired(GameObject *obj,int number);
123 void Killed(GameObject *obj,GameObject *killer);
124};
125
126class KAK_Freeze_Object : public ScriptImpClass {
127 void Created(GameObject *obj);
128 void Timer_Expired(GameObject *obj,int number);
129 void Custom(GameObject *obj,int type,int param,GameObject *sender);
130 public: void Register_Auto_Save_Variables();
131 float elapsedtime;
132 float xpos;
133 float ypos;
134 float zpos;
135};
136
137class KAK_Regen_Custom : public ScriptImpClass {
138 void Created(GameObject *obj);
139 void Timer_Expired(GameObject *obj,int number);
140 void Custom(GameObject *obj,int type,int param,GameObject *sender);
141};