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:
    5,410
    Likes Received:
    8,429
    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:
    5,410
    Likes Received:
    8,429
    Known Issue

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

    Hummel-o-War Administrator Staff Member Community Manager

    • Developer
    Joined:
    Jun 15, 2015
    Messages:
    5,410
    Likes Received:
    8,429
    Questions and Answers

    -tba-
     
    #3
  4. JuStX2

    JuStX2 Captain

    Joined:
    Aug 2, 2015
    Messages:
    36
    Likes Received:
    22
    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:
    2,819
    Likes Received:
    4,114
    This one too...

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

    nottrox ¯\ (ツ) /¯ Captain

    Joined:
    Jul 27, 2018
    Messages:
    193
    Likes Received:
    263
    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 ¯\ (ツ) /¯

    nottrox ¯\ (ツ) /¯ Captain

    Joined:
    Jul 27, 2018
    Messages:
    193
    Likes Received:
    263
    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,262
    Likes Received:
    8,935
    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,287
    Likes Received:
    11,939
    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 ¯\ (ツ) /¯

    nottrox ¯\ (ツ) /¯ Captain

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

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,819
    Likes Received:
    4,114
    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:
    431
    Likes Received:
    495
    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
  13. krbjms

    krbjms Ensign

    Joined:
    May 30, 2023
    Messages:
    2
    Likes Received:
    0
    I'm trying to find out how to place a made token (made with eWCCT) in a loot box in a POI. It now shows in my TokenConfig file (ecf), but how do I get it and place in the loot box for this mission, so it can be used to open a code locked door?
     
    #13
  14. RexXxuS

    RexXxuS Rear Admiral

    Joined:
    Jan 31, 2016
    Messages:
    860
    Likes Received:
    1,437
    Option 1: if your POI has an admin core which stores the loot you type in console "give item Token <id from your token in The TokenConfig.ecf>", then put it in the desired container and save the blueprint.

    Option 2: You give your desired loot box a specific loot ID. This loot ID is taken from a new entry you make in the Containers.ecf file.
    In the Containers.ecf file you reference your Token like
    Name_0: Token, param1: 1, param2: "meta=<id from your token in The TokenConfig.ecf>".
    Save the blueprint and your Containers.ecf changes and this container spawned will give this token as loot.

    Option 3: You work with the PDA (my eWPDA tool) and give the Token as reward once players is NearUnit your Lootbox.

    Option 4: You work with Dialogues (my eWCCT tool) and give the Token as reward once the player "talks" with your Lootbox.

    Option 5: You reference your Token in the NPCTradersConfig.ecf and put a NPC Trader near your Loot box, so players first have to buy your Token.

    That should be enough options for now, even though there are couple more available.
     
    #14
    ravien_ff and Germanicus like this.

Share This Page