Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > The diplomacy/frenzy mod!
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Dale is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:14
Thumbs up  Old Post 14-01-2001 06:31
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
The diplomacy/frenzy mod! Support Apolyton or Terrorists Win

Well, here's the one you've been waiting for!

I would like to introduce the new Diplomacy/Frenzy mod. Written by Dale (diplomacy) and BlueO (frenzy).

I need someone with a website to host it for me, I don't have one. Here's the readme.txt for a teaser.

/////////////////////////////////////////////////////////////////////////////
//
// Diplomacy/Frenzy script AI for CTP2
//
// Diplomacy by Dale
// Frenzy by BlueOrange
// Other MODS by Dale
//
// Finished: 14-Jan-2001
//
// Free for public use and modification
//
/////////////////////////////////////////////////////////////////////////////

Filelist:
---------

readme.txt - This file
ctp2_data\default\aidata\diplomacy.txt - Updated diplomacy models
ctp2_data\default\aidata\Goals.txt - Updated goals
ctp2_data\default\aidata\ImprovementLists.txt - Updated improvement lists
ctp2_data\default\aidata\strategies.txt - Updated strategies
ctp2_data\default\aidata\UnitBuildLists.txt - Updated unit lists
ctp2_data\default\gamedata\diplofrenzy.slc - SLIC script for changes

Installing:
-----------

1 - Unzip files to Call to Power 2 install directory.
2 - Open ctp2_data\default\aidata\script.slc in notepad.
3 - Change #include "diplomacy.slc" (at end of script) to #include "diplofrenzy.slc"
(I have included new eventhandlers for the ones in diplomacy.slc)
4 - PLAY!

Changes:
--------

1 - New diplomacy models for AI to AI and AI to HUMAN interaction.
- AI will not by default refuse another AI's proposal.
- AI has higher priorities for making proposals. This makes the AI make proposals.
- AI's with same governments are more likely to become friendly.
- AI's of different governments will be more neutral.
- AI/Human interaction will be more agressive/demanding.
- AI's in FRENZY will only consider/respond to Cease-fire treaties.
- Increased AI priority to build embassys with others.
- AI will build slightly more diplomats.

2 - BlueOrange's FRENZY script.
- Implemented into new diplomacy model.
- Changed so possible to return from FRENZY level 4.
- In FRENZY, AI's will consider a cease-fire (returning them to normal diplomacy and FRENZY level 0)
- Changed HateLevel so FRENZY level 1 begins at 15. (This allows normal diplomacy from AI when all you have is a

border skirmish)

3 - Other changes I saw as nice ones.
- AI will build cities in 'nicer' areas.
- AI will defend cities with more units.
- Increased road desirability. (Causes slightly more roads to be built by AI)
- Increased maximum amount of special units build by AI. (Needed so AI could build diplomats)

Suggestions:
------------

1 - Increase AI timeslices in const.txt.
2 - Play on larger maps. My diplomacy model works better on them.
3 - Don't play with an un-modified version of CTP2, it's no challange.

Notes:
------

After playing a couple of games with the new models in force I noticed the following:

1 - AI's will now generate positive regard for other AI's (increasing likelihood of treaties/alliances)

2 - Due to internal programming settings of the game, it is actually pretty hard for an AI to have a treaty with another AI.

The problem lies in that to consider a treaty an AI is not allowed to have been in a square controlled by the considering AI

for at least 5 turns. Knowing how the AI plays (roaming through your area and fortifying units near you) this becomes a slim

chance. However, I found the bigger the map, the better this chance is. Especially for AI's that are on opposite sides of

the map. So, though it didn't occur very often, a treaty can exist to the best that SLIC can do. Maybe Activision can do

something about this setting in a patch?

3 - As an AI increases in frenzy, it kills more of your units/cities and drops back down again. Then when the time is right

it will consider a cease-fire with you, thus ending the war. Wars become longer, harder to fight, and more intense. But

there can be an ending to the war.

4 - Once a war has started, the AI will not accept any proposals. I had to do this because there is no way to check if two

players are at war/peace/ally or whatever. Therefore, only the AI will initiate a cease fire.

5 - The AI built slightly less cities, but because they were in a 'nicer' area the cities were better.

6 - When entering war, you can't just sit on your ass and wait. You have to kill off the AI's productive power quickly.

This will increase frenzy, but a protracted war only benefits the AI.

7 - The game in general is a freaking lot harder!!!!!

End:
----

I hope you enjoy the mods I made. Thanks to BlueOrange for the FRENZY script. If you have suggestions/comments, email me.

Dale
dale.kent@mel.alphawest.com.au

