help me edit the script

Users who are viewing this thread

HİSOKA123

Recruit
How can I change the amount of gold given after a battle?


party_give_xp_and_gold -1 38 21 1 1224979098644774912 1 1 936748722493063324 2133 2 1224979098644774913 72057594037927936 2133 2 1224979098644774914 0 1650 2 1224979098644774915 1224979098644774912 6 3 1224979098644774916 0 1224979098644774915 1652 3 1224979098644774917 1224979098644774912 1224979098644774916 2147485155 1 1224979098644774917 1653 3 1224979098644774918 1224979098644774912 1224979098644774916 2171 2 1224979098644774919 1224979098644774917 2120 3 1224979098644774920 1224979098644774919 10 2107 2 1224979098644774920 1224979098644774920 2108 2 1224979098644774920 10 2122 3 1224979098644774921 1224979098644774920 1224979098644774918 2105 2 1224979098644774914 1224979098644774921 3 0 2107 2 1224979098644774914 144115188075856248 2108 2 1224979098644774914 100 2110 2 1224979098644774914 40000 2133 2 1224979098644774922 1224979098644774914 2136 3 1224979098644774923 50 100 2107 2 1224979098644774922 1224979098644774923 2108 2 1224979098644774922 1 1674 2 648518346341351424 1224979098644774922 2122 3 1224979098644774924 1224979098644774914 10 2110 2 1224979098644774924 60000 2136 3 1224979098644774923 50 100 2107 2 1224979098644774924 1224979098644774923 2108 2 1224979098644774924 100 2108 2 1224979098644774924 1224979098644774913 1650 2 1224979098644774915 648518346341351424 6 3 1224979098644774916 0 1224979098644774915 1652 3 1224979098644774917 648518346341351424 1224979098644774916 4 0 1507 1 1224979098644774917 1 3 936748722493063628 1224979098644774917 1224979098644774924 3 0 3 0
 
Very few of us tweak compiled text files anymore.
You could set up a module system, then edit the source code. You already know which script you wanna edit, once you open it, the names of variables will make it obvious to you what to change.
Then just compile and you're done.

If you however vehemently refuse to use module system, that's ok. In such case it might be easier to just Ctrl+X in inventory window if you want more money though.
 
Hey! If you're looking to edit the script that changes the amount of gold after battles, I’d suggest using the module system for Warband. You can find the relevant script under module_scripts.py and tweak the values there. If you're unfamiliar with the module system, there are some good guides in the forums that explain how to extract and modify the files. Also, make sure you have Python installed to compile the changes back into the game. Let me know if you need any help with that!
 
Back
Top Bottom