Page 1 of 1

On the Creation of New Units

Posted: Sun Aug 30, 2015 7:59 pm
by macdonncadh
If I have the 3SF stock and I want to have a new unit type, could I rename 3SF model as, for instance, Scottish_Clansmen_0, create the corresponding unit graphic, and entry in the squads file, and have the proper entry in the army list, should my unit work, or what else would I have to do. I like the look of the Mob model, which better reflects the less formal formation of Scottish highlanders.

Suggestions...warnings...

Thanks.

Re: On the Creation of New Units

Posted: Mon Aug 31, 2015 9:45 am
by jomni
Yes you can do that.

You must also open the 3SF in a text editor and change the name of the texture file. As I assume your texture file should also be in a new name. If you don't change that, it will point to the old texture.

Re: On the Creation of New Units

Posted: Tue Sep 01, 2015 2:10 am
by macdonncadh
Thank you sir, will make sure to do that. I trust NotePad in Windows should work.

Re: On the Creation of New Units

Posted: Wed Sep 02, 2015 9:57 pm
by macdonncadh
I have done all of the above and everything works really well except one thing, which I believe is a holdover from the original unit. I did all the renaming etc as Highland_Musketeers to replace the archer unit shape and graphic. I did not fool with the squads file and yet my highland musketeers have the sound of a crossbow volley. I did a scan of the squad file and it is not immediately apparent to me where to make a change to fix this.

Also, I seem to remember that some 3D models just don't have volley smoke and that this cannot be helped. I used the Mob model and I am presuming this is one of those.

Thanks in advance for any advice offered.

Re: On the Creation of New Units

Posted: Wed Sep 02, 2015 11:35 pm
by jomni
I haven't played with unit sounds much so maybe Richard can pitch in.

Re: On the Creation of New Units

Posted: Thu Sep 03, 2015 1:34 am
by macdonncadh
Thanks, but I got it sorted out. The unit text file that goes with the 3D model has several fields of numbers. By fooling around, comparing the number sets I saw that one of the fields was different from all shot units and the same as all crossbow units.

Bob's your uncle.

It worked. My Highland musketeers now fire muskets!

Re: On the Creation of New Units

Posted: Thu Sep 03, 2015 7:03 am
by rbodleyscott
macdonncadh wrote:Thanks, but I got it sorted out. The unit text file that goes with the 3D model has several fields of numbers. By fooling around, comparing the number sets I saw that one of the fields was different from all shot units and the same as all crossbow units.

Bob's your uncle.

It worked. My Highland musketeers now fire muskets!
With or without smoke?

I doubt if you can make them emit smoke because the model probably lacks the necessary emitters.

Re: On the Creation of New Units

Posted: Wed Sep 09, 2015 3:35 am
by macdonncadh
Definitely without smoke - for precisely the reason you state. Kinda foiled the whole point of the exercise - as I really wanted to use that model (you gotta agree it looks more like what you would think Scottish Clansmen would have looked like "in formation.) However...the glass is always full - I learned something about how the models work and where to look to change the sound, I suspect other cool things might lurk in waiting for us in those unit.Txt files. Maybe someday, in the future, we can get a model like that which does emit smoke. Though I suspect you have 1/2 a million items ahead of it on the priority list.

P.S.

Thanks and congrats for the new update. Great surprise. The support for this game is really commendable. And there isn't another title on the market I enjoy playing so much as I do Pike & Shot.