Hello Carlo and the rest of the world.
I'm trying to incorporate these functions to my new 3D cab, but it doesn't work. I'm using version T1.4-55-g04375e6bf. Just in case it wasn't the last unstable version, I downloaded it again, but it's the same.
This is a switch on the control desk with two states, which move the sunshield of the cockpit.
The lines of code for the .cvf file are:
TwoState (
Type ( ORTS_GENERIC_ITEM1 TWO_STATE )
Position ( 194 397 24 14 )
Graphic ("trans.ace")
NumFrames ( 2 2 1 )
Style ( ONOFF )
MouseControl ( 1 )
)
TwoState (
Type ( ORTSITEM1TWOSTATE TWO_STATE )
Position ( 194 397 24 14 )
Graphic ("trans.ace")
NumFrames ( 2 2 1 )
Style ( ONOFF )
MouseControl ( 0 )
)
The .log file gives me this answer:
Information: Skipped unknown ControlType ORTS_GENERIC_ITEM1 in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\FV2400\CABVIEW\FV2401.cvf:line 24
Information: Skipped unknown ControlType ORTSITEM1TWOSTATE in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\FV2400\CABVIEW\FV2401.cvf:line 33
Information: Skipped unknown ControlType ORTS_GENERIC_ITEM1 in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\FV2400\CABVIEW\FV2401.cvf:line 24
Information: Skipped unknown ControlType ORTSITEM1TWOSTATE in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\FV2400\CABVIEW\FV2401.cvf:line 33
Information: Skipped unknown ControlType ORTS_GENERIC_ITEM1 in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\FV2400\CABVIEW\FV2401.cvf:line 24
Information: Skipped unknown ControlType ORTSITEM1TWOSTATE in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\FV2400\CABVIEW\FV2401.cvf:line 33
Information: Skipped unknown ControlType ORTS_GENERIC_ITEM1 in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\FV2400\CABVIEW\FV2401.cvf:line 24
Information: Skipped unknown ControlType ORTSITEM1TWOSTATE in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\FV2400\CABVIEW\FV2401.cvf:line 33
If there are any clues, someone who has managed to make these controls work, I would be very grateful (and I guess the rest of the developers too).
Thanks in advance...