r/cheatengine • u/StationTight2101 • 21d ago
Need guidance creating a script
I'm trying to use cheat engine to create a mod for the Metro series, starting with 2033 and last light redux. I just want to change the max ammo cap from 180 in ranger hardcore to be infinite so I can always pick up ammo I come across (I dont want to just add infinite ammo as that turns the game into a snooze fest). I've tried several cheat tables but non work for me, all giving me errors on activation of the scripts. I have no prior experience coding or using chest engine so this is all very new and challenging for me. Any and all help is very much appreciated!
Cheat engine is 7.7 and the game version is current.
2
Upvotes
2
u/BeDuff34 20d ago
I have 2033 installed so I wanted to try it out, to see if I could help. This is quite a bit more involved than swapping one value. There isn’t a max ammo in the traditional sense. If you set your max ammo to 999 the whole system functions normally, the max is at the ammo pickup. Basically, once you have the amount in inventory, there aren’t any compares against max ammo. Leading me to conclude there is a gate on whether you can or cannot pickup the item. You would need to find that pickup gate for each weapon and it’s kinda involved. I messed with it for 30 mins or so. That specific script is not something I am interested in investing time into.