You must be logged in to post messages.
Please login or register

Modding Discussions
Moderated by Alexastor, MosheLevi, Mister SCP

Hop to:    
Welcome! You are not logged in. Please Login or Register.No replies
Age of Empires III Heaven » Forums » Modding Discussions » How to Add Starting Resources to maps
Bottom
Topic Subject:How to Add Starting Resources to maps
murdilator
Skirmisher
posted 08-18-19 06:45 AM EDT (US)         
Take the script Ceylon and from that map go the Bottom where it says

"275" "XP"

And add this:
    // Starter shipment triggers
for(i = 1; < cNumberPlayers) {
rmCreateTrigger("XP"+i);
rmSwitchToTrigger(rmTriggerID("XP"+i));
rmSetTriggerPriority(3);
rmSetTriggerActive(true);
rmSetTriggerRunImmediately(true);
rmSetTriggerLoop(false);

rmAddTriggerCondition("Always");

rmAddTriggerEffect("Grant Resources");
rmSetTriggerEffectParamInt("PlayerID", i, false);
rmSetTriggerEffectParam("ResName", "XP", false);
rmSetTriggerEffectParam("Amount", "17500", false);

rmAddTriggerEffect("Grant Resources");
rmSetTriggerEffectParamInt("PlayerID", i, false);
rmSetTriggerEffectParam("ResName", "Trade", false);
rmSetTriggerEffectParam("Amount", "17500", false);

rmAddTriggerEffect("Grant Resources");
rmSetTriggerEffectParamInt("PlayerID", i, false);
rmSetTriggerEffectParam("ResName", "Food", false);
rmSetTriggerEffectParam("Amount", "45000", false);

rmAddTriggerEffect("Grant Resources");
rmSetTriggerEffectParamInt("PlayerID", i, false);
rmSetTriggerEffectParam("ResName", "Wood", false);
rmSetTriggerEffectParam("Amount", "40000", false);

rmAddTriggerEffect("Grant Resources");
rmSetTriggerEffectParamInt("PlayerID", i, false);
rmSetTriggerEffectParam("ResName", "Gold", false);
rmSetTriggerEffectParam("Amount", "30000", false);
}

and paste it before this, and make a line space:
   // Text
rmSetStatusText("",1.0);

and especially before this:
}

which spells the end of the code line.


You can add any values you want, from 1 to 100000, but I recommend more than 10000 and less than 50000.

"Ships" is a resource that gives just shipments, not starting XP. 15000 XP is about 15 Shipments, 17500 XP is about 16 1/2 shipments, and 275 XP is about 1 Shipment.
Use "Ships" instead of XP and place 15 or 16, or whatever value under 25 you want, if you want next shipments to come in quickly (ships do not count toward total XP).

"Trade" is an Export resource. This is important when you start with resources so that Asians can be played and don't have to wait for 40 minutes to get 2400 Export.

Just a side note the Chinese can train instant consulate armies with Advanced Consulate, Banner School and Acupuncture. This is just one example how starting export can be used.
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Empires III Heaven | HeavenGames