User avatar
Bohémond
Posts: 2626
Joined: Wed May 14, 2008 8:47 pm

SetFacRelationships for NCP1.07Rc3

Thu Dec 30, 2010 3:00 am

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

User avatar
Pocus
Posts: 25463
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Thu Dec 30, 2010 8:34 am

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.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
Bohémond
Posts: 2626
Joined: Wed May 14, 2008 8:47 pm

Thu Dec 30, 2010 11:36 am

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
Attachments
SetFacRelationShips.zip
(243.7 KiB) Downloaded 95 times

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 2 guests