------------------
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."

OmniGod is offline OmniGod
Prince
Philadelphia, PA, USA --> Really Canadian
Dec 1999
time: 00:14
Post  Old Post 14-01-2001 08:08 Visit OmniGod's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Got spare money?

I'll take a copy, if you don't mind

Rich - that would be "email" me a copy.
[This message has been edited by OmniGod (edited January 13, 2001).]

Darkknight is offline Darkknight
Prince
in between Q, W, A and S
Nov 2000
time: 05:14
  Old Post 14-01-2001 08:33 Visit Darkknight's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Full PM-box? Change here!

wow this actually makes the ai attack you.Wow ive tried editing txt files but what is this frenzy thing it sounds like the main thing in this.where can i download it?

could you mail it to me too if it isn't too big
------------------
" mind over body "
[This message has been edited by Darkknight (edited January 13, 2001).]

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 14-01-2001 09:13 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Enter the AD-FREE zone

You do know how to get one's attention!

Has OmniGod decided to post this great-sounding mod on his King Arthur website?

If not, let me know if you would need my e-mail address.

OmniGod is offline OmniGod
Prince
Philadelphia, PA, USA --> Really Canadian
Dec 1999
time: 00:14
Post  Old Post 14-01-2001 10:01 Visit OmniGod's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Avatar Enlargement: We've got the solution

He has decided, and is waiting for it... as for now I only have the frenzy part in the mods section. Come and get it for now Hopefully the diplomatic one will be there in a day.

Rich

-----
King Arthur's Court http://ctp2.homestead.com
The site for all your CTP2 needs.
Completely renovated on January 13,2001. People with bad vision can now see without strain
-----

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 14-01-2001 10:52 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I unzipped this mod to this directory: Activision/Call to Power II/ctp2_program/ctp

Is this where the Install directory is? I have not located an actual folder directory called Install. So did I unzip it to the correct directory?

Thanks for any help you guys.

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 15-01-2001 10:29 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Suffering from ads?

-

kormer is offline kormer
Chieftain

Jan 2001
time: 05:14
Post  Old Post 15-01-2001 11:54
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Get a bigger avatar today!

Is there a way to possibly make the AI only cross boarders when at war with someone, or preparing for a war. Even when you tell them to leave they still don't even if they agree. I guess the main goal diplomaticly would be to make the AI play nicer, right now that just get pissed and by the end of the game its just a big world war.

Dale is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:14
Post  Old Post 15-01-2001 12:19
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Got spare money?

With an unmod'ed version of CTP2 it was too easy to keep the AI's happy. In my mod the AI will tend to be more demanding/threatening. Their regard will stay lower. While still able to get alliances, it's just not as easy. As to the borders problem, I see the AI sometimes crossing borders as good. It happened in the past where some leaders were bullying other nations by "right-of-presence". But my mod does change the "all-out-war". The AI tends to be happier with other AI's. BTW, you must remember that civilians don't inccur the constant incursion regard hit. They can freely wander over borders.

------------------
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."

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 16-01-2001 10:14 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton or Terrorists Win

Hey Dale - where is the Install directory? Did I unzip it to the correct folder? I could not find a folder named Install as a directory.

Alpha Wolf is offline Alpha Wolf
Chieftain
Prince of the Barbarians
Feb 2001
time: 05:14
Post  Old Post 16-01-2001 02:40 Visit Alpha Wolf's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Increase Your PM Length

quote:

Originally posted by kormer on 01-15-2001 01:54 AM
Is there a way to possibly make the AI only cross boarders when at war with someone, or preparing for a war. Even when you tell them to leave they still don't even if they agree.


it appears that the Ai only thinks of trespassing as actual movement. So if they agree to stop trespassing, it fortifies where it is. But by not moving, its in compliance.

------------------
History is written by the victor.

Dale is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:14
Post  Old Post 16-01-2001 03:47
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

MrFun:

The install directory is the main Call to Power 2 directory. Hope this helps.

Alpha Wolf:

Actually, I think it's more that the AI see's it's regard hit like this:
a) It'll take -100 regard for breaking the withdraw treaty.
b) It'll take -10 regard for leaving it there.
Conclusion) It's less on its regard to fortify than to move it.
------------------
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."
[This message has been edited by Dale (edited January 15, 2001).]

ASHBERY76 is offline ASHBERY76
Settler
ENGLAND
Jan 2001
time: 05:14
Thumbs down  Old Post 22-01-2001 02:26
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Well i tried the dimplomacy mod and the A.I still
arent making treaties with themselfs.

