According to the manual the following cabview control is avaible :
"ORTS_PLAYER_DIESEL_ENGINE_STATE .
This control respectively selects frames 0, 1, 2, 3 for the player locomotive engine states Stopped, Starting, Running and Stopping. It is a display-only control".
My question is whether I can assign 4 frames to view these states on the locomotive dashboard or are they only visible in the ``Train Driving Info`` HUD ? I tried to assign 4 LEDs for these states on the board but this command does not work (it is invisible) !
Thank you!
Page 1 of 1
ORTS_PLAYER_DIESEL_ENGINE_STATE Further information
#2
Posted 16 May 2022 - 07:01 AM
MultiStateDisplay ( Type ( ORTS_PLAYER_DIESEL_ENGINE_STATE MULTI_STATE_DISPLAY ) Position ( <YOURposition> X Y <YOURsize> A B ) Graphic ( YOURFILE.ace ) States ( 4 2 2 <or 4 4 1> State ( Style ( 0 ) SwitchVal ( 0 ) ) State ( Style ( 1 ) SwitchVal ( 0.25 ) ) State ( Style ( 2 ) SwitchVal ( 0.5 ) ) State ( Style ( 3 ) SwitchVal ( 0.75 ) ) ) )
As usual, doesn't it work?
#3
Posted 16 May 2022 - 07:07 AM
Weter, on 16 May 2022 - 07:01 AM, said:
MultiStateDisplay ( Type ( ORTS_PLAYER_DIESEL_ENGINE_STATE_DISPLAY ) Position ( <YOURposition> X Y <YOURsize> A B ) Graphic ( YOURFILE.ace ) States ( 4 2 2 <or 4 4 1> State ( Style ( 0 ) SwitchVal ( 0 ) ) State ( Style ( 1 ) SwitchVal ( 1 ) ) State ( Style ( 2 ) SwitchVal ( 2 ) ) State ( Style ( 3 ) SwitchVal ( 3 ) ) ) )
Hello!
I tried according to the example in the manual the following block:
MultiState (
Type ( ORTS_PLAYER_DIESEL_ENGINE_STATE TRI_STATE)
Position ( 266 292.5 8 8 )
Graphic ( Regim_functionare_motor )
States ( 4 4 1 )
Style ( NONE )
MouseControl ( 1 )
Orientation ( 0 )
DirIncrease ( 1 )
)
but it didn't work!
I will try to revise according to your suggested block.
Thank You!
#4
Posted 16 May 2022 - 07:28 AM
It isn't TRISTATE certainly, as we know, it has 4 states.
MultiStateDYSPLAY (
Type ( ORTS_PLAYER_DIESEL_ENGINE_STATETRIMULTI_STATE_DYSPLAY)
Position ( 266 292.5 8 8 )
Graphic ( Regim_functionare_motor.ACE )
States ( 4 4 1
State (
Style ( 0 )
SwitchVal ( 0 )
)
State (
Style ( 0 )
SwitchVal ( 0.25 )
)
State (
Style ( 0 )
SwitchVal ( 0.5 )
)
State (
Style ( 0 )
SwitchVal ( 0.75 )
)
)
Style ( NONE )
MouseControl ( 1 )
Orientation ( 0 )
DirIncrease ( 1 )
)
MultiStateDYSPLAY (
Type ( ORTS_PLAYER_DIESEL_ENGINE_STATE
Position ( 266 292.5 8 8 )
Graphic ( Regim_functionare_motor.ACE )
States ( 4 4 1
State (
Style ( 0 )
SwitchVal ( 0 )
)
State (
Style ( 0 )
SwitchVal ( 0.25 )
)
State (
Style ( 0 )
SwitchVal ( 0.5 )
)
State (
Style ( 0 )
SwitchVal ( 0.75 )
)
)
MouseControl ( 1 )
Orientation ( 0 )
DirIncrease ( 1 )
)
#5
Posted 16 May 2022 - 08:02 AM
I know and understand what you have exposed, but it is the example in the manual. Apart from the term ``.ace`` which I forgot to copy in my example the rest is ``copy paste`` from the manual.
Unfortunately the block you suggested doesn't work either and I don't know why! I am attaching the proofs.LED marked in pictures does not light up!
Thank You!
Unfortunately the block you suggested doesn't work either and I don't know why! I am attaching the proofs.LED marked in pictures does not light up!
Thank You!
Attached File(s)
-
LDH-2002.zip (2.23K)
Number of downloads: 106
#6
Posted 16 May 2022 - 08:21 AM
Regim_functionare_motor .ace
I see a space defore ".ace"
Is it within actual filename?
The rest looking right,
I'm only not sure about SwitchValues, I suggested.
How does that *.ace look like?
As an overlay?
If You'll shift it for seeing is it really works and what wrames does it actually show?
I see a space defore ".ace"
Is it within actual filename?
The rest looking right,
I'm only not sure about SwitchValues, I suggested.
How does that *.ace look like?
As an overlay?
If You'll shift it for seeing is it really works and what wrames does it actually show?
#7
Posted 16 May 2022 - 09:14 AM
Yes, the mistake detected is the same as the one exposed. There is a break between the name and .ACE. I corrected it and now it works. It's super OK. Thanks again.
#8
Posted 16 May 2022 - 09:16 AM
Yes, read and understand Your LOG-file after evety test.
Go further, than we stay now.
Good luck.
Go further, than we stay now.
Good luck.
#10
Posted 16 May 2022 - 01:30 PM
It just so happened, Randy.
Insofar, my experience and skills are out of work for last 1,5 years, why not to use that for helping the other one?
Insofar, my experience and skills are out of work for last 1,5 years, why not to use that for helping the other one?
Page 1 of 1