////////////////////////////////////////////////////////////////////////////
//
// Withdraw script to make AI withdraw troops on agreement
//
// Withdraw by Dale
//
// Version 1.2 - 3-Mar-2001
//
////////////////////////////////////////////////////////////////////////////

*************************************************
*                                               *
* DO NOT USE THIS MOD IF YOU USE DIPLOMOD V3.3! *
*                                               *
*************************************************

Filelist:
---------

readme-withdraw.txt					- This file
history-withdraw.txt					- History of versions and changes
ctp2_data\default\gamedata\withdraw.slc			- SLIC script for changes

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

NOTE: If upgrading from Withdraw 1.1 then only copy and overwrite "withdraw.slc" into the directory: ctp2_data\default\gamedata\

IMPORTANT: If you already use Diplomod V3.3 then DO NOT INSTALL THIS MOD!  Withdraw V1.2 is written into Diplomod and will cause all sorts of errors if you install this mod as well.

IMPORTANT: I have tried to make this mod as generic as possible.  If you have your own mods or changes, then this shouldn't interfere much, if at all.  This mod has been designed to only directly affect how AI's withdraw their units after agreeing to a WITHDRAW_TROOPS request.

1 - Unzip files to Call to Power 2 install directory.
2 - Open ctp2_data\default\gamedata\script.slc in notepad.
3 - Add #include "withdraw.slc" to the bottom of the file
4 - Play!

Effects of script:
------------------

Withdraw rules and implementation for AI's

- After agreeing to a WITHDRAW_TROOPS request, the AI will have 5 turns to withdraw its military units out of your borders.
- After 5 turns, if there are still military units on your land area, then the AI will be systematically and completely booted out of your country.
- AI units booted go to a random square on the edge of your border (as if the AI pulled out normally).
- If a valid square to pull out to is not found, then the offending army will be disbanded.  This avoids problems of island and large nations.
- If during the agreement the AI moves a unit inside your borders, he will incur the INCURSION_REGARD penalty and be booted out to a random square outside of your borders.
- The Human players are still responsible to withdraw their own troops within the alloted time.  This script will not boot you.

Using saved games:
------------------

IMPORTANT: If you install Withdraw then decide to play a saved game from BEFORE Withdraw, you must do the following after loading the saved game:
     1. Press the apostrophe key (')
     2. Type "/reloadslic" without the quote marks
     3. Press ENTER twice
This is only required the first time you load a saved game from BEFORE Withdraw.  If you save that game again or create a new game or scenario, you are not required to reload the SLIC.
WARNING: The above procedure may corrupt your save file meaning you cannot play it.  There is no support for using the above.

End:
----

I hope you enjoy Withdraw.  If you have suggestions/comments, please email me.

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