| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Warlord
Join Date: Jan 2012
Posts: 118
|
Delete citiystates alliances
Hello, I want than if I declare the war to a City-state, other citystate not declare the war to me. How can I do it?
__________________
Proud of my native land. Proud to be Catalan. |
|
|
|
|
|
#2 |
|
Warlord
Join Date: Jan 2012
Posts: 118
|
How can I do it?
__________________
Proud of my native land. Proud to be Catalan. |
|
|
|
|
|
#3 |
|
Warlord
Join Date: Jan 2012
Posts: 118
|
Nobody can help me?
__________________
Proud of my native land. Proud to be Catalan. |
|
|
|
|
|
#4 |
|
Warlord
Join Date: Jan 2012
Posts: 118
|
__________________
Proud of my native land. Proud to be Catalan. |
|
|
|
|
|
#5 |
|
Warlord
Join Date: Jan 2012
Posts: 118
|
Hello?
__________________
Proud of my native land. Proud to be Catalan. |
|
|
|
|
|
#6 |
|
Warlord
Join Date: Jan 2012
Posts: 118
|
Why nobody knows the answer...
__________________
Proud of my native land. Proud to be Catalan. |
|
|
|
|
|
#7 |
|
Mad Scientist
Join Date: Sep 2005
Location: Los Angeles, CA
Posts: 3,062
|
The simple answer is that you can't prevent the AI from doing pretty much anything in Civ5 until we get the DLL. You can change what it's done after the fact, but not beforehand. This is true of pretty much anything you want to do in this game, but it's especially problematic for AI behavior.
So in your particular case, you could add Lua code that checks to see who each civ is at war with and have it immediately declare peace between any two civs or city-states you choose, but you wouldn't be able to negate the negatives from the original war declaration (like dropping city-state relationships to -60). You'd also have a hard time figuring out which war was supposed to be kept and which were supposed to be canceled. And it'd be very abuseable for the player, who'd know not to declare extra wars because of this mechanism and so wouldn't be penalized like the AIs would. What you CAN do is, when you declare a war on a city-state, lock the Permanent War/Peace flag for the other city-states. Unfortunately, this'd have a whole bunch of other consequences as well, so it's not something you should be doing in general.
__________________
Once upon a time there was the Ages of Man mod set. Then Firaxis broke it. But thanks to the DLL efforts of the community, the mods shall rise again! |
|
|
|
|
|
#8 |
|
Deity
Join Date: Jun 2008
Posts: 2,054
|
There is a "CanDeclareWar" TestAll event (http://wiki.2kgames.com/civ5/index.p...#CanDeclareWar). There is a bit of a learning curve in using these (even if you already know Lua). I have not tried this particular one. I have no idea if it is effective in stopping "allied" DoWs.
|
|
|
|
|
|
#9 |
|
Warlord
Join Date: Jan 2012
Posts: 118
|
But I do than X city-state can't declare the war to me, but it declare the war to me...
__________________
Proud of my native land. Proud to be Catalan. |
|
|
|
|
|
#10 |
|
Mad Scientist
Join Date: Sep 2005
Location: Los Angeles, CA
Posts: 3,062
|
Not only does it probably not stop the allied auto-DoW, it also probably doesn't stop the Warmonger's triggered Permanent War state. Should be pretty easy to try out, of course.
__________________
Once upon a time there was the Ages of Man mod set. Then Firaxis broke it. But thanks to the DLL efforts of the community, the mods shall rise again! |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|