surg23 Posted November 28, 2013 Share Posted November 28, 2013 Hey, I'm trying to reduce the experience gain rate, but geck doesn't let me edit or open globals, any ideas ? Link to comment Share on other sites More sharing options...
jazzisparis Posted November 28, 2013 Share Posted November 28, 2013 What do you mean by "doesn't let me"?Editing the values of globals is only possible from Gameplay > Globals, not from the Object Window. Link to comment Share on other sites More sharing options...
surg23 Posted November 29, 2013 Author Share Posted November 29, 2013 (edited) Oh I see. I will give that a shot, thank you very much. :smile: Hmm, I am still very confused, I went to Gameplay > Globals but it seems there is very little that can be changed, or actually that I don't understand the input values. I am trying to reduce XP you get within FWE which has a script that handles 4 options of XP gain, each option entry points to a change in FWEConfigXPBump - Zero (0) being option 4 and the lowest rate of XP. But I don't understand how to reduce it even further. Like "0" doesn't resemble any calculation by itself, so I assume the value of "0" is used to reference the actual XP formula, and where that is I do not know. if configButton > -1 if (configButton == 0) ; Option 1 set FWEConfigExpBump to 1 showmessage FWEConfigMenu001 set configStage to 211 elseif (configButton == 1) ; Option 2 Broken Steel Balanced set FWEConfigExpBump to 2 showmessage FWEConfigMenu001 set configStage to 211 elseif (configButton == 2) ; Option 3 Broken Steel More Skills set FWEConfigExpBump to 3 showmessage FWEConfigMenu001 set configStage to 211 elseif (configButton == 3) ; Option 4 FWE Default set FWEConfigExpBump to 0 Edited November 29, 2013 by surg23 Link to comment Share on other sites More sharing options...
jazzisparis Posted November 29, 2013 Share Posted November 29, 2013 I assume the value of "0" is used to reference the actual XP formula, and where that is I do not know.Yes, this global is probably used by another script, to determine the amount of XP the player is rewarded. In Globals, right-click on FWEConfigExpBump and select Use Info. You are then presented with a list of all the objects (including scripts) that use/reference this global. Link to comment Share on other sites More sharing options...
surg23 Posted November 29, 2013 Author Share Posted November 29, 2013 Oh boy, you have no idea how many times I checked those scripts and found nothing, but you were right it was there all along. It was a tiny single entry in "Quest stages" ;========== EXPERIENCE - 210 if FWEConfigExpBump == 1 ; 150 Con_SetGameSetting iXpBumpBase 150 elseif FWEConfigExpBump == 2 ; 225 Con_SetGameSetting iXpBumpBase 225 elseif FWEConfigExpBump == 3 ; 300 Con_SetGameSetting iXpBumpBase 300 elseif FWEConfigExpBump == 0 ; 400 Con_SetGameSetting iXpBumpBase 400 endif I'm guessing that increasing the base value will reduce the XP rate, though I am unsure of whether to change just the iXpBumpBase or the explanation value to the right of it, or both ? At any rate, thanks very much for helping me with this, I'm very happy to have found this. :) Link to comment Share on other sites More sharing options...
jazzisparis Posted November 29, 2013 Share Posted November 29, 2013 You only need to change iXpBumpBase.The semicolon simply tells the compiler to ignore the rest of the current line, and is used when you want to leave notes/comments inside the code. Changing it is not necessary and will have no effect on how the script works. Link to comment Share on other sites More sharing options...
surg23 Posted November 29, 2013 Author Share Posted November 29, 2013 Oh, I think I get it now, that's very useful to know. Thank you again for all the help, you're a legend! Link to comment Share on other sites More sharing options...
Recommended Posts