Jump to content

Saber model seta in config files?


Recommended Posts

Posted

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 :)

Posted

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.

Posted
to set the saber model in the config file

Yep.

 

// --- 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)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...