Arkis101 Posted March 8, 2020 Share Posted March 8, 2020 I found a mod that changes Moriarty's saloon a bit but, it also has a separate file for a slot machine, named "RZWSlotMachine". (https://www.nexusmods.com/fallout3/mods/16651?tab=files) In game, you can only gamble 1,2,3,4, or 5 caps at a time. What I'm trying to do is make these values much larger (to make it more interesting). I'm using FO3Edit for the first time, and have managed to figure out how to edit the messages about the cap amounts in game but, I don't know how to change the mod so that it actually takes larger cap amounts nor, for that matter, have I found anywhere in the script how the winnings are calculated. So basically, I'd rather gamble something like 20, 50, 100, 500, 1000 than 1,2,3,4,5. I'm still learning this thing but, any help is appreciated. Cheers. Link to comment Share on other sites More sharing options...
Mktavish Posted March 10, 2020 Share Posted March 10, 2020 I don't think you can do it with Fo3Edit ... at least I couldn't see how with it.But with Geck you change these 2 lines per button press in the script named ... RZWSlotMachineScript This section of it ... the green text being what values you requested.BEGIN MenuMode 1001 If SlotMode == 1 set PressedButton to getbuttonpressed If PressedButton == 0 playgroup Backward 2 playsound3d ITMBottlecapsDown player.removeitem Caps001 20 set SlotMultiplier to 20 set SlotMode to 1 return ElseIf PressedButton == 1 playgroup FastRight 2 playsound3d ITMBottlecapsDown player.removeitem Caps001 50 set SlotMultiplier to 50 set SlotMode to 1 return ElseIf PressedButton == 2 playgroup FastLeft 2 playsound3d ITMBottlecapsDown player.removeitem Caps001 100 set SlotMultiplier to 100 set SlotMode to 1 return ElseIf PressedButton == 3 playgroup FastBackward 2 playsound3d ITMBottlecapsDown player.removeitem Caps001 500 set SlotMultiplier to 500 set SlotMode to 1 return ElseIf PressedButton == 4 playgroup FastForward 2 playsound3d ITMBottlecapsDown player.removeitem Caps001 1000 set SlotMultiplier to 1000 set SlotMode to 1 return ElseIf PressedButton == 5 set SlotMode to 9 return EndIf EndIfEND Then you also need to change the item condition value in the message "RZWSlotMachineMenu"Which you said you already found it in Fo3Edit to change the value of the buttons.But I don't think you can change the condition value in that program either ? So need to do that in Geck.Which you click on each index , then it shows its condition in the field below.(If you don't see anything there , you have the windows bug which squashes all the text to the left ... So to show the stuff ... click in the box , then hold right ctrl and press + on the num pad to expand the info)So then double click the condition , and it will open an edit window , which you just then change the value box.And that is what makes sure the player has that many caps. Also the slot machine file is an .ESM file , which you cannot change stuff within a master file with the Geck.So you would need to turn it into an .esp with Fo3Edit.Or you just make an .esp that records the changes ... which you then use in your load order launching the game.Or if you are using that authors .esp file , you could make the changes in it after loading both in geck with the .esp being the active file. Hope that helps Add edit: By the way the winnings are just calculated with the "SlotMultiplier" variable * 100 / 10 / 5 / 2 / 1 Link to comment Share on other sites More sharing options...
Arkis101 Posted March 11, 2020 Author Share Posted March 11, 2020 Mktavish, thanks a lot for the response! In regards to trying to edit the values in FO3, I wasn't really sure the full extent of what FO3 could do but, it does explain why I couldn't find what I was looking for. I haven't used GECK before but, I'll give it a go. Your answer was wonderfully detailed and I'm more than confident I can tackle this now; so a big thanks, again, for the response! Cheers. Link to comment Share on other sites More sharing options...
Mktavish Posted March 29, 2020 Share Posted March 29, 2020 How's the gamble coding going ? UH oH :unsure: That Rymes ... :ermm: IF == TruE ! :devil: ~\_j)}>~.~.`~ <,='\/\/\/\=~~$ :geek: ??? Link to comment Share on other sites More sharing options...
Recommended Posts