Azmel2 is offline Azmel2
Settler
Santa Monica, CA USA
Aug 2000
time: 05:14
Post  Old Post 23-01-2001 09:04
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Put an end to popups!

quote:

Originally posted by Alpha Wolf on 01-15-2001 04:40 PM
it appears that the Ai only thinks of trespassing as actual movement. So if they agree to stop trespassing, it fortifies where it is. But by not moving, its in compliance.



The GOAL_RETREAT goal should move these units back to nearby cities if they are treaspassing, but if there are no nearby cities owned by the AI, then yes, they will just sit until being assigned to some goal.

-- Richard

Dale is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:14
Post  Old Post 23-01-2001 09:31
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Browse Apolyton AD-FREE

*shocked* An Activision post! It's nice to see.

So basically (if I get this right) if I checked:

if(HasAgreement(player[0], player[1], WITHDRAW_TROOPS)) {

and it's TRUE, then cycle through all the units finding the one's in that player's territory and assign them a MOVE_TO_HOME_CAPITAL then it would move them out of the territory?

I could use that in my mod.


------------------
Author of Diplomod. The mod to fix diplomacy.

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."

thanatos.tod is offline thanatos.tod
Settler
Germany
Jan 2001
time: 05:14
  Old Post 24-01-2001 10:24
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton buy from Amazon

Well, that mod is certainly teaching the AI to act somewhat strange. I just started a new game, after "installing" the mod and editing the files. I decided to "challenge" the AI on difficult. Well 2hrs and 300 turns later, I was really suprised how diplomatic the AI played,though getting asked for a map exchange every 5 turns made me wonder, but hell, who cares. As I was saying 300 turns later,it troubled me why the AI accepted EVERYTHING I asked them, so I wanted to find out how nice the AI really is, and asked one civ to give me a city, which it did, without any bad effects on my reputation or else. So I asked for another one, and another one, in the end every nation gave me ALL their cities. Spank my ass and call me charly but I don't think thats what u wanted the ai to do??!!What u need the player for then? He just has to harvest all cities in 2999AC.


[This message has been edited by thanatos.tod (edited January 23, 2001).]

preacherman is offline preacherman
Chieftain
Seguin/Texas/usa
Nov 2000
time: 00:14
Post  Old Post 26-01-2001 09:18
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Inflate your Upload Space

dito with above post. Ai give you anything you ask for.
I installed frenzy but I don't think it is working, AI's are to nice.

Mister Pleasant
Guest

Not Yet
time:
Post  Old Post 26-01-2001 12:06
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Here's an idea to work around the 5-turn-no-incursion limit. Reintroduce the instantaneous return to home space for trespassing units via SLIC. Use a teleport event to move offending armies back to the home territory of the trespasser. And after the teleport event occurs - try to tell the AI not to move into that territory for several turns. AI will then consider proposals from other AI. In fact, if there are objections to the insta-return, only implement it for AI/AI incursions. Any thoughts?

Colonel Kraken is offline Colonel Kraken
Warlord
Grand Rapids, MI
Nov 2000
time: 00:14
Post  Old Post 26-01-2001 19:00
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton or Terrorists Win

I think that's an excellent idea Mister Pleasant. I don't know anything about SLIC so I didn't realize this feature could be re-introduced into CTP2. It is sorely missing and needs to be introduced immediately. Thanks for the input. I hope someone implements it soon. It'll go a long way toward making no-trespass agreements meaningful.

Alpha Wolf is offline Alpha Wolf
Chieftain
Prince of the Barbarians
Feb 2001
time: 05:14
Post  Old Post 26-01-2001 21:15 Visit Alpha Wolf's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

sounds like you just want to make all units expelable.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:14
Post  Old Post 17-02-2002 18:27 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by Azmel2
quote:

Originally posted by Alpha Wolf on 01-15-2001 04:40 PM
it appears that the Ai only thinks of trespassing as actual movement. So if they agree to stop trespassing, it fortifies where it is. But by not moving, its in compliance.



The GOAL_RETREAT goal should move these units back to nearby cities if they are treaspassing, but if there are no nearby cities owned by the AI, then yes, they will just sit until being assigned to some goal.

-- Richard


Oh Richard so far as I understood it: The reatreat goal has a base priority of -300000. That is the lowest priority of all goals, therefore I think retreat is the last thing that will the AI do, irrespective of the fact wheather the AI has a no-treaspassing agreement or not. As the textfiles look the no-treaspassing agreement should work if this goal had a higher priority.

PS I had to reply as I read this, although it is very unlikly that you will never read this.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0488 seconds (91.55% PHP - 8.45% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net