85 TurnTime = 40000 |
85 TurnTime = 40000 |
86 CaseFreq = 0 |
86 CaseFreq = 0 |
87 MinesNum = 0 |
87 MinesNum = 0 |
88 Explosives = 0 |
88 Explosives = 0 |
89 Delay = 5 |
89 Delay = 5 |
90 Map = "cosmos_map" -- custom map included in file |
90 -- completed main missions |
|
91 status = getCompletedStatus() |
|
92 if status.death01 then |
|
93 Map = "cosmos2_map" |
|
94 else |
|
95 Map = "cosmos_map" -- custom map included in file |
|
96 end |
91 Theme = "Nature" |
97 Theme = "Nature" |
92 -- I had originally hero in PAoTH team and changed it, may reconsider though |
98 -- I had originally hero in PAoTH team and changed it, may reconsider though |
93 -- PAoTH |
99 -- PAoTH |
94 AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy") |
100 AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy") |
95 hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1") |
101 hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1") |
104 AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "cm_birdy") |
110 AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "cm_birdy") |
105 guard1.gear = AddHog(guard1.name, 1, 100, "policecap") |
111 guard1.gear = AddHog(guard1.name, 1, 100, "policecap") |
106 AnimSetGearPosition(guard1.gear, guard1.x, guard1.y) |
112 AnimSetGearPosition(guard1.gear, guard1.x, guard1.y) |
107 guard2.gear = AddHog(guard2.name, 1, 100, "policecap") |
113 guard2.gear = AddHog(guard2.name, 1, 100, "policecap") |
108 AnimSetGearPosition(guard2.gear, guard2.x, guard2.y) |
114 AnimSetGearPosition(guard2.gear, guard2.x, guard2.y) |
109 -- completed main missions |
|
110 status = getCompletedStatus() |
|
111 -- get the check point |
115 -- get the check point |
112 if tonumber(GetCampaignVar("CosmosCheckPoint")) then |
116 if tonumber(GetCampaignVar("CosmosCheckPoint")) then |
113 checkPointReached = tonumber(GetCampaignVar("CosmosCheckPoint")) |
117 checkPointReached = tonumber(GetCampaignVar("CosmosCheckPoint")) |
114 end |
118 end |
115 -- do checkpoint stuff needed before game starts |
119 -- do checkpoint stuff needed before game starts |