You need:
- Aomed
- A text editor
- Scenario with some units
1. Open AomEd
2. Click on Advanced options and turn on 'Enable scenario unit editing'
3. Click on 'Set input data file' and choose your screnario.
4. Click on 'Folder to extract data into' and choose a new folder (create one first).
5. Click on 'Read data file'.
6. Wait until it shows 'Finished' before going to the next step!
7. Go to the folder where files are extracted and open 'Z1.txt'
If you have 1 unit you will have something ! like ! this.
Quote:
Z1_count: 1
Z1_0_id: 262168
Z1_0_head: "H1"
Z1_0_length: 225
Z1_0s_en_id: 262168
Z1_0s_en_unknowns: 0 3 8 0 1123 0 1 117.158767700195 0.565117597579956 71.0022430419922 0.999604940414429 -0.0222407300025225 0.0171863716095686 0.0222610346972942 0.999751687049866 -0.000990992179140449 0.0171600636094809 -0.00137318705674261 -0.999851822853088
Z1_0s_un_name: "3087"
Z1_0s_protounit: 336
Z1_0s_scale: 1 1 1
Z1_0s_unknown01a: 0.351310729980469 0 0.0380032733082771 -0.213806837797165 9d2f0b3f -0.213806837797165 2.22478842735291
Z1_0s_hitpoints: 2000
Z1_0s_unknown01b: 0 0 fc3be5c2 1
Z1_0s_bd_exists: 0
Z1_0s_los: 30
Z1_0s_extra02_flag: 0
Z1_0s_unknown04: 0
Z1_0s_extra03_flag: 1
Z1_0s_unknown05a: 2 0 0.998013556003571 114.58903503418 114.58903503418 0 0
Z1_0s_unknown05b: 4135
Z1_0s_unknown05c: 0 1
Z1_0s_unknown06: -106 -1
Z1_0s_unknown07_count: 0
Z1_0s_unknown08: -1 0 0
Z1_0s_unknown09_count: 0
Z1_0s_unknown10: 0
To edit the scale (making units bigger/smaller) change the line Z1_0s_scale like this:
Format: 1 1 1 is the default size You can also use decimals like this : 1.5 1.5 1.5 To change hitpoints change the line with Z1_0s_hitpoints:xxx like this: Z1_0s_hitpoints:500 to have 500 hp To change the line of sight : Z1_0s_los: 10 Change the number to 0 and your unit will have no line of sight Change the number to 30 and your unit have the same line of sight like the god power vision. 8. Open AomEd Go and see... About moving units up in air... AlexandertheGreat have something more! Quote from AlexanderGreat3 Quote: Ok, we only need to fix 2 things in order to make our files work!!! : First: Add 3 to the existing number in Z1_0_length to get the correct length number of your unit. (IMPORTANT HINTS: certain units have certain length numbers associated with them just like proto numbers. The numbers of your units must be correct for the file to work. For example, if your unit is a berry bush and you found out that the correct number is 225, you should always use this number for all your bery bushes.) SECOND: make sure that the number in Z1_0s_un_name is four digit!! You're all set!! Z1 Guide made by Tim W Ykkrosh: For discovering the unit data in scenarios and making unit editing possible with AOMEd. Alexandergreat3: For founding something more [This message has been edited by Tim W (edited 12-13-2003 @ 04:54 PM).]
3 1 1 will scale in the X axis
1 3 1 will scale in the Y axis
1 1 3 will scale in the Z axis
3 3 3 will scale in all axises
Z1_0s_hitpoints:1000 to have 1000 hp
etc...
Go to this line :
9. Click on Advanced options and turn on 'Enable scenario unit editing'
10. Click on 'Set output data file' and choose your screnario.
11. Click on 'Folder to inport data from' and choose the folder where the files are extracted to.
12. Click on 'Write data file'.
13. Wait until it shows 'Finished' before going to the next step!
See big/small units with strange hp in your screnario!!!
I'm still searching for this!
After a lot and a lot of testings, i have figured out the cause for this error!! I now know how to make this works for all units, on any map!!! Yes!! And it is very simple to fix!
------------------------
---------------------------
EXAMPLE:
Z1_count: 1
Z1_0_id: 0
Z1_0_head: "H1"
Z1_0_length: {current number +3} Notes: adding 3 is to get the correct length number associated with this unit type. If you already knew the number, don't add 3.
Z1_0s_en_id: 0
Z1_0s_en_unknowns: 0 0 8 0 97 0 1 1 2 1 0 0 -1 0 1 0 -1 0 0
Z1_0s_un_name: {make sure this is a four-digit number} it is NOT important what the number is
Z1_0s_protounit: 462
Z1_0s_scale: 1 1 1
Z1_0s_unknown01a: 2 0 0 0 00000000 0 1.11650061607361
Z1_0s_hitpoints: 100
Z1_0s_unknown01b: 0 0 7b0f1dc2 1
Z1_0s_bd_exists: 0
Z1_0s_los: 0
Z1_0s_extra02_flag: 1
Z1_0s_unknown03: 0 4 0 0 100 0 100 -1
Z1_0s_unknown04: 0
Z1_0s_extra03_flag: 0
Z1_0s_unknown06: -102 -1
Z1_0s_unknown07_count: 0
Z1_0s_unknown08: -1 0 0
Z1_0s_unknown09_count: 0
Z1_0s_unknown10: 0
And of course thanks to:
I have figured out how to change the line of sight!
Go and check it out!(somewhere in the middle of this tutorial)
I'm still trying to find out how to place them(units and buildings) into the air.