BGForums

BattleGoat Studios | Supreme Wiki | Facebook | Twitter | YouTube
It is currently May 21 2013

All times are UTC - 5 hours




Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 13 2010 
Offline
Supreme Ruler

Joined: Jun 04 2002
Posts: 16495
Location: BattleGoat Studios
Step 3B
Since Step 3 is probably one of the most difficult areas to mod, I'll post a few more examples.;

* Calpihate have full transit with West Sahara, Caliphate like WS but WS does not really like them diplomatically
Quote:
&&CVPREL, 154
105, 12, 0.06, 0.0, 0.0

&&CVPREL, 105
154, , -0.2, 0.0, 0.1

Note that the treaty only needs to be listed for one of the regions for it to be set both ways.

* Guinea has angered its neighbours Mali and Liberia and doesn't care despite the ppls opinion;
Quote:
&&CVPREL, 211
213, , -0.07, 0.12, 0.02
214, , -0.11, 0.15, 0.04

&&CVPREL, 213
211, , -0.32, 0.0, 0.24

&&CVPREL, 214
211, , -0.26, 0.0, 0.3

So in this example, Liberia and Mali where at "concerned" diplomatically already, so these negative values push them further away from Guinea.

I'll probably add a few more later. Step 4 is half written but I need to do some testing to be sure I'm not screwing up my instructions and forgot we loose an hour of sleep tonight. More soon...

_________________
Chris Latour
BattleGoat Studios
chris@battlegoat.com


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 14 2010 
Offline
Supreme Ruler

Joined: Jun 04 2002
Posts: 16495
Location: BattleGoat Studios
Step 4

This is probably the most difficult part to set up as there are many variables and what they mean changes based on the event being scripted. Some variables are not even used in some events.

** NOTE: I've done very little with the Scripted Events myself, it is very possible I'll make mistakes here...

I'll start with a small example and post more later.

In the &&SEVENTS section add the following line;
Quote:
0, 0, 8, , 105, 154, False, False, False, False, False, 1, 0, 0, , , , , ,

This will make Western Sahara surrender to the Caliphate before time even rolls. You won't even see the surrender message. What this will do is the Caliphate will own the territory but it will still show as loyal to Western Sahara and cause a loyalty penalty in those hexes. The following values are used in variable order as defined on the wiki;

Quote:
0 - eventtime: we made this zero so it happens immediatly.
0 - eventtimewind: we also made this zero so it happens immediatly. explained later.
8 - eventid: As listed for #8, this is a Surrender/Elimination type event
<blank> - eventparam: As there are no parameters for a "Type 8" event, this is just blank.
105 - eventdbregion: This is the Region ID as found in the .CVP relations file of the region being affected, the one which will surrender.
154 - eventotherdbregion: This is the Region ID as found in the .CVP relations file of the target region, the one to wich the "eventdbregion" surrenders
False - eventbnotally: Setting for "Don't trigger event if eventotherdbregion is an allied region
False - eventbnotneutral: Setting for "Don't trigger event if eventotherdbregion is a Neutral region
False - eventbnotwary: Setting for "Don't trigger event if eventotherdbregion is an enemy region
False - eventbnotifhuman: Setting for "Don't trigger event if eventdbregion = human player
False - eventbnotifotherhu: Setting for "Don't trigger event if eventotherdbregion = human player
1 - eventparami0: As noted for a "Type 8", this will make the two regions "Group/Unify"
0 - eventparami1: As noted for a "Type 8", this will make the loyalty of eventdbregion stay the same
0 - eventparami2: As noted for a "Type 8", this will mean that eventotherdbregion does not get the research known by eventdbregion

There are no other parameters definded for a Type 8 event, so the rest are blank.

That took me quite a while to put together so I'll stop at that tonight, more again soon.

_________________
Chris Latour
BattleGoat Studios
chris@battlegoat.com


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 23 2010 
Offline
Major
User avatar

Joined: Jan 02 2010
Posts: 164
Location: Evansville, IN
This is going to take a long time for me to fill all this in. Can you do me a favor and show me what a multiple treaty setup would look like?

_________________
-ZT Strike


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 24 2010 
Offline
Supreme Ruler

Joined: Jun 04 2002
Posts: 16495
Location: BattleGoat Studios
I'm out tonight and Thursday, can you bump Thurs. night/Friday morning? I'll try and post then.

