Map unit: Difference between revisions

Jump to navigation Jump to search
1,325 bytes added ,  2 years ago
(FixedCs description)
 
Line 32: Line 32:
{{expand section}}
{{expand section}}
Array of rail structures. Can only appear in group 0 maps (Static); this section is completely ignored for non-static map units.
Array of rail structures. Can only appear in group 0 maps (Static); this section is completely ignored for non-static map units.
There are two primary types of Rails.
{| class="wikitable"
!Name
!Description
|-
|NavigationMeshRoad
|Used by Actors that are dynamically spawned along a route
|-
|Guide
|Used to send an actor through a pre-set route via RailPoints.
|}
Rails utilize nodes ('''NavigationMeshRoadPoint''' and '''GuidePoint''') depending on the type of Rail in use. Rails are also configured to use a linear or Bezier rail type.
<br />
{| class="wikitable"
|+Node
!Param
!Description
!Example
!Default  Value
|-
|IsAdjustPosAndDirToPoint
|Determines whether the actor will turn and face the next rail point before moving.
|false
|false
|-
|WaitFrame
|How long to wait at the current Rail Point.
|120.0
|0.0
|-
|OnFlagName
|Flag to set to On when the actor arrives at the Rail Point
|FirstOhenro_Point12
|
|-
|WaitASKeyName
|If set to wait, the AS to use whilst waiting.
|Surprised
|
|-
|Next Distance
|The Distance between the current Rail Point and the next one.
|1.0853188
|0.0
|-
|PrevDistance
|The Distance between the current Rail Point and the previous one.
|31.7270927
|0.0
|-
|Scale
|Size of Rail
|
|0, 0, 0
|-
|Rotate
|Rotation of the Rail Point
|
|0, 0, 0
|-
|Translate
|The position of the Rail Point
|[38.73703, 280.20105, -2438.69751]
|0, 0, 0
|-
|ControlPoints
|
|
|
|-
|UnitConfigName
|The Type of Rail Point
|GuidePoint
|
|}


==Link system==
==Link system==
52

edits

Navigation menu