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

General Discussions
Moderated by Maffia, LordKivlov, JimXIX

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Demo Map Size Increase Mod (Download Included)
« Previous Page  1 2  Next Page »
posted 09-09-05 08:33 PM EDT (US)   
I have found a way to completely modify the random maps so that not only do they get bigger, but they also scale properly, with more resources etc...
These screenshots show the new england map before and after... (note the minimap for size difference)

Larger Map screen shot

To install just copy the files texas.xs and new england.xs over the existing files in your RM directory in the AoE3 install directory.

Also included in the zip file are the two original files (located in the backup directory) in case you want to revert back to the original maps without reinstalling the entire game.
I haven't had any problems at all playing on the modified maps so hopefully noone else will... enjoy

-->Download LargeMapMod<---

Also if anyone wants to know how exactly to make these changes just ask and I will write up a quick post explaining how to do it.

*Acknowledgements to friendlyfire for initially finding out how to edit map files*

------(Very) rough tutorial on how to edit map files yourself!-----

Here are some of the settings I have found to have the most effect, the numbers show the default values supplied by ES, in my custom files I pretty much just tripled all the values that affect the map sizes.

int playerTiles=10000;
This affects the map size only (doesn't scale the sizes of forests rivers etc)
If you only increase this value you simply get a large map that is mainly empty space (boring!)

The remainder of the file that contains important information related to map size are:

Any entries which have the label rmAreaTilesToFraction...

eg:
rmSetAreaSize(smallPondID, rmAreaTilesToFraction(600), rmAreaTilesToFraction(700));

Simply changing the values from 600 and 700 to 1800 and 2100 you can now triple the size of the ponds.

rmSetAreaSize(cliffEastID, rmAreaTilesToFraction(350), rmAreaTilesToFraction(400));

Similarly this just changes the size of the cliffs.

The easiest way to edit it is to simply open the file in a text editor and search for the text rmAreaTilesToFraction and just scale the value as you want. Usually you can guess what the value does by looking at the "ID" part of the line, eg smallPondID changes the small ponds.

Increasing the number of mines is slightly more tricky and the method is slightly different for both maps.

For the texas map:

Search for the following section and you will see the following repeated 3 times. Which essentially creates 2*3 (6) mines in the middle of the map.

for(i=0; < 2)
{
middleMineType = rmRandInt(1,4);
middleMineID = rmCreateObjectDef("center middleMine "+i);
rmAddObjectDefItem(middleMineID, "mine", 1, 0.0);
rmSetObjectDefMinDistance(middleMineID, 0.0);
rmSetObjectDefMaxDistance(middleMineID, rmXFractionToMeters(0.10));
rmAddObjectDefConstraint(middleMineID, coinAvoidCoin);
rmAddObjectDefConstraint(middleMineID, avoidImportantItem);
rmAddObjectDefConstraint(middleMineID, avoidImpassableLand);
rmAddObjectDefConstraint(middleMineID, avoidTradeRoute);
rmAddObjectDefConstraint(middleMineID, avoidAll);
rmAddObjectDefConstraint(middleMineID, avoidCliffs);
rmPlaceObjectDefAtLoc(middleMineID, 0, 0.5, 0.5);
}

In my custom map I simply changed for(i=0; < 2) to for(i=0; < 4) to give me 4*3 (12) mines.

For the new england map:

This is much easier, just search for the text:

int silverCount = cNumberNonGaiaPlayers*3;

And change cNumberNonGaiaPlayers*3; to the number of mines you want
eg
int silverCount = 20;

*note* (don't forget the semicolon at the end for all you non C programmers out there, I'm not sure what happens if you forget it, but it can't be good...)

This is a very rough way of editing the files and I am sure pretty soon someone will come up probably a 3rd party utility to edit the files much easily, I unfortunately don't have the time to do something like this but hopefully someone who does have the time will implement it soon. Until then I hope this serves as a quick fix for all you custom map fans.

I am notoriously poor at explaining stuff to other people so if it is unclear let me know and I will try and explain it, if you totally don't get it then its best not to mess with it.

Also make sure you back up the original files before you edit them .

----------------------------------------------------
For more custom mapping also check out MontyPython's thread for his cool DeathMatch mod!

http://aoe3.heavengames.com/cgi-bin/forums/display.cgi?action=ct&f=1,23782,0,10

[This message has been edited by Ceres629 (edited 09-10-2005 @ 10:48 AM).]

Replies:
posted 09-09-05 08:35 PM EDT (US)     1 / 52  
Thanks. I'll download it when I'm more comfortable with the rushing BOs and defense.

[This message has been edited by Doggiedoodle (edited 09-09-2005 @ 08:35 PM).]

posted 09-09-05 09:39 PM EDT (US)     2 / 52  
Cool! I hope you like it.
posted 09-09-05 09:51 PM EDT (US)     3 / 52  
I'm hosting the file here because your upload site kinda sucks:
http://aoe3.heavengames.com/news-files/AoE3LargeMapMod.zip

Nice job .


posted 09-09-05 09:55 PM EDT (US)     4 / 52  
Hehe thank you Elpea!

I will change the download link as well in my post to your one if thats okay.

If it isn't I will change it back.

[This message has been edited by Ceres629 (edited 09-09-2005 @ 09:59 PM).]

posted 09-09-05 10:03 PM EDT (US)     5 / 52  
It's fine .

posted 09-09-05 10:42 PM EDT (US)     6 / 52  
man, that is kick*ss

The RoL forum colors make me sooo hungry.
-Unit Costs for 5-Philbo1-Explorer Micro-
B_E looks like a demented evil smiley.-Botolf

Stonewall Pwns
posted 09-09-05 10:42 PM EDT (US)     7 / 52  
Great job Ceres! I was thinking of playing around with the maps myself sometime. I'm also wondering if there's any way to convince the AI to build some ships, but I think the one they gave us is very limited.

Programmer on 0 A.D., author of Norse Wars, co-author of Fort Wars.

[This message has been edited by Matei (edited 09-09-2005 @ 10:43 PM).]

posted 09-09-05 11:00 PM EDT (US)     8 / 52  
I get some serious lagg in big battles on these maps now. I had to revert back to standard size map, because this is simply too large and it gets chuggy.
posted 09-09-05 11:06 PM EDT (US)     9 / 52  
ignore this stupid post

[This message has been edited by petard_rusher (edited 09-10-2005 @ 02:23 AM).]

posted 09-09-05 11:07 PM EDT (US)     10 / 52  
Dwnldn now
posted 09-09-05 11:11 PM EDT (US)     11 / 52  
ya mine is a little chuggy 2, but I just only occasionally watch the BIG battles, Usually I just watch the waves, wathc the waves, watch the, the *yawns* oop's my armys dying. RUN LITTLE FURRY HAT DUDES, RUN!!!!!

The RoL forum colors make me sooo hungry.
-Unit Costs for 5-Philbo1-Explorer Micro-
B_E looks like a demented evil smiley.-Botolf

Stonewall Pwns
posted 09-09-05 11:24 PM EDT (US)     12 / 52  

Quote:

i love all these "mods" that any fool can make in 15 seconds by opening up a file in a text editor. If your gonna mod something make new maps, dont just add a size multiplier to the old ones.

Dude what is your problem? I simply found a way to make the map bigger and just thought I would share it with others in case they wanted bigger maps also. I never proclaimed what I did was "Rocket Science" but I don't understand why you have to react in such a hostile way.

I don't have time to go indepth into the random map files to understand how it works to create new maps, especially with no documentation... I want to play the game as well you know...

posted 09-09-05 11:24 PM EDT (US)     13 / 52  
Nice job Ceres, its a little slower now as i expected but its great.

OHN

posted 09-09-05 11:31 PM EDT (US)     14 / 52  
Ceres, nice post.
BUT, check this:
http://aoe3.heavengames.com/cgi-bin/forums/display.cgi?action=ct&f=1,23782,0,10

I already posted on Hyena Studios a few hours before
BTW, no need the challenge, it is good to see old RM scripters start from the first demo release

Regards,
M0nTy_PyTh0n.


M0nTy_PyTh0n
RM Scripter - Utility Programmer - Music/Sound Composer/Creator
HYENA STUDIOS
Also on YouTube and MySpace
Partner of Tsunami Studios - Sound and Music Composer
All rights reserved.
posted 09-09-05 11:36 PM EDT (US)     15 / 52  
Great job Monty! That rocks!

If it is okay with you can I link my title post to your thread?

Of course I will give credit that it is your creation and not mine. I won't do it without your consent though.

GJ!

posted 09-09-05 11:38 PM EDT (US)     16 / 52  
Ceres, sure!
If credits are included, gogogo

Regards,
M0nTy_PyTh0n.


M0nTy_PyTh0n
RM Scripter - Utility Programmer - Music/Sound Composer/Creator
HYENA STUDIOS
Also on YouTube and MySpace
Partner of Tsunami Studios - Sound and Music Composer
All rights reserved.
posted 09-09-05 11:38 PM EDT (US)     17 / 52  
I love it thanks, I hope they give multiple sizes in the real game or I'll have to use this..

posted 09-09-05 11:41 PM EDT (US)     18 / 52  
Unable to download... meh. Nice work tho Ceres

I am LuNatic, Dark lord of the sif
~Fear Me Mortals~
[-GREEM-] Best. Clan. Ever.
posted 09-09-05 11:46 PM EDT (US)     19 / 52  
Done! Thanks Monty!

I look forward to seeing some more cool map mods, to keep me interested us until the full version is finally released!

posted 09-10-05 01:51 AM EDT (US)     20 / 52  
yo, dude.. thanks for sharing this.. ignore those people.. they like.. never probably socialized and never learned how to act around people

"The wise speak when they have something to say, the fools speak when they have to say something." -Anonymous
posted 09-10-05 02:14 AM EDT (US)     21 / 52  
im sure 100s of people have changed the game files by now, doesnt mean they have no life, all you need is windows explorer and notpad. But its good that Ceres629 has taken the time to post this for people who don't know how to do it for themselves, I apologize if i sounded mean I was just trying to say that this is something people who are interested in the game could learn to do themselves without much work. As opposed to AI or RMS scripting which takes alot more time and thought.

[This message has been edited by petard_rusher (edited 09-10-2005 @ 02:24 AM).]

posted 09-10-05 04:03 AM EDT (US)     22 / 52  
I already done this myself yesterday, als made it a ToTal War map.

But i still need to mod it a bit... iknow

you can find it here: http://kiwi.clans.cc/newenglandmod.zip


Siewart

ESO: F4N4T1C

[This message has been edited by Siewart (edited 09-10-2005 @ 04:09 AM).]

posted 09-10-05 06:42 AM EDT (US)     23 / 52  
I wonder if being able to change map size wil be a feature available in the full game... ?

That's one thing I miss that I didn't really like in AoM. There were only 2 map sizes.

I do understand though that wit the graphics in this game it may get difficult to have large maps and still be able to play without a terrible slowdown.

posted 09-10-05 07:28 AM EDT (US)     24 / 52  
Wow man! Please, tell me, which file did you edit and how did you create larger maps?

˜*°..°*˜.°*˜˜*°.˜*°..°*˜°*˜˜*°.˜*°..°*˜
_-˜°**°˜-_ »Ruler« .° »of« °. »Hell« _-˜°**°˜-_
˜*°..°*˜˜*°..°*˜.°*˜˜*°.˜*°..°*˜˜*°..°*˜
posted 09-10-05 08:23 AM EDT (US)     25 / 52  
How did you do that, Ceres? Impressive.


And, er...where is the file I'm supposed to replace with this?


Don't question authority - it doesn't know either.


~Viva la Tour!~

[This message has been edited by VanBraun (edited 09-10-2005 @ 08:26 AM).]

« Previous Page  1 2  Next Page »
Age of Empires III Heaven » Forums » General Discussions » Demo Map Size Increase Mod (Download Included)
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Empires III Heaven | HeavenGames