_________________
Chris Latour
BattleGoat Studios
chris@battlegoat.com


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 24 2010 
Offline
General
User avatar

Joined: Aug 22 2008
Posts: 3179
Location: Nearby, really I'll see you tonight when your sleeping
ZT Strike wrote:
This is going to take a long time for me to fill all this in. Can you do me a favor and show me what a multiple treaty setup would look like?

Did you want multiple treaties as an event or as &&CVPREL?

_________________
Image


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 24 2010 
Offline
Supreme Ruler

Joined: Jun 04 2002
Posts: 16495
Location: BattleGoat Studios
Ah! Good question. I was assuming CivRel.

_________________
Chris Latour
BattleGoat Studios
chris@battlegoat.com


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 24 2010 
Offline
Major
User avatar

Joined: Jan 02 2010
Posts: 164
Location: Evansville, IN
Balthagor wrote:
* Calpihate have full transit with West Sahara, Caliphate like WS but WS does not really like them diplomatically
Quote:
&&CVPREL, 154
105, 12, 0.06, 0.0, 0.0
&&CVPREL, 105
154, , -0.2, 0.0, 0.1

What would this look like with a transit treaty and an alliance?

_________________
-ZT Strike


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 24 2010 
Offline
General
User avatar

Joined: Aug 22 2008
Posts: 3179
Location: Nearby, really I'll see you tonight when your sleeping
First off a transit treaty is already packaged with an alliance, so you would not need to include both. So simply

Code:
&&CVPREL, 154
105, 1, , ,

Would create this. For multiple it is as simple as
Code:
&&CVPREL, 154
105, 1, , ,
105, 2, , ,
105, 10, , ,
105, 81, , ,
105, 84, , ,
105, 100, , ,

And that would create a formal alliance, Mutual defense, Non aggresion pact, Free flow labor, free trade, Missle defense between country 154 and 105, with both countries recieving both treaties.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 25 2010 
Offline
Major
User avatar

Joined: Jan 02 2010
Posts: 164
Location: Evansville, IN
thank you, that's all i needed

Edit: hey, I'm just making an add/override file right? Not completely remaking all the relations?
also having trouble finding the treaties list.

_________________
-ZT Strike


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Mar 25 2010 
Offline
Supreme Ruler

Joined: Jun 04 2002
Posts: 16495
Location: BattleGoat Studios
ZT Strike wrote:
...Edit: hey, I'm just making an add/override file right? Not completely remaking all the relations?

No, you have to remake it, or at least massively clean it up. The Global Crisis override file contains relations and scripted events for dozens of regions that don't exist in your mod.

_________________
Chris Latour
BattleGoat Studios
chris@battlegoat.com


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: May 02 2010 
Offline
Major
User avatar

Joined: Jan 02 2010
Posts: 164
Location: Evansville, IN
Next?

_________________
-ZT Strike


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: May 06 2010 
Offline
Supreme Ruler

Joined: Jun 04 2002
Posts: 16495
Location: BattleGoat Studios
Sorry for not getting back to this, my schedule has been pure chaos. Not forgotten, bump again in a few days if I've not replied again...

_________________
Chris Latour
BattleGoat Studios
chris@battlegoat.com


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: May 07 2010 
Offline
Major
User avatar

Joined: Jan 02 2010
Posts: 164
Location: Evansville, IN
Likewise, no hurry

_________________
-ZT Strike


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Jun 01 2010 
Offline
Supreme Ruler

Joined: Jun 04 2002
Posts: 16495
Location: BattleGoat Studios
Just to recap, what more are you looking for here? I looked this over and it seems I've given at least one example of each type of info you'd put into the .CSV relations file.

Maybe I'm just too tired to night but I can't spot what's missing...

_________________
Chris Latour
BattleGoat Studios
chris@battlegoat.com


Top
 Profile  
 
 Post subject: Re: Mod Walkthrough: CSV Relations overrides
PostPosted: Jul 08 2010 
Offline
Major
User avatar

Joined: Jan 02 2010
Posts: 164
Location: Evansville, IN
Quote:
&&CVPREL, 708 //
105, 12, 0.06, 0.0, 0.0


I know:
105 = Nation Number
12 = Treaties
0.06 = Dip Relations
0.0 (1) = Civilian Relations
0.0 (2) = What does this effect?

_________________
-ZT Strike


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group