Secret Weapons of the Empire

The forum for the Star Wars Empire at War: Forces of Corruption mod
 
HomePortalFAQSearchRegisterMemberlistUsergroupsLog in

Share | 
 

 Progressive Galactic Conquest

View previous topic View next topic Go down 
AuthorMessage
SmallPox
Admin
avatar

Male Number of posts : 62
Age : 26
Location : Germany
Registration date : 2008-01-28

PostSubject: Progressive Galactic Conquest   Fri Feb 10, 2012 3:55 am

In this little tutorial we'll deal with "progressive" GCs.
By progressive GC I mean a GC that automatically loads up the next GC after the game was won/lost.
So,if you have too many planets to fit in one GC divide them into sectors and make several smaller GCs instead.
For Example:
GC1
GC2
GC3

(GC2 and GC3 should basically be the same GC with one little difference which I will explain later)

Then put these events in the story file of the first GC ("GC1"):
Quote :


<!-- load this GC if the rebel faction wins -->
<Event Name="STORY_VICTORY_Rebel">
<Event_Type>STORY_VICTORY</Event_Type>
<Event_Param1>Rebel</Event_Param1>
<Reward_Type>LOAD_CAMPAIGN</Reward_Type>
<Reward_Param1>GC2</Reward_Param1>
<Reward_Param2>1</Reward_Param2> <!-- if you set this to 0 the game will send you back to the main menu -->
</Event>

<!-- Load this GC if the Empire faction wins -->
<Event Name="STORY_VICTORY_Empire">
<Event_Type>STORY_VICTORY</Event_Type>
<Event_Param1>Empire</Event_Param1>
<Reward_Type>LOAD_CAMPAIGN</Reward_Type>
<Reward_Param1>GC3</Reward_Param1>
<Reward_Param2>1</Reward_Param2>
</Event>


So, you see in the example above that, depending on who wins the GC a new GC is loaded.

Why does it make a difference who wins?

The answer is simple: it allows us to give the winning faction some bonuses in the next GC if GC2 and GC3 have different story files attached to them, which is the difference between the two GCs that I mentioned earlier.

So, if you play the rebels and you win GC2 is loaded, which has the for example this story file attached to it:
Quote :
<Rebel_Story_Name>Story_Plot_GC2_Rebels_Won.XML</Rebel_Story_Name>

But if the Empire wins the game will load up GC3 with this story file:
Quote :
<Rebel_Story_Name>Story_Plot_GC3_Rebels_Lost</Rebel_Story_Name>

And that's all there is to it Smile
______________________________________________________________________________________________________

A variant of the progressive GC: The sector map

I have used this method myself before. Basically you create a GC with planets as placeholders as sectors and as soon as you land on one of those planets a new GC is loaded. Once the GC is won/lost you'll be send back to the sector map and a new sector gets unlocked. And then the whole thing starts again.

I have posted a video on this a few years ago:
http://www.moddb.com/mods/secret-weapons-of-the-empire/videos/campaign-trailer#imagebox


I hope it became clear what I was getting at. If you have any questions don't hesitate to ask.



_________________
Back to top Go down
View user profile http://secretweapons.heavenforum.com
 
Progressive Galactic Conquest
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Evolution of a progressive Christian
» Cox Conquest
» Cox Conquest .15
» Cox Conquest "RJL"
» [Want to Buy] Cox Conquest .15

Permissions in this forum:You cannot reply to topics in this forum
Secret Weapons of the Empire :: General Modding :: XML/LUA Modding-
Jump to: