Detective_Reed
Member
Please don't respond with code, I'm can't make mods. If someone is kind enough to make a addon, please make it compatible with other addons.
Last edited:
bind p "color blue; skin sonic"
To perform what you want, use the bind <key> <commands> console command.
bind takes two arguments: The key to bind the action to, and the whole console input to run when it is pressed.
For example, if I wanted to change my color to blue and my skin to Sonic everytime I hit the P button, I would run this in my console:
Code:bind p "color blue; skin sonic"
More info: https://wiki.srb2.org/wiki/Console/Commands#bind_.5B.3Ckey.3E.5D_.5B.3Ccommand.3E.5D
Is it possible to have a bind that alternates between two sets of commands? [...]
alias _cam1 "chasecam 0; fov 106"
alias _cam2 "chasecam 1; fov 90"
alias _camsw1 "_cam1; bind c _camsw2"
alias _camsw2 "_cam2; bind c _camsw1"
bind c _camsw1
alias _cam1 "chasecam 0; fov 106"
alias _cam2 "chasecam 1; fov 90"
alias _camsw1 "_cam1; bind c _camsw2"
alias _camsw2 "_cam2; bind c _camsw1"
bind c _camsw1
alias _cam1 "chasecam 0; fov 106; bind c _cam2"
alias _cam2 "chasecam 1; fov 9; bind c _cam1"
bind c _cam1
Can I use char abilitys for example bind z "charability 1 6; skin cinos"To perform what you want, use the bind <key> <commands> console command.
bind takes two arguments: The key to bind the action to, and the whole console input to run when it is pressed.
For example, if I wanted to change my color to blue and my skin to Sonic everytime I hit the P button, I would run this in my console:
Code:bind p "color blue; skin sonic"
More info: https://wiki.srb2.org/wiki/Console/Commands#bind_.5B.3Ckey.3E.5D_.5B.3Ccommand.3E.5D
Depends what do you mean by "use char abilitys".Can I use char abilitys
So I can have CA_HOMINGTHOK in my S_SKIN and put CA_DOUBLEJUMP in my lua using that lua?Depends what do you mean by "use char abilitys".
If you mean like casting character abilities, like making Sonic perform their thok, then no.
If you mean changing the player's ability with charability and then changing their skin (which changes the player's ability once more), like you are doing with your example, then yes.
This is not Lua.using that lua
Yes, you have to do the latter.do binds save or do i have to put them in autoexec.cfg?
Correct.would i just put it how i put it in the console?
alright so i putCorrect.