Gameoptions.yaml: BackpackMode / removed?

Discussion in 'Empyrion API' started by zuckerruebe, Aug 18, 2020.

  1. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4
    Hi guys,

    in the CHANGELOG for Alpha 12.3.1 this item: "Gameoptions.yaml: added BackpackMode 0/1 to allow switching off the dropping of backpacks on death (set it to 1)" was included.

    Does anybody know if this Gameoption was removed? I can't find it in the current build.

    thanks for the help
    zuckerruebe
     
    #1
  2. Taelyn

    Taelyn Guest

    Code:
        DiffPlayerBackpackDrop: DropNothing     # to allow switching off the dropping of backpacks on death [DropEverything, DropNothing, DropBagOnly]
    
     
    #2
    zuckerruebe likes this.
  3. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4
    wow thanks for the fast reply!

    i will try to implement this thanks
     
    #3
    Taelyn likes this.
  4. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4
    Sorry but if i use this:

    Code:
    DiffPlayerBackpackDrop: DropNothing 
    The "keep Inventory on death" option automatically is set to *everything*, is there a possibility to also NOT keep Inventory on death.
    Basically i want a penalty for dying.

    If this is not possible anyway much thanks for the fast help.

    thanks
    zuckerruebe
     
    #4
  5. Taelyn

    Taelyn Guest

    [DropEverything, DropNothing, DropBagOnly]

    Those 3 you can use :)
     
    #5
    zuckerruebe likes this.
  6. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4
    Okay thanks,

    so you can not loose any items on death.. i always find this approach a bit weird and easy when it comes to survival games.

    but anyway thanks for the very fast help and response!!

    Greatings,
    zuckerruebe
     
    #6
  7. Taelyn

    Taelyn Guest

    "DropEverything" will drop everything on death

    "DropBagOnly" will ONLY drop the inventory on death

    "DropNothing" you will keep everything on death

    So yes you can lose everything on death with DropEverything
     
    #7
    zuckerruebe likes this.
  8. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4

    Must be my mistake then..

    With "DropEverthing" everything is dropped in a backpack. And nothing stops someone to "Spawn at current Location" and just pick up your stuff back up. But if you can't disable the "Spawn at current Location" Spawn-option, i guess there is nothing you can do about it.

    I just find the game very easy if you cant lose items permanently, but that's just my problem then. :)

    But again much thanks for the fast replies and help!!

    Greatings,
    zuckerruebe
     
    #8
  9. Taelyn

    Taelyn Guest

    You could lower the timer of the dropped backpack in the EClassConfig.ecf to like a few seconds insteed the 25min it stays now :)

    Code:
    { Entity Name: Backpack
      EntityType: PlayerBackpack
      /* Mesh and class properties */
      Mesh: Misc/CargoDropPrefab
      BlockColor: "0,100,255"
      ModelType: Custom
      Prefab: Backpack
      Class: Backpack
      Parent: Backpack
      /*property name=AvatarController value=Enemy /*/
    
      TimeStayAfterDeath: 1500
      AllowUserInstantiate: false
    
      VolumeCapacity: 500
    
      IsEnemy: false
      LootListOnDeath: 11
      # MapIcon: map_flag
      MapIcon: map_backpack2
      HudInfo: false
    }
    TimeStayAfterDeath: 1500
     
    #9
    zuckerruebe likes this.
  10. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4

    I will try! That would be EXACTLY what i wanted. Thank you very very much!
     
    #10
    Taelyn likes this.
  11. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4
    Works like a charm!

    Thank you very much for your time! This should be implemented into the game's UI, there are definitely some people out there who want a little more grind and difficulty. Maybe we could move the thread to the "Suggestions" page. :)

    Anyway thanks again for the help!

    Greatings
    zuckerruebe
     
    #11
  12. Taelyn

    Taelyn Guest

    Editing the config files will not be implented in the UI

    Its not supported to edit them. Once you do you void any help/support from our side


    But glad it works for you!
     
    #12
  13. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4
    No of course i did not mean to implement a way of changing config files in the UI. Just a way to set the despawn timer of the backpack ingame would be nice. But you guys probably have enough on your To-Do list already.. :)
     
    #13
    Taelyn likes this.
  14. zaphodikus

    zaphodikus Captain

    Joined:
    Oct 1, 2016
    Messages:
    471
    Likes Received:
    226
    @zuckerruebe , how long does the timestayafterdeath = 1500 equate to in time, like if I wanted to make that much longer would 3000 work? Because that does look like a value in seconds to my lazy eye? Confirm?
     
    #14
  15. zuckerruebe

    zuckerruebe Ensign

    Joined:
    Aug 18, 2020
    Messages:
    9
    Likes Received:
    4
    @zaphodikus yes exactly. 3000 would be 3000 seconds so 50 minutes.
     
    #15
    zaphodikus likes this.
  16. zaphodikus

    zaphodikus Captain

    Joined:
    Oct 1, 2016
    Messages:
    471
    Likes Received:
    226
    Thanks, yes.
    I was just puzzled by some unusual values on entities like the pod is set to timestayafterdeath = 1000 , but the escape pod never despawns, nor do it's contents (or do they)? So I wondered if that was a herring with the escape pod that confused me.
     
    #16
  17. It does despawn if it's set to.
    In the gameoptions.yaml, include the line DespawnEscapePod: true and it will despawn once the timer runs out.

    It only affects escape pods that are spawned in AFTER you have that line in the gameoptions.yaml. It will NOT affect pods that are already in the game before setting it correctly.
     
    #17
    zaphodikus likes this.
  18. zaphodikus

    zaphodikus Captain

    Joined:
    Oct 1, 2016
    Messages:
    471
    Likes Received:
    226
    Thanks for the pointer @krazzykid , my google-fu for all this info was not really giving results.

    Apologies for the thread hijacking @zuckerruebe
     
    #18
  19. Fenrir

    Fenrir Ensign

    Joined:
    Mar 29, 2019
    Messages:
    1
    Likes Received:
    1
    I am having this issue as well, I have tried the code in the server as mentioned above however it doesn't seem to be working for me, is there a specific location in a file that it needs to be that I am missing?
    Currently I have it placed in the file server.yaml under GameConfig and Difficulty Settings > Player

    Code Line:

    ### --- Difficulty settings ---
    ### Notice: Changing some of the difficulty settings require to start a new game in order to take effect
    ### PLAYER ---------------------------------------------------------------------------------------------
    DiffEscapePodContent: Easy # Easy, Medium, Hard --- Determines the content of your equipment when you start a new game
    DiffPlayerProgression: Normal # Faster, Normal, Slower --- Influences the overall player progression speed by earning more or less XP
    DiffDegradationSpeed: Normal # Low, Normal, High, Off --- Influences the speed of degradation when using weapons and tools
    DiffPlayerBackpackDrop: DropNothing # to allow switching off the dropping of backpacks on death DropEverything, DropNothing, DropBagOnly
     
    #19
    zaphodikus likes this.
  20. Taelyn

    Taelyn Guest

    GameOptions.yaml in the SaveGame Folder
     
    #20
    zaphodikus likes this.

Share This Page