Oman Posted November 12, 2022 Posted November 12, 2022 Hello all. First credit to this person: https://www.reddit.com/r/Cityofheroes/comments/tv6oe8/introducing_toggle_macros/ Here is an example of an on off toggle for XP, though you could bend it to do other things. First step is to execute the following: /macroslot 30 "xpOff" "option_set noxp 1$$e XP is off$$Bind_Load_File /bind/xpOn.txt" If 30 is in use, pick a different slot (macroslot 30 is tray 4 slot 1 - see link above for slot count overview) When slash command is executed, it will create a macro("xpOff") in the slot specified. Next click the macro. This will produce an error like: Unable to read in keybind file: e:/Games/Homecoming/settings/live/bind/xpOn.txt If you have made binds before then you know where the bind directory is. If don't have a bind directory, create one in the appropriate location. Next create the following files in your bind directory: ::xpOn.txt $$macroslot 30 "xpOn" "option_set noxp 0$$e XP is on$$Bind_Load_File /bind/xpOff.txt" ::xpOff.txt $$macroslot 30 "xpOff" "option_set noxp 1$$e XP is off$$Bind_Load_File /bind/xpOn.txt" Next open the options menu, scroll to the bottom and ensure if your xp earn option is being set to on and off as you click the macro. Now you can easily turn xp off/on so you don't out level content/contacts as is my case. Please note one other option: Option_Toggle noxp I could not find a way to interrogate the state of the noxp as to make this useful. Hope this is helpful. 1
NebulaStar Posted November 23, 2022 Posted November 23, 2022 On 11/12/2022 at 6:00 PM, Oman said: Please note one other option: Option_Toggle noxp I could not find a way to interrogate the state of the noxp as to make this useful. With option_toggle you can do it without the need of 2 files. Just 1 macro : /macro_image "DayJob_XPBoost" "XP Toggle" "option_toggle noxp" Credit to : https://forums.homecomingservers.com/topic/13961-the-good-missions-guide-a-heroic-levelling-journey-through-story-arcs Your XP bar is darker when deactivated below level 50 and you get a message in your chat telling you about the status of the option after clicking it. 1 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now