Fixed Player Start in a Base

Discussion in 'Scenarios' started by Qurti, May 23, 2018.

  1. Qurti

    Qurti Ensign

    Joined:
    May 7, 2016
    Messages:
    29
    Likes Received:
    4
    Seriously? All of this because of a Tab or a space too much? omg...

    Thanks a LOT for the work! Any date on when Alpha 8 releases?
     
    #21
  2. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,063
    Likes Received:
    726
    Lol, next week they will tell us the release date for the 8....
     
    #22
  3. Qurti

    Qurti Ensign

    Joined:
    May 7, 2016
    Messages:
    29
    Likes Received:
    4
    Astic: Worked! Thanks a lot for your help!

    I even got to customize the start items for the player. But it somehow only takes the medium config in my list (the one with Pistol, 60 bullets, Antibiotic and 2 Bandages), regardless of which difficulty I choose when I start a new game. What did I do wrong?

    Items: ['Pistol, 50Caliber:120, AntibioticOintment:2, Bandages:5, NaturalSweetener:2', 'Pistol, 50Caliber:60, AntibioticOintment, Bandages:2', 'Pistol, 50Caliber:60', '#FreshStart: Pistol, 50Caliber:120, AntibioticOintment:2']

    And is it possible to put cargo boxes with fixed loot inside the base? I want to supply the player as they adventure forward, but also want to have control over what they get. First, any ressources in the standard boxes would be pointless, since the scenario is inside a base only and second, the loot of the alien boxes would be too OP.

    Any ideas on that?
     
    #23
  4. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,063
    Likes Received:
    726
    You can place a "PersonalCargoBox" in the Base and config it from the Playfield.yaml via
    Properties:
    - Key: PersonalContainer
    Value: ArmorMedium, PistolEpic, 50Caliber:500, AntidoteInjection:10, Medikit03:2, AntidotePills:2, EmergencyRations:10, OxygenGeneratorSmall, OxygenBottleLarge:2, PlayerBikeKit, EVABoost, OxygenBoost, MobilityBoost, JetpackBoost
     
    #24
    Kassonnade likes this.
  5. Qurti

    Qurti Ensign

    Joined:
    May 7, 2016
    Messages:
    29
    Likes Received:
    4
    I only get CoQ-Errors if I place a Personal Cargo Box in my structure. The blueprint turns red because that box is a forbidden block.
    Even if I put the code in the playfield as you said, I can't open the Scenario. Either CoQ while choosing it or during loading up.
     
    #25
  6. RazzleWin

    RazzleWin Rear Admiral

    Joined:
    May 22, 2017
    Messages:
    622
    Likes Received:
    1,464
    If you have the playfield spawn in your base then no worries. It's made to work with them. You might not be able to build it yourself but the game can.
    As to your 1st crash just placing the Personal Cargo Box in your base that shouldn't be happening.
    As to your 2nd crashing that sounds like a syntax problem in the playfield more.
     
    #26
  7. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,063
    Likes Received:
    726
    Presumably you have the indentation of the "Properties" made either incorrectly or with TABs ;-)
     
    #27
    Kassonnade likes this.
  8. Qurti

    Qurti Ensign

    Joined:
    May 7, 2016
    Messages:
    29
    Likes Received:
    4
    Well, but it is... a PersonalCargoBox inside my base turns the blueprint red and it's not spawning in my playfield. It shows a base icon on my radar, close to my position, but nothing's there.

    Inserting a PersonalCargoBox with / without configuration in the yaml gives me CoQ every time. I added the yaml to this thread - maybe I overlooked something? For me, it looks correct - I tried possible changes, but had the same outcome.
    Would you please so kind and have a look - again? :)
     

    Attached Files:

    #28
  9. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,063
    Likes Received:
    726
    In line 978, two spaces are missing. Value must be aligned with Key.
    1. Use Notepad ++ to edit and switch to YAML
    2. If Empyrion shows you a CoQ error on "continue" and immediately after that open the console, there is usually an error message or an indication of the error
     
    #29
  10. Qurti

    Qurti Ensign

    Joined:
    May 7, 2016
    Messages:
    29
    Likes Received:
    4
    No CoQ this time!

    BUT... I still land on a desert planet outside, not in my base and I have a base symbol on my compass, but no base visible nearby. No error messages in the console.

    Is there a limit to personal containers on a base?
     
    #30
  11. RazzleWin

    RazzleWin Rear Admiral

    Joined:
    May 22, 2017
    Messages:
    622
    Likes Received:
    1,464
    No there isn't but all the Personal Cargo Box's will all have the same load out as each other.

    What I do to line up my base and my drop in location is to use the DI command and then while in god mode pick a nice place to place my base. I then jot down the location I'm currently at. Using the numbers I just jotted down change both my base and my drop in location.

    Setting both to the same means when I start the game I will be at my base at this stage. So once I start a new game I go into god mode and by using the setposition command in the console I fine tune the base's location until I'm happy. I then edit the playfield and change the base to the new location.

    So once again I go back into a new game and make sure my base is set just right.

    So now using the DI command again I find the place I want to be spawned in inside my base and jot the numbers down and again change the playfield with my new location.

    This is just my work flow, each person does it different, but for me it means make a change start a new game and check it. keep doing this until I'm happy.
     
    #31
  12. MidareToushirou

    MidareToushirou Lieutenant

    Joined:
    Oct 5, 2017
    Messages:
    58
    Likes Received:
    40
    I am having trouble with this as well. It seems that fixedplayerstart no longer functions as intended.
    I am trying to use the Spawn: Structure and Structure: "NameofStructure" but I keep getting CoQ errors saying "Property 'Spawn' not found on type 'Assembly-CSharp.ActionOptions'."

    And when I try to set it up as it use to work (With Poi: Fixed: ), I get this error:
    Expected 'SequenceStart', got 'MappingStart' (at Line: 47, Col: 5, Idx: 2479).

    Is it just bad spacing?
    When I mess with spacing some times I can get this error:
    (Line: 75, Col: 5, Idx: 3296): While parsing a block collection, did not find expected '-' indicator.

    Any body know what the deal is? I've even tried using the SpawnRateZone to no affect.
     
    #32
  13. RazzleWin

    RazzleWin Rear Admiral

    Joined:
    May 22, 2017
    Messages:
    622
    Likes Received:
    1,464
    Ok not sure whats going on. For myself what might be different is I'm editing the playfield_dynamic.yaml & playfield_static.yaml in the TemperateStarter in the playfields folder of my own Scenario copyed from the akua Scenario

    I just removed anything I didn't want in there. currently this is a single player game at the moment. So I'm working with a set global seed so that the starter world will always be the same. With the goal of placing it on our local sever for just the Wife and I to play in.

    But so far I have had no problems bring our own base and an HV into the start of our own scenario. With a Personal Cargo Box stocked with starter stuff.

    I'm not sure what editor your using but with yaml being so picky about syntax it helps to have a good editor so you can see the difference between a space and tabs.
    It's suggested that you use Notepad ++. The main reason for using Notepad++. Tip: Turn on ‘view > Show Symbol>
    Show all characters’ - This will help you to keep things tidy.
    Info taken from the SSG Users Manual.
     
    #33
    Last edited: Jun 15, 2018
  14. MidareToushirou

    MidareToushirou Lieutenant

    Joined:
    Oct 5, 2017
    Messages:
    58
    Likes Received:
    40
    I don't really think it is tabs. I am using Notepad++
    No matter what I set it doesn't work. Maybe I should start over with a fresh playfield file.
     
    #34
  15. RazzleWin

    RazzleWin Rear Admiral

    Joined:
    May 22, 2017
    Messages:
    622
    Likes Received:
    1,464
    Code:
            - Mode: Survival
              Pos: [ 8682, 40.4, 8911.5 ] 
              RotY: 0               
              #Spawn: EscapePod
              # Spawn: Structure
              # Structure: "Wreckage"
              # Armor: ArmorLight
              Items: [ "SurvivalTent, Flashlight, AntibioticOintment:2, Bandages:2, StomachPills:2, PowerBar:2, EnergyDrink:1", "SurvivalTent, Flashlight, AntibioticOintment:1, Bandages:1, PowerBar:1", "SurvivalTent, Flashlight, Bandages:1", "#FreshStart: SurvivalTent, Flashlight, Bandages:1, WaterBottle: 1" ]
    
    This is my fixedplayerstart as you see all I did was remark Spawn: EscapePod and added the Pos and Rot and this is currently working in my own scenario.
     
    #35
  16. MidareToushirou

    MidareToushirou Lieutenant

    Joined:
    Oct 5, 2017
    Messages:
    58
    Likes Received:
    40
    Yeah, I saw someone mentioned the Pos: tag but is that really the only way it works now?
    It is very difficult to pick a position when you don't know where it will go.
    I'm trying to spawn into a building in space, so setting the position is impractical.
    I don't know why they had to remove the other method, it worked fine and now it doesn't work which is the only thing that is causing the issue.
    I really don't want to set a position. I originally wanted to create them completely random but setting a fixed position eliminates that possibility.
     
    #36
  17. RazzleWin

    RazzleWin Rear Admiral

    Joined:
    May 22, 2017
    Messages:
    622
    Likes Received:
    1,464
    That's why I will run around in GM until I find the spot I want to start building.

    I know at one time you could spawn into a base but the base needed a spawner for the player and the base needed to be spawned in by the game at a random location. (which this may still work I haven't tryed in awhile) but anytime you place a base that is a fixed location and you want to start in the base you have to use the pos command on the player in the fixed play start section.
     
    #37
  18. MidareToushirou

    MidareToushirou Lieutenant

    Joined:
    Oct 5, 2017
    Messages:
    58
    Likes Received:
    40
    [strike]Yeah, I already had it all setup (This is for the Conflict Arms scenario I posted and it works fine in the previous version of the game).
    So, I was essentially just transitioning it to the new versions but fixedplayerstart has been preventing me from making any progress.
    I've switched over to positions and now it is having trouble deserializing the files so it must be syntax/spacing somewhere, but of course I don't see it right off the bat and it's driving me nuts. If it weren't for this arbitrary issue, I'd of already been finished and posted the updated version.

    Edit: Well, I've gotten it to finally load a playfield but I am placed out in the middle of space and the base I wish to spawn into always spawns in a different location. This is lame.
    Edit2: Okay, I'm going to have to go to bed without success. I'm going to upload my scenario and hope someone else can find the issue. I've spent the better part of 10 hours on it and I can't take any more.
    To test, start a new game and select Conflict Arms scenario, then select ScerthSector (that is what I've been testing, since the first one didn't want to cooperate). You should spawn out in space and the base will spawn randomly. I noticed in the console that there is a Random "StartBiome" that is probably the cause but I have no idea how to set that. I've tried every thing to no avail. Any help would be greatly appreciated! Thanks... will give credits to whomever so figures it out in my scenario thread.[/strike]

    Fixed my issues.
     
    #38
    Last edited: Jun 15, 2018

Share This Page