Hi,
I would like to add ironsights capability to my mod.
It's actually pretty easy to achieve, by tweaking the g_gunX, g_guny and g_gunz cvars - but obviously, I would like to add a function that allows me to toggle between the default and tweaked values.
So how do I create this function, and how do I execute it? It's probably a script, I guess?
I would like to add ironsights capability to my mod.
It's actually pretty easy to achieve, by tweaking the g_gunX, g_guny and g_gunz cvars - but obviously, I would like to add a function that allows me to toggle between the default and tweaked values.
So how do I create this function, and how do I execute it? It's probably a script, I guess?