So I copied a few edited units from Ancients to Medieval.
After a bit of work I got them into the game but they don't show their edited Diffuse textures. They show their unedited versions.
Ayone who knows what might be causing this?
Edited textures not showing
Moderator: rbodleyscott
-
rbodleyscott
- Field of Glory 2

- Posts: 28411
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Edited textures not showing
They cannot show their unedited versions if they are not in the build. So you cannot have replaced all of the vanilla textures. There are several texture1, texture2 etc sub-folders they can be in.
Richard Bodley Scott


Re: Edited textures not showing
The edited versions have different filenames from the unedited ones.
I copied the files from /units, gave those different filenames and edited their diffuse, saving with the new filename.
They worked fine in Ancients, side by side with their originals.
I copied the files from /units, gave those different filenames and edited their diffuse, saving with the new filename.
They worked fine in Ancients, side by side with their originals.
Re: Edited textures not showing
Example:
African_Foot. Based on Egyptian Spearmen.
In Medieval it shows them as the original Egyptian Spearmen.
African_Foot. Based on Egyptian Spearmen.
In Medieval it shows them as the original Egyptian Spearmen.
- Attachments
-
- Screen_00000019.jpg (1006.07 KiB) Viewed 1581 times
-
rbodleyscott
- Field of Glory 2

- Posts: 28411
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Edited textures not showing
Ancients used a different system, with the game searching for textures matching the unit name. This however had the disadvantage that if two units (e.g. a mounted and dismounted version) used the same textures, the textures had to be duplicated, which was a pain and not very efficient.
Medieval uses a different system whereby the texture references are read off from the reference in the model - the .s4f file. Those references are also present in Ancients but are only used by the Editor.
This means that in order for your new units to work in Medieval, you need to edit the texture references in the .s4f file to match the names of your new textures.
Unfortunately you cannot just edit the file like a text file, it won't work. You need to use the ARCHON Tool.
Here is a DropBox link to download it.
https://www.dropbox.com/s/pjqoal5fapolr ... 3.zip?dl=0
Here is the documentation, such as it is:
https://archonwiki.slitherine.com/index ... nd_Shaders
You need the .EXE, the .dll and config file in the same folder, then run it by double clicking on the .EXE.
You load the unit you want to modify, then click on the texture entries on the right of the screen and pick the textures you want the unit to use from the UnitTextures folder. Then Save the unit.
Good luck. If you get stuck, don't hesistate to ask.
Medieval uses a different system whereby the texture references are read off from the reference in the model - the .s4f file. Those references are also present in Ancients but are only used by the Editor.
This means that in order for your new units to work in Medieval, you need to edit the texture references in the .s4f file to match the names of your new textures.
Unfortunately you cannot just edit the file like a text file, it won't work. You need to use the ARCHON Tool.
Here is a DropBox link to download it.
https://www.dropbox.com/s/pjqoal5fapolr ... 3.zip?dl=0
Here is the documentation, such as it is:
https://archonwiki.slitherine.com/index ... nd_Shaders
You need the .EXE, the .dll and config file in the same folder, then run it by double clicking on the .EXE.
You load the unit you want to modify, then click on the texture entries on the right of the screen and pick the textures you want the unit to use from the UnitTextures folder. Then Save the unit.
Good luck. If you get stuck, don't hesistate to ask.
Richard Bodley Scott


Re: Edited textures not showing
Thanks a bunch.
It works.
It works.
- Attachments
-
- Screen_00000000.jpg (873.69 KiB) Viewed 1556 times
