I see what i can do next weekend, when workweek is finish.
Some cab controls can't be operated by mouse
#12
Posted 21 September 2018 - 08:10 AM
With X.4220 I have added cab and mouse controls for left doors (ORTS_LEFTDOOR), right doors (ORTS_RIGHTDOOR) and mirrors (ORTS_MIRRORS). Last functional improvement before 1.3...
#13
Posted 21 September 2018 - 11:00 AM
#14
Posted 22 September 2018 - 02:27 AM
Hello Carlo,
I see you have add left and door controls too.
In my onoffcial code i have made this too, but with name button, normal it must be toggle or something.
Becauze ORTS doorsystem is configuratate with toggle/button commands.
So if we use a multistatedisplay for add a light (indicator) of doors on cabview (left, right, both) there is not time-elapse between command and closing of doors.
In MSTS Bin was this correct, i think in that time the timer works on animationtime of .s
So my opinian incase doors and a correct display of doors is that we need for doordisplays in cabview a system with timer
Linking to a token in ENG & WAG files like this:
ORTSDoors (
Opening (
Delay ( 3s )
)
Closing (
Delay ( 6s )
)
)
OR...
ORTSDoorsLeft (
Opening (
Delay ( 3s )
)
Closing (
Delay ( 6s )
)
)
ORTSDoorsRight (
Opening (
Delay ( 3s )
)
Closing (
Delay ( 6s )
)
)
I see you have add left and door controls too.
In my onoffcial code i have made this too, but with name button, normal it must be toggle or something.
Becauze ORTS doorsystem is configuratate with toggle/button commands.
So if we use a multistatedisplay for add a light (indicator) of doors on cabview (left, right, both) there is not time-elapse between command and closing of doors.
In MSTS Bin was this correct, i think in that time the timer works on animationtime of .s
So my opinian incase doors and a correct display of doors is that we need for doordisplays in cabview a system with timer
Linking to a token in ENG & WAG files like this:
ORTSDoors (
Opening (
Delay ( 3s )
)
Closing (
Delay ( 6s )
)
)
OR...
ORTSDoorsLeft (
Opening (
Delay ( 3s )
)
Closing (
Delay ( 6s )
)
)
ORTSDoorsRight (
Opening (
Delay ( 3s )
)
Closing (
Delay ( 6s )
)
)
#15
Posted 30 March 2019 - 10:45 AM
Csantucci, on 29 July 2017 - 12:02 AM, said:
With x.3907 wipers can now be operated by mouse.
Can someone make a full list of controls that can't be operated by mouse?
Can someone make a full list of controls that can't be operated by mouse?
I am making a 3d cab at the moment. I can operate the wipers using "v", but I can't seem to get them controlled by the mouse. Does there have to be something in the cab file?
Geoff
#16
Posted 30 March 2019 - 11:43 AM
#18
Posted 31 March 2019 - 01:58 AM
Thanks Carlo, It's working now!
So to summarise, for anyone else trying this; there has to be an animated object called EXTERNALWIPERS:0:0 , and that is the wiper arm. Also, there has to be another animated object called WIPERS:0:0, which is the switch. Then in the cvf cab definition file in the Cabview3d folder, there has to be a control block like this :
TwoState (
Type ( WIPERS TWO_STATE )
Position ( 537 306 15 23 )
Graphic ( )
NumFrames ( 2 1 2 )
Style ( ONOFF )
MouseControl ( 1 )
Then, when the switch is operated by the mouse in 3d cabview, the wipers are animated.
Additionally, if there are further animated wiper arms or blades, these objects are called EXTERNALWIPERS:0:1, and so on.
Geoff
So to summarise, for anyone else trying this; there has to be an animated object called EXTERNALWIPERS:0:0 , and that is the wiper arm. Also, there has to be another animated object called WIPERS:0:0, which is the switch. Then in the cvf cab definition file in the Cabview3d folder, there has to be a control block like this :
TwoState (
Type ( WIPERS TWO_STATE )
Position ( 537 306 15 23 )
Graphic ( )
NumFrames ( 2 1 2 )
Style ( ONOFF )
MouseControl ( 1 )
Then, when the switch is operated by the mouse in 3d cabview, the wipers are animated.
Additionally, if there are further animated wiper arms or blades, these objects are called EXTERNALWIPERS:0:1, and so on.
Geoff
#19
Posted 31 March 2019 - 04:39 AM
Next time I modify the manual, I'll add something about this to provide more complete info.