Home   Help Search Login Register  

Author Topic: Continuous Campaign  (Read 776 times)

0 Members and 1 Guest are viewing this topic.

ChuckStone

  • Guest
Continuous Campaign
« on: 14 Nov 2002, 16:50:35 »
In a campaign, how do you do the thing where your troops carry through to your group in the next mission.

Also, is it possible to do a thing where enemy groups carry through to the next mission, so if you kill a group on mission 1, the group isn't there on mission 2, but it's there if you keep it alive. I understand this would be possible to have 2 seperate mission 2s that are sightly different, but is it possible to have this apply to all of the enemy groups, so on mission 2, your progress in mission 2 directly affects mission 2 much more. Obviously I would want to add extra groups, but is it possible to have the enemy enter mission 2 exactly how it left mission 1... with a few new recruits.

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Continuous Campaign
« Reply #1 on: 14 Nov 2002, 17:04:32 »
yeah its perfectly possible but the more units you have the less practical it is, what you need to do is check which units are alive at the end of mission 1 with

?alive unitname : variablename = true

then you need to save all those variables like this

savevar "variablename"

now in mission two when you place your unit you need to put this in his condition of presence field

variablename

and thats it

ChuckStone

  • Guest
Re:Continuous Campaign
« Reply #2 on: 14 Nov 2002, 18:15:59 »
When and where would you insert that code? Do you have to do the code for every single unit, or can you do it for each group? And does the aypoints remain for that group (e.g in mission 1 they had a series of waypoints to go for a patrol and on a guard mission, would they continue the patrol and guard mission in mission 2? Or would they just stand around?)

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Continuous Campaign
« Reply #3 on: 15 Nov 2002, 07:06:28 »
if you have Res you can put it in exit.sqs otherwise you'll have to execute a script at the end of your mission. You do really need to check every unit to make it accurate, and if you merge mission 1 into mission 2 they wil have the same waypoints, if you don't they will just stand there because there not really the same people.

ChuckStone

  • Guest
Re:Continuous Campaign
« Reply #4 on: 15 Nov 2002, 22:45:34 »
That is really helpful. Thanks.

Would you be able to add new groups on top of those that have carried through from that mission?

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Continuous Campaign
« Reply #5 on: 16 Nov 2002, 07:46:42 »
yes, just as you normaly add them.