Changing game settings via script?

Post » Tue Jul 05, 2011 1:29 am

Is it possible to change game setting via script? (i.e. fminwalkspeed)
User avatar
Jose ordaz
 
Posts: 3552
Joined: Mon Aug 27, 2007 10:14 pm

Post » Tue Jul 05, 2011 1:19 pm

No, you cannot change GMSTs with scripts.
Not even MWSE can do that.
User avatar
Anthony Santillan
 
Posts: 3461
Joined: Sun Jul 01, 2007 6:42 am

Post » Tue Jul 05, 2011 5:17 am

:/ Okay, is there a way to halve the pc's speed attribute?
User avatar
Julia Schwalbe
 
Posts: 3557
Joined: Wed Apr 11, 2007 3:02 pm

Post » Mon Jul 04, 2011 11:01 pm

Is it possible to change game setting via script? (i.e. fminwalkspeed)
Never tried so far, but I think it is possible with MGE XE extended syntax
:/ Okay, is there a way to halve the pc's speed attribute?
yes, for instance if your speed is 98
player->SetSpeed 49
should work
User avatar
Kelsey Hall
 
Posts: 3355
Joined: Sat Dec 16, 2006 8:10 pm

Post » Tue Jul 05, 2011 5:59 am

The MCP Skunkworks has some files http://www.tesnexus.com/downloads/file.php?id=26348 which you'd need to edit GMSTs through scripting. The current builds of MGE XE include special MWSE functions to read and write GMST values, and the "GMST Reference" link should show example usage.

You'll need MWEdit to compile MWSE scripts, as usual. Good luck!
User avatar
luke trodden
 
Posts: 3445
Joined: Sun Jun 24, 2007 12:48 am


Return to III - Morrowind