526 |
526 |
527 function AddHogs() |
527 function AddHogs() |
528 cyborgTeamName = AddTeam(loc("011101001"), -1, "ring", "UFO", "Robot", "cm_binary") |
528 cyborgTeamName = AddTeam(loc("011101001"), -1, "ring", "UFO", "Robot", "cm_binary") |
529 cyborg = AddHog(loc("Unit 334a$7%;.*"), 0, 200, "cyborg1") |
529 cyborg = AddHog(loc("Unit 334a$7%;.*"), 0, 200, "cyborg1") |
530 |
530 |
531 nativesTeamName = AddTeam(loc("Natives"), -2, "Bone", "Island", "HillBilly", "cm_birdy") |
531 nativesTeamName = AddMissionTeam(-2) |
532 -- There are 3-4 natives in this mission |
532 -- There are 3-4 natives in this mission |
533 natives[1] = AddHog(nativeNames[leaksNum], 0, 100, nativeHats[leaksNum]) |
533 natives[1] = AddHog(nativeNames[leaksNum], 0, 100, nativeHats[leaksNum]) |
534 if m5DeployedNum ~= leaksNum and m8DeployedLeader == 0 then |
534 if m5DeployedNum ~= leaksNum and m8DeployedLeader == 0 then |
535 natives[2] = AddHog(nativeNames[m5DeployedNum], 0, 100, nativeHats[m5DeployedNum]) |
535 natives[2] = AddHog(nativeNames[m5DeployedNum], 0, 100, nativeHats[m5DeployedNum]) |
536 end |
536 end |