PDA

View Full Version : Using toggle_demeanour to mod diplomacy



alpaca
12-01-2007, 21:55
Hey,

I found a new console command and thought it might be of use to some people who are working on rebalancing diplomacy costs. It's also good if you just want to figure out some stuff about how diplomacy works instead of having to guess.

The command is called "console_command toggle_demeanour". It won't work in the console, but if you put it into your campaign script it'll work fine. Below is a screenshot of what it actually does:

https://img139.imageshack.us/img139/6535/demeanourgi4.th.jpg (https://img139.imageshack.us/my.php?image=demeanourgi4.jpg)

Since the status of this is obviously not saved into the campaign script, I'd propose copying this into it:


console_command toggle_demeanour

monitor_event GameReloaded TrueCondition
campaign_wait 30
console_command toggle_demeanour
end_monitor
This will re-execute the command each time you reload the game. You may have to wait a few seconds (the delay is needed because the GameReloaded event triggers while the game is still in the loading screen, where console commands aren't available).

Completely off-topic here's a weird bug I experienced today after leaving the game running for a few minutes in windowed mode and doing something else :laugh4:

https://img88.imageshack.us/img88/3641/weirdofa9.th.jpg (https://img88.imageshack.us/my.php?image=weirdofa9.jpg)

nikolai1962
12-02-2007, 12:18
Very handy.

(thought it deserved a reply in both places :) )

alpaca
12-02-2007, 12:47
Very handy.

(thought it deserved a reply in both places :) )
Yeah, I believe you just forgot that you posted one of them and then edited in that apology :laugh4:

On topic: I'm thinking about leaving this enabled in mod releases. It saves quite a bit of annoying playing around with gifts until you make a good enough offer.
It does take away a bit of the thrill when you make a balanced offer but since the AI's perception of an offer is so weirdly skewed anyways I can live with that.

nikolai1962
12-06-2007, 06:01
Sounds like a good plan :)

Teia
03-15-2008, 01:40
OMG this is one of the most useful things I've ever seen; good job, Alpaca! :2thumbsup: