
			********************************
			**                            **
			**    UNIT UPDATER FOR THE    **
			**  SUPER APOLYTON PACK v2.0  **
			**                            **
			********************************


Apolyton is a registered trademark of Apolyton Civilization Site.
http://apolyton.net
------------------------------------------------------------------


The Apolyton Unit Updater is a conversion of the Cradle mod Unit Updater to the Super Apolyton Pack v2.0.


I would like to thank Dale for bringing us this wonderful Super Apolyton Pack which has renewed my interest in CtP2, Hexagonian for its advices and his invaluable help, Peter Trigg for the Cradle Updater slic code without which I would have been unable to do anything, Martin Ghmann for his equally invaluable help, Martin the Dane with Pedrunn and Maquiladora who have helped fleshing out the update paths.


What is the updater?
--------------------

This slic file allows you to update some of your current units when you discover a new technology. You can only upgrade your units in the turn you have discovered the said technology, if you don't update them or if you only update part of your units you won't be able to do it later in the next turns (I would have liked it to be possible but I don't have the lesser idea on how to achieve this). For each updated unit you will have to pay the production cost of the new unit in gold. You would thus have to pay 10000 gold to update 10 machine gunners to marines.

Remember the AI civilizations will also use the updater.

The main goal I had in mind with the updater was to get rid of the necessity to build new units and move them throughout my empire in order to replace the older units scattered on the map, a process I found painful in the later part of the game when you have many cities and units. This explains why I have not increased the cost needed to upgrade the units as I would like it to be rather easy. If you think these costs are too low you can edit the APOL_Updater.slc and increase them. You can also play with the govern.txt file (located here: C:\Program Files\Activision\Call To Power 2\ctp2_data\default\gamedata) and increase the Unit Rush Buy costs in order to lower the gold resources of the player (as suggested by Hexagonian in the thread I posted in the Apolyton CtP2 Forum before converting the cradle updater).


Requirements:
-------------

The APOL_updater.slc requires the following components before installation:
- CTP2
- Activision patch V1.1 (or V1.11)
- Modswapper
- The Super Apolyton Pack 2
- DebugSlic=No in \ctp2_program\ctp\userprofile.txt


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

Follow these three simple steps if you have previously installed CtP2 to the default location.


1) Unzip the APOL_main_str.txt file in the following folder:
C:\Program Files\Activision\Call To Power 2\ctp2_data\english\gamedata folder

2) Then, unzip the APOL_updater.slc file in this following folder:
C:\Program Files\Activision\Call To Power 2\ctp2_data\default\gamedata

3) Edit the APOL_main.slic file you will found in your C:\Program Files\Activision\Call To Power 2\ctp2_data\default\gamedata folder and add the following line at the end :
#include "APOL_updater.slc"


French translation:
-------------------

Unzip the french APOL_main_str.txt file in the following location:
C:\Program Files\Activision\Call To Power 2\ctp2_data\french\gamedata

German translation (by Martin Ghmann):
---------------------------------------

Unzip the german APOL_main_str.txt file in the following location:
C:\Program Files\Activision\Call To Power 2\ctp2_data\german\gamedata


Tinkering with the APOL_Updater:
--------------------------------

I have included in this zip the two worksheets I have used to prepare the conversion, this will ease your task if you want to adapt the APOL_updater to another mod or change the update paths if they don't suit your taste or your needs (or both).

Changing an update path is really easy, edit the APOL_updater.slc and change the DATA ARRAYS. If you add a new update path, be careful to give your arrays numbers which are not used by another one (as the number 3 and 4 in the example).

If you want to change an update path, suppress an array if you don't agree with an update path or a part of the said update path :


Example :

In the following update path (Machine Gunner>Marine>Hover Infantry), suppress the four lines of the array number 4 if you don't want the Marine to upgrade to the Hover Infantry

enadv[3]=AdvanceDB(ADVANCE_ADV_INFANTRY_TACTICS); 
OLD_UNIT_TYPE[3]=UnitDB(UNIT_MACHINE_GUNNER);
NEW_UNIT_TYPE[3]=UnitDB(UNIT_MARINE);
PER_UNIT_UPDATE_COST[3]=1000;

enadv[4]=AdvanceDB(ADVANCE_CHAOS_THEORY); 
OLD_UNIT_TYPE[4]=UnitDB(UNIT_MARINE);
NEW_UNIT_TYPE[4]=UnitDB(UNIT_HOVER_INFANTRY);
PER_UNIT_UPDATE_COST[4]=2500;


If you prefer the Machine Gunner to be updated to the Paratrooper, change the number 3 array like this:

enadv[3]=AdvanceDB(ADVANCE_ADV_INFANTRY_TACTICS); 
OLD_UNIT_TYPE[3]=UnitDB(UNIT_MACHINE_GUNNER);
NEW_UNIT_TYPE[3]=UnitDB(UNIT_PARATROOPER);
PER_UNIT_UPDATE_COST[3]=1400;

Remember to change the name of the new unit, the name of the advance triggering the update (which is not useful in our case as Paratrooper and Marine are both available with the same technology) and the cost of the update.


The Upgrade Paths I have chosen are detailed in the Apolyton_UpdatePathWorksheet.txt file included in this zip (the "Dead End" units are the units which have not been included into an update path because of their specificity or their lack of similarity with another family of units).

You can find all the units along with their cost, their code name and the code name of the advance enabling them in the file named Apolyton_UnitWorksheet.txt in this zip.


I hope you will enjoy playing the Super Apolyton pack with the APOL_updater.


- Tamerlin.