501 AddAmmo(leader, amTeleport, 100) |
501 AddAmmo(leader, amTeleport, 100) |
502 end |
502 end |
503 end |
503 end |
504 |
504 |
505 function AddHogs() |
505 function AddHogs() |
506 AddTeam(loc("011101001"), 14483456, "ring", "UFO", "Robot", "cm_binary") |
506 AddTeam(loc("011101001"), 0xFF0204, "ring", "UFO", "Robot", "cm_binary") |
507 cyborg = AddHog(loc("Unit 334a$7%;.*"), 0, 200, "cyborg1") |
507 cyborg = AddHog(loc("Unit 334a$7%;.*"), 0, 200, "cyborg1") |
508 |
508 |
509 AddTeam(loc("Natives"), 29439, "Bone", "Island", "HillBilly", "cm_birdy") |
509 AddTeam(loc("Natives"), 0x4980C1, "Bone", "Island", "HillBilly", "cm_birdy") |
510 natives[1] = AddHog(nativeNames[leaksNum], 0, 100, nativeHats[leaksNum]) |
510 natives[1] = AddHog(nativeNames[leaksNum], 0, 100, nativeHats[leaksNum]) |
511 if m5DeployedNum ~= leaksNum and m8DeployedLeader == 0 then |
511 if m5DeployedNum ~= leaksNum and m8DeployedLeader == 0 then |
512 natives[2] = AddHog(nativeNames[m5DeployedNum], 0, 100, nativeHats[m5DeployedNum]) |
512 natives[2] = AddHog(nativeNames[m5DeployedNum], 0, 100, nativeHats[m5DeployedNum]) |
513 end |
513 end |
514 table.insert(natives, AddHog(nativeNames[ramonNum], 0, 100, nativeHats[ramonNum])) |
514 table.insert(natives, AddHog(nativeNames[ramonNum], 0, 100, nativeHats[ramonNum])) |
521 cannibalsLeft = cannibalsNum |
521 cannibalsLeft = cannibalsNum |
522 for i = 1, nativesNum do |
522 for i = 1, nativesNum do |
523 table.insert(players, natives[i]) |
523 table.insert(players, natives[i]) |
524 end |
524 end |
525 |
525 |
526 AddTeam(loc("Cannibals"), 29439, "Bone", "Island", "HillBilly", "cm_birdy") |
526 AddTeam(loc("Cannibals"), 0x4980C1, "Bone", "Island", "HillBilly", "cm_birdy") |
527 for i = 1, cannibalsNum do |
527 for i = 1, cannibalsNum do |
528 cannibals[i] = AddHog(cannibalNames[i], 0, 100, "Zombi") |
528 cannibals[i] = AddHog(cannibalNames[i], 0, 100, "Zombi") |
529 table.insert(players, cannibals[i]) |
529 table.insert(players, cannibals[i]) |
530 end |
530 end |
531 playersNum = #players |
531 playersNum = #players |
532 playersLeft = playersNum |
532 playersLeft = playersNum |
533 |
533 |
534 AddTeam(loc("Hedge-cogs"), 14483455, "ring", "UFO", "Robot", "cm_cyborg") |
534 AddTeam(loc("Hedge-cogs"), 0xFFFF01, "ring", "UFO", "Robot", "cm_cyborg") |
535 for i = 1, cyborgsNum do |
535 for i = 1, cyborgsNum do |
536 cyborgs[i] = AddHog(cyborgNames[i], 2, 80, "cyborg2") |
536 cyborgs[i] = AddHog(cyborgNames[i], 2, 80, "cyborg2") |
537 end |
537 end |
538 |
538 |
539 if m8EnemyFled == 1 then |
539 if m8EnemyFled == 1 then |
540 AddTeam(loc("Leader"), 14483455, "ring", "UFO", "Robot", "cm_cyborg") |
540 AddTeam(loc("Leader"), 0xFFFF01, "ring", "UFO", "Robot", "cm_cyborg") |
541 if m8Scene == denseScene then |
541 if m8Scene == denseScene then |
542 leader = AddHog(loc("Dense Cloud"), 2, 200, nativeHats[denseNum]) |
542 leader = AddHog(loc("Dense Cloud"), 2, 200, nativeHats[denseNum]) |
543 elseif m8Scene == waterScene then |
543 elseif m8Scene == waterScene then |
544 leader = AddHog(loc("Fiery Water"), 2, 200, nativeHats[waterNum]) |
544 leader = AddHog(loc("Fiery Water"), 2, 200, nativeHats[waterNum]) |
545 elseif m8Scene == princessScene then |
545 elseif m8Scene == princessScene then |