View Single Post
Old 11-13-2006, 09:30 PM   #1
jedispy
 
jedispy's Avatar
 
Join Date: Jan 2003
Location: Left side of the coin
Posts: 828
Current Game: Metroid Prime 2
Another code question

I was wondering if there is a way to use code to dynamically change game settings when needed. By this I specifically mean adjust mouse sensitivity & sound/music volume.

The mouse sensitivity thing is mostly needed for better vehicle support. I noticed (as i'm sure we all have) how crappy the contols are when your player enters a vehicle. I always have to bump up my mouse sensitivity just to be able to turn properly with vehicles. So here is basically what would be needed
  • mouse_sens_old = X (x being the current setting for mouse sensitivity)
    when playermodel = vehicle_name then mouse_sens_new = Y. (Y is the value for higher mouse sensitivity)
It would be something like that. I know it's not perfect as is, but it should give you the general idea of what I'm looking for.


Jedispy - SOTE Mod Administrator, server/technical administrator, mod author, forum admin/moderator, web administrator, programmer.
Click to read the latest SOTE MOD news
jedispy is offline   you may: quote & reply,