A12 EXP - Dynamic Token Creation & Privacy Mode

Discussion in 'Experimental Features Discussion' started by Hummel-o-War, Apr 21, 2020.

  1. Hummel-o-War

    Hummel-o-War Administrator
    Staff Member Community Manager

    • Developer
    Joined:
    Jun 15, 2015
    Messages:
    11,176
    Likes Received:
    17,971
    In Alpha 12 we add two more alternatives to the currently available Lock Code system

    1. Token
    You can now dynamically create an item that can have a certain code attached (called "meta" now). This meta can be created by a console command ( ' give ' ) or by other game events, via PDA, Dialogue system etc and primarily serves as a Keycard with a fixed code. You can set any device that is supporting a lock code to ask for a token with that lock code instead. There is only one lock code item for now, labled 'Token' (ItemsConfig.ecf ID: 1305)

    The TokenConfig.ecf (to be found in the /content/configuration folder) has more infos how to work with that feature.

    Tip: In combination with PDA and Dialogues, you can use this also as an individualizable quest item!

    2. Privacy Mode
    If you want to hide the access code of a container from your faction mates, you can do now with the PRIVATE checkbox. Set a code, hit the checkbox and only you will be able to see and access the container (Given you do not give away that code).

    Overview
    • Added: Dynamically modifiable item to use as unlock for doors or as quest item; Usable with new ‘give’ console command, PDA, Dialogue system and other places
    • Added: Token can be used as an alternative to lock codes with all devices supporting lock codes
    • Added: RemoveOnUse to TokenConfig.ecf to remove a token as soon as it was used
    • Updated: Allowing to open a container from other factions without rep loss if you have the correct token.
    • Added: Devices with a lock code can be set to ‘Private’. This will remove the lock code entry in the device details. (usable to allow private containers and access within a faction base or structure)
    • Levers can now have a lock code
     
    #1
    Last edited: Apr 21, 2020
  2. Hummel-o-War

    Hummel-o-War Administrator
    Staff Member Community Manager

    • Developer
    Joined:
    Jun 15, 2015
    Messages:
    11,176
    Likes Received:
    17,971
    Known Issue

    -tba-
     
    #2
  3. Hummel-o-War

    Hummel-o-War Administrator
    Staff Member Community Manager

    • Developer
    Joined:
    Jun 15, 2015
    Messages:
    11,176
    Likes Received:
    17,971
    Questions and Answers

    -tba-
     
    #3
  4. JuStX2

    JuStX2 Captain

    Joined:
    Aug 2, 2015
    Messages:
    396
    Likes Received:
    326
    Will Tokens (keycards) ever be available as a survival/player generated option for access control (as opposed to just being a scenerio creators tool)?


    Also I seem to be having some trouble finding the First Polaris Megacorp Keycard for the Teleporter to the Orbital Station; Might I suggest adding a copy of the so-called "RedKeyCard" To one of the traders on the orbital trade station; that way if we teleport from orbit back down to the planet we don't run the risk of accidentally ending up having to create a new SV? (either that or make sure the deactivated TP doesn't show in the list :p)
     
    #4
  5. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    4,250
    Likes Received:
    6,001
    This one too...

    Stickied ?
     
    #5
  6. nottrox ¯\ (ツ) /¯

    Joined:
    Jul 27, 2018
    Messages:
    342
    Likes Received:
    388
    I am trying this for a POI, but i am not sure i did it right. I entered [give item 1305 1111] and it gave me a token. How can i check know that it is done right now?
    Also: is a door that is locked with the code 1111 and set to token also openable by entering the code 1111?
     
    #6
  7. nottrox ¯\ (ツ) /¯

    Joined:
    Jul 27, 2018
    Messages:
    342
    Likes Received:
    388
    No answer yet?
    @Vermillion @ravien_ff sorry for marking you but you guys usually know this kind of stuff.
     
    #7
  8. Vermillion

    Vermillion Rear Admiral

    Joined:
    Jul 15, 2018
    Messages:
    3,976
    Likes Received:
    10,028
    I don't know how the token system works. That's more of Ravien's department.
     
    #8
    nottrox ¯\ (ツ) /¯ likes this.
  9. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,678
    Likes Received:
    13,938
    Yes if you use:
    give item Token 1111
    That will be the right token.

    No, devices locked with a token can't be opened with a code. They'd need that token in their inventory.
     
    #9
    nottrox ¯\ (ツ) /¯ likes this.
  10. nottrox ¯\ (ツ) /¯

    Joined:
    Jul 27, 2018
    Messages:
    342
    Likes Received:
    388
    Another day another question:
    What is the difference between Token and Keycard?
     
    #10
  11. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    4,250
    Likes Received:
    6,001
    Look in the TokenConfig.ecf file for more explanations and examples.

    From my comprehension, the "token" is only a code (meta) that will trigger unlocking of specific device with corresponding "meta" (the lock code). The Token can be "received" via an item (here: KeyCard) put in the player inventory, or by interaction with specific NPC.

    From the file :

    - Currently only the item 'Token' (Itemsconfig.ecf id: 1305) can have a 4-digit META element. Any OTHER "keycard" named item or other items in general can NOT have meta info attached!

    Lower in the file you have many examples:

    { Token Id: 9997, Name: Ensign Emmerson
    Description: The Log of Ensign Emmerson found in the wreckage of the UCH Heidelberg
    #RemoveOnUse: true
    }
     
    #11
  12. dichebach

    dichebach Captain

    Joined:
    Oct 26, 2016
    Messages:
    794
    Likes Received:
    821
    Sounds like good stuff. The kinda stuff Glarthir might hand you and suggest you could use it to gain access hidden Mythic Dawn fortress . . .
     
    #12

Share This Page