Page 1 of 1

SetFacRelationships for NCP1.07Rc3

Posted: Thu Dec 30, 2010 3:00 am
by Bohémond
Hello,

Does the Scriptcommand SetFacRelationships "works" with NCP 1.07rc3 engine ?

I have done some tests and the engine knows the Keyword , no error, but the value parameter is always 100 ( in ScriptReport) no matter the value parameter in Script File.

Regards

Bohémond

Posted: Thu Dec 30, 2010 8:34 am
by Pocus
This is because there is no diplomacy in NCP, so Faction 1 is always the enemy of Faction 2, and there is no 3-factions scenarios.

You can edit gamerules.opt to change that

rulDiplomacyMode = 1

Will activate simple diplomacy. Advanced diplomacy would not work (VGN/PON only).

In Simple Diplomacy, a state of war exists between faction with negative relationships, automatically (and the reverse is true). Having a positive relationship of 25 will mean you share line of sight and supply. You can also have more than 2 factions per scenario.

Posted: Thu Dec 30, 2010 11:36 am
by Bohémond
Hello,

It doesn't seem to work on my side. Maybe I have made a mistake somewhere.

Please find enclose a zip file with ;

Scrip.ini
ScriptReport, ScriptPreParse and ScripPostParse
Mainlog
GameRules


Thank you

Regards