How to change the hotkey: - go to Cyberpunk 2077\r6\input folder - open ToggleQuestTags.xml with any text editor - find and replace IK_T (for keyboard) or IK_Pad_LeftThumb (for controller) with any other hotkey codes
Doesn't seem to work for me, I bind it to one of the hotkeys in the link but nothing happens when I click the button and I also added the "priority="-1" />" without any luck.
EDIT: seems like I have a bunch of mods giving me an error for "REDscript" oof
To the people wondering if its working on 2.01, IT DOES but you have to edit the "ToggleQuestTags.xml" in the "r6/input/" folder first. If you don't do it, the button will appear as [INVALID INPUT] in-game so you will have to do this.
Just open it with notepad and add this inside the "action name" tag:... priority="-1" />
The whole line should look like this: <action name="toggle_quest_tag" map="toggle_quest_tag" priority="-1" />
You can then change the hotkey to any available keys, as mentioned by the creator, djkovrik. These changes are from redscript to accomodate the recent updates. We might have to wait before this gets added in by the creator but if you wanted to use this mod immediately, you can edit the input file yourself.
I was wondering... now that the vanilla game has implemented a favorite function (that seems to works only for weapons(??)). Wouldn't be better for this mod to extend this function also on the other items, so to not use the quest tag?
No plans for that, I'd like to stick with a quest flag because sometimes peeps are using it not just for favorites but for actual quest items management as well
i only needs it to unequip skippy gun and finally fixed it with the cte command:
> P = Game.GetPlayer(); ES = Game.GetScriptableSystemsContainer():Get(CName.new('EquipmentSystem')); TS = Game.GetTransactionSystem(); PD = ES:GetPlayerData(P); PD['GetItemInEquipSlot2'] = PD['GetItemInEquipSlot;gamedataEquipmentAreaInt32']; local slots = { Face = 1, Feet = 1, Head = 1, InnerChest = 1, Legs = 1, OuterChest = 1, Outfit = 1, Weapon = 3 }; for k,v in pairs(slots) do for i=1,v do itemID = PD:GetItemInEquipSlot2(k, i - 1); print(' \nChecking... [' ..k..' - Slot: '..(i - 1)..']') if itemID.tdbid.hash ~= 0 then itemdata = TS:GetItemData(P, itemID); print(' - Item found in ['..k..' - Slot: '..(i - 1)..']') if itemdata:HasTag('Quest') then itemdata:RemoveDynamicTag('Quest') print(' - QUEST TAG FOUND, REMOVING TAG FROM -> ['..k..' - Slot '..(i - 1)..']') else print(' - Quest TAG not present or not accessible.') end else print(' - The Slot is empty...') end end end
126 comments
- go to Cyberpunk 2077\r6\input folder
- open ToggleQuestTags.xml with any text editor
- find and replace IK_T (for keyboard) or IK_Pad_LeftThumb (for controller) with any other hotkey codes
Hotkeys reference list available here
EDIT: seems like I have a bunch of mods giving me an error for "REDscript" oof
If you don't do it, the button will appear as [INVALID INPUT] in-game so you will have to do this.
Just open it with notepad and add this inside the "action name" tag:
... priority="-1" />
The whole line should look like this:
<action name="toggle_quest_tag" map="toggle_quest_tag" priority="-1" />
You can then change the hotkey to any available keys, as mentioned by the creator, djkovrik.
These changes are from redscript to accomodate the recent updates. We might have to wait before this gets added in by the creator but if you wanted to use this mod immediately, you can edit the input file yourself.
Thanks to djkovrik for creating the mod!
I was wondering... now that the vanilla game has implemented a favorite function (that seems to works only for weapons(??)). Wouldn't be better for this mod to extend this function also on the other items, so to not use the quest tag?
xml code:
<?xml version="1.0"?>
<bindings>
<context name="ToggleQuestTag" >
<action name="toggle_quest_tag" map="toggle_quest_tag" />
</context>
<context name="UIMenu" append="true">
<include name="ToggleQuestTag" />
</context>
<mapping name="toggle_quest_tag" type="IK_Pad_LeftThumb" >
<!-- You can change the hotkeys here -->
<!-- Available keycodes: https://pastebin.com/nsQ1cqi8 -->
<button id="IK_T" />
<button id="IK_Pad_LeftThumb" />
</mapping>
</bindings>
input loader:
[2023-10-15 20:16:00.318] [info] Starting up Input Loader v0.1.1
[2023-10-15 20:16:00.318] [info] Connected to RED4ext - registering load callback
[2023-10-15 20:16:00.318] [info] Loading original input configs for merging
[2023-10-15 20:16:05.428] [info] Loading input configs from r6/input
[2023-10-15 20:16:05.429] [info] Loading document: C:\Steam\steamapps\common\Cyberpunk 2077\r6/input\ToggleQuestTags.xml
[2023-10-15 20:16:05.429] [info] * Processing mod input block: context
[2023-10-15 20:16:05.429] [info] * Processing mod input block: context
[2023-10-15 20:16:05.429] [info] * Processing mod input block: mapping
[2023-10-15 20:16:05.429] [info] Loading input configs from dynamically added paths
[2023-10-15 20:16:05.430] [info] Merged inputContexts saved to 'r6/cache/inputContexts.xml'
[2023-10-15 20:16:05.431] [info] Merged inputUserMappings saved to 'r6/cache/inputUserMappings.xml'
[2023-10-15 20:16:05.432] [info] Game config saved to 'engine/config/platform/pc/input_loader.ini'
other logs are fine...
first i put the .reds first than i saw if so to copy this in line:
<action name="toggle_quest_tag" map="toggle_quest_tag" priority="-1" />
crashin again so í delete all make a clean inst. and integr. files so all like in desciption..but crashing anyways
> P = Game.GetPlayer(); ES = Game.GetScriptableSystemsContainer():Get(CName.new('EquipmentSystem')); TS = Game.GetTransactionSystem(); PD = ES:GetPlayerData(P); PD['GetItemInEquipSlot2'] = PD['GetItemInEquipSlot;gamedataEquipmentAreaInt32']; local slots = { Face = 1, Feet = 1, Head = 1, InnerChest = 1, Legs = 1, OuterChest = 1, Outfit = 1, Weapon = 3 }; for k,v in pairs(slots) do for i=1,v do itemID = PD:GetItemInEquipSlot2(k, i - 1); print(' \nChecking... [' ..k..' - Slot: '..(i - 1)..']') if itemID.tdbid.hash ~= 0 then itemdata = TS:GetItemData(P, itemID); print(' - Item found in ['..k..' - Slot: '..(i - 1)..']') if itemdata:HasTag('Quest') then itemdata:RemoveDynamicTag('Quest') print(' - QUEST TAG FOUND, REMOVING TAG FROM -> ['..k..' - Slot '..(i - 1)..']') else print(' - Quest TAG not present or not accessible.') end else print(' - The Slot is empty...') end end end
Requires an update to version 2.01. Tested with all core mods updated.Nvm it was my fault, mod works fine.Can confirm - needs 2.01 update
^ Same