Page 1 of 1

Clones

Posted: Tue Oct 13, 2015 9:12 pm
by macdonncadh
I have a silly question: if I clone a unit X number of times, in order to add historical flag graphics - say just the pike and musket unit of country Y. Do each of the cloned units have to be created in the squads file (if so, I might as well name them there according to their historical designation) or will the editor pick up added graphics for that unit in that country in the unit placement module, and then name them in the Text1 file? OR am I going to have to name them in the text file and make them in the Squads file.

Re: Clones

Posted: Tue Oct 13, 2015 9:49 pm
by rbodleyscott
macdonncadh wrote:OR am I going to have to name them in the text file and make them in the Squads file.
This.

Note also that if you clone the models, the model .S4F files have an internal reference to the texture name, so they will still point to the old texture filename.

If you want to change the references, you will need the .s3F versions of the files. If you PM me with a list of models, I can supply you with the .s3F versions.

Re: Clones

Posted: Tue Oct 13, 2015 11:01 pm
by pipfromslitherine
If you are careful to keep the texture names exactly the same size, you can actually edit the binary files too if you wish. The texture names are stored very early in the file data and are pretty easy to see in any binary editor (they tend to show text too).

Cheers

Pip

Re: Clones

Posted: Wed Oct 14, 2015 6:31 am
by rbodleyscott
pipfromslitherine wrote:If you are careful to keep the texture names exactly the same size, you can actually edit the binary files too if you wish.
Hmm, I tried that and it did not seem to work, but maybe I did something wrong.

Re: Clones

Posted: Wed Oct 14, 2015 3:58 pm
by pipfromslitherine
You definitely have to be careful, and you cannot move any bytes around, just replace the existing characters.

Cheers

Pip

Re: Clones

Posted: Wed Oct 14, 2015 4:51 pm
by rbodleyscott
pipfromslitherine wrote:You definitely have to be careful, and you cannot move any bytes around, just replace the existing characters.
That is what I thought I had done. But who knows.

Re: Clones

Posted: Wed Oct 14, 2015 6:19 pm
by macdonncadh
Thanks Gentlemen...I thought I had come up with a time saver but I should have remembered most short cuts are not that short. I'll watch the .S3F thing too. They are easy enough to edit. I wanted to do something with the Bill and Bow formations but I do not seem to have that stock. The keil and shot looks very similar and I have those models.

Thanks again.

Re: Clones

Posted: Wed Oct 14, 2015 7:43 pm
by rbodleyscott
The bill and bow model is a clone of the keil shot anyway, with sound effect changed in the model .txt file.

Re: Clones

Posted: Sat Nov 23, 2019 3:20 am
by Ubberdorc
I was able to get this method to work using Notepad++
I know this is a dead thread but it might be useful for others.

pipfromslitherine wrote: Tue Oct 13, 2015 11:01 pm If you are careful to keep the texture names exactly the same size, you can actually edit the binary files too if you wish. The texture names are stored very early in the file data and are pretty easy to see in any binary editor (they tend to show text too).

Cheers

Pip