User Tools

Site Tools


manual:subwaysim:map_construction:prepare_map

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manual:subwaysim:map_construction:prepare_map [2026/01/14 13:19] dcsmanual:subwaysim:map_construction:prepare_map [2026/01/14 15:42] (current) – [Configuring Player Spawn Settings] dcs
Line 262: Line 262:
 ---- ----
  
-==== Finalizing Station Setup ====+===== Player Spawns (Career Mode) ===== 
 + 
 +For career mode, the map must define **player spawn locations**. 
 +These determine **where the player appears** when taking over a train during a career run. 
 + 
 +Placing player spawns is quick and does not require any Lua setup at this stage. 
 + 
 +==== Placing a Player Spawn ==== 
 + 
 +Player spawns are provided as a Blueprint inside the SDK. 
 + 
 +Path: 
 +  SubwaySim2_Modding / GameFramework / SubwaySim2 / **BP_PlayerSpawn** 
 + 
 +Drag **BP_PlayerSpawn** into your level and place it at the desired location. 
 +Rotate the actor so that the **arrow points in the direction the player should face** after spawning. 
 + 
 +{{:manual:subwaysim:prepare_map:playerspawn:spawn1.png?direct&800|}} 
 + 
 +Typically, player spawns are placed: 
 +  * on platforms 
 +  * near stopping positions 
 +  * inside depots (optional) 
 + 
 +==== Configuring Player Spawn Settings ==== 
 + 
 +After placing the actor, select it and open the **Details** panel. 
 + 
 +The following settings are relevant: 
 + 
 +  * **Station Name**   
 +    Short station code (e.g. `DP`, `TS`).   
 +    Must match the station short name used later in Map.lua. 
 + 
 +  * **Platforms**   
 +    List of platform numbers for which this spawn is valid.   
 +    These platform numbers must correspond to the platforms defined in the station’s **BP_StationDefinition**. 
 + 
 +Using this setup, you can control **which platforms can be used as takeover points in career mode**. 
 + 
 +{{:manual:subwaysim:prepare_map:playerspawn:spawn2.png?direct&300|}} 
 + 
 +==== Important Note ==== 
 + 
 +The player spawn actors only define **physical spawn locations**. 
 + 
 +Actual career mode logic (such as: 
 +  * takeover stations 
 +  * available vehicles 
 +  * probabilities 
 +  * route closures) 
 + 
 +is configured later in: 
 +  * **Create Map.lua** 
 + 
 +Do not add career logic here — only place and configure the spawn actors. 
 + 
 +---- 
 + 
 +===== Finalizing Station Setup =====
  
 Configure all stations until the station layout matches the intended design. Configure all stations until the station layout matches the intended design.
Line 294: Line 353:
   * create AI timetables and services   * create AI timetables and services
   * configure dispatching and depot logic   * configure dispatching and depot logic
 +
 +At the same time, you can already continue to **visually build out and refine the map**:
 +  * place platforms and station structures
 +  * add props and environment details
 +  * further shape stations and depots using editor tools
 +
 +For this, you can use tools such as:
 +  * [[manual:subwaysim:propplacing_tool|Prop Placing Tool]]
 +
 +Both workflows – **Map.lua logic** and **visual map building** – can be developed in parallel.
  
 Continue with: Continue with:
manual/subwaysim/map_construction/prepare_map.1768393142.txt.gz · Last modified: by dcs

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki