Page 1 of 1

Unit Models

Posted: Sun May 17, 2015 4:59 am
by macdonncadh
Is it possible - for example - to take the Dragoons model and copy it, rename it Dragoons_Late (or something of the sort) and have a second dragoons to wrap with a new skin? I would like to use the dragoons to be a kind of leader and staff because the are dismounted when motionless, but I want them to have different flags, uniforms, etc. Or are the names and numbers of the 3D models coded somewhere else?

Thanks kindly for entertaining the question, however ridiculous it may turn out to be.

Re: Unit Models

Posted: Sun May 17, 2015 9:30 am
by rbodleyscott
You can do it simply by cloning the model with a new name. This will work correctly in Skirmish mode. However, it won't work correctly in the Editor because the model .s3f files have internal references to the texture name, so in the Editor the "new" model will use the texture for the old model.

Unfortunately you cannot edit the filename reference in the .s3f file (you can but it doesn't seem to work). However you can easily edit it in the .s4f source file.

PM me with your email address and I will send you the Dragoons.S4f file with simple instructions as to how to use it.

Re: Unit Models

Posted: Sun May 17, 2015 12:21 pm
by jomni
Wait. Editing the .s4f results into an error when loading the 3d model in the game for some reason. So I think I have to go back to my .s3f files to do it?

Re: Unit Models

Posted: Sun May 17, 2015 2:36 pm
by rbodleyscott
jomni wrote:Wait. Editing the .s4f results into an error when loading the 3d model in the game for some reason. So I think I have to go back to my .s3f files to do it?
Yes, sorry, that is what I meant. I had it the wrong way round. It is the S4f files that can't usefully be edited, and the s3f files that can.

Re: Unit Models

Posted: Tue May 19, 2015 3:54 pm
by macdonncadh
Thanks, Richard. The email has been sent and I am looking forward to your response. I have having a delightfully time both playing with and tinkering with P&S. I wait with baited breath to see what you have in store for us in the future - or as you put it so elegantly "In due course."

All my best.

Re: Unit Models

Posted: Wed May 20, 2015 11:34 am
by rbodleyscott
macdonncadh wrote:Thanks, Richard. The email has been sent and I am looking forward to your response. I have having a delightfully time both playing with and tinkering with P&S. I wait with baited breath to see what you have in store for us in the future - or as you put it so elegantly "In due course."

All my best.
As I cannot get at my computer to send you the dragoons.s3f for a few days, perhaps jomni would be kind enough to send it to you, as I think it is among the stuff I sent him previously.

You can load a clone of the .s3f file, with the new filename, into a text editor and change the texture filename reference. Then if you put the new .s3f file in your campaign's /data/battle/units folder, the program will automatically generate the .s4f version.

Re: Unit Models

Posted: Wed May 20, 2015 10:12 pm
by jomni
rbodleyscott wrote:
macdonncadh wrote:Thanks, Richard. The email has been sent and I am looking forward to your response. I have having a delightfully time both playing with and tinkering with P&S. I wait with baited breath to see what you have in store for us in the future - or as you put it so elegantly "In due course."

All my best.
As I cannot get at my computer to send you the dragoons.s3f for a few days, perhaps jomni would be kind enough to send it to you, as I think it is among the stuff I sent him previously.

You can load a clone of the .s3f file, with the new filename, into a text editor and change the texture filename reference. Then if you put the new .s3f file in your campaign's /data/battle/units folder, the program will automatically generate the .s4f version.
macdonnacadh, check your PM.

Re: Unit Models

Posted: Sat May 23, 2015 1:07 am
by macdonncadh
Thanks Richard, Jomni...