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
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 )
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?
No answer yet? @Vermillion @ravien_ff sorry for marking you but you guys usually know this kind of stuff.
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.
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 }
Sounds like good stuff. The kinda stuff Glarthir might hand you and suggest you could use it to gain access hidden Mythic Dawn fortress . . .
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?
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.