Is it possible to use the same .s file in multiple .engs

Learn the finer points of making your own engines and wagons!

Moderator: Moderators

Locked
User avatar
jefran
Well Established Forum Member
Posts: 810
Joined: Fri Feb 21, 2003 8:18 am

Is it possible to use the same .s file in multiple .engs

Post by jefran »

This is a very basic question, and maybe should go in the beginners' slot. I wish to produce a number of variations on a basic theme, and was hoping to have a common .s file with the variations being in a freight animation overlay. I have tried the following

QUEENHILLS.ENG
has a .s file of CONTEMPBASIC.S
and frt anim QUEENOLAY.S

I also have a CONTEMPBASIC.sd file which points to CONTEMPBASIC.S

Obviously it doesn't work, or I wouldn't be asking the question!

Is the thing actually possible, or have I not tried hard enough?
User avatar
jbilton
Very Active Forum Member
Posts: 19267
Joined: Fri Oct 10, 2003 12:08 pm
Location: At home ..waiting to go to Work.
Contact:

Post by jbilton »

Hi
Yes it should work.
A lot of newer freight stock does this, for number changes etc.
Check everything..its possibly just a typo.
Cheers
Jon

PS MSTS doesn't check the s file until loading...that is to say when I'm reskining I change s files in the eng file on the fly, without rebooting.
------------------------Supporting whats good in the British community------------------------
Image
User avatar
jefran
Well Established Forum Member
Posts: 810
Joined: Fri Feb 21, 2003 8:18 am

Post by jefran »

Thanks - I'll persevere now I know it can be done.
User avatar
jefran
Well Established Forum Member
Posts: 810
Joined: Fri Feb 21, 2003 8:18 am

Post by jefran »

A typing error it was - serve me right for making the name so long!

Thanks again
User avatar
CaptainBazza
Has a sign reading.. Its NOT the end of the world!
Posts: 18852
Joined: Tue May 13, 2003 10:21 am
Location: Land of the Long White Cloud.

Post by CaptainBazza »

but you cannot have two shapes sharing the same texture (same file name) in the same folder. The sim will only display the first shape.

Cheers Bazza
User avatar
SavV1
Been on the forums for a while
Posts: 153
Joined: Thu Apr 20, 2006 10:44 pm
Location: Somewhere in New Zealand
Contact:

Post by SavV1 »

@ Bazza: Huh? You seem to say that if I have two loco's in the same folder, and they share a texture one of them isnt going to work? I am lost...and tired...maybe I just missed the entire gist of what you said.

Cheer
Cheers
Stefan van Vliet

TSNZ Webmaster
http://www.tsnz.co.nz
User avatar
Nvincer
Very Active Forum Member
Posts: 2219
Joined: Wed Jan 26, 2005 4:01 pm
Location: Ashford, Kent
Contact:

Post by Nvincer »

SavV1 wrote:@ Bazza: Huh? You seem to say that if I have two loco's in the same folder, and they share a texture one of them isnt going to work?

Cheer
I'm not sure what Bazza means but I don't think it can be that.

Ben 8)
Ben Vincer
------------------------------------------
Visit Bubble's Railways - http://www.bubblesrailways.co.uk
Dreamland (Margate) Miniature Railway Route and Stock Pack now Available!
kevmt
Very Active Forum Member
Posts: 2861
Joined: Tue Dec 04, 2001 12:00 am
Contact:

Post by kevmt »



2 different locos/.s files, both in the same folder sharing the same texture files.

Cheers,
Kevin
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Post by ianmacmillan »

You can even alias to a texture located in a different folder from within the shape file.

95% of all my loaded wagons use RCH_Loads.ace.

The .wag file aliases to the shape file in the Common.Loads folder which in turn aliases to the RCH_Loads.ace in the commonace folder.

This way you don't have multiple copies of the same files in each wagon folder.
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
User avatar
CaptainBazza
Has a sign reading.. Its NOT the end of the world!
Posts: 18852
Joined: Tue May 13, 2003 10:21 am
Location: Land of the Long White Cloud.

Pulling a loco out of the hat! ;-)

Post by CaptainBazza »

I tried a consist with two different loco shapes, which accidently (my fault) shared a common texture/s. It loaded fine in the consist editor, but when I ran the consist in the sim, one of the locos was 'missing'.

Eventually, I found and solved the situation by renaming (creating a separate set of textures) the offending texture/s files. I next amended the texture reference data in the shape file. Then I loaded the same consist back into the sim and both the locos were there.
2 different locos/.s files, both in the same folder sharing the same texture files.

Kevin, if the problem doesn't occur in other circumstances that it does not surprise me too much, because the sim is still full of weird quirks.
You can even alias to a texture located in a different folder from within the shape file.
Could be why you don't have the problem, Ian, perhaps it applies to shapes and textures sharing the same folder?


Cheers Bazza
User avatar
CaptainBazza
Has a sign reading.. Its NOT the end of the world!
Posts: 18852
Joined: Tue May 13, 2003 10:21 am
Location: Land of the Long White Cloud.

Post by CaptainBazza »

Kevin, is that screenshot taken on the Ffestiniog?

Attractive locos, those two, time for the grungy ol' C2 banger to reappear, and lower the tone, I think.

:lol:
kevmt
Very Active Forum Member
Posts: 2861
Joined: Tue Dec 04, 2001 12:00 am
Contact:

Post by kevmt »

CaptainBazza wrote:Kevin, is that screenshot taken on the Ffestiniog?

Attractive locos, those two, time for the grungy ol' C2 banger to reappear, and lower the tone, I think.

:lol:
:) :)

Picture is on the Ffestiniog route. Just below Campbells Platform on Dduallt tank curve.

Look forward to seeing your loco on the route :)

Cheers,
Kevin
User avatar
SavV1
Been on the forums for a while
Posts: 153
Joined: Thu Apr 20, 2006 10:44 pm
Location: Somewhere in New Zealand
Contact:

Post by SavV1 »

@ Bazza:

I have two locos and two tenders in the same folder, sharing a mish-mash of textures. The Rogers K's they are no less, in pre-release state before I sorted them out for upload and BETA. They work perfectly fine, no missing bits anywhere. Maybes its a quirk of your install..


Cheers
Cheers
Stefan van Vliet

TSNZ Webmaster
http://www.tsnz.co.nz
Locked

Return to “[MSTS1] Building Rolling Stock”