When editing Line 143 of the dicepokerstates.ws file, what exactly do we edit to change the desired maximum bet?
Great mod idea, I will be tracking this!
Edit: I've gotten around the Line 143 issue by simply unpacking your base file and copy/pasting your minigame folder into my other mod's base file and replacing it. So if anyone else has my issue, that is my workaround. But I'm still curious what exactly to edit in the file.
If you want to change your maximum level (with 1 level giving 1 talent), here.
If you want to reduce the cooldown of the Witcher medalion:
In your base_scripts file, search for and open the Player.ws file in Notepad++.
Scroll to line 4206, and look for this line of code: m_canUseMedallion = false; theHud.m_hud.SetIsMedallionActive( false ); AddTimer( 'OnEnableMedallion', 10.f, false ); Change 10.to 1.f (10 seconds to 1 second).
I was wondering how TW2 did not have Dice Poker scaling like TW1 had. Good mod.
I do have a selfish request Mr Dan Caldwell, would it be possible for you to make a 50 Orens Max Dice Poker Wager option? If yes, I would endorse this.
I think it would be more balanced (For me), so it gets you more Orens and a little more incentive to play Dice Poker but not to the extent that you can buy all the things will the money you get from it compared to reward money from quests.
Thank you for your hard work and I will Track your Mod.
13 comments
Great mod idea, I will be tracking this!
Edit: I've gotten around the Line 143 issue by simply unpacking your base file and copy/pasting your minigame folder into my other mod's base file and replacing it. So if anyone else has my issue, that is my workaround. But I'm still curious what exactly to edit in the file.
1. First place your base_scripts.dzip file (Found in CookedPC) into a new folder.
2. Using the RED Tools, unpack your base_scripts.dzip file by dragging it into Gibbed.RED.Unpack.exe.
3. A base_scripts folder will appear in your new folder directory. Open it and search for dicepokerstates.ws.
4. Open the file with Notepad++, and go to line 143.
5. Remove the code and paste this: maximalBet = Min( 100, parent.m_playerStatuses[ DicePoker_Player ].m_money );
The code that you replace is this one:
maximalBet = Min( parent.m_npc.GetDicePokerMaxBet(), parent.m_playerStatuses[ DicePoker_Player ].m_money );
Save the file. This is the only change this mod does. The number 100 represents the wage amount, and you can change it to whatever you like.
6. Drag your base_scripts folder into Gibbed.RED.Pack.exe and it will replace your .dzip file.
7. Drag your new .dzip file to CookedPC.
_____________________________________________________________________________________________________________________________________________
If you want to change your maximum level (with 1 level giving 1 talent), here.
If you want to reduce the cooldown of the Witcher medalion:
In your base_scripts file, search for and open the Player.ws file in Notepad++.
Scroll to line 4206, and look for this line of code:
m_canUseMedallion = false;
theHud.m_hud.SetIsMedallionActive( false );
AddTimer( 'OnEnableMedallion', 10.f, false );
Change 10.to 1.f (10 seconds to 1 second).
Recompile the folder as of step 6.
I do have a selfish request Mr Dan Caldwell, would it be possible for you to make a 50 Orens Max Dice Poker Wager option? If yes, I would endorse this.
I think it would be more balanced (For me), so it gets you more Orens and a little more incentive to play Dice Poker but not to the extent that you can buy all the things will the money you get from it compared to reward money from quests.
Thank you for your hard work and I will Track your Mod.