share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua
author mikade <redgrinner@gmail.com>
Sat, 09 May 2015 14:30:01 +0900
changeset 10940 096be1230a46
parent 10934 d6cc62ef78ef
child 10943 d90706a2183e
permissions -rw-r--r--
Added param for rounds in techracer. Also some support for hand-drawn map placed stuff.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
     1
------------------------------------------
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
     2
-- TECH RACER v0.4
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
     3
-----------------------------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
     4
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
     5
--------------
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
     6
-- TO DO
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
     7
--------------
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
     8
-- allow scrolling of maps
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
     9
-- place waypoints for the registered maps automatically.
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    10
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    11
--------------
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    12
--0.2
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    13
--------------
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    14
-- should work better "out the box"
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    15
-- changed map generation
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    16
-- put a hog limiter in place
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    17
-- removed parsecommand
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    18
-- fix one of the test maps
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    19
-- hopefully added some support for future official challenges etc
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    20
-- changed theme
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    21
-- minor cleanups?
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    22
10914
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
    23
--------------
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
    24
--0.3
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
    25
--------------
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
    26
-- ehh, scrap everything? those old maps probably still desync so they can die for now
10918
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
    27
-- hopefully fix map 3
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
    28
-- add two new crappy map to test an idea.
10914
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
    29
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    30
--------------
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    31
--0.4
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    32
--------------
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    33
-- updated version text (lol)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    34
-- some preliminary support for hand-drawn map loading
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    35
-- some support for being really lazy
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    36
-- an extra map or two
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    37
-- param for infinite UFO fuel
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    38
-- param for number of rounds
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    39
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    40
-----------------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    41
-- SCRIPT BEGINS
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    42
-----------------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    43
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    44
HedgewarsScriptLoad("/Scripts/Locale.lua")
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
    45
