Yaml - stuck on adding a player useable vehicle

Discussion in 'Scenarios' started by tony hug, Jun 11, 2020.

  1. tony hug

    tony hug Commander

    Joined:
    Sep 27, 2015
    Messages:
    126
    Likes Received:
    98
    I've put together a test scenario to try ans showcase some builds

    However to use one build - i need to add a player usable vehicle

    -- there i have gotten completely stuck
    -- the commans i have tried --(amoingst everything i can think of are)

    - GroupName: Tarik-space-ship
    CountMinMax: [ 1, 1 ]
    SpawnPOINear: [START]
    SpawnPOINearDistance: 20

    - GroupName: Tarik-Hippodrome
    CountMinMax: [ 1, 1 ]
    SpawnPOINear: [START]
    SpawnPOINearDistance: 20

    The ships spawn allright - but they are unusable
    use <F> on them and thay thinlk they are deep underground
    (basically a random point or the last point any brought in ship was)

    All i want to do is have these SVs as user (player) accessible
    without having to specify an exact location for them (no idea how to work this out)
    or to have them set realative to a randomly set POI
    <i've attached my full yaml file if that helps>

    Any advice will be appreciated.


    ps. The Test Scenario is :

    https://steamcommunity.com/sharedfiles/filedetails/?id=2125309586&searchtext=

    if anyone is interested (it is only a single planet based on one of the default test scenarios)
     

    Attached Files:

    #1
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,153
    Likes Received:
    11,757
    Check out the default TemperateStarter to see how to spawn SVs and HVs that are usable by a planet.

    As an example:

    Code:
            - GroupName: UCHDartWreck                                 #Required as  agift
              Faction: None 
          #    Biome: [ Radiated, RadiatedFog ]
              NoShieldReload: True
              Type: SV_Player                  # Optional for special type of POI: SV_Player, HV_Player, CV_Player. If not used, then POI is a Base (default setting)
              CountMinMax: [ 1, 1 ]
              IsImportant: True 
              InitPower: False
              SpawnPOINear: [UCHPelicanWreck]
              SpawnPOINearRange: [100, 150]
              Properties:
            #    - Key: MapDistance
            #      Value: 120   
                - Key: MapMarker
                  Value: Neutral 
    
    Note: do NOT include the "NoShieldReload" line because if you do shields will never work on the ship.

    The important part is the "Type: SV_Player" for whatever ship type you want it to be.
     
    #2
    tony hug likes this.
  3. tony hug

    tony hug Commander

    Joined:
    Sep 27, 2015
    Messages:
    126
    Likes Received:
    98
    Thanks - many hours of .yaml filing later - i eventually got there
    with your help - no idea why the solution was sooo twitchy
     
    #3

Share This Page