Author |
Message |
Lynx Newbie
Age:34 Gender: Joined: Jan 26 2009 Posts: 19 Location: My mothers basement. Offline
|
Posted: Sun Aug 01, 2010 10:54 am Post subject: Changing Settings Values |
|
|
|
|
Hi, could somebody point me in the right direction to changing settings files via code? For example, if I wanted to change a players warbird top speed from 3000 -> 5000 what would I need to do/what header file do I need to read up on.
Thanks |
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sun Aug 01, 2010 11:26 am Post subject: |
|
|
|
|
A single player's setting? You want clientset.h. First you get an override key with GetOverrideKey, then you PlayerOverride.
Or do you mean the code equivalent of ?seta Warbird:MaxSpeed=5000? For that you want config.h. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
|
Lynx Newbie
Age:34 Gender: Joined: Jan 26 2009 Posts: 19 Location: My mothers basement. Offline
|
Posted: Sun Aug 01, 2010 12:14 pm Post subject: |
|
|
|
|
Thanks for the prompt answer |
|
Back to top |
|
|
|