Escenarios personalizados: Difference between revisions

From SimRail Wiki
Jump to navigation Jump to search
(Created page with "Cómo crear escenarios personalizadosthumb|300x300pixel|Góra Wlodowska =="Path" para los escenarios== El directorio por omisión es: ''"C:\Steam\steamapps\common\SimRail\SimRail_Data\StreamingAssets\Sceneries"'' o dicho de otra manera, ''""Path" a Steam Library\SimRail\SimRail_Data\StreamingAssets\Sceneries"'' ====Cargas permitidas==== LHS Máx.: 900m y 6000t Máx. Línea normal: 700m y 4500t Traxx: Máx. 2500-2800t Dragon2: 3200-3500 subida...")
 
No edit summary
Line 106: Line 106:
  "windSpeed": 10,
  "windSpeed": 10,
  "windDeg": 30
  "windDeg": 30
===Triggers===
===Activadores===
  ''__''
  ''__''
  "$type": "''SimrailEvent.ObjectiveStateTrigger''",
  "$type": "''SimrailEvent.ObjectiveStateTrigger''",

Revision as of 18:42, 12 April 2023

Cómo crear escenarios personalizados

Góra Wlodowska

"Path" para los escenarios

El directorio por omisión es: "C:\Steam\steamapps\common\SimRail\SimRail_Data\StreamingAssets\Sceneries"
o dicho de otra manera, ""Path" a Steam Library\SimRail\SimRail_Data\StreamingAssets\Sceneries"

Cargas permitidas

LHS Máx.: 900m y 6000t Máx. Línea normal: 700m y 4500t Traxx: Máx. 2500-2800t
Dragon2: 3200-3500 subida en pendiente

Material rodante

Mercancías
424Z/424Z_brazowy
424Z/424Z
Concrete_slab
Gas_pipeline
Pipeline
Sheet_metal
Steel_circle
T-beam
Tie
Tree_trunk
Wooden_beam
RandomContainerAll
RandomContainer3x20
RandomContainer1x40
RandomContainer2040
RandomContainer1x20
RandomContainer2x20

412W/412W_v4_364-9_b Variant
412W/412W_v4_364-9 Variant
Coal
Sand
Ballast
WoodLogs
Pasajeros
11xa/112A_50 51 19-08 136-0 Variant
11xa/112A_51 51 19-70 003-4 Variant
11xa/111A_50 51 20-00 608-3 Variant
11xa/111A_50 51 20-08 607-7 Variant
11xa/111A_51 51 20-70 829-9 Variant
11xa/111A_51 51 20-71 102-0 Variant
z2/a9emnouz_61511970214-5
z2/a9mnouz_61511970234-3
z2/b11mnouz_61512170064-0
z2/b11mnouz_61512170098-8
z2/wrmnouz_61518870191_1
z2/b11gmnouz_61512170107-7
Locomotoras
4E/EU07-096 - PKP Cargo
4E/EU07-085 - PKP IC
4E/EP07-135 - Green
PKP Dragon2/E6ACTad
Traxx/E186-134
Automotores eléctricos
Elf/EN96-001 - PR
Elf/EN76-022 - KM
Elf/EN76-006 - KŚ
Pendolino/ED250-018 Variant
Ajustes de frenado
G, P y T - Introducidas entre los parámetros de peso y coche
Ejemplo
412W/412W_v4_364-9_b Variant:G:55@Coal
412W/412W_v4_364-9_b Variant - Stock G - Brake Setting
55 - Peso (en toneladas)
Coal - Load 412W Brown variante con 55t de carbón y frenos ajustados a G.
Ejemplo de tren MOW
4E/EP07-135+412W/412W_v4_364-9 Variant::53@Ballast+424Z/424Z::48@Tie+412W/412W_v4_364-9 Variant::53@Ballast+412W/412W_v4_364-9 Variant::52@Ballast+412W/412W_v4_364-9_b Variant::58@Sand+412W/412W_v4_364-9 Variant::54@Ballast+424Z/424Z::48@Tie+412W/412W_v4_364-9 Variant::54@Ballast+424Z/424Z::48@Tie+412W/412W_v4_364-9 Variant::51@Ballast+412W/412W_v4_364-9 Variant::56@Ballast+412W/412W_v4_364-9_b Variant::52@Sand+412W/412W_v4_364-9 Variant::54@Ballast+424Z/424Z::48@Tie+412W/412W_v4_364-9 Variant::51@Ballast+412W/412W_v4_364-9_b Variant::52@Sand+412W/412W_v4_364-9 Variant::54@Ballast+412W/412W_v4_364-9 Variant::53@Ballast+424Z/424Z::48@Tie+424Z/424Z::48@Tie+412W/412W_v4_364-9 Variant::55@Ballast+412W/412W_v4_364-9 Variant::55@Ballast

