On the Creation of New Units

Moderators: rbodleyscott, Slitherine Core, Gothic Labs

Post Reply
macdonncadh
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 63
Joined: Fri Apr 24, 2015 1:30 am

On the Creation of New Units

Post 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.
jomni
Sengoku Jidai
Sengoku Jidai
Posts: 1394
Joined: Thu Dec 03, 2009 1:20 am

Re: On the Creation of New Units

Post 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.
macdonncadh
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 63
Joined: Fri Apr 24, 2015 1:30 am

Re: On the Creation of New Units

Post by macdonncadh »

Thank you sir, will make sure to do that. I trust NotePad in Windows should work.
macdonncadh
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 63
Joined: Fri Apr 24, 2015 1:30 am

Re: On the Creation of New Units

Post 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.
jomni
Sengoku Jidai
Sengoku Jidai
Posts: 1394
Joined: Thu Dec 03, 2009 1:20 am

Re: On the Creation of New Units

Post by jomni »

I haven't played with unit sounds much so maybe Richard can pitch in.
macdonncadh
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 63
Joined: Fri Apr 24, 2015 1:30 am

Re: On the Creation of New Units

Post 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!
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28330
Joined: Sun Dec 04, 2005 6:25 pm

Re: On the Creation of New Units

Post 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.
Richard Bodley Scott

Image
macdonncadh
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 63
Joined: Fri Apr 24, 2015 1:30 am

Re: On the Creation of New Units

Post 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.
Post Reply

Return to “Modders Corner”