Got a frog in ya throat Rich?
BTW, expect v2.3 (maybe v3.0 if I re-write the lot) after the weekend. I'm starting to code the full AI diplo-handling routines. In previous versions I left it to the program to handle the considerations, but now I've got the mod-skeleton I'm going to add them in.
The AI diplo-handling routines will be the ones that look at the current position and force a proposal/response based on that analysis.
EG. Player[a] looks at player[b] and says "Hmm, nice border-city. I'll extort that." Player[a] sends player[b] a request_give_city. Player[b] looks at the proposal and says "Hang on a second, he receives THIS bonus, and I receive THIS bonus. My bonus is less so I'll counter-request." Player[b] sends player[a] a counter-request for GOLD equalling value of CITY. Player[a] looks at player[b] and says "Hmmm...... I don't have much gold left so NO SALE!" and refuses counter-proposal. BTW, I got this routine running. It seemed like the easiest to do. Obviously, if player[b] receives a 'gift' proposal it's gunna say "Cool! Free stuff!" and accept.
------------------
Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."
BTW, expect v2.3 (maybe v3.0 if I re-write the lot) after the weekend. I'm starting to code the full AI diplo-handling routines. In previous versions I left it to the program to handle the considerations, but now I've got the mod-skeleton I'm going to add them in.
The AI diplo-handling routines will be the ones that look at the current position and force a proposal/response based on that analysis.
EG. Player[a] looks at player[b] and says "Hmm, nice border-city. I'll extort that." Player[a] sends player[b] a request_give_city. Player[b] looks at the proposal and says "Hang on a second, he receives THIS bonus, and I receive THIS bonus. My bonus is less so I'll counter-request." Player[b] sends player[a] a counter-request for GOLD equalling value of CITY. Player[a] looks at player[b] and says "Hmmm...... I don't have much gold left so NO SALE!" and refuses counter-proposal. BTW, I got this routine running. It seemed like the easiest to do. Obviously, if player[b] receives a 'gift' proposal it's gunna say "Cool! Free stuff!" and accept.
------------------
Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."
Comment