there are basically 3 things with cfg modding,
"console commands" "dvars"(developer variables) "value"
e.g. (set g_speed 400)
"set" being the console command.
"g_speed" being the dvar.
"400" being the value
And you can set your own variables, then when the variable is called, any string that is set to it will run.
e.g.
set (variable name) "set g_speed 400"
set hello "set g_speed 400"
Quotations are just used for parsing
To break a line or string use ;
e.g.
set hello "set g_speed 400;set jump_height 999"
to call a string use the console command "vstr"
e.g.
bind dpad_up "vstr hello"
("bind" is used for setting a command to a button)
so as long as "vstr" is binded to "dpad_up" every time you press "dpad_up", g_speed will be set to "400" and jump_height will be set to "999"
to title a mod, just type something in that isnt a console command or a dvar
e.g.
set hello "Super_Jump"
and since it kind find the command "Super_Jump" it displays it as an error on the screen.
you can also color the unknown command e.g.
set hello "^1Super_jump"
you can use colors 0-9 but make sure you put the carrot in front of the number e.g.
^0Super_jump
^1Super_jump
^2Super_jump.. and so on.
now the only thing you have to do is get creative with how you use these things.
here is a list of dvars
You must login or register to view this content.
here is a list of console commands
You must login or register to view this content.