Thread: Suggestions
View Single Post
Old 07-09-2017   #5771
Monster Iestyn
Fangtastic
Administrator
 
Monster Iestyn's Avatar
Default

Yeah, but config.cfg is frequently rewritten by the game to store your game's current settings and controls etc, so it can't be used to store other commands like your bind. That's why you have to use autoexec.cfg instead for running extra commands at game startup.

(For that matter, it's also why custom variables with CV_SAVE made with Lua absolutely fail at keeping their saved value in config.cfg. Particularly when you play a mod with such a variable defined, then go on to play another mod WITHOUT it or just plain SRB2, causing you to lose its saved value from the file)
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".

Last edited by Monster Iestyn; 07-09-2017 at 12:41 PM.
Monster Iestyn is offline   Reply With Quote