Elvas Tower: Freight Anims for tank locos - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Freight Anims for tank locos Rate Topic: -----

#1 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,231
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 02 June 2020 - 08:20 AM

I have been trying to add a range of freight anims to a tank locomotive - static ones for various tools and a driver, plus load anims for fuel and water, including a dynamic model for the fuel.

It should probably be something like this:

ORTSFreightAnims ( WagonEmptyWeight( 15.12t-us )
EmptyORTSDavis_A ( 1227 )
EmptyORTSDavis_B ( 225 )
EmptyORTSDavis_C ( 3.78 )
FreightAnimContinuous (
IntakePoint ( -1.70 3.0 FuelWood )
Shape ( firewood.s )
MaxHeight ( 0.0 )
MinHeight ( -0.6 )
FreightWeightWhenFull ( 1680lb )
FullAtStart ( 1 ))

FreightAnimContinuous (
IntakePoint ( -2.27 0.6 FuelWater )
FreightWeightWhenFull ( 6258lb )
FullAtStart ( 1 ))

FreightAnimStatic (
SubType( Default )
Shape( lettering.s )
Offset( 0, 0, 0 ))

FreightAnimStatic (
SubType( Default )
Shape( hose_small.s )
Offset( 0, 0, 0 ))
)


Only if I put that, then the wood pile does not go down even as the fuel is burned. Looking at the latest version of the OR manual it says:

Quote

• FreightWeightWhenFull defines the mass of the freight when the wagon is full; the mass of the
wagon is computed by adding the mass of the empty wagon to the actual mass of the freight
• FullAtStart defines wether the wagon is fully loaded (1) or is empty at game start; if there are more
continuous OR freightanims that have FullAtStart set to 1, only the first one is considered. <br style=" font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">


From which I might expect the above to cause the woodpile to go down, whilst the water remains untouched. Not an ideal situation. For a tank loco (or a tender, or even a diesel with a heating boiler, both fuel and water should be full at start and both should be used up).

Having tried various combinations of FuelWood, FuelCoal and or FuelWater with or without static freight anims, both in the eng and in a separate include file, it seems that only version that will show the woodpile going down as the firewood is burned is to use the MSTS freight anim format.

ORTSFreightAnims (

WagonEmptyWeight( 15.12t-us )
EmptyORTSDavis_A ( 1227 )
EmptyORTSDavis_B ( 225 )
EmptyORTSDavis_C ( 3.78 )

FreightAnimContinuous (
IntakePoint ( -1.70 3.0 FuelWood )
FreightWeightWhenFull ( 1680lb )
FullAtStart ( 1 ))

FreightAnimContinuous (
IntakePoint ( -2.27 0.6 FuelWater )
FreightWeightWhenFull ( 6258lb )
FullAtStart ( 1 ))

FreightAnimStatic (
SubType( Default )
Shape( lettering.s )
Offset( 0, 0, 0 ))

FreightAnimStatic (
SubType( Default )
Shape( hose_small.s )
Offset( 0, 0, 0 ))
)

FreightAnim ( firewood.s 0.0 -0.6 )


Whilst that shows the wood being used up visually, there is no change in the mass of the loco due to usage of fuel or water. When both coal and water are specified separately, only the mass of the second fuel listed in the anim section is added to the empty mass of the loco.

To get both coal and water mass added to the empty loco mass.
ORTSFreightAnims (

WagonEmptyWeight( 15.12t-us )
EmptyORTSDavis_A ( 1227 )
EmptyORTSDavis_B ( 225 )
EmptyORTSDavis_C ( 3.78 )

FreightAnimContinuous (
FreightWeightWhenFull ( 7938lb ))

FreightAnimStatic (
SubType( Default )
Shape( lettering.s )
Offset( 0, 0, 0 ))

FreightAnimStatic (
SubType( Default )
Shape( hose_small.s )
Offset( 0, 0, 0 ))
)

FreightAnim ( firewood.s 0.0 -0.6 )


Can be used. Although this gives the correct total mass, as before there is no decrease in mass as fuel is consumed.



#2 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,888
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 03 June 2020 - 02:02 AM

I will have a look at it, and see if I can identify the problem.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users