-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.cfg
275 lines (226 loc) · 4.85 KB
/
constants.cfg
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
# this file contains all the constants used in the game (except those in config.cfg)
# modify these to change the way the game plays
# all units are in meters, seconds, or meters per second
# how much mana is transfered to allies per build spell
GIVE_ALLY_MANA_AMOUNT=50
# teleport spell numbers
TELEPORTSPELL_CAST_PERIOD=2
TELEPORTSPELL_MANA_COST=20
TELEPORTSPELL_PORTAL_TIME=2
TELEPORTSPELL_PORTAL_FLICKER_PERIOD=0.25
# portal numbers
PORTAL_SCALE=8
PORTAL_TOWER_DIST=10
PORTAL_CASTLE_DIST=40
PORTAL_ALTITUDE=8
# summon spell numbers
SUMMONSPELL_CAST_PERIOD=.5
SUMMONSPELL_SCALE=3
SUMMONSPELL_FLICKER_PERIOD=.3
SUMMONSPELL_LIFETIME=2
SUMMONSPELL_SPEED=30
# albatross numbers
ALBATROSS_HEALTH=200
ALBATROSS_DAMAGE=200
ALBATROSS_COST=10
ALBATROSS_DROP=10
ALBATROSS_SPEED=30
ALBATROSS_SCALE=8
ALBATROSS_THINK_PERIOD=.5
ALBATROSS_LIFETIME=60
# this number is for all monsters
HEALTHBAR_OFFSET=1
# sentinel numbers
SENTINEL_HEALTH=100
SENTINEL_SCALE=6
SENTINEL_THINK_PERIOD=1
SENTINEL_COST=15
SENTINEL_DROP=3
SENTINEL_SIGHT_RANGE=100
SENTINEL_DAMAGE=10
# Tick numbers
TICK_HEALTH=200
TICK_SCALE=5
TICK_THINK_PERIOD=1
TICK_COST=25
TICK_DROP=10
TICK_SIGHT_RANGE=100
TICK_DAMAGE=35
TICK_FORMATION_OFFSET=80
TICK_FORMATION_THRESHOLD=10
TICK_SPEED=20
TICK_FALL_SPEED=20
TICK_JUMP_Y=10
# gnome numbers
GNOME_HEALTH=100
GNOME_SCALE=5
GNOME_THINK_PERIOD=1
GNOME_COST=25
GNOME_DROP=10
GNOME_SIGHT_RANGE=100
GNOME_DAMAGE=10
GNOME_FORMATION_OFFSET=80
GNOME_SPEED=18
# wizard numbers
WIZARD_MOVE_SPEED=30
WIZARD_GRAV=30
WIZARD_ACCEL=1.5
WIZARD_DECEL=1
WIZARD_HEALTH=100
WIZARD_MANA_REGEN=5
WIZARD_MANA_REGEN_BONUS=1
WIZARD_MANA_REGEN_PERIOD=1
WIZARD_SCALE=4
WIZARD_DEATH_OFFSET=150
WIZARD_MIN_ALTITUDE=6
#camera numbers
CAMERA_FOV=80
CAMERA_PITCH_MAX=.99
CAMERA_NEAR_CLIP=1
CAMERA_FAR_CLIP=200
#kamikazi crane numbeers
CRANE_SPEED=25
CRANE_SCALE=4
CRANE_DAMAGE=20
CRANE_SIGHT_RANGE=75
CRANE_HEALTH=10
CRANE_ALTITUDE_MIN=1
CRANE_ORBIT_MIN=1
CRANE_ORBIT_MAX=75
CRANE_THINK_PERIOD=0.3
CRANE_IDLE_TIME=3
CRANE_VARIANCE=.3
CRANE_BLAST_LIFETIME=.5
CRANE_BLAST_SCALE=2
CRANE_BLAST_EXPANSION_SPEED=4
CRANE_BLAST_FLICKER_PERIOD=.2
#claim spell numbers
CLAIMSPELL_CAST_PERIOD=.5
CLAIMSPELL_SCALE=1
CLAIMSPELL_LIFETIME=1.5
CLAIMSPELL_SPEED=50
CLAIMSPELL_HEAL=10
# build spell numbers
BUILDSPELL_CAST_PERIOD=.5
BUILDSPELL_SCALE=1
BUILDSPELL_FLICKER_PERIOD=.3
BUILDSPELL_LIFETIME=2
BUILDSPELL_SPEED=30
# tower numbers
TOWER_COST=50
TOWER_DROP=40
TOWER_WIDTH=5
TOWER_HEIGHT=25
TOWER_OFFSET=1
TOWER_RISE_SPEED=10
TOWER_HEALTH=600
TOWER_RUBBLE=200
TOWER_RANGE=100
TOWER_NUM_CRANES=2
TOWER_THINK_PERIOD=1.5
TOWER_CLAIM_LIFETIME=15
TOWER_REGEN=2
TOWER_DEGEN=100
TOWER_WIZ_REGEN=10
TOWER_WIZ_REGEN_PERIOD=2
TOWER_BALL_SCALE=7
TOWER_BALL_ALTITUDE=28
TOWER_BEACON_ALTITUDE=190
TOWER_BEACON_HEIGHT=300
TOWER_BEACON_WIDTH=1
#hut numbers
SHRINE_WIDTH=5
SHRINE_HEIGHT=10
SHRINE_BALL_SCALE=7
#castle numbers
CASTLE_WIDTH=6
CASTLE_OFFSET=1
CASTLE_RISE_SPEED=5
CASTLE_MANA_PER_LEVEL=50
CASTLE_DAMAGE_PER_MANA=10
CASTLE_MANA_RADIUS=50
CASTLE_HEALTH=200
CASTLE_RUBBLE=100
CASTLE_START_MANA=40
CASTLETURRET_HEIGHT=25
CASTLETURRET_WIDTH=5
CASTLETURRET_MIN_PER=.1
CASTLEKEEP_HEIGHT=50
CASTLEKEEP_WIDTH=10
CASTLE_FLAG_ALTITUDE=52
CASTLE_BEACON_ALTITUDE=320
CASTLE_BEACON_HEIGHT=500
CASTLE_BEACON_WIDTH=10
CASTLE_HEART_SCALE=4
CASTLE_HEART_ALTITUDE=10
CASTLE_HEART_HEALTH=200
# foliage numbers
FOLIAGE_SKEW=1.5
FOLIAGE_HEIGHT_OFF=.49
FOLIAGE_HEALTH=40
# mana numbers
MANA_THINK_PERIOD=.5
MANA_DRIFT_SPEED=1
MANA_MOVE_SPEED=5
MANA_RISE_RANGE=40
MANA_SCALE_FACTOR=1.5
MANA_MAX_SCALE=15
MANA_MIN_SCALE=5
MANA_GRAV=5
MANA_FALL_MAX=15
# fireball spell numbers
FIREBALL_CAST_PERIOD=.7
FIREBALL_MANA_COST=5
FIREBALL_FALL_RATE=3
FIREBALL_SPEED=50
FIREBALL_SCALE=1
FIREBALL_FLICKER_PERIOD=.2
FIREBALL_SMOKE_PERIOD=.02
FIREBALL_SMOKE_NUM=5
FIREBALL_LIFETIME=1.5
FIREBALL_DAMAGE=20
FIREBALL_BLAST_LIFETIME=.5
FIREBALL_BLAST_SCALE=1
FIREBALL_BLAST_EXPANSION_SPEED=4
# speed spell numbers
SPEEDSPELL_MANA_COST=10
SPEEDSPELL_CAST_PERIOD=.5
SPEEDSPELL_DURATION=.6
SPEEDSPELL_MULTIPLIER=2.5
### technical constants that do not affect gameplay ###
# the distance from the edge of the map that the world extends
COASTLINE=100
# these should be set to the center of the world
START_X=512
START_Z=512
HEALTH_BAR_POOL=200
HEALTH_BAR_OFFSET=1
DOT_POOL=200
DOT_SIZE=.6
DOT_MAX_HEIGHT=100
HUD_BAR_WIDTH=.25
KEY_DELAY=.4
LOAD_DELAY=4
STRING_MAX_LENGTH=256
HEIGTHMAP_SLOPE_DIFF=2
HEIGTHMAP_MIN_HEIGHT=0.000001
SOUND_SCALE=.1
PHYSICS_GRID_SPLIT=1
THING_UPDATE_PERIOD=.1
BUILDING_MIN_GROUNDY=4
#
# Networking constants
#
#old port 6006, new port 26000 (quake port)
PORT=26000
# default # of ports to listen on
NUM_CLIENT_PORTS=8
#address of the server (blank for listen on all local addresses)
SERVER=
MAX_CONNECTIONS=64
# RakNet Voodoo numbers
NUMBER_OF_PORTS=1
RAKNET_THREAD_SLEEP_TIME=0
SLEEPTIME=30
# set this via the startup menu, set here for people who only run servers
#RUN_AS_SERVER=true