Hola.
Ésta es la lista de las nuevas cosas que se incluyen en ésta última versión:
New functions in release 1.7.05xx
Sample definitions in cvf and eng files:
BLUE – new keywoards
RED – position and path to graphic file
Door indicator
MultiStateDisplay (
Type ( DOORS_DISPLAY MULTI_STATE_DISPLAY )
Position ( 165 342 14 13 )
Graphic ( "..//..//common.cab//cab814//814doors.ace" )
States ( 2 2 1
State (
Style ( 0 )
SwitchVal ( 0 )
)
State (
Style ( 0 )
SwitchVal ( 1 )
)
)
)
Speed projected – achieved speed in next 1 minute
Dial (
Type ( SPEED_PROJECTED DIAL )
Position ( 305 275 4 30 )
Graphic ( "..//..//common.cab//cab814//M2.ace" )
Style ( NEEDLE )
ScaleRange ( 0 110 )
ScalePos ( 240 135 )
Units ( KM_PER_HOUR )
Pivot ( 28 )
DirIncrease ( 0 )
)
You can use DIAL, DIGITAL, GAUGE type
Speed limit (current
(only for signal lights)
( Dial (
Type ( SPEEDLIMIT DIAL )
Position ( 276 274 60 60 )
Graphic ( "..//..//common.cab//cab814//M3.ace" )
Style ( NEEDLE )
ScaleRange ( 0 110 )
ScalePos ( 240 135 )
Units ( KM_PER_HOUR )
Pivot ( 30 )
DirIncrease ( 0 )
)
Motor RPM – motor RPM dial
Dial (
Type ( RPM DIAL )
Position ( 304 278 6 26 )
Graphic ( „..//..//common.cab//cab814//814rych.ace“ )
Style ( NEEDLE )
ScaleRange ( 0 110 )
ScalePos ( 240 135 )
Units ( KM_PER_HOUR )
Pivot ( 24 )
DirIncrease ( 0 )
)
You can use DIAL, DIGITAL, GAUGE type
Absolute EL current value
Dial (
Type ( AMMETER_ABS DIAL )
Position ( 231 241 5 25 )
Graphic („ ..//..//common.cab//cab362//napeti.ace“ )
Style ( NEEDLE )
ScaleRange ( 0 1500 )
ScalePos ( 238 125 )
Units ( AMPS )
Pivot ( 11 )
DirIncrease ( 0 )
)
You can use DIAL, DIGITAL, GAUGE type
Independent Pantograps controls
Necessary condition – loco model must have two independent animated Panthographs named, Pantograph…1A, Pantograph …2A.
2-nd Pantograph controler - separate
Record in *.cvf file:
TwoState (
Type ( PANTOGRAPH2 TWO_STATE )
Position ( 121 328 70 70 )
Graphic ( ..//..//common.cab//cab362//sberac.ace )
NumFrames ( 2 2 1 )
Style ( ONOFF )
MouseControl ( 1 )
)
Record in *.eng file:
section
Engine ( ..
PantographToggle1 ( 0 1 1 )
PantographToggle2 ( 0 1 0 )
4 state combined controler, without end position (cyclic)
Record in *.cvf file:
MultiState (
Type ( PANTOGRAPHS_4C TRI_STATE )
Position ( 153 362 70 70 )
Graphic ( ..//..//common.cab//cab362//panto4.ace )
NumFrames ( 4 4 1 )
Style ( NONE )
MouseControl ( 1 )
Orientation ( 0 )
DirIncrease ( 1 )
)
Record in *.eng file:
section
Engine (..
.
PantographToggle1 ( 0 1 1 )
PantographToggle2 ( 0 1 0 )
PantographsToggle_4 ( 0 1 1 ) – initial position in accordace with pantho and pantho2 positions
Positions:
0 – both lowered
1 – pantho1 raised
2 – both raised
3 – pantho2 raised
4 state combined controler, with end position
Record in *.cvf file:
MultiState (
Type ( PANTOGRAPHS_4 TRI_STATE )
Position ( 153 362 70 70 )
Graphic ( ..//..//common.cab//cab362//panto4.ace )
NumFrames ( 4 4 1 )
Style ( NONE )
MouseControl ( 1 )
Orientation ( 0 )
DirIncrease ( 1 )
)
Record in *.eng file:
Engine (..
PantographToggle1 ( 0 1 1 )
PantographToggle2 ( 0 1 0 )
PantographsToggle_4 ( 0 1 1 ) – initial position in accordace with pantho and pantho2 positions
Positions:
0 – both lowered
1 – pantho1 raised
2 – both raised
3 – pantho2 raised
5 state combined controler, with end position
Record in *.cvf file:
MultiState (
Type ( PANTOGRAPHS_5 TRI_STATE )
Position ( 153 362 70 70 )
Graphic ( ..//..//common.cab//cab362//panto4.ace )
NumFrames ( 5 5 1 )
Style ( NONE )
MouseControl ( 1 )
Orientation ( 0 )
DirIncrease ( 1 )
)
Record in *.eng file:
Engine (..
PantographToggle1 ( 0 1 0)
PantographToggle2 ( 0 1 0 )
PantographsToggle_5 ( 0 1 2 ) – initial position in accordace with pantho and pantho2 positions
Positions:
0 – both raised
1 – pantho2 raised
2 – both lowered
3 – pantho1 raised
2 – both raised
For keyboard operating you have add definitions into c_eletric.txt
io_map ( P "Pantograph1Toggle" ALL_UP )
io_map ( P "Pantograph2Toggle" ALL_UP SHIFT_DOWN )
io_map ( P "PantographsInc" ALL_UP )
io_map ( P "PantographsDec" ALL_UP SHIFT_DOWN )
and translate it with iomconvunicode.exe
New sound triggers:
Trigger 18 is functional from now
Number Meaning
18 Brake Handle forwards (Loco brake)
23 EL loco power ON
24 EL loco power OFF
66 Pantograph2 Up
67 Pantograph2 Down
Sounds for Pantographs were separated. 2-nd Pantograph has its own triggers. Power trigger 23 – „Pover ON“ is activated after some of Pantograps is raised and vice versa, sound trigger 24 – „Power Off“ (engine trailing) is activated after both Pantograps are lowered.
Interesantísimo... por fin podemos implementar cosas como los cuentarrevoluciones