Advertisement
Guest User

cognical attack

a guest
Dec 27th, 2019
608
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ------ BEGIN SCRIPT ------
  2. -- Copy and Paste this text into an empty text file, and save it as
  3. -- YOURTITLEHERE.lua, in your Data/Missions/Training/ folder.
  4.  
  5. HedgewarsScriptLoad("/Scripts/Locale.lua")
  6. HedgewarsScriptLoad("/Scripts/Tracker.lua")
  7.  
  8. local hhs = {}
  9.  
  10. local wepArray = {
  11. amBazooka, amBee, amMortar, amDrill, amSnowball,
  12. amGrenade, amClusterBomb, amMolotov, amWatermelon, amHellishBomb, amGasBomb,
  13. amShotgun, amDEagle, amSniperRifle, amSineGun, amLandGun, amIceGun,
  14. amFirePunch, amWhip, amBaseballBat, amKamikaze, amSeduction, amHammer,
  15. amMine, amDynamite, amCake, amBallgun, amRCPlane, amSMine, amAirMine,
  16. amAirAttack, amMineStrike, amDrillStrike, amNapalm, amPiano, amBirdy,
  17. amBlowTorch, amPickHammer, amGirder, amRubber, amPortalGun,
  18. amRope, amParachute, amTeleport, amJetpack,
  19. amInvulnerable, amLaserSight, amVampiric,
  20. amLowGravity, amExtraDamage, amExtraTime, amResurrector, amTardis, amSwitch
  21. }
  22.  
  23. function onGameInit()
  24.  
  25. ClearGameFlags()
  26. EnableGameFlags(gfDisableWind, gfDisableGirders, gfDisableLandObjects, gfPerHogAmmo)
  27. Map = "Cogs"
  28. Theme = "Nature"
  29. TurnTime = 45000
  30. Explosives = 0
  31. MinesNum = 0
  32. CaseFreq = 0
  33. Delay = 100
  34. HealthCaseProb = 35
  35. HealthCaseAmount = 25
  36. DamagePercent = 100
  37. MinesTime = 3000
  38. MineDudPercent = 0
  39. SuddenDeathTurns = 50
  40. WaterRise = 0
  41. HealthDecrease = 1
  42.  
  43. ------ TEAM LIST ------
  44.  
  45. AddTeam("The Police", "0xff1de6ba", "Statue", "Castle", "British", "cm_star")
  46. hhs[9] = AddHog("Mahoney", 0, 1, "bobby")
  47. SetGearPosition(hhs[9], 1079, 435)
  48. setGearValue(hhs[9], "tag", "failure")
  49.  
  50. AddTeam("Cybernetic Empire", "0xff4980c1", "Grave", "Castle", "Robot", "cm_binary")
  51. hhs[1] = AddHog("Unit 189", 1, 100, "cyborg1")
  52. SetGearPosition(hhs[1], 1867, 287)
  53. setGearValue(hhs[1], "tag", "victory")
  54. hhs[2] = AddHog("Unit 333", 1, 100, "cyborg2")
  55. SetGearPosition(hhs[2], 1595, 609)
  56. hhs[3] = AddHog("Unit 709", 1, 100, "cyborg1")
  57. SetGearPosition(hhs[3], 372, 422)
  58. hhs[4] = AddHog("Unit 485", 1, 100, "cyborg1")
  59. SetGearPosition(hhs[4], 82, 403)
  60. setGearValue(hhs[4], "tag", "victory")
  61. hhs[5] = AddHog("Unit 883", 1, 100, "cyborg1")
  62. SetGearPosition(hhs[5], 211, 576)
  63. hhs[6] = AddHog("Unit 638", 1, 100, "cyborg1")
  64. SetGearPosition(hhs[6], 457, 750)
  65. hhs[7] = AddHog("Unit 234", 1, 100, "cyborg1")
  66. SetGearPosition(hhs[7], 1872, 503)
  67. hhs[8] = AddHog("Unit 527", 1, 100, "cyborg2")
  68. SetGearPosition(hhs[8], 1664, 840)
  69.  
  70.  
  71. end
  72.  
  73. function LoadHogWeapons()
  74.  
  75. AddAmmo(hhs[1], amBazooka, 100)
  76. AddAmmo(hhs[1], amMortar, 100)
  77. AddAmmo(hhs[1], amShotgun, 100)
  78. AddAmmo(hhs[1], amSwitch, 100)
  79.  
  80. AddAmmo(hhs[2], amBazooka, 100)
  81. AddAmmo(hhs[2], amMortar, 100)
  82. AddAmmo(hhs[2], amShotgun, 100)
  83. AddAmmo(hhs[2], amSwitch, 100)
  84.  
  85. AddAmmo(hhs[3], amBazooka, 100)
  86. AddAmmo(hhs[3], amMortar, 100)
  87. AddAmmo(hhs[3], amShotgun, 100)
  88. AddAmmo(hhs[3], amSwitch, 100)
  89.  
  90. AddAmmo(hhs[4], amBazooka, 100)
  91. AddAmmo(hhs[4], amMortar, 100)
  92. AddAmmo(hhs[4], amShotgun, 100)
  93. AddAmmo(hhs[4], amSwitch, 100)
  94.  
  95. AddAmmo(hhs[5], amBazooka, 100)
  96. AddAmmo(hhs[5], amMortar, 100)
  97. AddAmmo(hhs[5], amShotgun, 100)
  98. AddAmmo(hhs[5], amSwitch, 100)
  99.  
  100. AddAmmo(hhs[6], amBazooka, 100)
  101. AddAmmo(hhs[6], amMortar, 100)
  102. AddAmmo(hhs[6], amShotgun, 100)
  103. AddAmmo(hhs[6], amSwitch, 100)
  104.  
  105. AddAmmo(hhs[7], amBazooka, 100)
  106. AddAmmo(hhs[7], amMortar, 100)
  107. AddAmmo(hhs[7], amShotgun, 100)
  108. AddAmmo(hhs[7], amSwitch, 100)
  109.  
  110. AddAmmo(hhs[8], amBazooka, 100)
  111. AddAmmo(hhs[8], amMortar, 100)
  112. AddAmmo(hhs[8], amShotgun, 100)
  113. AddAmmo(hhs[8], amSwitch, 100)
  114.  
  115. AddAmmo(hhs[9], amSwitch, 100)
  116.  
  117. end
  118.  
  119.  
  120. function LoadSprite(pX, pY, pSprite, pFrame, pTint, p1, p2, p3, pLandFlags)
  121. PlaceSprite(pX, pY, pSprite, pFrame, pTint, p1, p2, p3, pLandFlags)
  122. end
  123.  
  124.  
  125. function LoadGearData()
  126.  
  127. --BEGIN CORE DATA--
  128.  
  129. ------ PORTAL DISTANCE and UFO FUEL ------
  130. ufoFuel = 0
  131. portalDistance = 5000
  132.  
  133. ------ GIRDER LIST ------
  134. LoadSprite(1081, 524, sprAmGirder, 0, 4294967295, nil, nil, nil, lfNormal)
  135. LoadSprite(1081, 524, sprAmGirder, 1, 4294967295, nil, nil, nil, lfNormal)
  136. LoadSprite(1081, 524, sprAmGirder, 2, 4294967295, nil, nil, nil, lfNormal)
  137. LoadSprite(1081, 524, sprAmGirder, 3, 4294967295, nil, nil, nil, lfNormal)
  138. LoadSprite(1081, 524, sprAmGirder, 4, 4294967295, nil, nil, nil, lfNormal)
  139. LoadSprite(1081, 524, sprAmGirder, 5, 4294967295, nil, nil, nil, lfNormal)
  140. LoadSprite(1081, 524, sprAmGirder, 6, 4294967295, nil, nil, nil, lfNormal)
  141. LoadSprite(1081, 524, sprAmGirder, 7, 4294967295, nil, nil, nil, lfNormal)
  142. LoadSprite(778, 570, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
  143. LoadSprite(801, 648, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
  144. LoadSprite(305, 607, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
  145. LoadSprite(343, 533, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
  146. LoadSprite(99, 447, sprAmGirder, 1, 2516582650, nil, nil, nil, lfIndestructible)
  147. LoadSprite(165, 395, sprAmGirder, 1, 2516582650, nil, nil, nil, lfIndestructible)
  148. LoadSprite(259, 400, sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
  149. LoadSprite(303, 444, sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
  150. LoadSprite(1389, 431, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
  151. LoadSprite(1389, 545, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
  152. LoadSprite(1616, 654, sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
  153. LoadSprite(1710, 624, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
  154. LoadSprite(1755, 426, sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
  155. LoadSprite(1762, 511, sprAmGirder, 3, 2516582650, nil, nil, nil, lfIndestructible)
  156. LoadSprite(1816, 322, sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
  157. LoadSprite(1916, 323, sprAmGirder, 2, 2516582650, nil, nil, nil, lfIndestructible)
  158. LoadSprite(985, 630, sprAmGirder, 1, 16448250, nil, nil, nil, lfIce)
  159. LoadSprite(906, 650, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
  160. LoadSprite(833, 443, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
  161. LoadSprite(883, 310, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
  162. LoadSprite(1013, 255, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
  163. LoadSprite(1318, 617, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
  164. LoadSprite(1264, 741, sprAmGirder, 7, 2516582650, nil, nil, nil, lfIndestructible)
  165. LoadSprite(1012, 754, sprAmGirder, 5, 2516582650, nil, nil, nil, lfIndestructible)
  166. LoadSprite(1132, 808, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
  167. LoadSprite(1313, 359, sprAmGirder, 6, 2516582650, nil, nil, nil, lfIndestructible)
  168. LoadSprite(1240, 279, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
  169. LoadSprite(1120, 265, sprAmGirder, 4, 2516582650, nil, nil, nil, lfIndestructible)
  170.  
  171. ------ HEALTH CRATE LIST ------
  172. SetHealth(SpawnHealthCrate(561, 776), 25)
  173. SetHealth(SpawnHealthCrate(409, 397), 25)
  174. SetHealth(SpawnHealthCrate(172, 560), 25)
  175. SetHealth(SpawnHealthCrate(82, 381), 25)
  176. SetHealth(SpawnHealthCrate(1591, 786), 25)
  177. SetHealth(SpawnHealthCrate(1536, 588), 25)
  178. SetHealth(SpawnHealthCrate(1888, 482), 25)
  179. SetHealth(SpawnHealthCrate(1858, 265), 25)
  180. SetHealth(SpawnHealthCrate(1239, 646), 25)
  181. SetHealth(SpawnHealthCrate(877, 234), 25)
  182. SetHealth(SpawnHealthCrate(1087, 157), 25)
  183. SetHealth(SpawnHealthCrate(1332, 254), 25)
  184. SetHealth(SpawnHealthCrate(464, 271), 25)
  185. SetHealth(SpawnHealthCrate(397, 223), 25)
  186. SetHealth(SpawnHealthCrate(317, 232), 25)
  187. SetHealth(SpawnHealthCrate(132, 297), 25)
  188. SetHealth(SpawnHealthCrate(80, 282), 25)
  189. SetHealth(SpawnHealthCrate(26, 302), 25)
  190. SetHealth(SpawnHealthCrate(208, 376), 25)
  191. SetHealth(SpawnHealthCrate(244, 298), 25)
  192. SetHealth(SpawnHealthCrate(484, 346), 25)
  193. SetHealth(SpawnHealthCrate(664, 392), 25)
  194. SetHealth(SpawnHealthCrate(767, 444), 25)
  195. SetHealth(SpawnHealthCrate(1478, 316), 25)
  196. SetHealth(SpawnHealthCrate(1626, 292), 25)
  197. SetHealth(SpawnHealthCrate(1415, 407), 25)
  198. SetHealth(SpawnHealthCrate(1746, 369), 25)
  199. SetHealth(SpawnHealthCrate(1791, 329), 25)
  200. SetHealth(SpawnHealthCrate(1984, 401), 25)
  201. SetHealth(SpawnHealthCrate(1956, 331), 25)
  202. SetHealth(SpawnHealthCrate(1955, 235), 25)
  203. SetHealth(SpawnHealthCrate(1944, 179), 25)
  204. SetHealth(SpawnHealthCrate(1884, 146), 25)
  205. SetHealth(SpawnHealthCrate(1810, 156), 25)
  206. SetHealth(SpawnHealthCrate(1782, 196), 25)
  207. SetHealth(SpawnHealthCrate(1771, 742), 25)
  208. SetHealth(SpawnHealthCrate(1740, 668), 25)
  209. SetHealth(SpawnHealthCrate(1561, 679), 25)
  210. SetHealth(SpawnHealthCrate(1540, 747), 25)
  211. SetHealth(SpawnHealthCrate(821, 685), 25)
  212. SetHealth(SpawnHealthCrate(1348, 685), 25)
  213.  
  214. ------ AMMO CRATE LIST ------
  215. tempG = SpawnAmmoCrate(1054, 713, amBazooka)
  216. setGearValue(tempG, "caseType", "ammo")
  217. setGearValue(tempG, "contents", "amBazooka")
  218. tempG = SpawnAmmoCrate(1054, 709, amBazooka)
  219. setGearValue(tempG, "caseType", "ammo")
  220. setGearValue(tempG, "contents", "amBazooka")
  221. tempG = SpawnAmmoCrate(1054, 709, amBazooka)
  222. setGearValue(tempG, "caseType", "ammo")
  223. setGearValue(tempG, "contents", "amBazooka")
  224. tempG = SpawnAmmoCrate(1054, 709, amBazooka)
  225. setGearValue(tempG, "caseType", "ammo")
  226. setGearValue(tempG, "contents", "amBazooka")
  227. tempG = SpawnAmmoCrate(1054, 709, amBazooka)
  228. setGearValue(tempG, "caseType", "ammo")
  229. setGearValue(tempG, "contents", "amBazooka")
  230. tempG = SpawnAmmoCrate(1054, 709, amBazooka)
  231. setGearValue(tempG, "caseType", "ammo")
  232. setGearValue(tempG, "contents", "amBazooka")
  233. tempG = SpawnAmmoCrate(1054, 709, amBazooka)
  234. setGearValue(tempG, "caseType", "ammo")
  235. setGearValue(tempG, "contents", "amBazooka")
  236. tempG = SpawnAmmoCrate(1054, 709, amBazooka)
  237. setGearValue(tempG, "caseType", "ammo")
  238. setGearValue(tempG, "contents", "amBazooka")
  239. tempG = SpawnAmmoCrate(1102, 715, amShotgun)
  240. setGearValue(tempG, "caseType", "ammo")
  241. setGearValue(tempG, "contents", "amShotgun")
  242. tempG = SpawnAmmoCrate(1153, 702, amDEagle)
  243. setGearValue(tempG, "caseType", "ammo")
  244. setGearValue(tempG, "contents", "amDEagle")
  245. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  246. setGearValue(tempG, "caseType", "ammo")
  247. setGearValue(tempG, "contents", "amShotgun")
  248. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  249. setGearValue(tempG, "caseType", "ammo")
  250. setGearValue(tempG, "contents", "amShotgun")
  251. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  252. setGearValue(tempG, "caseType", "ammo")
  253. setGearValue(tempG, "contents", "amShotgun")
  254. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  255. setGearValue(tempG, "caseType", "ammo")
  256. setGearValue(tempG, "contents", "amShotgun")
  257. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  258. setGearValue(tempG, "caseType", "ammo")
  259. setGearValue(tempG, "contents", "amShotgun")
  260. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  261. setGearValue(tempG, "caseType", "ammo")
  262. setGearValue(tempG, "contents", "amShotgun")
  263. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  264. setGearValue(tempG, "caseType", "ammo")
  265. setGearValue(tempG, "contents", "amShotgun")
  266. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  267. setGearValue(tempG, "caseType", "ammo")
  268. setGearValue(tempG, "contents", "amShotgun")
  269. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  270. setGearValue(tempG, "caseType", "ammo")
  271. setGearValue(tempG, "contents", "amShotgun")
  272. tempG = SpawnAmmoCrate(1100, 712, amShotgun)
  273. setGearValue(tempG, "caseType", "ammo")
  274. setGearValue(tempG, "contents", "amShotgun")
  275. tempG = SpawnAmmoCrate(1152, 697, amDEagle)
  276. setGearValue(tempG, "caseType", "ammo")
  277. setGearValue(tempG, "contents", "amDEagle")
  278. tempG = SpawnAmmoCrate(1152, 697, amDEagle)
  279. setGearValue(tempG, "caseType", "ammo")
  280. setGearValue(tempG, "contents", "amDEagle")
  281. tempG = SpawnAmmoCrate(1152, 697, amDEagle)
  282. setGearValue(tempG, "caseType", "ammo")
  283. setGearValue(tempG, "contents", "amDEagle")
  284. tempG = SpawnAmmoCrate(1152, 697, amDEagle)
  285. setGearValue(tempG, "caseType", "ammo")
  286. setGearValue(tempG, "contents", "amDEagle")
  287. tempG = SpawnAmmoCrate(1122, 678, amGrenade)
  288. setGearValue(tempG, "caseType", "ammo")
  289. setGearValue(tempG, "contents", "amGrenade")
  290. tempG = SpawnAmmoCrate(1122, 676, amGrenade)
  291. setGearValue(tempG, "caseType", "ammo")
  292. setGearValue(tempG, "contents", "amGrenade")
  293. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  294. setGearValue(tempG, "caseType", "ammo")
  295. setGearValue(tempG, "contents", "amGrenade")
  296. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  297. setGearValue(tempG, "caseType", "ammo")
  298. setGearValue(tempG, "contents", "amGrenade")
  299. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  300. setGearValue(tempG, "caseType", "ammo")
  301. setGearValue(tempG, "contents", "amGrenade")
  302. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  303. setGearValue(tempG, "caseType", "ammo")
  304. setGearValue(tempG, "contents", "amGrenade")
  305. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  306. setGearValue(tempG, "caseType", "ammo")
  307. setGearValue(tempG, "contents", "amGrenade")
  308. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  309. setGearValue(tempG, "caseType", "ammo")
  310. setGearValue(tempG, "contents", "amGrenade")
  311. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  312. setGearValue(tempG, "caseType", "ammo")
  313. setGearValue(tempG, "contents", "amGrenade")
  314. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  315. setGearValue(tempG, "caseType", "ammo")
  316. setGearValue(tempG, "contents", "amGrenade")
  317. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  318. setGearValue(tempG, "caseType", "ammo")
  319. setGearValue(tempG, "contents", "amGrenade")
  320. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  321. setGearValue(tempG, "caseType", "ammo")
  322. setGearValue(tempG, "contents", "amGrenade")
  323. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  324. setGearValue(tempG, "caseType", "ammo")
  325. setGearValue(tempG, "contents", "amGrenade")
  326. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  327. setGearValue(tempG, "caseType", "ammo")
  328. setGearValue(tempG, "contents", "amGrenade")
  329. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  330. setGearValue(tempG, "caseType", "ammo")
  331. setGearValue(tempG, "contents", "amGrenade")
  332. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  333. setGearValue(tempG, "caseType", "ammo")
  334. setGearValue(tempG, "contents", "amGrenade")
  335. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  336. setGearValue(tempG, "caseType", "ammo")
  337. setGearValue(tempG, "contents", "amGrenade")
  338. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  339. setGearValue(tempG, "caseType", "ammo")
  340. setGearValue(tempG, "contents", "amGrenade")
  341. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  342. setGearValue(tempG, "caseType", "ammo")
  343. setGearValue(tempG, "contents", "amGrenade")
  344. tempG = SpawnAmmoCrate(1122, 674, amGrenade)
  345. setGearValue(tempG, "caseType", "ammo")
  346. setGearValue(tempG, "contents", "amGrenade")
  347. tempG = SpawnAmmoCrate(82, 382, amWatermelon)
  348. setGearValue(tempG, "caseType", "ammo")
  349. setGearValue(tempG, "contents", "amWatermelon")
  350. tempG = SpawnAmmoCrate(408, 368, amHellishBomb)
  351. setGearValue(tempG, "caseType", "ammo")
  352. setGearValue(tempG, "contents", "amHellishBomb")
  353. tempG = SpawnAmmoCrate(173, 531, amMolotov)
  354. setGearValue(tempG, "caseType", "ammo")
  355. setGearValue(tempG, "contents", "amMolotov")
  356. tempG = SpawnAmmoCrate(173, 531, amMolotov)
  357. setGearValue(tempG, "caseType", "ammo")
  358. setGearValue(tempG, "contents", "amMolotov")
  359. tempG = SpawnAmmoCrate(173, 531, amMolotov)
  360. setGearValue(tempG, "caseType", "ammo")
  361. setGearValue(tempG, "contents", "amMolotov")
  362. tempG = SpawnAmmoCrate(173, 531, amMolotov)
  363. setGearValue(tempG, "caseType", "ammo")
  364. setGearValue(tempG, "contents", "amMolotov")
  365. tempG = SpawnAmmoCrate(173, 531, amMolotov)
  366. setGearValue(tempG, "caseType", "ammo")
  367. setGearValue(tempG, "contents", "amMolotov")
  368. tempG = SpawnAmmoCrate(173, 531, amMolotov)
  369. setGearValue(tempG, "caseType", "ammo")
  370. setGearValue(tempG, "contents", "amMolotov")
  371. tempG = SpawnAmmoCrate(173, 531, amMolotov)
  372. setGearValue(tempG, "caseType", "ammo")
  373. setGearValue(tempG, "contents", "amMolotov")
  374. tempG = SpawnAmmoCrate(567, 747, amSineGun)
  375. setGearValue(tempG, "caseType", "ammo")
  376. setGearValue(tempG, "contents", "amSineGun")
  377. tempG = SpawnAmmoCrate(567, 745, amSineGun)
  378. setGearValue(tempG, "caseType", "ammo")
  379. setGearValue(tempG, "contents", "amSineGun")
  380. tempG = SpawnAmmoCrate(567, 744, amSineGun)
  381. setGearValue(tempG, "caseType", "ammo")
  382. setGearValue(tempG, "contents", "amSineGun")
  383. tempG = SpawnAmmoCrate(567, 744, amSineGun)
  384. setGearValue(tempG, "caseType", "ammo")
  385. setGearValue(tempG, "contents", "amSineGun")
  386. tempG = SpawnAmmoCrate(567, 744, amSineGun)
  387. setGearValue(tempG, "caseType", "ammo")
  388. setGearValue(tempG, "contents", "amSineGun")
  389. tempG = SpawnAmmoCrate(567, 744, amSineGun)
  390. setGearValue(tempG, "caseType", "ammo")
  391. setGearValue(tempG, "contents", "amSineGun")
  392. tempG = SpawnAmmoCrate(567, 744, amSineGun)
  393. setGearValue(tempG, "caseType", "ammo")
  394. setGearValue(tempG, "contents", "amSineGun")
  395. tempG = SpawnAmmoCrate(1576, 586, amDrill)
  396. setGearValue(tempG, "caseType", "ammo")
  397. setGearValue(tempG, "contents", "amDrill")
  398. tempG = SpawnAmmoCrate(1576, 584, amDrill)
  399. setGearValue(tempG, "caseType", "ammo")
  400. setGearValue(tempG, "contents", "amDrill")
  401. tempG = SpawnAmmoCrate(1571, 576, amDrill)
  402. setGearValue(tempG, "caseType", "ammo")
  403. setGearValue(tempG, "contents", "amDrill")
  404. tempG = SpawnAmmoCrate(1571, 572, amDrill)
  405. setGearValue(tempG, "caseType", "ammo")
  406. setGearValue(tempG, "contents", "amDrill")
  407. tempG = SpawnAmmoCrate(1571, 572, amDrill)
  408. setGearValue(tempG, "caseType", "ammo")
  409. setGearValue(tempG, "contents", "amDrill")
  410. tempG = SpawnAmmoCrate(1571, 572, amDrill)
  411. setGearValue(tempG, "caseType", "ammo")
  412. setGearValue(tempG, "contents", "amDrill")
  413. tempG = SpawnAmmoCrate(1699, 806, amAirAttack)
  414. setGearValue(tempG, "caseType", "ammo")
  415. setGearValue(tempG, "contents", "amAirAttack")
  416. tempG = SpawnAmmoCrate(1699, 803, amAirAttack)
  417. setGearValue(tempG, "caseType", "ammo")
  418. setGearValue(tempG, "contents", "amAirAttack")
  419. tempG = SpawnAmmoCrate(1699, 797, amAirAttack)
  420. setGearValue(tempG, "caseType", "ammo")
  421. setGearValue(tempG, "contents", "amAirAttack")
  422. tempG = SpawnAmmoCrate(1699, 796, amAirAttack)
  423. setGearValue(tempG, "caseType", "ammo")
  424. setGearValue(tempG, "contents", "amAirAttack")
  425. tempG = SpawnAmmoCrate(1699, 796, amAirAttack)
  426. setGearValue(tempG, "caseType", "ammo")
  427. setGearValue(tempG, "contents", "amAirAttack")
  428. tempG = SpawnAmmoCrate(1699, 796, amAirAttack)
  429. setGearValue(tempG, "caseType", "ammo")
  430. setGearValue(tempG, "contents", "amAirAttack")
  431. tempG = SpawnAmmoCrate(1910, 455, amBaseballBat)
  432. setGearValue(tempG, "caseType", "ammo")
  433. setGearValue(tempG, "contents", "amBaseballBat")
  434. tempG = SpawnAmmoCrate(1910, 451, amBaseballBat)
  435. setGearValue(tempG, "caseType", "ammo")
  436. setGearValue(tempG, "contents", "amBaseballBat")
  437. tempG = SpawnAmmoCrate(1910, 447, amBaseballBat)
  438. setGearValue(tempG, "caseType", "ammo")
  439. setGearValue(tempG, "contents", "amBaseballBat")
  440. tempG = SpawnAmmoCrate(1910, 447, amBaseballBat)
  441. setGearValue(tempG, "caseType", "ammo")
  442. setGearValue(tempG, "contents", "amBaseballBat")
  443. tempG = SpawnAmmoCrate(1910, 447, amBaseballBat)
  444. setGearValue(tempG, "caseType", "ammo")
  445. setGearValue(tempG, "contents", "amBaseballBat")
  446. tempG = SpawnAmmoCrate(1910, 447, amBaseballBat)
  447. setGearValue(tempG, "caseType", "ammo")
  448. setGearValue(tempG, "contents", "amBaseballBat")
  449. tempG = SpawnAmmoCrate(1910, 447, amBaseballBat)
  450. setGearValue(tempG, "caseType", "ammo")
  451. setGearValue(tempG, "contents", "amBaseballBat")
  452. tempG = SpawnAmmoCrate(1857, 236, amWatermelon)
  453. setGearValue(tempG, "caseType", "ammo")
  454. setGearValue(tempG, "contents", "amWatermelon")
  455. tempG = SpawnAmmoCrate(1857, 234, amWatermelon)
  456. setGearValue(tempG, "caseType", "ammo")
  457. setGearValue(tempG, "contents", "amWatermelon")
  458. tempG = SpawnAmmoCrate(1857, 234, amWatermelon)
  459. setGearValue(tempG, "caseType", "ammo")
  460. setGearValue(tempG, "contents", "amWatermelon")
  461.  
  462. ------ UTILITY CRATE LIST ------
  463. tempG = SpawnUtilityCrate(1079, 682, amGirder)
  464. setGearValue(tempG, "caseType", "util")
  465. setGearValue(tempG, "contents", "amGirder")
  466. tempG = SpawnUtilityCrate(1079, 677, amGirder)
  467. setGearValue(tempG, "caseType", "util")
  468. setGearValue(tempG, "contents", "amGirder")
  469. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  470. setGearValue(tempG, "caseType", "util")
  471. setGearValue(tempG, "contents", "amGirder")
  472. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  473. setGearValue(tempG, "caseType", "util")
  474. setGearValue(tempG, "contents", "amGirder")
  475. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  476. setGearValue(tempG, "caseType", "util")
  477. setGearValue(tempG, "contents", "amGirder")
  478. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  479. setGearValue(tempG, "caseType", "util")
  480. setGearValue(tempG, "contents", "amGirder")
  481. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  482. setGearValue(tempG, "caseType", "util")
  483. setGearValue(tempG, "contents", "amGirder")
  484. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  485. setGearValue(tempG, "caseType", "util")
  486. setGearValue(tempG, "contents", "amGirder")
  487. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  488. setGearValue(tempG, "caseType", "util")
  489. setGearValue(tempG, "contents", "amGirder")
  490. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  491. setGearValue(tempG, "caseType", "util")
  492. setGearValue(tempG, "contents", "amGirder")
  493. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  494. setGearValue(tempG, "caseType", "util")
  495. setGearValue(tempG, "contents", "amGirder")
  496. tempG = SpawnUtilityCrate(1079, 676, amGirder)
  497. setGearValue(tempG, "caseType", "util")
  498. setGearValue(tempG, "contents", "amGirder")
  499. tempG = SpawnUtilityCrate(1174, 668, amJetpack)
  500. setGearValue(tempG, "caseType", "util")
  501. setGearValue(tempG, "contents", "amJetpack")
  502. tempG = SpawnUtilityCrate(1174, 664, amJetpack)
  503. setGearValue(tempG, "caseType", "util")
  504. setGearValue(tempG, "contents", "amJetpack")
  505. tempG = SpawnUtilityCrate(1174, 659, amJetpack)
  506. setGearValue(tempG, "caseType", "util")
  507. setGearValue(tempG, "contents", "amJetpack")
  508. tempG = SpawnUtilityCrate(1174, 659, amJetpack)
  509. setGearValue(tempG, "caseType", "util")
  510. setGearValue(tempG, "contents", "amJetpack")
  511. tempG = SpawnUtilityCrate(1174, 659, amJetpack)
  512. setGearValue(tempG, "caseType", "util")
  513. setGearValue(tempG, "contents", "amJetpack")
  514. tempG = SpawnUtilityCrate(1174, 659, amJetpack)
  515. setGearValue(tempG, "caseType", "util")
  516. setGearValue(tempG, "contents", "amJetpack")
  517. tempG = SpawnUtilityCrate(1174, 659, amJetpack)
  518. setGearValue(tempG, "caseType", "util")
  519. setGearValue(tempG, "contents", "amJetpack")
  520. tempG = SpawnUtilityCrate(1174, 659, amJetpack)
  521. setGearValue(tempG, "caseType", "util")
  522. setGearValue(tempG, "contents", "amJetpack")
  523.  
  524. ------ BARREL LIST ------
  525. SetHealth(AddGear(1837, 318, gtExplosives, 0, 0, 0, 0), 1)
  526. SetHealth(AddGear(1891, 318, gtExplosives, 0, 0, 0, 0), 1)
  527. SetHealth(AddGear(1745, 480, gtExplosives, 0, 0, 0, 0), 1)
  528. SetHealth(AddGear(1773, 453, gtExplosives, 0, 0, 0, 0), 1)
  529. SetHealth(AddGear(1641, 621, gtExplosives, 0, 0, 0, 0), 1)
  530. SetHealth(AddGear(1677, 660, gtExplosives, 0, 0, 0, 0), 1)
  531. SetHealth(AddGear(1342, 456, gtExplosives, 0, 0, 0, 0), 1)
  532. SetHealth(AddGear(1435, 510, gtExplosives, 0, 0, 0, 0), 1)
  533. SetHealth(AddGear(1436, 466, gtExplosives, 0, 0, 0, 0), 1)
  534. SetHealth(AddGear(1351, 510, gtExplosives, 0, 0, 0, 0), 1)
  535. SetHealth(AddGear(749, 652, gtExplosives, 0, 0, 0, 0), 1)
  536. SetHealth(AddGear(815, 587, gtExplosives, 0, 0, 0, 0), 1)
  537. SetHealth(AddGear(130, 419, gtExplosives, 0, 0, 0, 0), 1)
  538. SetHealth(AddGear(281, 419, gtExplosives, 0, 0, 0, 0), 1)
  539. SetHealth(AddGear(298, 549, gtExplosives, 0, 0, 0, 0), 1)
  540. SetHealth(AddGear(341, 595, gtExplosives, 0, 0, 0, 0), 1)
  541.  
  542. ------ AIR MINE LIST ------
  543. SetTimer(AddGear(668, 148, gtAirMine, 0, 0, 0, 0), 1)
  544. SetTimer(AddGear(668, 148, gtAirMine, 0, 0, 0, 0), 1)
  545. SetTimer(AddGear(668, 148, gtAirMine, 0, 0, 0, 0), 1)
  546. SetTimer(AddGear(668, 148, gtAirMine, 0, 0, 0, 0), 1)
  547. SetTimer(AddGear(668, 148, gtAirMine, 0, 0, 0, 0), 1)
  548. SetTimer(AddGear(668, 148, gtAirMine, 0, 0, 0, 0), 1)
  549. SetTimer(AddGear(668, 148, gtAirMine, 0, 0, 0, 0), 1)
  550. SetTimer(AddGear(1404, 97, gtAirMine, 0, 0, 0, 0), 1)
  551. SetTimer(AddGear(1404, 97, gtAirMine, 0, 0, 0, 0), 1)
  552. SetTimer(AddGear(1404, 97, gtAirMine, 0, 0, 0, 0), 1)
  553. SetTimer(AddGear(1404, 97, gtAirMine, 0, 0, 0, 0), 1)
  554. SetTimer(AddGear(1474, 78, gtAirMine, 0, 0, 0, 0), 1)
  555. SetTimer(AddGear(1420, -12, gtAirMine, 0, 0, 0, 0), 1)
  556. SetTimer(AddGear(1232, 0, gtAirMine, 0, 0, 0, 0), 1)
  557. SetTimer(AddGear(1331, 107, gtAirMine, 0, 0, 0, 0), 1)
  558. SetTimer(AddGear(1355, 197, gtAirMine, 0, 0, 0, 0), 1)
  559. SetTimer(AddGear(1395, 321, gtAirMine, 0, 0, 0, 0), 1)
  560. SetTimer(AddGear(1504, 146, gtAirMine, 0, 0, 0, 0), 1)
  561. SetTimer(AddGear(1676, -139, gtAirMine, 0, 0, 0, 0), 1)
  562. SetTimer(AddGear(1628, 161, gtAirMine, 0, 0, 0, 0), 1)
  563. SetTimer(AddGear(1755, -12, gtAirMine, 0, 0, 0, 0), 1)
  564. SetTimer(AddGear(833, -107, gtAirMine, 0, 0, 0, 0), 1)
  565. SetTimer(AddGear(1048, 58, gtAirMine, 0, 0, 0, 0), 1)
  566. SetTimer(AddGear(819, 202, gtAirMine, 0, 0, 0, 0), 1)
  567. SetTimer(AddGear(900, 22, gtAirMine, 0, 0, 0, 0), 1)
  568. SetTimer(AddGear(1105, -153, gtAirMine, 0, 0, 0, 0), 1)
  569. SetTimer(AddGear(677, -90, gtAirMine, 0, 0, 0, 0), 1)
  570. SetTimer(AddGear(513, -10, gtAirMine, 0, 0, 0, 0), 1)
  571. SetTimer(AddGear(476, 92, gtAirMine, 0, 0, 0, 0), 1)
  572. SetTimer(AddGear(737, 371, gtAirMine, 0, 0, 0, 0), 1)
  573. SetTimer(AddGear(566, 280, gtAirMine, 0, 0, 0, 0), 1)
  574. SetTimer(AddGear(478, 140, gtAirMine, 0, 0, 0, 0), 1)
  575. SetTimer(AddGear(226, 96, gtAirMine, 0, 0, 0, 0), 1)
  576. SetTimer(AddGear(8, 114, gtAirMine, 0, 0, 0, 0), 1)
  577. SetTimer(AddGear(186, 237, gtAirMine, 0, 0, 0, 0), 1)
  578. SetTimer(AddGear(335, 142, gtAirMine, 0, 0, 0, 0), 1)
  579. SetTimer(AddGear(335, -56, gtAirMine, 0, 0, 0, 0), 1)
  580. SetTimer(AddGear(156, -49, gtAirMine, 0, 0, 0, 0), 1)
  581.  
  582. --END CORE DATA--
  583.  
  584. LoadHogWeapons()
  585.  
  586. end
  587.  
  588.  
  589. function onGameStart()
  590.  
  591. LoadGearData()
  592. DetermineMissionGoal()
  593.  
  594. end
  595.  
  596.  
  597. function onNewTurn()
  598. --insert code according to taste
  599. end
  600.  
  601.  
  602. function onGameTick()
  603. runOnGears(UpdateTagCircles)
  604. end
  605.  
  606. function UpdateTagCircles(gear)
  607. if getGearValue(gear,"tag") ~= nil then
  608. if getGearValue(gear,"tCirc") == nil then
  609. setGearValue(gear, "tCirc",AddVisualGear(0,0,vgtCircle,0,true))
  610. end
  611.  
  612. if getGearValue(gear,"tag") == "victory" then
  613. SetVisualGearValues(getGearValue(gear,"tCirc"), GetX(gear), GetY(gear), 100, 255, 1, 10, 0, 150, 3, 0xff0000ff)
  614. elseif getGearValue(gear,"tag") == "failure" then
  615. SetVisualGearValues(getGearValue(gear,"tCirc"), GetX(gear), GetY(gear), 100, 255, 1, 10, 0, 150, 3, 0x00ff00ff)
  616. elseif getGearValue(gear,"tag") == "collection" then
  617. SetVisualGearValues(getGearValue(gear,"tCirc"), GetX(gear), GetY(gear), 100, 255, 1, 10, 0, 150, 3, 0x0000ffff)
  618. end
  619. end
  620. end
  621.  
  622. function CheckForConditions(gear)
  623. if getGearValue(gear,"tag") == "victory" then
  624. victoryObj = victoryObj +1
  625. elseif getGearValue(gear,"tag") == "failure" then
  626. failObj = failObj +1
  627. elseif getGearValue(gear,"tag") == "collection" then
  628. collectObj = collectObj +1
  629. end
  630. end
  631.  
  632. function CheckForConclusion(gear)
  633.  
  634. if getGearValue(gear,"tag") == "failure" then
  635. EndGameIn("failure")
  636. else
  637.  
  638. victoryObj = 0
  639. failObj = 0
  640. collectObj = 0
  641. runOnGears(CheckForConditions)
  642.  
  643. if GetGearType(gear) ~= gtCase then
  644.  
  645. victoryObj = victoryObj - 1
  646.  
  647. if (victoryObj == 0) and (collectObj == 0) then
  648. EndGameIn("victory")
  649. end
  650.  
  651. else
  652.  
  653. if (GetGearMessage(gear) == 256) and (getGearValue(gear,"tag") == "collection") then
  654. if GetHogLevel(CurrentHedgehog) ~= 0 then
  655. EndGameIn("failure")
  656. else
  657. collectObj = collectObj - 1
  658. if (victoryObj == 0) and (collectObj == 0) then
  659. EndGameIn("victory")
  660. end
  661. end
  662. elseif (GetGearMessage(gear) == 0) and (getGearValue(gear,"tag") == "victory") then
  663. victoryObj = victoryObj - 1
  664. if (victoryObj == 0) and (collectObj == 0) then
  665. EndGameIn("victory")
  666. end
  667. else
  668. EndGameIn("failure")
  669. end
  670.  
  671. end
  672.  
  673. end
  674.  
  675. end
  676.  
  677. function DetermineMissionGoal()
  678.  
  679. victoryObj = 0
  680. failObj = 0
  681. collectObj = 0
  682. vComment = ""
  683. fComment = ""
  684. collectComment = ""
  685.  
  686. runOnGears(CheckForConditions)
  687.  
  688. if victoryObj > 0 then
  689. if victoryObj == 1 then
  690. vComment = loc("Destroy the red target")
  691. else
  692. vComment = loc("Destroy the red targets")
  693. end
  694. end
  695.  
  696. if collectObj > 0 then
  697. if collectObj == 1 then
  698. collectComment = loc("Collect the blue target")
  699. else
  700. collectComment = loc("Collect all the blue targets")
  701. end
  702. end
  703.  
  704. if (collectObj == 0) and (victoryObj == 0) then
  705. vComment = loc("Destroy the enemy.")
  706. end
  707.  
  708. if failObj > 0 then
  709. if failObj == 1 then
  710. fComment = loc("The green target must survive")
  711. else
  712. fComment = loc("The green targets must survive")
  713. end
  714. end
  715.  
  716. ShowMission(loc("User Challenge"), loc("Mission Goals") .. ":", collectComment .. "|" .. vComment .. "|" .. fComment, 0, 0)
  717.  
  718. end
  719.  
  720. function isATrackedGear(gear)
  721. if (GetGearType(gear) == gtHedgehog) or
  722. (GetGearType(gear) == gtExplosives) or
  723. (GetGearType(gear) == gtMine) or
  724. (GetGearType(gear) == gtSMine) or
  725. (GetGearType(gear) == gtAirMine) or
  726. (GetGearType(gear) == gtTarget) or
  727. (GetGearType(gear) == gtKnife) or
  728. (GetGearType(gear) == gtPortal) or
  729. (GetGearType(gear) == gtCase)
  730. then
  731. return(true)
  732. else
  733. return(false)
  734. end
  735. end
  736.  
  737.  
  738. function onGearAdd(gear)
  739. if isATrackedGear(gear) then
  740. trackGear(gear)
  741. end
  742. end
  743.  
  744.  
  745. function EndGameIn(c)
  746.  
  747. teamCounter = 0
  748. lastRecordedTeam = ""
  749. for i = 1, #hhs do
  750.  
  751. if GetHogTeamName(hhs[i]) ~= lastRecordedTeam then --er, is this okay without nill checks?
  752.  
  753. lastRecordedTeam = GetHogTeamName(hhs[i])
  754. teamCounter = teamCounter + 1
  755. if teamCounter == 9 then
  756. teamCounter = 1
  757. end
  758.  
  759. if (c == "victory") and (GetHogLevel(hhs[i]) ~= 0) then
  760. DismissTeam(GetHogTeamName(hhs[i]))
  761. ShowMission(loc("User Challenge"), loc("MISSION SUCCESSFUL"), loc("Congratulations!"), 0, 0)
  762. elseif (c == "failure") and (GetHogLevel(hhs[i]) == 0) then
  763. DismissTeam(GetHogTeamName(hhs[i]))
  764. ShowMission(loc("User Challenge"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0)
  765. elseif (c == "victory") and (GetHogLevel(hhs[i]) == 0) then
  766. PlaySound(sndVictory,hhs[i]) -- check if we actually need this
  767. end
  768.  
  769. end
  770.  
  771. end
  772.  
  773. end
  774.  
  775.  
  776. function onGearDelete(gear)
  777.  
  778. --insert code according to taste
  779.  
  780. if isATrackedGear(gear) then
  781.  
  782. if getGearValue(gear,"tag") ~= nil then
  783. CheckForConclusion(gear)
  784. end
  785.  
  786. if getGearValue(gear, "tCirc") ~= nil then
  787. DeleteVisualGear(getGearValue(gear, "tCirc"))
  788. end
  789.  
  790. trackDeletion(gear)
  791.  
  792. end
  793.  
  794. end
  795.  
  796.  
  797. --enable and/or alter code according to taste
  798. function onAmmoStoreInit()
  799.  
  800. for i = 1, #wepArray do
  801. SetAmmo(wepArray[i], 0, 0, 0, 1)
  802. end
  803.  
  804. SetAmmo(amSkip, 9, 0, 0, 0)
  805.  
  806. end
  807.  
  808. ------ END GENERATED MISSION ------
  809.  
  810. function GeneratePreviewData()
  811.  
  812. PreviewGirder(1081, 524, 0)
  813. PreviewGirder(1081, 524, 1)
  814. PreviewGirder(1081, 524, 2)
  815. PreviewGirder(1081, 524, 3)
  816. PreviewGirder(1081, 524, 4)
  817. PreviewGirder(1081, 524, 5)
  818. PreviewGirder(1081, 524, 6)
  819. PreviewGirder(1081, 524, 7)
  820. PreviewGirder(778, 570, 7)
  821. PreviewGirder(801, 648, 7)
  822. PreviewGirder(305, 607, 5)
  823. PreviewGirder(343, 533, 5)
  824. PreviewGirder(99, 447, 1)
  825. PreviewGirder(165, 395, 1)
  826. PreviewGirder(259, 400, 3)
  827. PreviewGirder(303, 444, 3)
  828. PreviewGirder(1389, 431, 4)
  829. PreviewGirder(1389, 545, 4)
  830. PreviewGirder(1616, 654, 2)
  831. PreviewGirder(1710, 624, 6)
  832. PreviewGirder(1755, 426, 3)
  833. PreviewGirder(1762, 511, 3)
  834. PreviewGirder(1816, 322, 2)
  835. PreviewGirder(1916, 323, 2)
  836. PreviewGirder(985, 630, 1)
  837. PreviewGirder(906, 650, 5)
  838. PreviewGirder(833, 443, 6)
  839. PreviewGirder(883, 310, 7)
  840. PreviewGirder(1013, 255, 4)
  841. PreviewGirder(1318, 617, 6)
  842. PreviewGirder(1264, 741, 7)
  843. PreviewGirder(1012, 754, 5)
  844. PreviewGirder(1132, 808, 4)
  845. PreviewGirder(1313, 359, 6)
  846. PreviewGirder(1240, 279, 4)
  847. PreviewGirder(1120, 265, 4)
  848. PreviewPlacedGear(1837, 318)
  849. PreviewPlacedGear(1891, 318)
  850. PreviewPlacedGear(1745, 480)
  851. PreviewPlacedGear(1773, 453)
  852. PreviewPlacedGear(1641, 621)
  853. PreviewPlacedGear(1677, 660)
  854. PreviewPlacedGear(1342, 456)
  855. PreviewPlacedGear(1435, 510)
  856. PreviewPlacedGear(1436, 466)
  857. PreviewPlacedGear(1351, 510)
  858. PreviewPlacedGear(749, 652)
  859. PreviewPlacedGear(815, 587)
  860. PreviewPlacedGear(130, 419)
  861. PreviewPlacedGear(281, 419)
  862. PreviewPlacedGear(298, 549)
  863. PreviewPlacedGear(341, 595)
  864. PreviewPlacedGear(668, 148)
  865. PreviewPlacedGear(668, 148)
  866. PreviewPlacedGear(668, 148)
  867. PreviewPlacedGear(668, 148)
  868. PreviewPlacedGear(668, 148)
  869. PreviewPlacedGear(668, 148)
  870. PreviewPlacedGear(668, 148)
  871. PreviewPlacedGear(1404, 97)
  872. PreviewPlacedGear(1404, 97)
  873. PreviewPlacedGear(1404, 97)
  874. PreviewPlacedGear(1404, 97)
  875. PreviewPlacedGear(1474, 78)
  876. PreviewPlacedGear(1420, -12)
  877. PreviewPlacedGear(1232, 0)
  878. PreviewPlacedGear(1331, 107)
  879. PreviewPlacedGear(1355, 197)
  880. PreviewPlacedGear(1395, 321)
  881. PreviewPlacedGear(1504, 146)
  882. PreviewPlacedGear(1676, -139)
  883. PreviewPlacedGear(1628, 161)
  884. PreviewPlacedGear(1755, -12)
  885. PreviewPlacedGear(833, -107)
  886. PreviewPlacedGear(1048, 58)
  887. PreviewPlacedGear(819, 202)
  888. PreviewPlacedGear(900, 22)
  889. PreviewPlacedGear(1105, -153)
  890. PreviewPlacedGear(677, -90)
  891. PreviewPlacedGear(513, -10)
  892. PreviewPlacedGear(476, 92)
  893. PreviewPlacedGear(737, 371)
  894. PreviewPlacedGear(566, 280)
  895. PreviewPlacedGear(478, 140)
  896. PreviewPlacedGear(226, 96)
  897. PreviewPlacedGear(8, 114)
  898. PreviewPlacedGear(186, 237)
  899. PreviewPlacedGear(335, 142)
  900. PreviewPlacedGear(335, -56)
  901. PreviewPlacedGear(156, -49)
  902. PreviewPlacedGear(561, 776)
  903. PreviewPlacedGear(409, 397)
  904. PreviewPlacedGear(172, 560)
  905. PreviewPlacedGear(82, 381)
  906. PreviewPlacedGear(1591, 786)
  907. PreviewPlacedGear(1536, 588)
  908. PreviewPlacedGear(1888, 482)
  909. PreviewPlacedGear(1858, 265)
  910. PreviewPlacedGear(1239, 646)
  911. PreviewPlacedGear(1054, 713)
  912. PreviewPlacedGear(1054, 709)
  913. PreviewPlacedGear(1054, 709)
  914. PreviewPlacedGear(1054, 709)
  915. PreviewPlacedGear(1054, 709)
  916. PreviewPlacedGear(1054, 709)
  917. PreviewPlacedGear(1054, 709)
  918. PreviewPlacedGear(1054, 709)
  919. PreviewPlacedGear(1102, 715)
  920. PreviewPlacedGear(1153, 702)
  921. PreviewPlacedGear(1100, 712)
  922. PreviewPlacedGear(1100, 712)
  923. PreviewPlacedGear(1100, 712)
  924. PreviewPlacedGear(1100, 712)
  925. PreviewPlacedGear(1100, 712)
  926. PreviewPlacedGear(1100, 712)
  927. PreviewPlacedGear(1100, 712)
  928. PreviewPlacedGear(1100, 712)
  929. PreviewPlacedGear(1100, 712)
  930. PreviewPlacedGear(1100, 712)
  931. PreviewPlacedGear(1152, 697)
  932. PreviewPlacedGear(1152, 697)
  933. PreviewPlacedGear(1152, 697)
  934. PreviewPlacedGear(1152, 697)
  935. PreviewPlacedGear(1122, 678)
  936. PreviewPlacedGear(1122, 676)
  937. PreviewPlacedGear(1122, 674)
  938. PreviewPlacedGear(1122, 674)
  939. PreviewPlacedGear(1122, 674)
  940. PreviewPlacedGear(1122, 674)
  941. PreviewPlacedGear(1122, 674)
  942. PreviewPlacedGear(1122, 674)
  943. PreviewPlacedGear(1122, 674)
  944. PreviewPlacedGear(1122, 674)
  945. PreviewPlacedGear(1122, 674)
  946. PreviewPlacedGear(1122, 674)
  947. PreviewPlacedGear(1122, 674)
  948. PreviewPlacedGear(1122, 674)
  949. PreviewPlacedGear(1122, 674)
  950. PreviewPlacedGear(1122, 674)
  951. PreviewPlacedGear(1122, 674)
  952. PreviewPlacedGear(1122, 674)
  953. PreviewPlacedGear(1122, 674)
  954. PreviewPlacedGear(1122, 674)
  955. PreviewPlacedGear(1079, 682)
  956. PreviewPlacedGear(1079, 677)
  957. PreviewPlacedGear(1079, 676)
  958. PreviewPlacedGear(1079, 676)
  959. PreviewPlacedGear(1079, 676)
  960. PreviewPlacedGear(1079, 676)
  961. PreviewPlacedGear(1079, 676)
  962. PreviewPlacedGear(1079, 676)
  963. PreviewPlacedGear(1079, 676)
  964. PreviewPlacedGear(1079, 676)
  965. PreviewPlacedGear(1079, 676)
  966. PreviewPlacedGear(1079, 676)
  967. PreviewPlacedGear(1174, 668)
  968. PreviewPlacedGear(1174, 664)
  969. PreviewPlacedGear(1174, 659)
  970. PreviewPlacedGear(1174, 659)
  971. PreviewPlacedGear(1174, 659)
  972. PreviewPlacedGear(1174, 659)
  973. PreviewPlacedGear(1174, 659)
  974. PreviewPlacedGear(1174, 659)
  975. PreviewPlacedGear(82, 382)
  976. PreviewPlacedGear(408, 368)
  977. PreviewPlacedGear(173, 531)
  978. PreviewPlacedGear(173, 531)
  979. PreviewPlacedGear(173, 531)
  980. PreviewPlacedGear(173, 531)
  981. PreviewPlacedGear(173, 531)
  982. PreviewPlacedGear(173, 531)
  983. PreviewPlacedGear(173, 531)
  984. PreviewPlacedGear(567, 747)
  985. PreviewPlacedGear(567, 745)
  986. PreviewPlacedGear(567, 744)
  987. PreviewPlacedGear(567, 744)
  988. PreviewPlacedGear(567, 744)
  989. PreviewPlacedGear(567, 744)
  990. PreviewPlacedGear(567, 744)
  991. PreviewPlacedGear(1576, 586)
  992. PreviewPlacedGear(1576, 584)
  993. PreviewPlacedGear(1571, 576)
  994. PreviewPlacedGear(1571, 572)
  995. PreviewPlacedGear(1571, 572)
  996. PreviewPlacedGear(1571, 572)
  997. PreviewPlacedGear(1699, 806)
  998. PreviewPlacedGear(1699, 803)
  999. PreviewPlacedGear(1699, 797)
  1000. PreviewPlacedGear(1699, 796)
  1001. PreviewPlacedGear(1699, 796)
  1002. PreviewPlacedGear(1699, 796)
  1003. PreviewPlacedGear(1910, 455)
  1004. PreviewPlacedGear(1910, 451)
  1005. PreviewPlacedGear(1910, 447)
  1006. PreviewPlacedGear(1910, 447)
  1007. PreviewPlacedGear(1910, 447)
  1008. PreviewPlacedGear(1910, 447)
  1009. PreviewPlacedGear(1910, 447)
  1010. PreviewPlacedGear(1857, 236)
  1011. PreviewPlacedGear(1857, 234)
  1012. PreviewPlacedGear(1857, 234)
  1013. PreviewPlacedGear(877, 234)
  1014. PreviewPlacedGear(1087, 157)
  1015. PreviewPlacedGear(1332, 254)
  1016. PreviewPlacedGear(464, 271)
  1017. PreviewPlacedGear(397, 223)
  1018. PreviewPlacedGear(317, 232)
  1019. PreviewPlacedGear(132, 297)
  1020. PreviewPlacedGear(80, 282)
  1021. PreviewPlacedGear(26, 302)
  1022. PreviewPlacedGear(208, 376)
  1023. PreviewPlacedGear(244, 298)
  1024. PreviewPlacedGear(484, 346)
  1025. PreviewPlacedGear(664, 392)
  1026. PreviewPlacedGear(767, 444)
  1027. PreviewPlacedGear(1478, 316)
  1028. PreviewPlacedGear(1626, 292)
  1029. PreviewPlacedGear(1415, 407)
  1030. PreviewPlacedGear(1746, 369)
  1031. PreviewPlacedGear(1791, 329)
  1032. PreviewPlacedGear(1984, 401)
  1033. PreviewPlacedGear(1956, 331)
  1034. PreviewPlacedGear(1955, 235)
  1035. PreviewPlacedGear(1944, 179)
  1036. PreviewPlacedGear(1884, 146)
  1037. PreviewPlacedGear(1810, 156)
  1038. PreviewPlacedGear(1782, 196)
  1039. PreviewPlacedGear(1771, 742)
  1040. PreviewPlacedGear(1740, 668)
  1041. PreviewPlacedGear(1561, 679)
  1042. PreviewPlacedGear(1540, 747)
  1043. PreviewPlacedGear(821, 685)
  1044. PreviewPlacedGear(1348, 685)
  1045.  
  1046. end
  1047.  
  1048.  
  1049. --BEGIN HWMAP CONVERTER POINTS--
  1050. -- You can paste this data into the HWMAP converter if needed.
  1051. --[[
  1052.  
  1053. 5000 0 98
  1054. 1081 524 100
  1055. 1081 524 101
  1056. 1081 524 102
  1057. 1081 524 103
  1058. 1081 524 104
  1059. 1081 524 105
  1060. 1081 524 106
  1061. 1081 524 107
  1062. 778 570 115
  1063. 801 648 115
  1064. 305 607 113
  1065. 343 533 113
  1066. 99 447 109
  1067. 165 395 109
  1068. 259 400 111
  1069. 303 444 111
  1070. 1389 431 112
  1071. 1389 545 112
  1072. 1616 654 110
  1073. 1710 624 114
  1074. 1755 426 111
  1075. 1762 511 111
  1076. 1816 322 110
  1077. 1916 323 110
  1078. 985 630 117
  1079. 906 650 113
  1080. 833 443 114
  1081. 883 310 115
  1082. 1013 255 112
  1083. 1318 617 114
  1084. 1264 741 115
  1085. 1012 754 113
  1086. 1132 808 112
  1087. 1313 359 114
  1088. 1240 279 112
  1089. 1120 265 112
  1090. 1837 318 15
  1091. 1891 318 15
  1092. 1745 480 15
  1093. 1773 453 15
  1094. 1641 621 15
  1095. 1677 660 15
  1096. 1342 456 15
  1097. 1435 510 15
  1098. 1436 466 15
  1099. 1351 510 15
  1100. 749 652 15
  1101. 815 587 15
  1102. 130 419 15
  1103. 281 419 15
  1104. 298 549 15
  1105. 341 595 15
  1106. 668 148 8
  1107. 668 148 8
  1108. 668 148 8
  1109. 668 148 8
  1110. 668 148 8
  1111. 668 148 8
  1112. 668 148 8
  1113. 1404 97 8
  1114. 1404 97 8
  1115. 1404 97 8
  1116. 1404 97 8
  1117. 1474 78 8
  1118. 1420 -12 8
  1119. 1232 0 8
  1120. 1331 107 8
  1121. 1355 197 8
  1122. 1395 321 8
  1123. 1504 146 8
  1124. 1676 -139 8
  1125. 1628 161 8
  1126. 1755 -12 8
  1127. 833 -107 8
  1128. 1048 58 8
  1129. 819 202 8
  1130. 900 22 8
  1131. 1105 -153 8
  1132. 677 -90 8
  1133. 513 -10 8
  1134. 476 92 8
  1135. 737 371 8
  1136. 566 280 8
  1137. 478 140 8
  1138. 226 96 8
  1139. 8 114 8
  1140. 186 237 8
  1141. 335 142 8
  1142. 335 -56 8
  1143. 156 -49 8
  1144. 561 776 9
  1145. 409 397 9
  1146. 172 560 9
  1147. 82 381 9
  1148. 1591 786 9
  1149. 1536 588 9
  1150. 1888 482 9
  1151. 1858 265 9
  1152. 1239 646 9
  1153. 1054 713 20
  1154. 1054 709 20
  1155. 1054 709 20
  1156. 1054 709 20
  1157. 1054 709 20
  1158. 1054 709 20
  1159. 1054 709 20
  1160. 1054 709 20
  1161. 1102 715 31
  1162. 1153 702 32
  1163. 1100 712 31
  1164. 1100 712 31
  1165. 1100 712 31
  1166. 1100 712 31
  1167. 1100 712 31
  1168. 1100 712 31
  1169. 1100 712 31
  1170. 1100 712 31
  1171. 1100 712 31
  1172. 1100 712 31
  1173. 1152 697 32
  1174. 1152 697 32
  1175. 1152 697 32
  1176. 1152 697 32
  1177. 1122 678 25
  1178. 1122 676 25
  1179. 1122 674 25
  1180. 1122 674 25
  1181. 1122 674 25
  1182. 1122 674 25
  1183. 1122 674 25
  1184. 1122 674 25
  1185. 1122 674 25
  1186. 1122 674 25
  1187. 1122 674 25
  1188. 1122 674 25
  1189. 1122 674 25
  1190. 1122 674 25
  1191. 1122 674 25
  1192. 1122 674 25
  1193. 1122 674 25
  1194. 1122 674 25
  1195. 1122 674 25
  1196. 1122 674 25
  1197. 1079 682 60
  1198. 1079 677 60
  1199. 1079 676 60
  1200. 1079 676 60
  1201. 1079 676 60
  1202. 1079 676 60
  1203. 1079 676 60
  1204. 1079 676 60
  1205. 1079 676 60
  1206. 1079 676 60
  1207. 1079 676 60
  1208. 1079 676 60
  1209. 1174 668 66
  1210. 1174 664 66
  1211. 1174 659 66
  1212. 1174 659 66
  1213. 1174 659 66
  1214. 1174 659 66
  1215. 1174 659 66
  1216. 1174 659 66
  1217. 82 382 28
  1218. 408 368 29
  1219. 173 531 27
  1220. 173 531 27
  1221. 173 531 27
  1222. 173 531 27
  1223. 173 531 27
  1224. 173 531 27
  1225. 173 531 27
  1226. 567 747 35
  1227. 567 745 35
  1228. 567 744 35
  1229. 567 744 35
  1230. 567 744 35
  1231. 567 744 35
  1232. 567 744 35
  1233. 1576 586 23
  1234. 1576 584 23
  1235. 1571 576 23
  1236. 1571 572 23
  1237. 1571 572 23
  1238. 1571 572 23
  1239. 1699 806 50
  1240. 1699 803 50
  1241. 1699 797 50
  1242. 1699 796 50
  1243. 1699 796 50
  1244. 1699 796 50
  1245. 1910 455 40
  1246. 1910 451 40
  1247. 1910 447 40
  1248. 1910 447 40
  1249. 1910 447 40
  1250. 1910 447 40
  1251. 1910 447 40
  1252. 1857 236 28
  1253. 1857 234 28
  1254. 1857 234 28
  1255. 877 234 9
  1256. 1087 157 9
  1257. 1332 254 9
  1258. 464 271 9
  1259. 397 223 9
  1260. 317 232 9
  1261. 132 297 9
  1262. 80 282 9
  1263. 26 302 9
  1264. 208 376 9
  1265. 244 298 9
  1266. 484 346 9
  1267. 664 392 9
  1268. 767 444 9
  1269. 1478 316 9
  1270. 1626 292 9
  1271. 1415 407 9
  1272. 1746 369 9
  1273. 1791 329 9
  1274. 1984 401 9
  1275. 1956 331 9
  1276. 1955 235 9
  1277. 1944 179 9
  1278. 1884 146 9
  1279. 1810 156 9
  1280. 1782 196 9
  1281. 1771 742 9
  1282. 1740 668 9
  1283. 1561 679 9
  1284. 1540 747 9
  1285. 821 685 9
  1286. 1348 685 9
  1287.  
  1288. --]]
  1289. --END HWMAP CONVERTER POINTS--
  1290.  
  1291. ------ END GENERATED SCRIPT ------
Advertisement
RAW Paste Data Copied
Advertisement