This site is in archival mode. A replacement is being developed. In the meantime, please use the PBW2 Forums for community discussions. The replacement software for this site will use a unified account system with PBW2, and any newly created threads will carry over.
Posted: Sun Apr 05, 2015 2:12 pm Post subject: Big Major Long-Term Project - Fix Alliances
Now that I know which is which, it seems to me that most of the Alliance issues were script-related, rather than hard code problems. It just might be possible to make alliances functional, with enough smart scripting.
My first idea for an overall plan: Two FUNCTIONS, one to cover negotiations in which the source is an alliance member, and the other to cover when the target is an alliance member.
There probably were a couple of hard code issues which would need work-arounds, but I'd say there's an 80% chance a smart, determined team could pull it off.
I still have my own mod to finish, so I won't be available any time soon, myself. It certainly is intriguing, but I wouldn't want to even begin without someone with a little experience in the diplomacy scripts. Much of the code in there baffles me. Back to top
Okay, for those who may not know, the major issues with alliances were:
The AI does not "see" them.
The AI does not know an individual empire is in an alliance, and will still declare war on members rather than the alliance.
Alliance members do not know they are members, and will still try to negotiate as individuals. They will generally not make or respond to alliance proposals properly. The hard code blocks most, perhaps all individual-level proposals from alliance members.
If a member is at war upon forming or joining the alliance, there is no way to make peace. No proposal of that type can get in or out, and the war is hard code "registered" as being between two empires - not involving the alliance.
As I recall, declarations of war could, at least sometimes, penetrate the hard code barrier from the outside. Thus members were vulnerable, but unable to respond. Might have been treaty cancellations. It's been a long, long time. I do know new hostilities could arise, and there was no choice but violence. I just don't recall the specifics.
This is almost all script stuff. I know there was a little more, because even in games without any AI players, it was reported that alliances mucked everything up. I don't recall all the issues there. I think one of the patches fixed a hard code bug with the voting. Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All logos and trademarks used on this site, all comments and stories posted for reading, all files hosted for download, and all art work hosted for viewing are property of their respective owners; all the rest copyright 2003-2010 Nolan Kelly.
Syndicate news: - Syndicate forums:
Page Generation: 0.16 Seconds