HedgewarsScriptLoad("/Scripts/OfficialChallenges.lua")
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    46
HedgewarsScriptLoad("/Scripts/Tracker.lua")
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    47
HedgewarsScriptLoad("/Scripts/Params.lua")
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    48
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    49
------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    50
-- Got Variables?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    51
------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
    52
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    53
local atkArray =
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    54
				{
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    55
				{amBazooka, 	"amBazooka",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    56
				{amBee, 		"amBee",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    57
				{amMortar, 		"amMortar",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    58
				{amDrill, 		"amDrill",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    59
				{amSnowball, 	"amSnowball",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    60
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    61
				{amGrenade,		"amGrenade",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    62
				{amClusterBomb,	"amClusterBomb",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    63
				{amMolotov, 	"amMolotov",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    64
				{amWatermelon, 	"amWatermelon",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    65
				{amHellishBomb,	"amHellishBomb",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    66
				{amGasBomb, 	"amGasBomb",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    67
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    68
				{amShotgun,		"amShotgun",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    69
				{amDEagle,		"amDEagle",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    70
				{amFlamethrower,"amFlamethrower",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    71
				{amSniperRifle,	"amSniperRifle",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    72
				{amSineGun, 	"amSineGun",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    73
				{amIceGun, 		"amIceGun",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    74
				{amLandGun,		"amLandGun",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    75
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    76
				{amFirePunch, 	"amFirePunch",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    77
				{amWhip,		"amWhip",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    78
				{amBaseballBat, "amBaseballBat",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    79
				{amKamikaze, 	"amKamikaze",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    80
				{amSeduction, 	"amSeduction",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    81
				{amHammer,		"amHammer",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    82
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    83
				{amMine, 		"amMine",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    84
				{amDynamite, 	"amDynamite",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    85
				{amCake, 		"amCake",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    86
				{amBallgun, 	"amBallgun",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    87
				{amRCPlane,		"amRCPlane",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    88
				{amSMine,		"amSMine",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    89
				{amAirMine,		"amAirMine",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    90
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    91
				{amAirAttack,	"amAirAttack",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    92
				{amMineStrike,	"amMineStrike",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    93
				{amDrillStrike,	"amDrillStrike",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    94
				{amAirMine,		"amAirMine",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    95
				{amNapalm, 		"amNapalm",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    96
				{amPiano,		"amPiano",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    97
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    98
				{amKnife,		"amKnife",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
    99
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   100
				{amBirdy,		"amBirdy",			0}
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   101
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   102
				}
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   103
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   104
local utilArray =
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   105
				{
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   106
				{amBlowTorch, 		"amBlowTorch",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   107
				{amPickHammer,		"amPickHammer",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   108
				{amGirder, 			"amGirder",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   109
				{amRubber, 			"amRubber",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   110
				{amPortalGun,		"amPortalGun",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   111
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   112
				{amRope, 			"amRope",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   113
				{amParachute, 		"amParachute",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   114
				{amTeleport,		"amTeleport",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   115
				{amJetpack,			"amJetpack",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   116
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   117
				{amInvulnerable,	"amInvulnerable",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   118
				{amLaserSight,		"amLaserSight",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   119
				{amVampiric,		"amVampiric",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   120
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   121
				{amLowGravity, 		"amLowGravity",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   122
				{amExtraDamage, 	"amExtraDamage",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   123
				{amExtraTime,		"amExtraTime",		0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   124
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   125
				{amResurrector, 	"amResurrector",	0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   126
				{amTardis, 			"amTardis",			0},
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   127
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   128
				{amSwitch,			"amSwitch",			0}
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   129
				}
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   130
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   131
local activationStage = 0
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   132
local jet = nil
10930
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
   133
local infUFO = nil
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   134
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   135
local fMod = 1000000 -- 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   136
local roundLimit = 3
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   137
local roundNumber = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   138
local firstClan = 10
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   139
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   140
local fastX = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   141
local fastY = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   142
local fastCount = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   143
local fastIndex = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   144
local fastColour
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   145
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   146
local currX = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   147
local currY = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   148
local currCount = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   149
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   150
local specialPointsX = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   151
local specialPointsY = {}
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   152
local specialPointsFlag = {}
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   153
local specialPointsCount = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   154
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   155
mapID = 22
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   156
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   157
--------------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   158
-- hog and team tracking variales
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   159
--------------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   160
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   161
local numhhs = 0 -- store number of hedgehogs
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   162
local hhs = {} -- store hedgehog gears
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   163
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   164
local numTeams --  store the number of teams in the game
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   165
local teamNameArr = {}  -- store the list of teams
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   166
local teamClan = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   167
local teamSize = {}     -- store how many hogs per team
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   168
local teamIndex = {} -- at what point in the hhs{} does each team begin
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   169
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   170
local teamComment = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   171
local teamScore = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   172
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   173
-------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   174
-- racer vars
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   175
--------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   176
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   177
local cGear = nil
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   178
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   179
local bestClan = nil
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   180
local bestTime = nil
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   181
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   182
local gameBegun = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   183
local gameOver = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   184
local racerActive = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   185
local trackTime = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   186
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   187
local wpCirc = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   188
local wpX = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   189
local wpY = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   190
local wpCol = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   191
local wpActive = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   192
local wpRad = 450 --75
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   193
local wpCount = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   194
local wpLimit = 8
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   195
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   196
local usedWeapons = {}
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   197
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   198
local roundN
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   199
local lastRound
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   200
local RoundHasChanged
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   201
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   202
-------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   203
-- general methods
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   204
-------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   205
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   206
--function onPrecise()
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   207
--end
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   208
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   209
function RebuildTeamInfo()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   210
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   211
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   212
        -- make a list of individual team names
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   213
        for i = 0, (TeamsCount-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   214
                teamNameArr[i] = " " -- = i
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   215
                teamSize[i] = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   216
                teamIndex[i] = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   217
                teamScore[i] = 100000
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   218
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   219
        numTeams = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   220
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   221
        for i = 0, (numhhs-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   222
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   223
                z = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   224
                unfinished = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   225
                while(unfinished == true) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   226
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   227
                        newTeam = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   228
                        tempHogTeamName = GetHogTeamName(hhs[i]) -- this is the new name
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   229
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   230
                        if tempHogTeamName == teamNameArr[z] then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   231
                                newTeam = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   232
                                unfinished = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   233
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   234
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   235
                        z = z + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   236
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   237
                        if z == TeamsCount then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   238
                                unfinished = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   239
                                if newTeam == true then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   240
                                        teamNameArr[numTeams] = tempHogTeamName
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   241
                                        numTeams = numTeams + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   242
                                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   243
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   244
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   245
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   246
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   247
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   248
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   249
        -- find out how many hogs per team, and the index of the first hog in hhs
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   250
        for i = 0, (numTeams-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   251
                for z = 0, (numhhs-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   252
                        if GetHogTeamName(hhs[z]) == teamNameArr[i] then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   253
                                teamClan[i] = GetHogClan(hhs[z])
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   254
                                if teamSize[i] == 0 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   255
                                        teamIndex[i] = z -- should give starting index
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   256
                                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   257
                                teamSize[i] = teamSize[i] + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   258
                                --add a pointer so this hog appears at i in hhs
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   259
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   260
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   261
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   262
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   263
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   264
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   265
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   266
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   267
-----------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   268
-- RACER METHODS
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   269
-----------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   270
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   271
function CheckWaypoints()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   272
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   273
        trackFinished = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   274
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   275
        for i = 0, (wpCount-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   276
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   277
                g1X, g1Y = GetGearPosition(CurrentHedgehog)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   278
                g2X, g2Y = wpX[i], wpY[i]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   279
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   280
                g1X = g1X - g2X
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   281
                g1Y = g1Y - g2Y
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   282
                dist = (g1X*g1X) + (g1Y*g1Y)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   283
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   284
                --if i == 0 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   285
                --      AddCaption(dist .. "/" .. (wpRad*wpRad) )
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   286
                --end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   287
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   288
                NR = (48/100*wpRad)/2
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   289
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   290
                if dist < (NR*NR) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   291
                --if dist < (wpRad*wpRad) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   292
                        --AddCaption("howdy")
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   293
                        wpActive[i] = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   294
                        wpCol[i] = GetClanColor(GetHogClan(CurrentHedgehog)) -- new                             --GetClanColor(1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   295
                        SetVisualGearValues(wpCirc[i], wpX[i], wpY[i], 20, 100, 1, 10, 0, wpRad, 5, wpCol[i])
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   296
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   297
                        wpRem = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   298
                        for k = 0, (wpCount-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   299
                                if wpActive[k] == false then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   300
                                        wpRem = wpRem + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   301
                                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   302
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   303
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   304
                        AddCaption(loc("Way-Points Remaining") .. ": " .. wpRem,0xffba00ff,capgrpAmmoinfo)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   305
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   306
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   307
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   308
                if wpActive[i] == false then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   309
                        trackFinished = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   310
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   311
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   312
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   313
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   314
        return(trackFinished)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   315
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   316
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   317
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   318
function AdjustScores()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   319
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   320
        if bestTime == nil then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   321
                bestTime = 100000
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   322
                bestClan = 10
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   323
                bestTimeComment = "N/A"
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   324
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   325
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   326
        newScore = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   327
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   328
        -- update this clan's time if the new track is better
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   329
        for i = 0, (numTeams-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   330
                if teamClan[i] == GetHogClan(CurrentHedgehog) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   331
                        if trackTime < teamScore[i] then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   332
                                teamScore[i] = trackTime
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   333
                                newScore = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   334
                        else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   335
                                newScore = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   336
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   337
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   338
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   339
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   340
        --bestTime = 100000
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   341
        --bestClan = 10
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   342
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   343
        -- find the best time out of those so far
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   344
        for i = 0, (numTeams-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   345
                if teamScore[i] < bestTime then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   346
                        bestTime = teamScore[i]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   347
                        bestClan = teamClan[i]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   348
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   349
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   350
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   351
        if bestTime ~= 100000 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   352
                bestTimeComment = (bestTime/1000) ..loc("s")
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   353
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   354
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   355
        if newScore == true then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   356
                if trackTime == bestTime then -- best time of the race
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   357
                        ShowMission(loc("RACER"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   358
                        loc("TRACK COMPLETED"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   359
                        loc("NEW RACE RECORD: ") .. (trackTime/1000) ..loc("s") .. "|" ..
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   360
                        loc("WINNING TIME: ") .. bestTimeComment, 0, 4000)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   361
                        PlaySound(sndHomerun)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   362
                else    -- best time for the clan
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   363
                        ShowMission(loc("RACER"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   364
                        loc("TRACK COMPLETED"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   365
                        loc("NEW CLAN RECORD: ") .. (trackTime/1000) ..loc("s") .. "|" ..
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   366
                        loc("WINNING TIME: ") .. bestTimeComment, 4, 4000)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   367
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   368
        else -- not any kind of new score
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   369
                ShowMission(loc("RACER"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   370
                loc("TRACK COMPLETED"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   371
                loc("TIME: ") .. (trackTime/1000) ..loc("s") .. "|" ..
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   372
                loc("WINNING TIME: ") .. bestTimeComment, -amSkip, 4000)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   373
                PlaySound(sndHellish)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   374
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   375
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   376
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   377
        --------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   378
        --new
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   379
        --------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   380
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   381
        if bestTime == trackTime then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   382
                --AddCaption("wooooooooooooooooooooooooooooo")
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   383
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   384
                fastColour = GetClanColor(GetHogClan(CurrentHedgehog))
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   385
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   386
                for i = 0, (currCount-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   387
                        fastX[i] = currX[i]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   388
                        fastY[i] = currY[i]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   389
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   390
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   391
                fastCount = currCount
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   392
                fastIndex = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   393
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   394
                --currCount = 0 -- is this needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   395
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   396
        else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   397
                currCount = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   398
                fastIndex = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   399
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   400
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   401
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   402
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   403
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   404
function onNewRound()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   405
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   406
        roundNumber = roundNumber + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   407
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   408
        totalComment = ""
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   409
        for i = 0, (TeamsCount-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   410
                        if teamNameArr[i] ~= " " then                           -- teamScore[teamClan[i]]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   411
                                teamComment[i] = teamNameArr[i] .. ": " .. (teamScore[i]/1000) .. loc("s|")
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   412
                                totalComment = totalComment .. teamComment[i]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   413
                        elseif teamNameArr[i] == " " then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   414
                                teamComment[i] = "|"
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   415
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   416
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   417
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   418
        ShowMission(    loc("RACER"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   419
                                        loc("STATUS UPDATE"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   420
                                        loc("Rounds Complete: ") .. roundNumber .. "/" .. roundLimit .. "|" .. " " .. "|" ..
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   421
                                        loc("Best Team Times: ") .. "|" .. totalComment, 0, 4000)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   422
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   423
        -- end game if its at round limit
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   424
        if roundNumber >= roundLimit then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   425
                for i = 0, (numhhs-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   426
                        if GetHogClan(hhs[i]) ~= bestClan then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   427
                                SetEffect(hhs[i], heResurrectable, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   428
                                SetHealth(hhs[i],0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   429
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   430
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   431
                gameOver = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   432
                TurnTimeLeft = 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   433
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   434
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   435
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   436
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   437
function CheckForNewRound()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   438
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   439
        -------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   440
        ------ new
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   441
        -------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   442
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   443
        --[[turnN = turnN + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   444
        if gameBegun == false then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   445
                if turnN == 2 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   446
                        for i = 0, (numhhs-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   447
                                if hhs[i] ~= nil then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   448
                                        SetEffect(hhs[i], heResurrectable, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   449
                                        SetHealth(hhs[i],0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   450
                                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   451
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   452
                        gameOver = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   453
                        TurnTimeLeft = 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   454
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   455
        else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   456
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   457
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   458
        end]]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   459
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   460
        --[[if roundBegun == true then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   461
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   462
                if RoundHasChanged == true then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   463
                        roundN = roundN + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   464
                        RoundHasChanged = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   465
                        onNewRound()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   466
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   467
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   468
                if lastRound ~= TotalRounds then -- new round, but not really
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   469
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   470
                        if RoundHasChanged == false then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   471
                                RoundHasChanged = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   472
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   473
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   474
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   475
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   476
                AddCaption("RoundN:" .. roundN .. "; " .. "TR: " .. TotalRounds)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   477
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   478
                lastRound = TotalRounds
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   479
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   480
        end]]
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   481
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   482
        ------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   483
        ----- old
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   484
        ------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   485
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   486
        if GetHogClan(CurrentHedgehog) == firstClan then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   487
                onNewRound()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   488
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   489
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   490
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   491
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   492
function DisableTumbler()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   493
        currCount = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   494
        fastIndex = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   495
        TurnTimeLeft = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   496
        racerActive = false -- newadd
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   497
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   498
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   499
function HandleGhost()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   500
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   501
        -- get the current xy of the racer at this point
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   502
        currX[currCount] = GetX(CurrentHedgehog)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   503
        currY[currCount] = GetY(CurrentHedgehog)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   504
        currCount = currCount + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   505
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   506
        -- draw a ping of smoke where the fastest player was at this point
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   507
        if (fastCount ~= 0) and (fastIndex < fastCount) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   508
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   509
                fastIndex = fastIndex + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   510
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   511
                tempE = AddVisualGear(fastX[fastIndex], fastY[fastIndex], vgtSmoke, 0, false)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   512
                g1, g2, g3, g4, g5, g6, g7, g8, g9, g10 = GetVisualGearValues(tempE)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   513
                SetVisualGearValues(tempE, g1, g2, g3, g4, g5, g6, g7, g8, g9, fastColour )
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   514
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   515
                --AddCaption("fC: " .. fastIndex .. " / " .. fastCount)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   516
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   517
        else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   518
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   519
                --AddCaption("excep fC: " .. fastIndex .. " / " .. fastCount)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   520
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   521
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   522
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   523
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   524
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   525
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   526
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   527
function BoomGirder(x,y,rot)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   528
	girTime = 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   529
	if rot < 4 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   530
				AddGear(x, y, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   531
	elseif rot == 4 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   532
				g = AddGear(x-45, y, gtGrenade, 0, 0, 0, girTime) -- needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   533
				g = AddGear(x-30, y, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   534
				g = AddGear(x, y, gtGrenade, 0, 0, 0, girTime) -- needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   535
				g = AddGear(x+30, y, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   536
				g = AddGear(x+45, y, gtGrenade, 0, 0, 0, girTime) -- needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   537
	elseif rot == 5 then ------- diag
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   538
				g = AddGear(x+45, y+45, gtGrenade, 0, 0, 0, girTime) --n
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   539
				g = AddGear(x+30, y+30, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   540
				g = AddGear(x, y, gtGrenade, 0, 0, 0, girTime) -- needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   541
				g = AddGear(x-30, y-30, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   542
				g = AddGear(x-45, y-45, gtGrenade, 0, 0, 0, girTime) --n
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   543
	elseif rot == 6 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   544
				g = AddGear(x, y-45, gtGrenade, 0, 0, 0, girTime) -- needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   545
				g = AddGear(x, y+30, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   546
				g = AddGear(x, y, gtGrenade, 0, 0, 0, girTime) -- needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   547
				g = AddGear(x, y-30, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   548
				g = AddGear(x, y+45, gtGrenade, 0, 0, 0, girTime) -- needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   549
	elseif rot == 7 then -------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   550
				g = AddGear(x+45, y-45, gtGrenade, 0, 0, 0, girTime) --n
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   551
				g = AddGear(x+30, y-30, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   552
				g = AddGear(x, y, gtGrenade, 0, 0, 0, girTime) -- needed?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   553
				g = AddGear(x-30, y+30, gtGrenade, 0, 0, 0, girTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   554
				g = AddGear(x-45, y+45, gtGrenade, 0, 0, 0, girTime) --n
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   555
	end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   556
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   557
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   558
function RemoveGear(gear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   559
	if (isATrackedGear(gear) == true) and (GetGearType(gear) ~= gtHedgehog) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   560
		DeleteGear(gear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   561
	end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   562
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   563
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   564
function ClearMap()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   565
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   566
	runOnGears(RemoveGear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   567
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   568
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   569
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   570
-- this handles interim lazy copypasta from HedgeEditor while I'm still messing with things
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   571
function LoadSprite(pX, pY, pSprite, pFrame, pTint, p1, p2, p3, pLandFlags)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   572
	PlaceSprite(pX, pY, pSprite, pFrame, pTint, p1, p2, p3, pLandFlags)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   573
end
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
   574
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   575
function HandleFreshMapCreation()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   576
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   577
	-- the boom stage, boom girders, reset ammo, and delete other map objects
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   578
	if activationStage == 1 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   579
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   580
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   581
		ClearMap()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   582
		activationStage = activationStage + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   583
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   584
	-- the creation stage, place girders and needed gears, grant ammo
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   585
	elseif activationStage == 2 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   586
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   587
		-- these are from onParameters()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   588
		if mapID == "0" then
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   589
			--AddCaption("don't load any map")
10914
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   590
		--[[elseif mapID == "1" then
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   591
10630
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   592
			--simple testmap
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   593
			------ GIRDER LIST ------
10897
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   594
			PlaceSprite(306, 530, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   595
			PlaceSprite(451, 474, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   596
			PlaceSprite(595, 531, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   597
			PlaceSprite(245, 679, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   598
			PlaceSprite(305, 822, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   599
			PlaceSprite(449, 887, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   600
			PlaceSprite(593, 825, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   601
			PlaceSprite(657, 681, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   602
			PlaceSprite(1063, 682, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   603
			PlaceSprite(1121, 532, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   604
			PlaceSprite(1266, 476, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   605
			PlaceSprite(1411, 535, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   606
			PlaceSprite(1472, 684, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   607
			PlaceSprite(1415, 828, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   608
			PlaceSprite(1271, 892, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   609
			PlaceSprite(1126, 827, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   610
			PlaceSprite(841, 1079, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   611
			PlaceSprite(709, 1153, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   612
			PlaceSprite(975, 1154, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   613
			PlaceSprite(653, 1265, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   614
			PlaceSprite(1021, 1266, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   615
			PlaceSprite(713, 1369, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   616
			PlaceSprite(960, 1371, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   617
			PlaceSprite(835, 1454, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   618
			PlaceSprite(185, 1617, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   619
			PlaceSprite(1317, 1399, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   620
			PlaceSprite(1711, 1811, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   621
			PlaceSprite(2087, 1424, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   622
			PlaceSprite(2373, 1804, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   623
			PlaceSprite(2646, 1434, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   624
			PlaceSprite(1876, 667, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   625
			PlaceSprite(1934, 517, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   626
			PlaceSprite(2079, 461, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   627
			PlaceSprite(2224, 519, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   628
			PlaceSprite(1935, 810, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   629
			PlaceSprite(2080, 875, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   630
			PlaceSprite(2224, 811, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   631
			PlaceSprite(2370, 582, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   632
			PlaceSprite(2370, 759, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   633
			PlaceSprite(2530, 582, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   634
			PlaceSprite(2690, 582, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   635
			PlaceSprite(2530, 759, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   636
			PlaceSprite(2690, 759, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   637
			PlaceSprite(2836, 634, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   638
			PlaceSprite(2835, 822, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   639
			PlaceSprite(2951, 751, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   640
			PlaceSprite(2950, 939, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   641
			PlaceSprite(2964, 1054, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   642
			PlaceSprite(2978, 1172, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   643
			PlaceSprite(3095, 1185, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   644
			PlaceSprite(3211, 1069, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   645
			PlaceSprite(3038, 843, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   646
			PlaceSprite(3126, 825, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   647
			PlaceSprite(3271, 768, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   648
			PlaceSprite(3357, 1014, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   649
			PlaceSprite(3416, 826, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   650
			PlaceSprite(3454, 969, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   651
			PlaceSprite(3439, 369, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   652
			PlaceSprite(3500, 220, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   653
			PlaceSprite(3502, 513, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   654
			PlaceSprite(3646, 162, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   655
			PlaceSprite(3791, 224, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   656
			PlaceSprite(3851, 374, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   657
			PlaceSprite(3792, 518, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   658
			PlaceSprite(3994, 1731, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   659
			PlaceSprite(3877, 1848, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   660
			PlaceSprite(3789, 1942, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   661
			PlaceSprite(3986, 1929, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   662
			PlaceSprite(2837, 1937, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   663
			PlaceSprite(2997, 1938, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   664
			PlaceSprite(3157, 1938, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   665
			PlaceSprite(1152, 1844, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   666
			PlaceSprite(1299, 1898, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   667
			PlaceSprite(1005, 1900, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   668
			PlaceSprite(3578, 575, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   669
			PlaceSprite(3714, 576, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   670
			PlaceSprite(3579, 740, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   671
			PlaceSprite(3714, 741, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   672
			PlaceSprite(3580, 903, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   673
			PlaceSprite(3715, 904, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   674
			PlaceSprite(3552, 452, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   675
			PlaceSprite(3528, 370, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   676
			PlaceSprite(3568, 297, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   677
			PlaceSprite(3736, 455, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   678
			PlaceSprite(3757, 378, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   679
			PlaceSprite(3725, 299, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   680
			PlaceSprite(3646, 261, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   681
			PlaceSprite(3648, 997, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   682
			PlaceSprite(3649, 1275, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   683
			PlaceSprite(3514, 1750, sprAmGirder, 0)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   684
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   685
			------ AMMO CRATE LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   686
			tempG = SpawnAmmoCrate(1707, 1755, amBazooka)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   687
			tempG = SpawnAmmoCrate(3983, 1873, amBazooka)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   688
			tempG = SpawnAmmoCrate(184, 1561, amBazooka)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   689
			tempG = SpawnAmmoCrate(2644, 1378, amBazooka)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   690
			tempG = SpawnAmmoCrate(2914, 865, amBazooka)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   691
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   692
			------ MINE LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   693
			SetTimer(AddGear(2340, 580, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   694
			SetTimer(AddGear(2399, 580, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   695
			SetTimer(AddGear(2448, 580, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   696
			SetTimer(AddGear(2517, 579, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   697
			SetTimer(AddGear(2575, 581, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   698
			SetTimer(AddGear(2647, 582, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   699
			SetTimer(AddGear(2720, 582, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   700
			SetTimer(AddGear(2760, 581, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   701
			SetTimer(AddGear(2331, 757, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   702
			SetTimer(AddGear(2409, 758, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   703
			SetTimer(AddGear(2477, 758, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   704
			SetTimer(AddGear(2545, 759, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   705
			SetTimer(AddGear(2613, 760, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   706
			SetTimer(AddGear(2679, 758, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   707
			SetTimer(AddGear(2744, 757, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   708
			SetTimer(AddGear(2813, 610, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   709
			SetTimer(AddGear(2855, 650, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   710
			SetTimer(AddGear(2887, 686, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   711
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   712
		elseif mapID == "2" then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   713
10918
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   714
			-- simple land flags test map, really shit, can delete
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   715
			------ GIRDER LIST ------
10897
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   716
			PlaceSprite(335, 622, sprAmGirder, 16, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   717
			PlaceSprite(474, 569, sprAmGirder, 13, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   718
			PlaceSprite(343, 748, sprAmGirder, 14, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   719
			PlaceSprite(466, 756, sprAmGirder, 16, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   720
			PlaceSprite(609, 702, sprAmGirder, 13, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   721
			PlaceSprite(635, 570, sprAmGirder, 13, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   722
			PlaceSprite(770, 702, sprAmGirder, 13, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   723
			PlaceSprite(960, 730, sprAmGirder, 18, nil, nil, nil, nil, 2048)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   724
			PlaceSprite(1061, 608, sprAmGirder, 16, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   725
			PlaceSprite(1207, 552, sprAmGirder, 13, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   726
			PlaceSprite(1205, 409, sprAmGirder, 13, nil, nil, nil, nil, 16384)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   727
			PlaceSprite(2312, 637, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   728
			PlaceSprite(2312, 472, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   729
			PlaceSprite(2311, 308, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   730
			PlaceSprite(2292, 155, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   731
			PlaceSprite(727, 611, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   732
			PlaceSprite(1298, 480, sprAmGirder, 6)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   733
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   734
			------ RUBBER BAND LIST ------
10897
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   735
			PlaceSprite(1411, 625, sprAmRubber, 1, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   736
			PlaceSprite(1525, 739, sprAmRubber, 1, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   737
			PlaceSprite(1638, 852, sprAmRubber, 1, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   738
			PlaceSprite(1754, 963, sprAmRubber, 1, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   739
			PlaceSprite(1870, 1076, sprAmRubber, 1, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   740
			PlaceSprite(2013, 1131, sprAmRubber, 0, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   741
			PlaceSprite(2159, 1070, sprAmRubber, 3, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   742
			PlaceSprite(2268, 952, sprAmRubber, 3, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   743
			PlaceSprite(2315, 802, sprAmRubber, 2, nil, nil, nil, nil, lfBouncy)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   744
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   745
			------ AMMO CRATE LIST ------
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   746
			tempG = SpawnAmmoCrate(472, 711, amBazooka)
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   747
			tempG = SpawnUtilityCrate(540, 660, amParachute)
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   748
			tempG = SpawnAmmoCrate(1155, 528, amBazooka)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   749
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
   750
			------ UTILITY CRATE LIST ------
10918
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   751
			tempG = SpawnUtilityCrate(2006, 1102, amRope)]]
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
   752
10630
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   753
		elseif mapID == "3" then
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   754
10918
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   755
			-- more detailed landflag test map, should hopefully work now
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   756
			PlaceSprite(402, 1863, sprAmGirder, 0, 16448250, nil, nil, nil, lfIce)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   757
			PlaceSprite(442, 1863, sprAmGirder, 4, 16448250, nil, nil, nil, lfIce)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   758
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   759
			PlaceSprite(2067, 1945, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   760
			PlaceSprite(1943, 1653, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   761
			PlaceSprite(1999, 1504, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   762
			PlaceSprite(2143, 1445, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   763
			PlaceSprite(2432, 1565, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   764
			PlaceSprite(2593, 1565, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   765
			PlaceSprite(2752, 1565, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   766
			PlaceSprite(2206, 1949, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   767
			PlaceSprite(2262, 1800, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   768
			PlaceSprite(2407, 1745, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   769
			PlaceSprite(2569, 1745, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   770
			PlaceSprite(2005, 1797, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   771
			PlaceSprite(2288, 1503, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   772
			PlaceSprite(2715, 1802, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   773
			PlaceSprite(2898, 1624, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   774
			PlaceSprite(3014, 1740, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   775
			PlaceSprite(2830, 1919, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   776
			PlaceSprite(3131, 1856, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   777
			PlaceSprite(3191, 1968, sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   778
			PlaceSprite(3264, 2021, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   779
			PlaceSprite(2840, 2006, sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   780
10630
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   781
10918
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   782
			PlaceSprite(396, 665, sprAmGirder, 1, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   783
			PlaceSprite(619, 665, sprAmGirder, 3, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   784
			PlaceSprite(696, 635, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   785
			PlaceSprite(319, 637, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   786
			PlaceSprite(268, 604, sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   787
			PlaceSprite(746, 603, sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   788
			PlaceSprite(325, 495, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   789
			PlaceSprite(689, 493, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   790
			PlaceSprite(504, 422, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   791
			PlaceSprite(595, 422, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   792
			PlaceSprite(412, 422, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   793
			PlaceSprite(320, 696, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   794
			PlaceSprite(249, 786, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   795
			PlaceSprite(249, 948, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   796
			PlaceSprite(191, 785, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   797
			PlaceSprite(191, 946, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   798
			PlaceSprite(191, 1107, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   799
			PlaceSprite(249, 1109, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   800
			PlaceSprite(130, 1251, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   801
			PlaceSprite(306, 1251, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   802
			PlaceSprite(72, 1360, sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   803
			PlaceSprite(364, 1360, sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   804
			PlaceSprite(132, 1462, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   805
			PlaceSprite(304, 1463, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   806
			PlaceSprite(182, 1616, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   807
			PlaceSprite(255, 1613, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   808
			PlaceSprite(217, 1796, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   809
			PlaceSprite(221, 1381, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)--
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   810
			PlaceSprite(154, 669, sprAmGirder, 1, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   811
			PlaceSprite(124, 553, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   812
			PlaceSprite(326, 467, sprAmGirder, 3, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   813
			PlaceSprite(223, 592, sprAmGirder, 3, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   814
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   815
			PlaceSprite(638, 791, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   816
			PlaceSprite(752, 907, sprAmGirder,  5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   817
			PlaceSprite(866, 1022, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
10630
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   818
10918
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   819
			PlaceSprite(1505, 395, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   820
			PlaceSprite(1445, 544, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   821
			PlaceSprite(1506, 686, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   822
			PlaceSprite(1650, 339, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   823
			PlaceSprite(1797, 397, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   824
			PlaceSprite(1857, 547, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   825
			PlaceSprite(1797, 688, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   826
			PlaceSprite(1652, 754, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   827
			PlaceSprite(3326, 863, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   828
			PlaceSprite(3474, 921, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   829
			PlaceSprite(3180, 921, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   830
			PlaceSprite(3120, 1071, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   831
			PlaceSprite(3183, 1214, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   832
			PlaceSprite(3536, 1071, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   833
			PlaceSprite(3480, 1214, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   834
			PlaceSprite(3330, 1279, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   835
			PlaceSprite(1481, 1133, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   836
			PlaceSprite(1626, 1078, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   837
			PlaceSprite(1772, 1135, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   838
			PlaceSprite(1422, 1280, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   839
			PlaceSprite(1831, 1286, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   840
			PlaceSprite(1773, 1429, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   841
			PlaceSprite(1627, 1492, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   842
			PlaceSprite(1482, 1427, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   843
			PlaceSprite(587, 855, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   844
			PlaceSprite(425, 855, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   845
			PlaceSprite(302, 822, sprAmGirder, 1, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   846
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   847
			PlaceSprite(2502, 556, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   848
			PlaceSprite(2601, 634, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   849
			PlaceSprite(2616, 441, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   850
			PlaceSprite(2716, 519, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   851
			PlaceSprite(3469, 556, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   852
			PlaceSprite(3696, 763, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   853
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   854
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   855
			PlaceSprite(2756, 379, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   856
			PlaceSprite(2862, 466, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   857
			PlaceSprite(2918, 379, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   858
			PlaceSprite(3023, 467, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   859
			PlaceSprite(3080, 378, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   860
			PlaceSprite(3616, 503, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   861
			PlaceSprite(3552, 828, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   862
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   863
			PlaceSprite(3172, 527, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   864
			PlaceSprite(3232, 428, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   865
			PlaceSprite(3289, 647, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   866
			PlaceSprite(3350, 545, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   867
			PlaceSprite(3406, 764, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   868
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   869
			PlaceSprite(3708, 575, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   870
			PlaceSprite(3705, 680, sprAmGirder, 1, 2516582650, nil, nil, nil, lfIndestructible)
10630
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   871
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   872
			------ RUBBER BAND LIST ------
10897
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   873
			PlaceSprite(505, 708, sprAmRubber, 0, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   874
			PlaceSprite(175, 451, sprAmRubber, 0, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   875
			PlaceSprite(822, 1693, sprAmRubber, 0, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   876
			PlaceSprite(982, 1691, sprAmRubber, 0, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   877
			PlaceSprite(1142, 1688, sprAmRubber, 0, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   878
			PlaceSprite(1302, 1684, sprAmRubber, 0, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   879
			PlaceSprite(1450, 1750, sprAmRubber, 1, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   880
			PlaceSprite(1566, 1860, sprAmRubber, 1, nil, nil, nil, nil, lfBouncy)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
   881
			PlaceSprite(1680, 1973, sprAmRubber, 1, nil, nil, nil, nil, lfBouncy)
10630
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   882
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   883
			------ AMMO CRATE LIST ------
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   884
			tempG = SpawnAmmoCrate(324, 613, amFirePunch)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   885
			tempG = SpawnAmmoCrate(2361, 1721, amBazooka)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   886
			tempG = SpawnAmmoCrate(2430, 1721, amBazooka)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   887
			tempG = SpawnAmmoCrate(2510, 1721, amBazooka)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   888
			tempG = SpawnAmmoCrate(2581, 1721, amBazooka)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   889
			tempG = SpawnAmmoCrate(405, 1839, amSineGun)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   890
			tempG = SpawnAmmoCrate(481, 1839, amSineGun)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   891
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   892
			------ UTILITY CRATE LIST ------
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   893
			tempG = SpawnUtilityCrate(696, 611, amParachute)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   894
			tempG = SpawnUtilityCrate(825, 1664, amJetpack)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   895
			tempG = SpawnUtilityCrate(919, 1657, amJetpack)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   896
			tempG = SpawnUtilityCrate(1015, 1662, amJetpack)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   897
			tempG = SpawnUtilityCrate(1095, 1654, amJetpack)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   898
			tempG = SpawnUtilityCrate(1166, 1659, amJetpack)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   899
			tempG = SpawnUtilityCrate(1250, 1650, amJetpack)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   900
			tempG = SpawnUtilityCrate(1335, 1655, amJetpack)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   901
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   902
			------ MINE LIST ------
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   903
			SetTimer(AddGear(221, 1373, gtMine, 0, 0, 0, 0), 1)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   904
			SetTimer(AddGear(609, 661, gtMine, 0, 0, 0, 0), 3000)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   905
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   906
			------ STICKY MINE LIST ------
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   907
			tempG = AddGear(190, 756, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   908
			tempG = AddGear(191, 810, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   909
			tempG = AddGear(189, 868, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   910
			tempG = AddGear(190, 923, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   911
			tempG = AddGear(192, 984, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   912
			tempG = AddGear(192, 1045, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   913
			tempG = AddGear(189, 1097, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   914
			tempG = AddGear(192, 1159, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   915
			tempG = AddGear(248, 753, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   916
			tempG = AddGear(248, 808, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   917
			tempG = AddGear(249, 868, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   918
			tempG = AddGear(250, 921, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   919
			tempG = AddGear(246, 982, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   920
			tempG = AddGear(247, 1041, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   921
			tempG = AddGear(249, 1094, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   922
			tempG = AddGear(249, 1156, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   923
			tempG = AddGear(2571, 665, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   924
			tempG = AddGear(2614, 623, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   925
			tempG = AddGear(2658, 580, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   926
			tempG = AddGear(2704, 533, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   927
			tempG = AddGear(2751, 484, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   928
			tempG = AddGear(2830, 466, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   929
			tempG = AddGear(2912, 465, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   930
			tempG = AddGear(2992, 465, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   931
			tempG = AddGear(3072, 468, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   932
			tempG = AddGear(2465, 592, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   933
			tempG = AddGear(2518, 540, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   934
			tempG = AddGear(2580, 477, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   935
			tempG = AddGear(2635, 425, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   936
			tempG = AddGear(2713, 381, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   937
			tempG = AddGear(2796, 378, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   938
			tempG = AddGear(2892, 379, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   939
			tempG = AddGear(2988, 379, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   940
			tempG = AddGear(3061, 377, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   941
			tempG = AddGear(3136, 377, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   942
			tempG = AddGear(627, 770, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   943
			tempG = AddGear(661, 804, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   944
			tempG = AddGear(705, 850, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   945
			tempG = AddGear(754, 899, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   946
			tempG = AddGear(805, 950, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   947
			tempG = AddGear(850, 996, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   948
			tempG = AddGear(902, 1048, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   949
			tempG = AddGear(888, 1034, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   950
			tempG = AddGear(788, 933, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   951
			tempG = AddGear(839, 985, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   952
			tempG = AddGear(736, 881, gtSMine, 0, 0, 0, 0)
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
   953
			tempG = AddGear(686, 829, gtSMine, 0, 0, 0, 0)
10918
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
   954
			tempG = AddGear(649, 792, gtSMine, 0, 0, 0, 0)
10914
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   955
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   956
		elseif mapID == "4" then
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   957
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   958
			------ GIRDER LIST ------
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   959
	PlaceSprite(3942, 116, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   960
	PlaceSprite(3999, 270, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   961
	PlaceSprite(3925, 407, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   962
	PlaceSprite(3777, 470, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   963
	PlaceSprite(3791, 65, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   964
	PlaceSprite(3644, 121, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   965
	PlaceSprite(3629, 413, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   966
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   967
	------ AMMO CRATE LIST ------
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   968
	tempG = SpawnAmmoCrate(3772, 446, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   969
	tempG = SpawnAmmoCrate(3769, 415, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   970
	tempG = SpawnAmmoCrate(3773, 384, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   971
	tempG = SpawnAmmoCrate(3771, 353, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   972
	tempG = SpawnAmmoCrate(3770, 322, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   973
	tempG = SpawnAmmoCrate(3775, 291, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   974
	tempG = SpawnAmmoCrate(3776, 260, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   975
	tempG = SpawnAmmoCrate(3775, 229, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   976
	tempG = SpawnAmmoCrate(3772, 198, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   977
	tempG = SpawnAmmoCrate(3776, 167, amWatermelon)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   978
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   979
	------ UTILITY CRATE LIST ------
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   980
	tempG = SpawnUtilityCrate(3723, 446, amJetpack)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   981
	tempG = SpawnUtilityCrate(3725, 415, amJetpack)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   982
	tempG = SpawnUtilityCrate(3814, 446, amJetpack)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   983
	tempG = SpawnUtilityCrate(3814, 415, amJetpack)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   984
	tempG = SpawnUtilityCrate(3815, 384, amJetpack)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   985
	tempG = SpawnUtilityCrate(3728, 384, amJetpack)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   986
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   987
	------ AIR MINE LIST ------
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   988
	SetTimer(AddGear(3489, 110, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   989
	SetTimer(AddGear(3509, 366, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   990
	SetTimer(AddGear(3399, 114, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   991
	SetTimer(AddGear(3438, 383, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   992
	SetTimer(AddGear(3322, 113, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   993
	SetTimer(AddGear(3369, 384, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   994
	SetTimer(AddGear(3290, 379, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   995
	SetTimer(AddGear(3253, 112, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   996
	SetTimer(AddGear(3178, 111, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   997
	SetTimer(AddGear(3228, 375, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   998
	SetTimer(AddGear(3173, 384, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
   999
	SetTimer(AddGear(3115, 118, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1000
	SetTimer(AddGear(3039, 126, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1001
	SetTimer(AddGear(2954, 139, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1002
	SetTimer(AddGear(3121, 404, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1003
	SetTimer(AddGear(2918, 414, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1004
	SetTimer(AddGear(2880, 144, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1005
	SetTimer(AddGear(2815, 146, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1006
	SetTimer(AddGear(2731, 140, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1007
	SetTimer(AddGear(2867, 408, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1008
	SetTimer(AddGear(2802, 394, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1009
	SetTimer(AddGear(2733, 392, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1010
	SetTimer(AddGear(2661, 392, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1011
	SetTimer(AddGear(2672, 147, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1012
	SetTimer(AddGear(2608, 144, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1013
	SetTimer(AddGear(2558, 117, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1014
	SetTimer(AddGear(2495, 86, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1015
	SetTimer(AddGear(2425, 49, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1016
	SetTimer(AddGear(2373, 79, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1017
	SetTimer(AddGear(2313, 104, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1018
	SetTimer(AddGear(2256, 156, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1019
	SetTimer(AddGear(2218, 226, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1020
	SetTimer(AddGear(2205, 318, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1021
	SetTimer(AddGear(2218, 419, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1022
	SetTimer(AddGear(2255, 479, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1023
	SetTimer(AddGear(2290, 522, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1024
	SetTimer(AddGear(2343, 557, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1025
	SetTimer(AddGear(2413, 540, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1026
	SetTimer(AddGear(2500, 514, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1027
	SetTimer(AddGear(2572, 471, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1028
	SetTimer(AddGear(2618, 436, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1029
	SetTimer(AddGear(2926, 478, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1030
	SetTimer(AddGear(2926, 548, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1031
	SetTimer(AddGear(2924, 615, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1032
	SetTimer(AddGear(3126, 472, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1033
	SetTimer(AddGear(3128, 553, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1034
	SetTimer(AddGear(3136, 623, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1035
	SetTimer(AddGear(3139, 683, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1036
	SetTimer(AddGear(2927, 657, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1037
	SetTimer(AddGear(2919, 720, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1038
	SetTimer(AddGear(3132, 746, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1039
	SetTimer(AddGear(2920, 771, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1040
	SetTimer(AddGear(3137, 798, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1041
	SetTimer(AddGear(2926, 820, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1042
	SetTimer(AddGear(3140, 848, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1043
	SetTimer(AddGear(945, 441, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1044
	SetTimer(AddGear(900, 477, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1045
	SetTimer(AddGear(899, 540, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1046
	SetTimer(AddGear(915, 631, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1047
	SetTimer(AddGear(1013, 616, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1048
	SetTimer(AddGear(970, 533, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1049
	SetTimer(AddGear(1062, 458, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1050
	SetTimer(AddGear(1060, 537, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1051
	SetTimer(AddGear(1094, 640, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1052
	SetTimer(AddGear(1029, 692, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1053
	SetTimer(AddGear(928, 718, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1054
	SetTimer(AddGear(831, 592, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1055
	SetTimer(AddGear(860, 666, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1056
	SetTimer(AddGear(823, 493, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1057
	SetTimer(AddGear(1032, 427, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1058
	SetTimer(AddGear(953, 351, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1059
	SetTimer(AddGear(845, 375, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1060
	SetTimer(AddGear(1101, 326, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1061
	SetTimer(AddGear(1128, 565, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1062
	SetTimer(AddGear(1126, 446, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1063
	SetTimer(AddGear(1208, 703, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1064
	SetTimer(AddGear(1139, 726, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1065
	SetTimer(AddGear(1024, 777, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1066
	SetTimer(AddGear(918, 775, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1067
	SetTimer(AddGear(812, 758, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1068
	SetTimer(AddGear(3171, 887, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1069
	SetTimer(AddGear(3222, 939, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1070
	SetTimer(AddGear(3273, 977, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1071
	SetTimer(AddGear(3330, 1011, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1072
	SetTimer(AddGear(3401, 1051, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1073
	SetTimer(AddGear(2928, 899, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1074
	SetTimer(AddGear(2935, 966, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1075
	SetTimer(AddGear(2959, 1021, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1076
	SetTimer(AddGear(2999, 1077, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1077
	SetTimer(AddGear(3050, 1136, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1078
	SetTimer(AddGear(3108, 1184, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1079
	SetTimer(AddGear(3159, 1221, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1080
	SetTimer(AddGear(3214, 1243, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1081
	SetTimer(AddGear(3289, 1279, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1082
	SetTimer(AddGear(3453, 1087, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1083
	SetTimer(AddGear(3515, 1136, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1084
	SetTimer(AddGear(3566, 1202, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1085
	SetTimer(AddGear(3604, 1275, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1086
	SetTimer(AddGear(3618, 1345, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1087
	SetTimer(AddGear(3608, 1436, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1088
	SetTimer(AddGear(3582, 1505, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1089
	SetTimer(AddGear(3528, 1565, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1090
	SetTimer(AddGear(3456, 1610, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1091
	SetTimer(AddGear(3368, 1651, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1092
	SetTimer(AddGear(3289, 1666, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1093
	SetTimer(AddGear(3205, 1668, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1094
	SetTimer(AddGear(3132, 1672, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1095
	SetTimer(AddGear(3270, 1325, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1096
	SetTimer(AddGear(3192, 1346, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1097
	SetTimer(AddGear(3140, 1346, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1098
	SetTimer(AddGear(3067, 1359, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1099
	SetTimer(AddGear(2997, 1373, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1100
	SetTimer(AddGear(2918, 1391, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1101
	SetTimer(AddGear(2839, 1406, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1102
	SetTimer(AddGear(3078, 1672, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1103
	SetTimer(AddGear(3019, 1659, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1104
	SetTimer(AddGear(2936, 1667, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1105
	SetTimer(AddGear(2859, 1675, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1106
	SetTimer(AddGear(975, 722, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1107
	SetTimer(AddGear(967, 636, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1108
	SetTimer(AddGear(1078, 687, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1109
	SetTimer(AddGear(868, 740, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1110
	SetTimer(AddGear(863, 453, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1111
	SetTimer(AddGear(1010, 494, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1112
	SetTimer(AddGear(1080, 590, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1113
	SetTimer(AddGear(869, 589, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1114
	SetTimer(AddGear(1013, 569, gtAirMine, 0, 0, 0, 0), 1)
69a0ad28ae8e new test for lols
mikade <redgrinner@gmail.com>
parents: 10897
diff changeset
  1115
10630
08d0cacf2aec Add another (test) map
mikade <redgrinner@gmail.com>
parents: 10611
diff changeset
  1116
10918
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1117
	elseif mapID == "5" then
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1118
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1119
	------ GIRDER LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1120
	PlaceSprite(3703, 157, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1121
	PlaceSprite(3846, 100, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1122
	PlaceSprite(3991, 162, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1123
	PlaceSprite(4049, 311, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1124
	PlaceSprite(3648, 308, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1125
	PlaceSprite(3988, 454, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1126
	PlaceSprite(3843, 515, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1127
	PlaceSprite(3616, 429, sprAmGirder, 3, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1128
	PlaceSprite(3725, 548, sprAmGirder, 3, 4294967295, nil, nil, nil, lfNormal)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1129
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1130
	------ RUBBER BAND LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1131
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1132
	------ LAND SPRITE LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1133
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1134
	------ HEALTH CRATE LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1135
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1136
	------ AMMO CRATE LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1137
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1138
	------ UTILITY CRATE LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1139
	tempG = SpawnUtilityCrate(3846, 491, amJetpack)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1140
	tempG = SpawnUtilityCrate(3847, 460, amJetpack)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1141
	tempG = SpawnUtilityCrate(3844, 429, amJetpack)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1142
	tempG = SpawnUtilityCrate(3845, 398, amJetpack)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1143
	tempG = SpawnUtilityCrate(3848, 367, amJetpack)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1144
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1145
	------ BARREL LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1146
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1147
	------ MINE LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1148
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1149
	------ STICKY MINE LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1150
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1151
	------ AIR MINE LIST ------
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1152
	SetTimer(AddGear(3684, 595, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1153
	SetTimer(AddGear(3648, 641, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1154
	SetTimer(AddGear(3613, 695, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1155
	SetTimer(AddGear(3575, 733, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1156
	SetTimer(AddGear(3537, 781, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1157
	SetTimer(AddGear(3505, 829, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1158
	SetTimer(AddGear(3476, 881, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1159
	SetTimer(AddGear(3447, 930, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1160
	SetTimer(AddGear(3418, 979, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1161
	SetTimer(AddGear(3388, 1021, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1162
	SetTimer(AddGear(3356, 1072, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1163
	SetTimer(AddGear(3561, 469, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1164
	SetTimer(AddGear(3528, 500, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1165
	SetTimer(AddGear(3496, 545, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1166
	SetTimer(AddGear(3467, 584, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1167
	SetTimer(AddGear(3444, 619, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1168
	SetTimer(AddGear(3404, 656, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1169
	SetTimer(AddGear(3373, 693, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1170
	SetTimer(AddGear(3351, 726, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1171
	SetTimer(AddGear(3329, 756, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1172
	SetTimer(AddGear(3306, 798, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1173
	SetTimer(AddGear(3339, 1115, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1174
	SetTimer(AddGear(3321, 1163, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1175
	SetTimer(AddGear(3298, 1206, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1176
	SetTimer(AddGear(3281, 1250, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1177
	SetTimer(AddGear(3259, 1302, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1178
	SetTimer(AddGear(3238, 1343, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1179
	SetTimer(AddGear(3220, 1397, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1180
	SetTimer(AddGear(3269, 810, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1181
	SetTimer(AddGear(3225, 788, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1182
	SetTimer(AddGear(3188, 762, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1183
	SetTimer(AddGear(3149, 735, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1184
	SetTimer(AddGear(3106, 709, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1185
	SetTimer(AddGear(3064, 682, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1186
	SetTimer(AddGear(3023, 652, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1187
	SetTimer(AddGear(2983, 619, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1188
	SetTimer(AddGear(3164, 983, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1189
	SetTimer(AddGear(3143, 1029, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1190
	SetTimer(AddGear(3130, 1077, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1191
	SetTimer(AddGear(3122, 1127, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1192
	SetTimer(AddGear(3100, 1174, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1193
	SetTimer(AddGear(3069, 1226, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1194
	SetTimer(AddGear(3042, 1287, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1195
	SetTimer(AddGear(3178, 1440, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1196
	SetTimer(AddGear(3125, 1480, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1197
	SetTimer(AddGear(3088, 1521, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1198
	SetTimer(AddGear(2988, 1326, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1199
	SetTimer(AddGear(2944, 1357, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1200
	SetTimer(AddGear(2884, 1356, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1201
	SetTimer(AddGear(2813, 1356, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1202
	SetTimer(AddGear(2755, 1356, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1203
	SetTimer(AddGear(2677, 1347, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1204
	SetTimer(AddGear(2591, 1354, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1205
	SetTimer(AddGear(2532, 1354, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1206
	SetTimer(AddGear(3045, 1553, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1207
	SetTimer(AddGear(2974, 1588, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1208
	SetTimer(AddGear(2901, 1584, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1209
	SetTimer(AddGear(2850, 1569, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1210
	SetTimer(AddGear(2782, 1570, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1211
	SetTimer(AddGear(2708, 1577, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1212
	SetTimer(AddGear(2648, 1579, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1213
	SetTimer(AddGear(2585, 1576, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1214
	SetTimer(AddGear(2525, 1581, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1215
	SetTimer(AddGear(2490, 1338, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1216
	SetTimer(AddGear(2435, 1306, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1217
	SetTimer(AddGear(2386, 1283, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1218
	SetTimer(AddGear(2344, 1242, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1219
	SetTimer(AddGear(3126, 942, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1220
	SetTimer(AddGear(3070, 919, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1221
	SetTimer(AddGear(3005, 897, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1222
	SetTimer(AddGear(2962, 865, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1223
	SetTimer(AddGear(2907, 838, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1224
	SetTimer(AddGear(2858, 803, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1225
	SetTimer(AddGear(2807, 769, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1226
	SetTimer(AddGear(2764, 741, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1227
	SetTimer(AddGear(2714, 703, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1228
	SetTimer(AddGear(2665, 671, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1229
	SetTimer(AddGear(2613, 629, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1230
	SetTimer(AddGear(2557, 591, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1231
	SetTimer(AddGear(2513, 545, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1232
	SetTimer(AddGear(2450, 537, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1233
	SetTimer(AddGear(2390, 569, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1234
	SetTimer(AddGear(2341, 603, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1235
	SetTimer(AddGear(2299, 649, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1236
	SetTimer(AddGear(2271, 700, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1237
	SetTimer(AddGear(2243, 754, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1238
	SetTimer(AddGear(2185, 783, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1239
	SetTimer(AddGear(2125, 801, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1240
	SetTimer(AddGear(2084, 864, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1241
	SetTimer(AddGear(2113, 933, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1242
	SetTimer(AddGear(2154, 974, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1243
	SetTimer(AddGear(2191, 1016, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1244
	SetTimer(AddGear(2223, 1061, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1245
	SetTimer(AddGear(2257, 1113, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1246
	SetTimer(AddGear(2283, 1153, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1247
	SetTimer(AddGear(2316, 1202, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1248
	SetTimer(AddGear(2479, 1553, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1249
	SetTimer(AddGear(2422, 1513, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1250
	SetTimer(AddGear(2363, 1477, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1251
	SetTimer(AddGear(2302, 1446, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1252
	SetTimer(AddGear(2243, 1388, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1253
	SetTimer(AddGear(2188, 1335, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1254
	SetTimer(AddGear(2136, 1273, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1255
	SetTimer(AddGear(2086, 1204, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1256
	SetTimer(AddGear(2033, 1132, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1257
	SetTimer(AddGear(1992, 1085, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1258
	SetTimer(AddGear(1967, 1022, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1259
	SetTimer(AddGear(2943, 560, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1260
	SetTimer(AddGear(2890, 511, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1261
	SetTimer(AddGear(2834, 477, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1262
	SetTimer(AddGear(2774, 451, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1263
	SetTimer(AddGear(2710, 428, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1264
	SetTimer(AddGear(2652, 410, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1265
	SetTimer(AddGear(2578, 375, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1266
	SetTimer(AddGear(2482, 342, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1267
	SetTimer(AddGear(2380, 335, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1268
	SetTimer(AddGear(2302, 359, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1269
	SetTimer(AddGear(2256, 409, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1270
	SetTimer(AddGear(2183, 469, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1271
	SetTimer(AddGear(2111, 513, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1272
	SetTimer(AddGear(2049, 558, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1273
	SetTimer(AddGear(1986, 586, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1274
	SetTimer(AddGear(1949, 651, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1275
	SetTimer(AddGear(1925, 704, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1276
	SetTimer(AddGear(1923, 769, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1277
	SetTimer(AddGear(1925, 841, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1278
	SetTimer(AddGear(1946, 930, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1279
	SetTimer(AddGear(1953, 975, gtAirMine, 0, 0, 0, 0), 1)
1b878d1d32ce fix techracer map 3
mikade <redgrinner@gmail.com>
parents: 10915
diff changeset
  1280
10930
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1281
	elseif mapID == "6" then
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1282
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1283
	---newish airmine landflag testmap
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1284
	------ GIRDER LIST ------
10932
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1285
	PlaceSprite(194, 388, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1286
	PlaceSprite(338, 334, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1287
	PlaceSprite(484, 390, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1288
	PlaceSprite(139, 543, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1289
	PlaceSprite(544, 540, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1290
	PlaceSprite(201, 687, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1291
	PlaceSprite(485, 684, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1292
	PlaceSprite(259, 839, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1293
	PlaceSprite(426, 837, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1294
	PlaceSprite(259, 999, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1295
	PlaceSprite(426, 998, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1296
	PlaceSprite(259, 1159, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1297
	PlaceSprite(426, 1158, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1298
	PlaceSprite(259, 1318, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1299
	PlaceSprite(426, 1318, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1300
	PlaceSprite(426, 1478, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1301
	PlaceSprite(259, 1478, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1302
	PlaceSprite(515, 1477, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1303
	PlaceSprite(659, 1537, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1304
	PlaceSprite(774, 1652, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1305
	PlaceSprite(836, 1799, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1306
	PlaceSprite(907, 1890, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1307
	PlaceSprite(1067, 1890, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1308
	PlaceSprite(1212, 1823, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1309
	PlaceSprite(1359, 1764, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1310
	PlaceSprite(1504, 1822, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1311
	PlaceSprite(1647, 1886, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1312
	PlaceSprite(1807, 1886, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1313
	PlaceSprite(1362, 1869, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1314
	PlaceSprite(1968, 1885, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1315
	PlaceSprite(2111, 1823, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1316
	PlaceSprite(2257, 1769, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1317
	PlaceSprite(2403, 1825, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1318
	PlaceSprite(2549, 1887, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1319
	PlaceSprite(2709, 1887, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1320
	PlaceSprite(2868, 1887, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1321
	PlaceSprite(2958, 1854, sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1322
	PlaceSprite(2928, 1773, sprAmGirder, 1, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1323
	PlaceSprite(2898, 1692, sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1324
	PlaceSprite(2928, 1613, sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1325
	PlaceSprite(3045, 1584, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1326
	PlaceSprite(3162, 1619, sprAmGirder, 1, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1327
	PlaceSprite(3192, 1697, sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1328
	PlaceSprite(3160, 1777, sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1329
	PlaceSprite(3128, 1857, sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1330
	PlaceSprite(3218, 1886, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1331
	PlaceSprite(3379, 1885, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1332
	PlaceSprite(3524, 1818, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1333
	PlaceSprite(3641, 1702, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1334
	PlaceSprite(3756, 1585, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1335
	PlaceSprite(4021, 1316, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1336
	PlaceSprite(3842, 1503, sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1337
	PlaceSprite(3899, 1409, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1338
	PlaceSprite(3694, 1974, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1339
	PlaceSprite(3809, 1858, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1340
	PlaceSprite(3925, 1741, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1341
	PlaceSprite(4022, 1613, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1342
	PlaceSprite(2256, 1877, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1343
	PlaceSprite(3046, 1728, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1344
	PlaceSprite(501, 1777, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1345
	PlaceSprite(572, 1868, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1346
	PlaceSprite(3372, 771, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1347
	PlaceSprite(3517, 715, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1348
	PlaceSprite(3663, 774, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1349
	PlaceSprite(3313, 923, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1350
	PlaceSprite(3373, 1066, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1351
	PlaceSprite(3518, 1128, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1352
	PlaceSprite(3662, 1065, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1353
	PlaceSprite(3723, 924, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1354
	PlaceSprite(2474, 1373, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1355
	PlaceSprite(2474, 1252, sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1356
	PlaceSprite(2507, 1200, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1357
	PlaceSprite(2626, 1200, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1358
	PlaceSprite(2716, 1270, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1359
	PlaceSprite(2505, 1464, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1360
	PlaceSprite(2625, 1464, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1361
	PlaceSprite(2716, 1391, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1362
	PlaceSprite(1544, 300, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1363
	PlaceSprite(1691, 245, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1364
	PlaceSprite(1838, 304, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1365
	PlaceSprite(1487, 453, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1366
	PlaceSprite(1548, 597, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1367
	PlaceSprite(1692, 657, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1368
	PlaceSprite(1835, 593, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1369
	PlaceSprite(1900, 451, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1370
	PlaceSprite(3527, 93, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1371
	PlaceSprite(3586, 238, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1372
	PlaceSprite(3703, 354, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1373
	PlaceSprite(3820, 471, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1374
	PlaceSprite(3938, 588, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1375
	PlaceSprite(4044, 651, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1376
	PlaceSprite(3618, 22, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1377
	PlaceSprite(3779, 22, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1378
	PlaceSprite(3939, 22, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1379
	PlaceSprite(4047, 22, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1380
	PlaceSprite(936, 1198, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1381
	PlaceSprite(1080, 1143, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1382
	PlaceSprite(1225, 1202, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1383
	PlaceSprite(1278, 1352, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1384
	PlaceSprite(881, 1351, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1385
	PlaceSprite(943, 1496, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1386
	PlaceSprite(1219, 1495, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1387
	PlaceSprite(1160, 1645, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1388
	PlaceSprite(998, 1649, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1389
	PlaceSprite(1160, 1766, sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1390
	PlaceSprite(998, 1770, sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1391
	PlaceSprite(1077, 1824, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1392
	PlaceSprite(1824, 1138, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1393
	PlaceSprite(834, 606, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1394
	PlaceSprite(950, 593, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1395
	PlaceSprite(1035, 683, sprAmGirder, 1, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1396
	PlaceSprite(748, 696, sprAmGirder, 3, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1397
	PlaceSprite(764, 780, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1398
	PlaceSprite(850, 870, sprAmGirder, 1, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1399
	PlaceSprite(937, 850, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1400
	PlaceSprite(1018, 768, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1401
	PlaceSprite(2589, 444, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1402
	PlaceSprite(2704, 329, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1403
	PlaceSprite(2604, 560, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1404
	PlaceSprite(2719, 675, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1405
	PlaceSprite(2832, 689, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1406
	PlaceSprite(2947, 573, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1407
	PlaceSprite(2820, 317, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1408
	PlaceSprite(2936, 433, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
mikade <redgrinner@gmail.com>
parents: 10930
diff changeset
  1409
	PlaceSprite(2987, 489, sprAmGirder, 1, 4294967295, nil, nil, nil, lfNormal)
10930
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1410
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1411
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1412
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1413
	------ AMMO CRATE LIST ------
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1414
	tempG = SpawnAmmoCrate(1314, 1845, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1415
	tempG = SpawnAmmoCrate(1413, 1845, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1416
	tempG = SpawnAmmoCrate(2202, 1853, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1417
	tempG = SpawnAmmoCrate(2309, 1853, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1418
	tempG = SpawnAmmoCrate(3024, 1704, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1419
	tempG = SpawnAmmoCrate(3076, 1704, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1420
	tempG = SpawnAmmoCrate(2252, 1853, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1421
	tempG = SpawnAmmoCrate(1363, 1845, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1422
	tempG = SpawnAmmoCrate(548, 1844, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1423
	tempG = SpawnAmmoCrate(606, 1844, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1424
	tempG = SpawnAmmoCrate(576, 1820, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1425
	tempG = SpawnAmmoCrate(1824, 1042, amBazooka)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1426
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1427
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1428
	------ AIR MINE LIST ------
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1429
	SetTimer(AddGear(3517, 995, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1430
	SetTimer(AddGear(3448, 858, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1431
	SetTimer(AddGear(3582, 848, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1432
	SetTimer(AddGear(3758, 158, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1433
	SetTimer(AddGear(3964, 297, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1434
	SetTimer(AddGear(2772, 506, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1435
	SetTimer(AddGear(2602, 1339, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1436
	SetTimer(AddGear(1638, 370, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1437
	SetTimer(AddGear(1743, 522, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1438
	SetTimer(AddGear(894, 726, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1439
	SetTimer(AddGear(1080, 1690, gtAirMine, 0, 0, 0, 0), 1)
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1440
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1441
		else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1442
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1443
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1444
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1445
			-- first test epic multi map
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1446
			------ GIRDER LIST ------
10897
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1447
			PlaceSprite(430, 1871, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1448
			PlaceSprite(1249, 1914, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1449
			PlaceSprite(1394, 1849, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1450
			PlaceSprite(1522, 1848, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1451
			PlaceSprite(1578, 1959, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1452
			PlaceSprite(1545, 2011, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1453
			PlaceSprite(430, 1749, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1454
			PlaceSprite(430, 1589, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1455
			PlaceSprite(358, 1499, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1456
			PlaceSprite(198, 1499, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1457
			PlaceSprite(72, 1571, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1458
			PlaceSprite(339, 1618, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1459
			PlaceSprite(520, 1499, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1460
			PlaceSprite(680, 1499, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1461
			PlaceSprite(839, 1499, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1462
			PlaceSprite(1000, 1499, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1463
			PlaceSprite(1404, 1730, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1464
			PlaceSprite(1288, 1613, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1465
			PlaceSprite(1200, 1529, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1466
			PlaceSprite(1125, 1495, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1467
			PlaceSprite(1667, 2011, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1468
			PlaceSprite(1812, 1951, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1469
			PlaceSprite(1964, 2024, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1470
			PlaceSprite(1957, 1892, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1471
			PlaceSprite(2103, 1949, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1472
			PlaceSprite(2242, 2017, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1473
			PlaceSprite(2404, 2017, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1474
			PlaceSprite(2548, 1955, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1475
			PlaceSprite(2635, 1871, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1476
			PlaceSprite(2749, 1836, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1477
			PlaceSprite(2751, 1999, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1478
			PlaceSprite(2749, 1947, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1479
			PlaceSprite(2865, 1870, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1480
			PlaceSprite(2954, 1954, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1481
			PlaceSprite(3061, 2017, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1482
			PlaceSprite(3137, 1984, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1483
			PlaceSprite(3169, 1864, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1484
			PlaceSprite(3169, 1702, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1485
			PlaceSprite(3170, 1540, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1486
			PlaceSprite(3170, 1418, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1487
			PlaceSprite(3138, 1339, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1488
			PlaceSprite(3107, 1260, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1489
			PlaceSprite(3153, 1194, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1490
			PlaceSprite(3230, 1163, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1491
			PlaceSprite(3305, 1201, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1492
			PlaceSprite(3334, 1277, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1493
			PlaceSprite(3227, 1540, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1494
			PlaceSprite(3228, 1419, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1495
			PlaceSprite(3334, 1358, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1496
			PlaceSprite(3280, 1387, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1497
			PlaceSprite(3227, 1702, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1498
			PlaceSprite(3227, 1864, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1499
			PlaceSprite(3253, 1981, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1500
			PlaceSprite(3366, 2017, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1501
			PlaceSprite(3528, 2018, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1502
			PlaceSprite(3689, 2018, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1503
			PlaceSprite(246, 1262, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1504
			PlaceSprite(407, 1262, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1505
			PlaceSprite(568, 1262, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1506
			PlaceSprite(731, 1262, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1507
			PlaceSprite(894, 1261, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1508
			PlaceSprite(1056, 1261, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1509
			PlaceSprite(1179, 1262, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1510
			PlaceSprite(1288, 1314, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1511
			PlaceSprite(1406, 1433, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1512
			PlaceSprite(1525, 1549, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1513
			PlaceSprite(1642, 1666, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1514
			PlaceSprite(1749, 1728, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1515
			PlaceSprite(1956, 1802, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1516
			PlaceSprite(1956, 1640, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1517
			PlaceSprite(1782, 1638, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1518
			PlaceSprite(1835, 1487, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1519
			PlaceSprite(1942, 1430, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1520
			PlaceSprite(2051, 1486, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1521
			PlaceSprite(2109, 1639, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1522
			PlaceSprite(2177, 1778, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1523
			PlaceSprite(2323, 1840, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1524
			PlaceSprite(49, 1029, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1525
			PlaceSprite(499, 1172, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1526
			PlaceSprite(527, 1054, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1527
			PlaceSprite(604, 1026, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1528
			PlaceSprite(680, 1056, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1529
			PlaceSprite(719, 1168, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1530
			PlaceSprite(89, 728, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1531
			PlaceSprite(251, 728, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1532
			PlaceSprite(412, 728, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1533
			PlaceSprite(572, 728, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1534
			PlaceSprite(733, 728, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1535
			PlaceSprite(894, 728, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1536
			PlaceSprite(1016, 728, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1537
			PlaceSprite(1067, 799, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1538
			PlaceSprite(1139, 891, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1539
			PlaceSprite(1067, 1171, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1540
			PlaceSprite(1067, 1049, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1541
			PlaceSprite(1136, 999, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1542
			PlaceSprite(1005, 854, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1543
			PlaceSprite(972, 803, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1544
			PlaceSprite(920, 780, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1545
			PlaceSprite(891, 1206, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1546
			PlaceSprite(887, 1150, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1547
			PlaceSprite(3018, 1311, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1548
			PlaceSprite(2871, 1369, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1549
			PlaceSprite(2809, 1523, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1550
			PlaceSprite(2809, 1647, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1551
			PlaceSprite(2469, 1777, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1552
			PlaceSprite(2612, 1715, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1553
			PlaceSprite(2809, 1702, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1554
			PlaceSprite(2727, 1694, sprAmGirder, 0)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1555
10897
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1556
			PlaceSprite(3334, 1481, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1557
			PlaceSprite(3334, 1643, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1558
			PlaceSprite(3334, 1804, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1559
			PlaceSprite(3403, 1940, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1560
			PlaceSprite(1120, 944, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1561
			PlaceSprite(1163, 945, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1562
			PlaceSprite(1141, 781, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1563
			PlaceSprite(81, 629, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1564
			PlaceSprite(102, 498, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1565
			PlaceSprite(81, 373, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1566
			PlaceSprite(179, 453, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1567
			PlaceSprite(100, 260, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1568
			PlaceSprite(179, 330, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1569
			PlaceSprite(249, 544, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1570
			PlaceSprite(410, 545, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1571
			PlaceSprite(571, 543, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1572
			PlaceSprite(731, 543, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1573
			PlaceSprite(891, 544, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1574
			PlaceSprite(1014, 544, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1575
			PlaceSprite(1779, 1321, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1576
			PlaceSprite(1779, 1159, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1577
			PlaceSprite(1779, 997, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1578
			PlaceSprite(1779, 836, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1579
			PlaceSprite(1722, 684, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1580
			PlaceSprite(1137, 545, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1581
			PlaceSprite(1298, 545, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1582
			PlaceSprite(1460, 546, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1583
			PlaceSprite(1608, 600, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1584
			PlaceSprite(1508, 1005, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1585
			PlaceSprite(160, 246, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1586
			PlaceSprite(1821, 1356, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1587
			PlaceSprite(1938, 1323, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1588
			PlaceSprite(2086, 1381, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1589
			PlaceSprite(4004, 2018, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1590
			PlaceSprite(3934, 1926, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1591
			PlaceSprite(3965, 1835, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1592
			PlaceSprite(4015, 1763, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1593
			PlaceSprite(4015, 1603, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1594
			PlaceSprite(4015, 1442, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1595
			PlaceSprite(4015, 1280, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1596
			PlaceSprite(4014, 1118, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1597
			PlaceSprite(4014, 956, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1598
			PlaceSprite(4014, 793, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1599
			PlaceSprite(4014, 632, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1600
			PlaceSprite(4014, 469, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1601
			PlaceSprite(3981, 351, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1602
			PlaceSprite(3985, 204, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1603
			PlaceSprite(4045, 156, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1604
			PlaceSprite(3667, 344, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1605
			PlaceSprite(4016, 1925, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1606
			PlaceSprite(3998, 1926, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1607
			PlaceSprite(3980, 1925, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1608
			PlaceSprite(3957, 1926, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1609
			PlaceSprite(3843, 1832, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1610
			PlaceSprite(3682, 1832, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1611
			PlaceSprite(3561, 1833, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1612
			PlaceSprite(3484, 1796, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1613
			PlaceSprite(3455, 1675, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1614
			PlaceSprite(3455, 1513, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1615
			PlaceSprite(3455, 1351, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1616
			PlaceSprite(1601, 476, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1617
			PlaceSprite(1706, 421, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1618
			PlaceSprite(1888, 366, sprAmGirder, 6)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1619
10897
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1620
			PlaceSprite(3997, 1743, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1621
			PlaceSprite(3979, 1742, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1622
			PlaceSprite(3962, 1741, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1623
			PlaceSprite(3943, 1741, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1624
			PlaceSprite(2199, 393, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1625
			PlaceSprite(2304, 337, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1626
			PlaceSprite(2409, 392, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1627
			PlaceSprite(2470, 502, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1628
			PlaceSprite(2412, 606, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1629
			PlaceSprite(2308, 673, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1630
			PlaceSprite(2202, 612, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1631
			PlaceSprite(2138, 507, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1632
			PlaceSprite(2739, 378, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1633
			PlaceSprite(2847, 322, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1634
			PlaceSprite(2953, 378, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1635
			PlaceSprite(2680, 489, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1636
			PlaceSprite(3012, 489, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1637
			PlaceSprite(2736, 594, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1638
			PlaceSprite(2841, 657, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1639
			PlaceSprite(2949, 594, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1640
			PlaceSprite(2448, 837, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1641
			PlaceSprite(2594, 779, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1642
			PlaceSprite(2739, 836, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1643
			PlaceSprite(2390, 950, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1644
			PlaceSprite(2789, 950, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1645
			PlaceSprite(2593, 904, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1646
			PlaceSprite(2727, 1056, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1647
			PlaceSprite(2452, 1058, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1648
			PlaceSprite(2510, 1215, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1649
			PlaceSprite(2663, 1208, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1650
			PlaceSprite(2510, 1378, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1651
			PlaceSprite(2664, 1369, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1652
			PlaceSprite(300, 275, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1653
			PlaceSprite(439, 274, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1654
			PlaceSprite(628, 273, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1655
			PlaceSprite(811, 271, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1656
			PlaceSprite(737, 373, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1657
			PlaceSprite(934, 440, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1658
			PlaceSprite(1075, 439, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1659
			PlaceSprite(1209, 438, sprAmGirder, 0)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1660
			PlaceSprite(1383, 439, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1661
			--PlaceSprite(2159, 1525, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1662
			PlaceSprite(3547, 344, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1663
			PlaceSprite(3584, 254, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1664
			PlaceSprite(3508, 132, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1665
			PlaceSprite(3335, 1117, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1666
			PlaceSprite(3335, 956, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1667
			PlaceSprite(3335, 795, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1668
			PlaceSprite(3335, 634, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1669
			PlaceSprite(3335, 513, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1670
			PlaceSprite(3401, 404, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1671
			PlaceSprite(3455, 1190, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1672
			PlaceSprite(3455, 1029, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1673
			PlaceSprite(3455, 868, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1674
			PlaceSprite(3455, 705, sprAmGirder, 6)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1675
			PlaceSprite(3455, 582, sprAmGirder, 2)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1676
			PlaceSprite(3485, 503, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1677
			PlaceSprite(3601, 475, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1678
			PlaceSprite(3719, 444, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1679
			PlaceSprite(3094, 828, sprAmGirder, 5)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1680
			PlaceSprite(2064, 947, sprAmGirder, 7)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1681
			PlaceSprite(1826, 512, sprAmGirder, 7)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1682
10897
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1683
			PlaceSprite(3420, 49, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1684
			PlaceSprite(410, 682, sprAmGirder, 3)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1685
			PlaceSprite(528, 653, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1686
			PlaceSprite(688, 653, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1687
			PlaceSprite(805, 684, sprAmGirder, 1)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1688
			PlaceSprite(528, 672, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1689
			PlaceSprite(688, 672, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1690
			PlaceSprite(500, 696, sprAmGirder, 4)
8ea636ce120a Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
nemo
parents: 10630
diff changeset
  1691
			PlaceSprite(701, 696, sprAmGirder, 4)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1692
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1693
			------ AMMO CRATE LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1694
			tempG = SpawnAmmoCrate(889, 1126, amBaseballBat)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1695
			tempG = SpawnAmmoCrate(1211, 975, amSineGun)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1696
			tempG = SpawnAmmoCrate(3619, 451, amFirePunch)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1697
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1698
			------ UTILITY CRATE LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1699
			tempG = SpawnUtilityCrate(304, 1594, amRope)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1700
			tempG = SpawnUtilityCrate(1538, 1987, amJetpack)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1701
			tempG = SpawnUtilityCrate(1958, 2000, amExtraTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1702
			tempG = SpawnUtilityCrate(2744, 1923, amJetpack)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1703
			tempG = SpawnUtilityCrate(3283, 1363, amParachute)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1704
			tempG = SpawnUtilityCrate(2749, 1812, amRope)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1705
			tempG = SpawnUtilityCrate(970, 779, amJetpack)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1706
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1707
			tempG = SpawnUtilityCrate(3284, 1332, amExtraTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1708
			tempG = SpawnUtilityCrate(1082, 975, amBlowTorch)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1709
			tempG = SpawnUtilityCrate(1547, 981, amJetpack)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1710
			tempG = SpawnUtilityCrate(1707, 397, amRope)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1711
			tempG = SpawnUtilityCrate(2309, 649, amExtraTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1712
			tempG = SpawnUtilityCrate(1116, 867, amExtraTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1713
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1714
			------ AMMO CRATE LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1715
			tempG = SpawnAmmoCrate(2559, 880, amBazooka)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1716
			tempG = SpawnAmmoCrate(2630, 880, amBazooka)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1717
			tempG = SpawnAmmoCrate(1951, 1406, amGrenade)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1718
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1719
			------ UTILITY CRATE LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1720
			tempG = SpawnUtilityCrate(3536, 320, amBlowTorch)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1721
			tempG = SpawnUtilityCrate(3582, 1994, amJetpack)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1722
			tempG = SpawnUtilityCrate(682, 349, amExtraTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1723
			tempG = SpawnUtilityCrate(2842, 633, amExtraTime)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1724
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1725
			------ BARREL LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1726
			SetHealth(AddGear(506, 1034, gtExplosives, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1727
			SetHealth(AddGear(556, 1002, gtExplosives, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1728
			SetHealth(AddGear(615, 1002, gtExplosives, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1729
			SetHealth(AddGear(676, 1010, gtExplosives, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1730
			SetHealth(AddGear(716, 1050, gtExplosives, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1731
			SetHealth(AddGear(67, 1005, gtExplosives, 0, 0, 0, 0), 50)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1732
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1733
			------ MINE LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1734
			SetTimer(AddGear(1187, 1908, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1735
			SetTimer(AddGear(1235, 1908, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1736
			SetTimer(AddGear(1283, 1908, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1737
			SetTimer(AddGear(1323, 1908, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1738
			SetTimer(AddGear(1361, 1875, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1739
			SetTimer(AddGear(1399, 1837, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1740
			SetTimer(AddGear(1426, 1810, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1741
			SetTimer(AddGear(234, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1742
			SetTimer(AddGear(308, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1743
			SetTimer(AddGear(377, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1744
			SetTimer(AddGear(460, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1745
			SetTimer(AddGear(550, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1746
			SetTimer(AddGear(633, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1747
			SetTimer(AddGear(722, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1748
			SetTimer(AddGear(795, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1749
			SetTimer(AddGear(881, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1750
			SetTimer(AddGear(975, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1751
			SetTimer(AddGear(1060, 1493, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1752
			SetTimer(AddGear(1127, 1489, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1753
			SetTimer(AddGear(1207, 1526, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1754
			SetTimer(AddGear(1261, 1580, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1755
			SetTimer(AddGear(1315, 1634, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1756
			SetTimer(AddGear(1372, 1692, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1757
			SetTimer(AddGear(1416, 1736, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1758
			SetTimer(AddGear(1465, 1792, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1759
			SetTimer(AddGear(1518, 1838, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1760
			SetTimer(AddGear(1566, 1886, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1761
			SetTimer(AddGear(1623, 2005, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1762
			SetTimer(AddGear(1686, 2005, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1763
			SetTimer(AddGear(1799, 1957, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1764
			SetTimer(AddGear(1839, 1917, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1765
			SetTimer(AddGear(1902, 1886, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1766
			SetTimer(AddGear(1933, 1886, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1767
			SetTimer(AddGear(2076, 1916, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1768
			SetTimer(AddGear(2138, 1978, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1769
			SetTimer(AddGear(2221, 2011, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1770
			SetTimer(AddGear(2305, 2011, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1771
			SetTimer(AddGear(2390, 2011, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1772
			SetTimer(AddGear(2578, 1918, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1773
			SetTimer(AddGear(2494, 2002, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1774
			SetTimer(AddGear(1758, 1728, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1775
			SetTimer(AddGear(1683, 1707, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1776
			SetTimer(AddGear(1635, 1657, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1777
			SetTimer(AddGear(1572, 1596, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1778
			SetTimer(AddGear(1517, 1542, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1779
			SetTimer(AddGear(1447, 1477, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1780
			SetTimer(AddGear(1401, 1432, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1781
			SetTimer(AddGear(1338, 1365, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1782
			SetTimer(AddGear(1290, 1310, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1783
			SetTimer(AddGear(1230, 1266, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1784
			SetTimer(AddGear(1149, 1260, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1785
			SetTimer(AddGear(1054, 1257, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1786
			SetTimer(AddGear(978, 1257, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1787
			SetTimer(AddGear(895, 1258, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1788
			SetTimer(AddGear(819, 1257, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1789
			SetTimer(AddGear(753, 1258, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1790
			SetTimer(AddGear(671, 1260, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1791
			SetTimer(AddGear(599, 1260, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1792
			SetTimer(AddGear(526, 1259, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1793
			SetTimer(AddGear(466, 1259, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1794
			SetTimer(AddGear(408, 1261, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1795
			SetTimer(AddGear(336, 1260, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1796
			SetTimer(AddGear(290, 1259, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1797
			SetTimer(AddGear(218, 1260, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1798
			SetTimer(AddGear(1777, 1263, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1799
			SetTimer(AddGear(1776, 1198, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1800
			SetTimer(AddGear(1778, 1141, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1801
			SetTimer(AddGear(1781, 1078, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1802
			SetTimer(AddGear(1778, 1027, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1803
			SetTimer(AddGear(1778, 985, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1804
			SetTimer(AddGear(1779, 925, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1805
			SetTimer(AddGear(1777, 882, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1806
			SetTimer(AddGear(4052, 2010, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1807
			SetTimer(AddGear(3965, 226, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1808
			SetTimer(AddGear(3962, 326, gtMine, 0, 0, 0, 0), 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1809
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1810
				------ STICKY MINE LIST ------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1811
			tempG = AddGear(3170, 1907, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1812
			tempG = AddGear(3170, 1860, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1813
			tempG = AddGear(3169, 1809, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1814
			tempG = AddGear(3170, 1761, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1815
			tempG = AddGear(3170, 1711, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1816
			tempG = AddGear(3172, 1668, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1817
			tempG = AddGear(3170, 1624, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1818
			tempG = AddGear(3169, 1579, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1819
			tempG = AddGear(3171, 1526, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1820
			tempG = AddGear(3168, 1469, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1821
			tempG = AddGear(3171, 1418, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1822
			tempG = AddGear(3227, 1416, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1823
			tempG = AddGear(3226, 1465, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1824
			tempG = AddGear(3225, 1523, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1825
			tempG = AddGear(3224, 1576, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1826
			tempG = AddGear(3225, 1624, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1827
			tempG = AddGear(3228, 1667, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1828
			tempG = AddGear(3228, 1707, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1829
			tempG = AddGear(3230, 1757, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1830
			tempG = AddGear(3228, 1803, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1831
			tempG = AddGear(3229, 1856, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1832
			tempG = AddGear(3228, 1910, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1833
			tempG = AddGear(258, 534, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1834
			tempG = AddGear(329, 534, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1835
			tempG = AddGear(410, 535, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1836
			tempG = AddGear(482, 535, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1837
			tempG = AddGear(565, 533, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1838
			tempG = AddGear(670, 533, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1839
			tempG = AddGear(763, 533, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1840
			tempG = AddGear(858, 534, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1841
			tempG = AddGear(917, 534, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1842
			tempG = AddGear(1012, 534, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1843
			tempG = AddGear(1147, 535, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1844
			tempG = AddGear(1102, 535, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1845
			tempG = AddGear(1220, 535, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1846
			tempG = AddGear(1293, 535, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1847
			tempG = AddGear(1368, 535, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1848
			tempG = AddGear(1440, 536, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1849
			tempG = AddGear(223, 534, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1850
			tempG = AddGear(814, 534, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1851
			tempG = AddGear(3909, 1822, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1852
			tempG = AddGear(3867, 1822, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1853
			tempG = AddGear(3824, 1822, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1854
			tempG = AddGear(3784, 1822, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1855
			tempG = AddGear(3732, 1822, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1856
			tempG = AddGear(3682, 1822, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1857
			tempG = AddGear(3627, 1822, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1858
			tempG = AddGear(3557, 1823, gtSMine, 0, 0, 0, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1859
		end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1860
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1861
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1862
		activationStage = 200
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1863
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1864
		--runOnHogs(RestoreHog)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1865
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1866
	end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1867
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1868
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1869
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1870
function TryRepositionHogs()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1871
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1872
        if MapHasBorder() == true then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1873
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1874
                for i = 0, (numhhs-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1875
                        if hhs[i] ~= nil then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1876
                                SetGearPosition(hhs[i],GetX(hhs[i]), TopY-10)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1877
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1878
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1879
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1880
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1881
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1882
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1883
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1884
----------------------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1885
-- GAME METHODS / EVENT HANDLERS
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1886
----------------------------------
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1887
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1888
function onParameters()
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1889
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1890
	parseParams()
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1891
	mapID = params["m"]
10930
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  1892
	infUFO = params["ufo"]
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1893
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1894
	roundLimit = tonumber(params["rounds"])
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1895
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1896
	if (roundLimit == 0) or (roundLimit == nil) then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1897
		roundLimit = 3
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1898
	end
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1899
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1900
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1901
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1902
function onPreviewInit()
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1903
	onGameInit()
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1904
end
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1905
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1906
function onGameInit()
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1907
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1908
		Theme = "Cave"
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1909
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1910
		MapGen = mgDrawn
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1911
		TemplateFilter = 0
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1912
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1913
		EnableGameFlags(gfInfAttack, gfDisableWind)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1914
		DisableGameFlags(gfSolidLand)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1915
		CaseFreq = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1916
        TurnTime = 90000
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1917
        WaterRise = 0
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1918
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1919
		for x = 1, 16 do
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1920
			AddPoint(x*100,100,5)
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1921
		end
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1922
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1923
		FlushPoints()
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1924
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1925
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1926
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1927
function limitHogs(gear)
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1928
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1929
	cnthhs = cnthhs + 1
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1930
	if cnthhs > 1 then
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1931
		DeleteGear(gear)
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1932
    end
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1933
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  1934
end
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  1935
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1936
function onSpecialPoint(x,y,flag)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1937
    specialPointsX[specialPointsCount] = x
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1938
    specialPointsY[specialPointsCount] = y
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1939
	specialPointsFlag[specialPointsCount] = flag
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1940
    specialPointsCount = specialPointsCount + 1
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1941
end
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1942
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1943
function InterpretPoints()
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1944
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1945
	-- flags run from 0 to 127
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1946
	for i = 0, (specialPointsCount-1) do
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1947
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1948
		-- Mines
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1949
		if specialPointsFlag[i] == 1 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1950
			SetTimer(AddGear(specialPointsX[i], specialPointsY[i], gtMine, 0, 0, 0, 0), 1)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1951
		elseif specialPointsFlag[i] == 2 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1952
			SetTimer(AddGear(specialPointsX[i], specialPointsY[i], gtMine, 0, 0, 0, 0), 1000)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1953
		elseif specialPointsFlag[i] == 3 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1954
			SetTimer(AddGear(specialPointsX[i], specialPointsY[i], gtMine, 0, 0, 0, 0), 2000)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1955
		elseif specialPointsFlag[i] == 4 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1956
			SetTimer(AddGear(specialPointsX[i], specialPointsY[i], gtMine, 0, 0, 0, 0), 3000)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1957
		elseif specialPointsFlag[i] == 5 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1958
			SetTimer(AddGear(specialPointsX[i], specialPointsY[i], gtMine, 0, 0, 0, 0), 4000)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1959
		elseif specialPointsFlag[i] == 6 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1960
			SetTimer(AddGear(specialPointsX[i], specialPointsY[i], gtMine, 0, 0, 0, 0), 5000)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1961
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1962
		-- Sticky Mines
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1963
		elseif specialPointsFlag[i] == 7 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1964
			AddGear(specialPointsX[i], specialPointsY[i], gtSMine, 0, 0, 0, 0)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1965
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1966
		-- Air Mines
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1967
		elseif specialPointsFlag[i] == 8 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1968
			AddGear(specialPointsX[i], specialPointsY[i], gtAirMine, 0, 0, 0, 0)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1969
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1970
		-- Health Crates
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1971
		elseif specialPointsFlag[i] == 9 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1972
			SetHealth(SpawnHealthCrate(specialPointsX[i],specialPointsY[i]),25)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1973
		elseif specialPointsFlag[i] == 10 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1974
			SetHealth(SpawnHealthCrate(specialPointsX[i],specialPointsY[i]),50)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1975
		elseif specialPointsFlag[i] == 11 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1976
			SetHealth(SpawnHealthCrate(specialPointsX[i],specialPointsY[i]),75)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1977
		elseif specialPointsFlag[i] == 12 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1978
			SetHealth(SpawnHealthCrate(specialPointsX[i],specialPointsY[i]),100)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1979
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1980
		-- Cleaver
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1981
		elseif specialPointsFlag[i] == 13 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1982
			AddGear(specialPointsX[i], specialPointsY[i], gtKnife, 0, 0, 0, 0)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1983
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1984
		-- Target
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1985
		elseif specialPointsFlag[i] == 14 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1986
			AddGear(specialPointsX[i], specialPointsY[i], gtTarget, 0, 0, 0, 0)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1987
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1988
		--Barrels
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1989
		elseif specialPointsFlag[i] == 15 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1990
			SetHealth(AddGear(specialPointsX[i], specialPointsY[i], gtExplosives, 0, 0, 0, 0),1)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1991
		elseif specialPointsFlag[i] == 16 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1992
			SetHealth(AddGear(specialPointsX[i], specialPointsY[i], gtExplosives, 0, 0, 0, 0),25)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1993
		elseif specialPointsFlag[i] == 17 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1994
			SetHealth(AddGear(specialPointsX[i], specialPointsY[i], gtExplosives, 0, 0, 0, 0),50)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1995
		elseif specialPointsFlag[i] == 18 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1996
			SetHealth(AddGear(specialPointsX[i], specialPointsY[i], gtExplosives, 0, 0, 0, 0),75)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1997
		elseif specialPointsFlag[i] == 19 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1998
			SetHealth(AddGear(specialPointsX[i], specialPointsY[i], gtExplosives, 0, 0, 0, 0),100)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  1999
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2000
		-- There are about 58+- weps / utils
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2001
		-- Weapon Crates
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2002
		elseif (specialPointsFlag[i] >= 20) and (specialPointsFlag[i] < (#atkArray+20)) then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2003
			SpawnAmmoCrate(specialPointsX[i],specialPointsY[i],atkArray[i-19][1])
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2004
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2005
		-- Utility Crates
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2006
		elseif (specialPointsFlag[i] >= (#atkArray+20)) and (specialPointsFlag[i] < (#atkArray+20+#utilArray)) then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2007
			SpawnUtilityCrateCrate(specialPointsX[i],specialPointsY[i],utilArray[i-19-#atkArray][1])
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2008
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2009
		--79-82 (reserved for future wep crates)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2010
		--89,88,87,86 and 85,84,83,82 (reserved for the 2 custom sprites and their landflags)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2011
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2012
		--90-99 reserved for scripted structures
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2013
		--[[elseif specialPointsFlag[i] == 90 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2014
			--PlaceStruc("generator")
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2015
		elseif specialPointsFlag[i] == 91 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2016
			--PlaceStruc("healingstation")
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2017
		elseif specialPointsFlag[i] == 92 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2018
			--PlaceStruc("respawner")
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2019
		elseif specialPointsFlag[i] == 93 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2020
			--PlaceStruc("teleportationnode")
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2021
		elseif specialPointsFlag[i] == 94 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2022
			--PlaceStruc("biofilter")
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2023
		elseif specialPointsFlag[i] == 95 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2024
			--PlaceStruc("supportstation")
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2025
		elseif specialPointsFlag[i] == 96 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2026
			--PlaceStruc("constructionstation")
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2027
		elseif specialPointsFlag[i] == 97 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2028
			--PlaceStruc("reflectorshield")
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2029
		elseif specialPointsFlag[i] == 98 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2030
			--PlaceStruc("weaponfilter")]]
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2031
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2032
		-- Normal Girders
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2033
		elseif specialPointsFlag[i] == 100 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2034
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2035
		elseif specialPointsFlag[i] == 101 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2036
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 1, 4294967295, nil, nil, nil, lfNormal)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2037
		elseif specialPointsFlag[i] == 102 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2038
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2039
		elseif specialPointsFlag[i] == 103 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2040
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 3, 4294967295, nil, nil, nil, lfNormal)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2041
		elseif specialPointsFlag[i] == 104 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2042
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2043
		elseif specialPointsFlag[i] == 105 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2044
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2045
		elseif specialPointsFlag[i] == 106 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2046
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2047
		elseif specialPointsFlag[i] == 107 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2048
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2049
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2050
		-- Invulnerable Girders
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2051
		elseif specialPointsFlag[i] == 108 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2052
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 0, 2516582650, nil, nil, nil, lfIndestructible)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2053
		elseif specialPointsFlag[i] == 109 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2054
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 1, 2516582650, nil, nil, nil, lfIndestructible)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2055
		elseif specialPointsFlag[i] == 110 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2056
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2057
		elseif specialPointsFlag[i] == 111 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2058
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2059
		elseif specialPointsFlag[i] == 112 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2060
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2061
		elseif specialPointsFlag[i] == 113 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2062
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2063
		elseif specialPointsFlag[i] == 114 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2064
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2065
		elseif specialPointsFlag[i] == 115 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2066
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2067
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2068
		-- Icy Girders
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2069
		elseif specialPointsFlag[i] == 116 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2070
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 0, 16448250, nil, nil, nil, lfIce)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2071
		elseif specialPointsFlag[i] == 117 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2072
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 1, 16448250, nil, nil, nil, lfIce)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2073
		elseif specialPointsFlag[i] == 118 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2074
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 2, 16448250, nil, nil, nil, lfIce)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2075
		elseif specialPointsFlag[i] == 119 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2076
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 3, 16448250, nil, nil, nil, lfIce)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2077
		elseif specialPointsFlag[i] == 120 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2078
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 4, 16448250, nil, nil, nil, lfIce)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2079
		elseif specialPointsFlag[i] == 121 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2080
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 5, 16448250, nil, nil, nil, lfIce)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2081
		elseif specialPointsFlag[i] == 121 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2082
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 6, 16448250, nil, nil, nil, lfIce)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2083
		elseif specialPointsFlag[i] == 123 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2084
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmGirder, 7, 16448250, nil, nil, nil, lfIce)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2085
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2086
		-- Rubber Bands
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2087
		elseif specialPointsFlag[i] == 124 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2088
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmRubber, 0, 4294967295, nil, nil, nil, lfBouncy)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2089
		elseif specialPointsFlag[i] == 125 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2090
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmRubber, 1, 4294967295, nil, nil, nil, lfBouncy)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2091
		elseif specialPointsFlag[i] == 126 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2092
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmRubber, 2, 4294967295, nil, nil, nil, lfBouncy)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2093
		elseif specialPointsFlag[i] == 127 then
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2094
			PlaceSprite(specialPointsX[i], specialPointsY[i], sprAmRubber, 3, 4294967295, nil, nil, nil, lfBouncy)
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2095
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2096
		-- Waypoints
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2097
		else -- 0 / no value
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2098
			PlaceWayPoint(specialPointsX[i], specialPointsY[i])
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2099
		end
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2100
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2101
	end
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2102
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2103
end
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2104
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2105
function onGameStart()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2106
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2107
		trackTeams()
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2108
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2109
		roundN = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2110
        lastRound = TotalRounds
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2111
        RoundHasChanged = false -- true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2112
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2113
        InterpretPoints()
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2114
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2115
        RebuildTeamInfo()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2116
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2117
		for i=0 , TeamsCount - 1 do
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2118
			cnthhs = 0
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2119
			runOnHogsInTeam(limitHogs, teamNameArr[i])
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2120
		end
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2121
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2122
        ShowMission     (
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2123
                                loc("RACER"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2124
                                loc("a Hedgewars mini-game"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2125
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2126
                                loc("Build a track and race.") .. "|" ..
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2127
                                loc("Round Limit:") .. " " .. roundLimit .. "|" ..
10940
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2128
								loc("You can further customize the race by changing the scheme script paramater.") .. "|" ..
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2129
								--loc("For example, the below line would play map 4, with infinite fuel for the flying saucer, and four rounds.") .. "|" ..
096be1230a46 Added param for rounds in techracer.
mikade <redgrinner@gmail.com>
parents: 10934
diff changeset
  2130
								--"m=4, ufo=true, rounds=4" .. "|" ..
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2131
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2132
                                "", 4, 4000
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2133
                                )
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2134
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2135
        TryRepositionHogs()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2136
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2137
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2138
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2139
function PlaceWayPoint(x,y)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2140
    if not racerActive then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2141
        if wpCount == 0 or wpX[wpCount - 1] ~= x or wpY[wpCount - 1] ~= y then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2142
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2143
            wpX[wpCount] = x
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2144
            wpY[wpCount] = y
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2145
            wpCol[wpCount] = 0xffffffff
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2146
            wpCirc[wpCount] = AddVisualGear(wpX[wpCount],wpY[wpCount],vgtCircle,0,true)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2147
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2148
            SetVisualGearValues(wpCirc[wpCount], wpX[wpCount], wpY[wpCount], 20, 100, 1, 10, 0, wpRad, 5, wpCol[wpCount])
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2149
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2150
            wpCount = wpCount + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2151
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2152
            AddCaption(loc("Waypoint placed.") .. " " .. loc("Available points remaining: ") .. (wpLimit-wpCount))
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2153
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2154
    end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2155
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2156
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2157
function onNewTurn()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2158
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2159
        CheckForNewRound()
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2160
        TryRepositionHogs()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2161
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2162
        racerActive = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2163
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2164
		activationStage = 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2165
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2166
		--AddAmmo(CurrentHedgehog, amBazooka, 100)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2167
		--AddAmmo(CurrentHedgehog, amJetpack, 100)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2168
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2169
		--ClearMap()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2170
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2171
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2172
        trackTime = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2173
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2174
        currCount = 0 -- hopefully this solves problem
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2175
        AddAmmo(CurrentHedgehog, amAirAttack, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2176
        gTimer = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2177
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2178
        -- Set the waypoints to unactive on new round
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2179
        for i = 0,(wpCount-1) do
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2180
                wpActive[i] = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2181
                wpCol[i] = 0xffffffff
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2182
                SetVisualGearValues(wpCirc[i], wpX[i], wpY[i], 20, 100, 1, 10, 0, wpRad, 5, wpCol[i])
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2183
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2184
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2185
        -- Handle Starting Stage of Game
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2186
        if (gameOver == false) and (gameBegun == false) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2187
                if wpCount >= 3 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2188
                        gameBegun = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2189
						--activationStage = 200
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2190
                        roundNumber = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2191
                        firstClan = GetHogClan(CurrentHedgehog)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2192
                        ShowMission(loc("RACER"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2193
                        loc("GAME BEGUN!!!"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2194
                        loc("Complete the track as fast as you can!"), 2, 4000)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2195
                else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2196
                        ShowMission(loc("RACER"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2197
                        loc("NOT ENOUGH WAYPOINTS"),
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2198
                        loc("Place more waypoints using the 'Air Attack' weapon."), 2, 4000)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2199
                        AddAmmo(CurrentHedgehog, amAirAttack, 4000)
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2200
						SetWeapon(amAirAttack)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2201
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2202
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2203
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2204
        if gameOver == true then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2205
                gameBegun = false
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2206
                racerActive = false -- newadd
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2207
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2208
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2209
        AddAmmo(CurrentHedgehog, amTardis, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2210
        AddAmmo(CurrentHedgehog, amDrillStrike, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2211
        AddAmmo(CurrentHedgehog, amMineStrike, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2212
        AddAmmo(CurrentHedgehog, amNapalm, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2213
        AddAmmo(CurrentHedgehog, amPiano, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2214
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2215
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2216
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2217
function onGameTick20()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2218
10930
1974f4aa8ec6 one more map, extra param
mikade <redgrinner@gmail.com>
parents: 10918
diff changeset
  2219
		if (jet ~= nil) and (infUFO == "true") then
10934
mikade <redgrinner@gmail.com>
parents: 10932
diff changeset
  2220
			SetHealth(jet, 2000)
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2221
		end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2222
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2223
        -- airstrike detected, convert this into a potential waypoint spot
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2224
        if cGear ~= nil then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2225
                x,y = GetGearPosition(cGear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2226
        if x > -9000 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2227
            x,y = GetGearTarget(cGear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2228
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2229
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2230
            if TestRectForObstacle(x-20, y-20, x+20, y+20, true) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2231
                AddCaption(loc("Please place the way-point in the open, within the map boundaries."))
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2232
                PlaySound(sndDenied)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2233
            elseif (y > WaterLine-50) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2234
                AddCaption(loc("Please place the way-point further from the waterline."))
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2235
                PlaySound(sndDenied)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2236
            else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2237
                PlaceWayPoint(x, y)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2238
                if wpCount == wpLimit then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2239
                    AddCaption(loc("Race complexity limit reached."))
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2240
                    DisableTumbler()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2241
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2242
            end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2243
        else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2244
            DeleteGear(cGear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2245
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2246
        SetGearPosition(cGear, -10000, 0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2247
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2248
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2249
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2250
		if activationStage < 10 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2251
				HandleFreshMapCreation()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2252
		end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2253
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2254
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2255
        -- start the player tumbling with a boom once their turn has actually begun
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2256
        if racerActive == false then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2257
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2258
                if (TurnTimeLeft > 0) and (TurnTimeLeft ~= TurnTime) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2259
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2260
                        -- if the gamehas started put the player in the middle of the first
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2261
                        --waypoint that was placed
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2262
                        --if activationStage == 200 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2263
						if gameBegun == true then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2264
                                AddCaption(loc("Good to go!"))
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2265
                                racerActive = true
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2266
                                trackTime = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2267
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2268
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2269
								SetGearPosition(CurrentHedgehog, wpX[0], wpY[0])
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2270
                                --AddGear(GetX(CurrentHedgehog), GetY(CurrentHedgehog), gtGrenade, 0, 0, 0, 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2271
                                --SetGearVelocity(CurrentHedgehog,1000000,1000000)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2272
								SetGearMessage(CurrentHedgehog,gmLeft)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2273
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2274
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2275
								FollowGear(CurrentHedgehog)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2276
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2277
                                HideMission()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2278
								activationStage = 201
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2279
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2280
						else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2281
                                -- still in placement mode
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2282
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2283
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2284
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2285
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2286
        elseif (activationStage == 201) and (TurnTimeLeft > 0) and (TurnTimeLeft ~= TurnTime) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2287
			SetGearMessage(CurrentHedgehog,0)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2288
			activationStage = 202
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2289
		end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2290
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2291
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2292
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2293
        -- has the player started his tumbling spree?
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2294
        if (CurrentHedgehog ~= nil) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2295
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2296
                --airstrike conversion used to be here
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2297
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2298
                -- if the RACE has started, show tracktimes and keep tabs on waypoints
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2299
                if (racerActive == true) and (activationStage == 202) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2300
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2301
                        --ghost
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2302
                        if GameTime%40 == 0 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2303
                                HandleGhost()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2304
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2305
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2306
                        trackTime = trackTime + 20
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2307
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2308
                        if GameTime%100 == 0 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2309
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2310
                if trackTime%1000 == 0 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2311
                    AddCaption((trackTime/1000)..'.0',GetClanColor(GetHogClan(CurrentHedgehog)),capgrpMessage2)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2312
                else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2313
                    AddCaption(trackTime/1000,GetClanColor(GetHogClan(CurrentHedgehog)),capgrpMessage2)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2314
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2315
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2316
                                if (CheckWaypoints() == true) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2317
                                        AdjustScores()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2318
                                        DisableTumbler()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2319
                                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2320
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2321
                        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2322
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2323
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2324
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2325
                -- if the player has expended his tunbling time, stop him tumbling
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2326
                if TurnTimeLeft <= 20 then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2327
                        DisableTumbler()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2328
                end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2329
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2330
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2331
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2332
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2333
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2334
function onGearResurrect(gear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2335
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2336
        AddVisualGear(GetX(gear), GetY(gear), vgtBigExplosion, 0, false)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2337
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2338
        if gear == CurrentHedgehog then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2339
                DisableTumbler()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2340
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2341
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2342
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2343
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2344
function isATrackedGear(gear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2345
	if 	(GetGearType(gear) == gtHedgehog) or
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2346
		(GetGearType(gear) == gtGrenade) or
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2347
		(GetGearType(gear) == gtTarget) or
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2348
		(GetGearType(gear) == gtFlame) or
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2349
		(GetGearType(gear) == gtExplosives) or
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2350
		(GetGearType(gear) == gtMine) or
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2351
		(GetGearType(gear) == gtSMine) or
10915
c7524efcb3b7 ups, forgot we need to make TechRacer aware of airmines
mikade <redgrinner@gmail.com>
parents: 10914
diff changeset
  2352
		(GetGearType(gear) == gtAirMine) or
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2353
		(GetGearType(gear) == gtCase)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2354
	then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2355
		return(true)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2356
	else
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2357
		return(false)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2358
	end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2359
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2360
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2361
function onGearAdd(gear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2362
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2363
        if isATrackedGear(gear) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2364
			trackGear(gear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2365
		end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2366
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2367
		if GetGearType(gear) == gtHedgehog then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2368
                hhs[numhhs] = gear
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2369
                numhhs = numhhs + 1
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2370
                SetEffect(gear, heResurrectable, 1)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2371
        end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2372
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2373
        if GetGearType(gear) == gtAirAttack then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2374
                cGear = gear
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2375
        elseif GetGearType(gear) == gtJetpack then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2376
			jet = gear
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2377
		end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2378
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2379
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2380
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2381
function onGearDelete(gear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2382
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2383
        if isATrackedGear(gear) then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2384
			trackDeletion(gear)
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2385
		elseif GetGearType(gear) == gtAirAttack then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2386
                cGear = nil
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2387
        elseif GetGearType(gear) == gtJetpack then
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2388
			jet = nil
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2389
		end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2390
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2391
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2392
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2393
function onAttack()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2394
    at = GetCurAmmoType()
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2395
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2396
    usedWeapons[at] = 0
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2397
end
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2398
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2399
function onAchievementsDeclaration()
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2400
    usedWeapons[amSkip] = nil
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2401
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2402
    usedRope = usedWeapons[amRope] ~= nil
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2403
    usedPortal = usedWeapons[amPortalGun] ~= nil
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2404
    usedSaucer = usedWeapons[amJetpack] ~= nil
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2405
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2406
    usedWeapons[amRope] = nil
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2407
    usedWeapons[amPortalGun] = nil
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2408
    usedWeapons[amJetpack] = nil
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2409
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2410
    usedOther = next(usedWeapons) ~= nil
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2411
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2412
    if usedOther then -- smth besides skip, rope, portal or saucer used
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2413
        raceType = "unknown race"
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2414
    elseif usedRope and not usedPortal and not usedSaucer then
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2415
        raceType = "rope race"
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2416
    elseif not usedRope and usedPortal and not usedSaucer then
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2417
        raceType = "portal race"
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2418
    elseif not usedRope and not usedPortal and usedSaucer then
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2419
        raceType = "saucer race"
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2420
    elseif (usedRope or usedPortal or usedSaucer or usedOther) == false then -- no weapons used at all?
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2421
        raceType = "no tools race"
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2422
    else -- at least two of rope, portal and saucer used
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2423
        raceType = "mixed race"
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2424
    end
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2425
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2426
    map = detectMap()
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2427
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2428
    for i = 0, (numTeams-1) do
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2429
        if teamScore[i] < 100000 then
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2430
            DeclareAchievement(raceType, teamNameArr[i], map, teamScore[i])
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2431
        end
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2432
    end
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2433
end
10554
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2434
48e9b1099ff4 Added TechRacer (still needs a lot of love), updated changelog
mikade <redgrinner@gmail.com>
parents:
diff changeset
  2435
10596
75b5b674387a some friendly updates to TechRacer
mikade <redgrinner@gmail.com>
parents: 10554
diff changeset
  2436