Diplomacy Hacks with Lua!

Do you think it would be possible to make a positive modifiers like

Has Casus Belli (light)
Has Acceptable Casus Belli (medium)
Has Justified Casus Belli (heavy)

which trigger via lua in proper situations and negate warmonger penalty?
 
Forced war and peace is also possible with Lua.

To lock players into a war state througout the game, forex?

Is it a blanket command or can it be individualized, do you think?

I ask because I was thinking about putting together an Always War mod but wanted to be able to preserve the city-states game-mechanics as much as possible. So players can ally to city-states and get the usual benefits. Without this element included there wouldn't be much point to creating such a mod since it wouldn't be able to do much of anything different than what is done by the "Always War" gameplay check box.

But for goshsakes don't whoward up any code. I have several other things to think through before I even decide whether to attempt an Always War mod. I'm just looking for yes/no as to whether this particular element of it can be done.
 
Did you ask him to make his source code available? Would be a waste if people who want to improve on his efforts have to start from scratch.

By the way, I'm 100% supportive of a massive AI project. What are people waiting for?
In the Smart AI thread, Ninakoru shared a link to his GitHub page for it, so you will at least be able to grab the code for the last released version and whatever might be in there (though I guess somebody might ask him to upload the latest state of his changes, too).

Regarding the Casus Belli system, it might be worthwhile suggesting it to Gazebo, the latest revisions of his City-State Diplomacy mod are aiming at improving overall diplomatic play, so I think that might be within the scope - if he's interested.
 
Well but from what I know two expansions are interested in improved AI but without adopting CSD :p

I am pretty sure it will finally require Epic Cooperative Brainstorming and Coding of Upgraded AI in a Single DLL File :p
 
Well but from what I know two expansions are interested in improved AI but without adopting CSD :p
Oh, I wasn't suggesting that - a better AI mod should be a separate thing since it's of interest to a lot of people. And there's definitely an audience that just wants un-modded Civ5, but less stupid. In Civ4, if I remember correctly, BBAI was folded into most mods eventually for exactly that reason and the better AI + better UI project was one of the most popular ones around.

I just meant that something like the Casus Belli system itself might be an interesting suggestion for it, since it has knock-on effects (it changes how diplomacy plays out in general, hence influence diplomatic victories, hence influence city state diplomacy etc.) - and Gazebo seems to be interested in making diplomacy more interesting in general.
 
Back
Top Bottom