Problem with modding the default creative scenario

Discussion in 'Scenarios' started by japp_02, Feb 5, 2024.

  1. japp_02

    japp_02 Commander

    Joined:
    Feb 11, 2021
    Messages:
    550
    Likes Received:
    212
    I have tried to mod the default creative scenario by adding a Warlord space POI in the temperate orbit (called SpaceOrbitCreative).
    The POI I want to add in orbit has the file name BAO_FarpointStation, so I've moved this prefab file into the scenario prefab folder, and also added the default faction.ecf file into the Content\Configuration folder (probably not necessary but better than producing errors.)

    That's what I have added in the playfield 'SpaceOrbitCreative', and in the '3_SpaceOrbitCreativeTemperate' yaml files in the POI section:

    #Warlord

    - Type: BA_Alien
    Faction: Warlord
    GroupName: BAOWarlord
    Name: [BAO_FarpointStation]
    DisplayName: Farpoint Station
    Mode: Creative
    CountMinMax: [ 1, 1 ]
    Probability: 1
    InitPower: True
    Properties:
    - Key: Music
    Value: NebularClouds
    - Key: StationInterface
    Value: "Fuel:1.1,O2:1.1,Warp:1.1,Ammo:2,Repair:2,Shield:2,IfNeutral:1,IfFriendly:-0.08,IfHonored:-0.16"

    I have replaced the 'Default Creative' scenario with this modded one.
    With all this set above, I cannot start Creative, I get an error message and the game doesn't load.

    Where is the error?
    Thanks.
     
    #1
  2. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    902
    Likes Received:
    1,258
    Creative mode is hardcoded. You need to modify ours
    Or create your own you start from Scenario's section
     
    #2
  3. japp_02

    japp_02 Commander

    Joined:
    Feb 11, 2021
    Messages:
    550
    Likes Received:
    212
    Thanks Taelyn.
    Can the same yaml file have both 'Mode: Creative' and 'Mode: Survival' in it, or must it be only 1 of them in the entire file?
     
    #3
  4. Taelyn

    Taelyn Administrator Staff Member Community Manager

    • Developer
    • Administrator
    Joined:
    Oct 4, 2021
    Messages:
    902
    Likes Received:
    1,258
    The dedicated.yaml? You dont need this for SP, its for CooP and the Dedicated Server.
    You can only have one mode per server

    The GameOptions.yaml - ValidFor: [ SP, Creative ]
    Can have different tags for the modes
     
    #4

Share This Page