Acciones

__
"$type": "SimrailEvent.PostNotify",
"res": { "$ref": "210" },
"timeout": 2.0
__
"$type": "SimrailEvent.VehicleStartupTutorial",
"train": { "$ref": "1000" },
"willFinish": { "$ref": "5000" },
"tutorial": 7
__
"$type": "SimrailEvent.SetObjectiveState",
"objective": { "$ref": "5000" },
"state": 1
__
"$type": "SimrailEvent.SetCabPaper",
"res": { "$ref": "220" },
"position": 1
__
"$type": "SimrailEvent.TrafficCommand",
"commandText": "
__
$type": "SimrailEvent.FinishAction"
__
"$type": "SimrailEvent.TimerAction",
"timer": { "$ref": "207" },
"action": 1
__
"$type": "SimrailEvent.CoroutineDelayAction",
"delay": 3.0,
"until": false
__
"$type": "SimrailEvent.WeatherCommand",
"instant": false,
"weatherCode": 741,
"temperature": 22.3,
"pressure": 1000,
"humidity": 92,
"visibility": 1000,
"windSpeed": 10,
"windDeg": 30

Activadores

__
"$type": "SimrailEvent.ObjectiveStateTrigger",
"objective": { "$ref": "250" },
"state": 3
__
"$type": "SimrailEvent.TrainArrivedTrigger",
"stationName": "Sosnowiec Dańdówka",
"train": { "$ref": "1000" }
__
"$type": "SimrailEvent.TimerFinishTrigger",
"timer": { "$ref": "300" }
__
"$type": "SimrailEvent.ImmediateOnceTrigger"
__
"$type": "SimrailEvent.AtTimeTrigger",
"time": 5.0
__
"$type": "SimrailEvent.PlayerCallTrigger"
__
"$type": "SimrailEvent.TrainDepartureTimeTrigger",
"stationName": "Będzin Ksawera",
"train": null
__
"$type": "SimrailEvent.TrainAnyDepartureTrigger",
"train": { "$ref": "249" }
__
"$type": "SimrailEvent.TrainSignalProximity",
"signalName": "Sk_E",
"distance": 30.0,
"maxSpeed": 0.0,
"train": { "$ref": "1000" }

Condiciones de activación

Objetivo basado en condición
"$type": "SimrailEvent.ObjectiveStateCondition",
"objective": { "$ref": "1376" },  <- ID del objetivo a comprobar
"state": 3, <- Estado del objetivo que necesita
"invert": false <- ¿Debería revertirse la condición?

Ejecutar activador solo una vez
"$type": "SimrailEvent.ExecOnceCondition", 
"invert": false <- ¿Debería revertirse la condición?

Ejemplo de uso de matriz de activación:

 {
                "$id": "13386", <- debe ser único
                "$type": "SimrailEvent.SetObjectiveState", <- El tipo de acción o disparador en este caso es SimRailEvent.SetObjectiveState
                "objective": { "$ref": "1576"  }, <- ID del objetivo que desea activar
                "state": 1 <- El estado en el que desea introducir el objetivo
              }

Autor: PJK