Page 1 of 1

More resources at Random Maps

Posted: Mon Jul 08, 2013 11:28 am
by AntonSynytsia
Using the Turtle Pack, I thought it would be nice to add more gold, stone, and forage bushes to the random maps.
Advantage: When the Computer AI runs out of stone and gold at its base, it does not go off mining it at the corners of the map. The new gamedata_x1.drs adds more resources to the base of each player/AI, so that it will remain strong for the extended time.
Just 20 forage bushes, 8-12 gold/stone and more sheep, dear, and boar.
gamedata_x1.zip
Extract and place in C:\Program Files (x86)\Microsoft Games\Age of Empires II\Data\. Add the .bak extension to original one or just replace it.
(128.57 KiB) Downloaded 291 times
Example.jpg
Example.jpg (159.73 KiB) Viewed 2824 times

Re: More resources at Random Maps

Posted: Mon Jul 08, 2013 4:49 pm
by Archon
UP introduces resource_delta to address that so there is no need to clutter up your map like this.

Re: More resources at Random Maps

Posted: Mon Jul 08, 2013 6:50 pm
by AntonSynytsia
Hmm, really? :blink:
Could you be more specific on resource_delta, and how do I implement it?

Re: More resources at Random Maps

Posted: Tue Jul 09, 2013 12:01 am
by Archon
About resource_delta
resource_delta inConstDelta
• Modify the resources of a specific instance of an object.
• Section: OBJECTS_GENERATION :: create_object
Examples for resource_delta

1. Remove 100 gold from a gold-mine object.

<OBJECTS_GENERATION>
create_object GOLD
{
number_of_objects 7
resource_delta -100
}
Source: the reference file that came with the UP.