zicmak Posted January 11, 2013 Share Posted January 11, 2013 Just been working on making my own controls config thingy, and I was wondering, is it possible to set the saber model in the config file (heck, a list of anything that works in a config file would be nice) Anyways, help here would be nice Link to comment
Raz0r Posted January 11, 2013 Share Posted January 11, 2013 There's nothing special about .cfg files, they're just text files. When you /exec(ute) a text file (or it's automatically executed) each line is executed as if you had typed it into the console, ergo any cvars or commands can be used. Link to comment
Sentra Posted January 11, 2013 Share Posted January 11, 2013 to set the saber model in the config fileYep. // --- Single/Staff hilt switcher ---bind %BUTTON% "saber1 %MODELNAME%;saber2 none;echo ^5[*] ^7%TEXT NAME of the HILT% (it will be shown in the top left corner) ^5activated" (don't know the hilt's name? type /saber1 in the console).For example (Katarn hilt): bind [ "saber1 saber;saber2 none;echo ^5[*] ^7Katarn ^5activated" // --- Akimbo hilt switcher ---bind %BUTTON% "saber1 %MODELNAME%;saber2 %MODELNAME%;echo ^5[*] ^7%TEXT NAME of the HILT% ^5activated" (don't know the hilt's name? type /saber1 or /saber2 in the console). // --- Skin switcher ---bind %BUTTON% "model %MODELNAME%" (don't know the model's name? type /model in the console) Link to comment
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