PDA

View Full Version : Adding a Static Ref


fluteman70
06-23-2008, 05:14 PM
When adding the following:

Static (
Class ( Military )
Filename ( TCarrierb.s )
Align ( None )
Description ( 8_Ton_Carrier_Loaded )
)



CarSpawnerItem( "TCarrierb.s" 9 )


Do I leave that much space between the last ) and CarSpawnerItem?

Second question on this same issue. If the above static file accidentally got added twice to Route's Original Ref file, would affect MSTS reading it correctly?
Thanks,
Fred

lelandfletcher
06-23-2008, 05:44 PM
Dear fluteman70,

I am confused by your question.

The

Static (
Class ( Military )
Filename ( TCarrierb.s )
Align ( None )
Description ( 8_Ton_Carrier_Loaded )
)

is added to your .ref file.



The

CarSpawnerItem( "TCarrierb.s" 9 )

is added to your Carspawn.dat file, not the .ref file.

Make sure you add one to the total number above the first CarSpawnerItem.

Yours truly,
Leland

fluteman70
06-23-2008, 07:39 PM
O.K. It obvious I am the one that is confused. The static file that I showed you, I copied from the "little" ref file they provided with instructions to copy it to the Route's main Ref file. It said nothing about the CarspawnerItem.

I will follow you directions and see if I can do it correctly.
Thank you for your help,
Fred

fluteman70
06-24-2008, 11:02 AM
Everything worked quite well and I learned something new. Thanks for your assistance.
Regards,
Fred