Hover Vessel as POI

Discussion in 'Planets & Playfields' started by KnowItAllDM, Aug 3, 2018.

  1. KnowItAllDM

    KnowItAllDM Commander

    Joined:
    Jun 1, 2016
    Messages:
    46
    Likes Received:
    40
    I'm trying to get a Hover Vessel POI to spawn near a Base POI, but I can't seem to get it to work. If I simply add it as a Random POI:

    # ================================
    #The Hover Vessel
    - GroupName: Mako
    BiomesExcluded: [ Radiated, RadiatedFog, Mountains, LowMountains ]
    IsImportant: True
    CountMinMax: [ 1, 1 ]
    DroneProb: 0
    DronesMinMax: [ 0 ]
    ReserveCount: 0
    TroopTransport: False
    SpawnPOINear: [AbandonedSettlement]
    SpawnPOINearRange: [300, 500]
    Properties:
    - Key: MapDistance
    Value: 100

    it spawns AS a base itself!!! (Not a HV).

    If I use the Fixed:

    - Type: HV_Player
    Prefab: ME_Mako
    Mode: Survival
    Name: R35 Rover
    Pos: [ -373, 79.5, -175]
    Rot: [ 0, -84, 0 ]

    the game doesn't spawn it at all unless I add "UseFixed: True" at the top of the playfield_static.yaml, in which case it ONLY spawns the HV, and even if I set a seed, the terrain changes enough that if I place the base POIs as Fixed, they sometimes spawn underground or in the air.

    Can somebody help me find a way to simply Spawn a Hover Vessel POI near a Base POI?
     
    #1
  2. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,113
    Likes Received:
    1,759
    Try adding both:
    UseFixed: True
    UseRandom: True

    Then both random and fixed POIs ones should work at the same time.

    /jmc
     
    #2
    Ephoie and Sephrajin like this.
  3. KnowItAllDM

    KnowItAllDM Commander

    Joined:
    Jun 1, 2016
    Messages:
    46
    Likes Received:
    40
    When I try to use both, I get this:
    20180804193156_1.jpg
    And when I pull up the Console: 20180804193339_1.jpg
    The referenced Line: 716 of the Document: playfield.yaml, in the listed folder is the "UseRandom: True" line.
     
    #3
  4. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,113
    Likes Received:
    1,759
    That's strange. At least loading the playfield should work without an error. Looks like some typo to me or an extra space where it doesn't belong, as it's expecting the ':' and not finding it.

    Could you upload the playfield renamed to txt here. Then I can take a look.

    If this really fixes your problem with the HV, that's another story then. First things first.

    /jmc
     
    #4
  5. KnowItAllDM

    KnowItAllDM Commander

    Joined:
    Jun 1, 2016
    Messages:
    46
    Likes Received:
    40
    I've uploaded the files.
    If you remove the "UseRandom:True" line in the playfield_static file, there is no error, but the HV doesn't spawn.
     

    Attached Files:

    #5
  6. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,113
    Likes Received:
    1,759
    You missed a space between the colon and 'True'. That's important in yamls. :)

    UseRandom: True
    UseFixed: True

    Works fine for me (at least with a model in my prefab folder):

    NewGame_44_2018-08-05_10-41-49.png

    upload_2018-8-5_10-44-35.png

    upload_2018-8-5_10-44-8.png

    Edited the Temperatestarter instead of your file though, as otherwise I would have to edit the solarsystemconfig as well.


    /jmc
     
    #6
    Needleship likes this.
  7. KnowItAllDM

    KnowItAllDM Commander

    Joined:
    Jun 1, 2016
    Messages:
    46
    Likes Received:
    40
    You're Right. I added the spaces and VOILA! It works!!! Thanks! You're awesome, jmcburn.

    Now if I could only find a way to get it to spawn as a random POI, rather than fixed. lol.
     
    #7
    jmcburn likes this.
  8. jmcburn

    jmcburn Rear Admiral

    Joined:
    Jan 15, 2017
    Messages:
    1,113
    Likes Received:
    1,759
    Sorry, can't help you there. Pretty sure, that's not possible.

    But maybe someone else knows more about it.


    /jmc
     
    #8
    Ephoie likes this.
  9. KnowItAllDM

    KnowItAllDM Commander

    Joined:
    Jun 1, 2016
    Messages:
    46
    Likes Received:
    40
    Yeah. Thanks for all the help! It'll probably work fine as it is.
     
    #9
    Ephoie likes this.

Share This Page