During RM Scripting for AOM Titan (version 1.01) I found out that most new conditions and effects added to the Titan expansion do not work properly. The problem is, that NOT ALL language versions of AOM Titan use the same trigger names in the RMS code.
Example:
For the GERMAN version of AOM together with the GERMAN version of AOM Titan (both patched online to the latest version!), the following trigger conditions and effects do NOT work:
rmAddTriggerCondition("Unit on Lush");
rmAddTriggerCondition("Unit Is Garrisoned In");
rmAddTriggerCondition("Chat Contains");
rmAddTriggerCondition("God Power Active");
rmAddTriggerCondition("God Power Used");
rmAddTriggerEffect("Damage Unit Percent");
rmAddTriggerEffect("Damage Unit");
rmAddTriggerEffect("Damage Units in Area");
rmAddTriggerEffect("Change Units in Area");
rmAddTriggerEffect("Change Name");
rmAddTriggerEffect("Move From Area");
rmAddTriggerEffect("Forbid And Disable Unit");
rmAddTriggerEffect("Set Civilization Name");
rmAddTriggerEffect("Grant GP at Position");
rmAddTriggerEffect("Send Chat to Player");
rmAddTriggerEffect("Clear Chat History");
rmAddTriggerEffect("Disable GP Blocking");
rmAddTriggerEffect("Show Image");
rmAddTriggerEffect("Choice Dialog");
rmAddTriggerEffect("Modify Protounit");
rmAddTriggerEffect("Gaia Lush");
1a. Close AOM Titan 1d. Save this file as "TriggerTest.xml" into your "AOM/rm2/" directory 2c. Save the file as "TriggerTest.xs" into your "AOM/rm2/" directory 3a. Start AOM Titan ALL CONDITIONS AND EFFECTS ADDED IN "TriggerTest.xs" SHOULD APPEAR! Please post any test results here and also give your language version! I hope this will help making ES give us a patch for this bug soon - and hopefully a working RM debugger too Regards,
Here is how you can check your compatibility to the english AOM Titan version:
1b. Open Notepad
1c. Copy and paste the small typed text (2 lines) below in it:
____________________________START___________________________
<
<
_____________________________END____________________________
2a. Open Notepad again (or create a new file)
2b. Copy and paste the small typed text below in it:
____________________________START___________________________
/* Test the new Trigger Conditions and Effects for AOM Titan - by M0nTy_PyTh0n - Version 0.1 */
void main(void) {
rmSetStatusText("",0.01);
int myTiles = 8000;
if(cMapSize == 1) {
myTiles = 12000;
rmEchoInfo("Large map");
}
int mySize = 2.0*sqrt(cNumberNonGaiaPlayers * myTiles);
rmEchoInfo("Map size="+mySize+"m x "+mySize+"m");
rmSetMapSize(mySize,mySize);
rmSetSeaLevel(0);
rmSetSeaType("Mediterranean Sea");
rmTerrainInitialize("land",4);
// Triggers
rmCreateTrigger("TestNewCondEffects");
rmAddTriggerCondition("Unit on Lush");
rmAddTriggerCondition("Unit Is Garrisoned In");
rmAddTriggerCondition("Chat Contains");
rmAddTriggerCondition("Stat Value");
rmAddTriggerCondition("God Power Active");
rmAddTriggerCondition("God Power Used");
rmAddTriggerCondition("Quest Var Check");
rmAddTriggerCondition("Quest Var Compare");
rmAddTriggerEffect("Damage Unit Percent");
rmAddTriggerEffect("Damage Unit");
rmAddTriggerEffect("Damage Units in Area");
rmAddTriggerEffect("Change Units in Area");
rmAddTriggerEffect("Change Name");
rmAddTriggerEffect("Move From Area");
rmAddTriggerEffect("Forbid And Disable Unit");
rmAddTriggerEffect("Set Civilization Name");
rmAddTriggerEffect("Grant GP at Position");
rmAddTriggerEffect("Send Chat to Player");
rmAddTriggerEffect("Send Spoofed Chat to Player");
rmAddTriggerEffect("Clear Chat History");
rmAddTriggerEffect("Echo Stat Value");
rmAddTriggerEffect("Disable GP Blocking");
rmAddTriggerEffect("Show Image");
rmAddTriggerEffect("Choice Dialog");
rmAddTriggerEffect("Modify Protounit");
rmAddTriggerEffect("Overlay Text");
rmAddTriggerEffect("Quest Var Set");
rmAddTriggerEffect("Quest Var Copy");
rmAddTriggerEffect("Quest Var Modify");
rmAddTriggerEffect("Quest Var Modify 2");
rmAddTriggerEffect("Quest Var Randomize");
rmAddTriggerEffect("Quest Var Echo");
rmAddTriggerEffect("Gaia Lush");
rmSetTriggerPriority(4);
rmSetTriggerActive(true);
rmSetTriggerRunImmediately(false);
rmSetTriggerLoop(false);
rmSetStatusText("",1.00);
}
_____________________________END____________________________
3b. Click "MORE"
3c. Click "Editor"
3d. Click "New" and select the "TriggerTest" map
3e. Click "create"
3f. Now click "Trigger" in the upper menu bar
3g. Click on the trigger called "TestNewCondEffects"
M0nTy.
RM Scripter - Utility Programmer - Music/Sound Composer/Creator
HYENA STUDIOS
Also on YouTube and MySpace
Partner of Tsunami Studios - Sound and Music Composer