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

Modding and Scripting
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Proto Editing Advanced
posted 31 July 2004 03:33 PM EDT (US)   
Proto Editing

By: Lord_DiGangi

If you do not know how to do simple proto editing, please refer to Waveslave's Guide

With what is shown in Waveslave's guide I decided to take it further and give you many other possibilites for editing your new units stats and abilities

Let's start at the top of your new units stats

Find the area where it says
<icon>*Icon Name*<icon>

Also find
<portraiticon>Hero G Achilles icon 64</portraiticon>

These undoubtedly are the pictures of the unit, lets say we based a new unit on Achilles but we want him to have the Bellphreon Icons, we must go to the Program Files/ Microsoft Games/ Age of Mythology/ Textures/ Icons
Then search for the icon you want, the portrait picture will always have a 64 after it as it is bigger and more detailed, the icon is when you select several units and see there pictures and the number of them

We can change to be any units icon!

All you have to is add in the exact name of the icon to make it be that icon, if you would like to create your own icons, you can contact auron for that.

Something that many of you might want to change is the population count, this is something that bother me a lot. The population count is found like this

<populationcount>4</populationcount>

We could change this to 0 or 1 to increase our population greatly in game, this can also be don for units already in the game if you want to have tons of unit, instead of the max 300.

Find these lines, we can edit the amount of resources a unit cost or even add another resource

<cost resourcetype="Food">70.0000</cost>
<cost resourcetype="Gold">50.0000</cost>

If you want your unit to cost wood then add this line

<cost resourcetype="Wood">50.0000</cost>


Then the unit will cost each of the specified amounts of resources

-----------------------------------------------------------
Now you have seen some of the other editing capabilities, we will move on to some other ones that will really give your new unit his own "personality"
-----------------------------------------------------------

These next lines will edit the armor of your unit, in each line we see the type of armor and percentages.

<armor damagetype="Hack" percentflag="1">0.40</armor>
<armor damagetype="Pierce" percentflag="1">0.45</armor>
<armor damagetype="Crush" percentflag="1">0.99</armor

We can change all of the values to whatever we wish, the higest is 99%, but remember to keep all of this in decimals!

After his armor we can find near the bottom of the doocument many lines that start like this
<flag>

This is where you can make a lot of changes to your units

Say you are making a hero that you want in a campaign, you dont want to be able to kill the unit by hitting the delete button, we add this line so that we can not do this to our unit

<flag>NotDeleteable</flag>

If you want a unit to be deletable you can just get rid of the "Not" part of that line
-----------------------------------------------------------
That is some more change your able to make, if you want to see even more expierment with other proto stats and see what you can figure out to add to your units, other things is:
-Changing if your unit is able to walk on land or water
-Making the unit able to pic up relics
-Add Favor as another resource if you create the unit
-Which culture it is allowed to be used in
-Many more!
-----------------------------------------------------------

For this last part of proto editing we will need to add info for other units most likely

Find the Edit drop down menu in your text editor and click on the option "Find" type in any hero's name, then hit "Find Next"

Look through the document until you come across this line

<unit id="801" name="(Hero's Name you asked for it to find)">

Once you found there proto stats scroll down to the bottom of the stats and find a line like this

</action>
<action name="Regenerate">
<param name="Rate" type="All" value1="1.7"></param>
<param name="Persistent"></param>
</action>

This is the ability to regenerate life, in value="1.7" we have a set value of how fast this unit will gain life, we can change this value to whatever we desire, so we can make invulnerable units.

Remeber whenever add a line such as this we must have the </action> at the beginning and end of those lines of regenration.

After everything is typed as you want and the last line is like this
</action>

</unit>

</proto>

Open AoMed and use a direct file conversion on the file we just editing and save it under the data file in the AOM folder. It will take some time as it is a big file, but once its done go in game and find your changes

This is still only a small taste of the full potential of proto stat editing, my guide gives you even more of what waveslves guide gives, plese have fun and dont get frustrated if it doesnt work, just try it again!

Comments are appreciated

[This message has been edited by Lord_DiGangi (edited 07-31-2004 @ 03:36 PM).]

Replies:
posted 31 July 2004 03:43 PM EDT (US)     1 / 5  
Hm. Well, it's quite nice, but nothing new, and I wouldn't call it advanced, because you only went through the basic unit abilities, whereas some flags or actions would have been advanced...

Quote:

We can change all of the values to whatever we wish, the higest is 99%, but remember to keep all of this in decimals!


You can even enter 1.0, which gives the unit 100% armour.

Quote:

Open AoMed and use a direct file conversion on the file we just editing and save it under the data file in the AOM folder. It will take some time as it is a big file, but once its done go in game and find your changes


Just place the modified proto(x).xml file in the data folder and delete old proto(x).xmb files. Then start AoM, and it'll create the *.xmb file for you automatically within a few seconds.

But for newbees it's quite a nice introduction to proto editing after they read the essential basics in Waveslave's guide. Nice work !

[This message has been edited by AoMPlayer000 (edited 07-31-2004 @ 03:44 PM).]

posted 31 July 2004 05:33 PM EDT (US)     2 / 5  
thanks i know almost all the abilities, but i did not want an overwhleming guide, i will make a guide soon with :advanced: proto editing, thanks for the comment
posted 02 August 2004 03:01 AM EDT (US)     3 / 5  
This is nice...really great for newbies...Would you mind if I made a link from the NMA to here? would help out a great deal.

£¿ïþß첩û £¤® ~ ¿ïØûîÐ £í® §üÐ줧
Ô¿ÿmþîåñ §â££ ã §ÅÇ
Gravity is a myth, the Earth sucks.
posted 02 August 2004 05:31 AM EDT (US)     4 / 5  
Nothing here new to me but still a good guide for those with no experience especially without html, XHTML (XML).
posted 02 August 2004 02:19 PM EDT (US)     5 / 5  
thanks guyz and flipbiscuit you can make link you ya want
Age of Mythology Heaven » Forums » Modding and Scripting » Proto Editing Advanced
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Mythology Heaven | HeavenGames