Clones
Moderators: rbodleyscott, Slitherine Core, Gothic Labs
-
- Corporal - Strongpoint
- Posts: 63
- Joined: Fri Apr 24, 2015 1:30 am
Clones
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.
-
- Field of Glory 2
- Posts: 28261
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Clones
This.macdonncadh wrote:OR am I going to have to name them in the text file and make them in the Squads file.
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.
Richard Bodley Scott


-
- Site Admin
- Posts: 9862
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Clones
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
Cheers
Pip
follow me on Twitter here
-
- Field of Glory 2
- Posts: 28261
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Clones
Hmm, I tried that and it did not seem to work, but maybe I did something wrong.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.
Richard Bodley Scott


-
- Site Admin
- Posts: 9862
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Clones
You definitely have to be careful, and you cannot move any bytes around, just replace the existing characters.
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
- Field of Glory 2
- Posts: 28261
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Clones
That is what I thought I had done. But who knows.pipfromslitherine wrote:You definitely have to be careful, and you cannot move any bytes around, just replace the existing characters.
Richard Bodley Scott


-
- Corporal - Strongpoint
- Posts: 63
- Joined: Fri Apr 24, 2015 1:30 am
Re: Clones
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.
Thanks again.
-
- Field of Glory 2
- Posts: 28261
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Clones
The bill and bow model is a clone of the keil shot anyway, with sound effect changed in the model .txt file.
Richard Bodley Scott


Re: Clones
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.
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