How to use commands that says read only?
-
Hello! I want to use com_timescale or sv_paused on a custom T6 zombie with my friend because we want to be able to pause the game. But whenever we use those two commands it doesn't change the value. The cmd thingy that has the title "Plutonium r3266" shows "com_timescale is read only".
commands like g_speed and /god do work tho. -
Maybe try setting them with a GSC script instead
Init() { SetDvar("com_timescale", 3); }
-
Jay G. Try searching up the forums for coop pause mods. You cannot pause a coop match using commands otherwise it would disconnect all remote clients anyway.
-
JezuzLizard I see thank you.
-
Resxt Thank you. Do you know how to bind keys in the script instead of binding keys in the console?
-
Jay G. not sure you can do that and not sure it's useful too.
bind P "map_restart"
for example binds the command to the key P permanently so I don't see why you would need to use GSC for this? -
Resxt Nice! Thank you, it does. Do you know if I can bind keys with controller?
-
Jay G. I think yes, you can try
bind KEY "command"
of course replace KEY and command with the button and the command you want.The doc has an example
https://plutonium.pw/docs/controllers/#switching-triggersbumpersHere is a list of controller buttons
bind BUTTON_A "+gostand" bind BUTTON_B "+stance" bind BUTTON_X "+usereload" bind BUTTON_Y "+weapnext_inventory" bind2 BUTTON_Y "+switchseat" bind BUTTON_LSHLDR "+smoke" bind BUTTON_RSHLDR "+frag" bind TAB "+scores" bind BUTTON_START "togglemenu" bind BUTTON_BACK "togglescores" bind BUTTON_LSTICK "+breath_sprint" bind BUTTON_RSTICK "+melee" bind BUTTON_LTRIG "+speed_throw" bind BUTTON_RTRIG "+attack" bind DPAD_UP "+actionslot 1" bind DPAD_DOWN "+actionslot 2" bind DPAD_LEFT "+actionslot 3" bind DPAD_RIGHT "+actionslot 4" bind ESCAPE "togglemenu"