ReColoring Units

From AoW_wiki

Jump to: navigation, search

Make a new unit by using UGPM_gui (re-color existing units)-----

This is a usefull way to make a new unit with a different unit graphic without having to create the 100's of bmp files required for each unit. This basically recolors the existing unit graphics and saves it as a new ILB file. The new ILB file can then be loaded into the editor as a new Unit Body. The 100 Units Mod has many examples of new units being created using this method. This is not as hard as it sounds!

Image:Poison Priest.jpg Image:Red Priest.jpg Even I was able to modify the Priest unit and create these!


OK, I'll make it as clear as I can:

1. Download UGPM_gui.exe and run it.

1a. Click Options->Directories and set the AOWSM directory path.

2. Select "File" -> "New Script" from the menu. This will create a new script file named “Scripts\new_script.txt”. There will be only 1 unit in the script named _New_Unit. (If you want to add more units, use "File" -> "New Unit".) PS. If nothing happens when you select New Script, create manually a folder named 'Scripts' in your main AOW-directory and try again.

2a. Click on _New_Unit in the left navigation pane.

3. Click on "Browse" and select the original unit (ILB file) to be recolored.

4. Use the RGB sliders to adjust unit colors. If you want to add more advanced effects, use the buttons on the right side of the screen (New Item, Delete Item, Move Up, Move Down). Check the example scripts to see how FILTERs and other commands are used.

4a. Click the “New ILB” field and rename the unit to something more descriptive than _New_Unit. If making many units, you may want to prefix your unit names with a unique identifier so they are all grouped together. Be sure to press Enter and the unit name will change in the navigation pane on the left.

5. Use "Tools" -> "Create selected units" (or "Create all units") to recolor the ILB file(s). Exit UGPM_gui.

6. The new colored unit ILB files will be located in the Images/Units directory.

7. Create the Unit Body and Unit as above in “Creating New Units”

Note: The New_Script.txt file will be overwritten the next time you run the UGPM_gui program and select New Script. If you want to save your script, use Windows Explorer to rename the New_Script.txt file.

Personal tools
>