hey i was working on a mod that changes the prices of everything and i was tryna remove the $2000000 money cap n I was wondering if anyone knew how I would go about doing so if its possible.
int32_t -2000000000 and 2000000000 how it's represented internally with the yellow being the cents, it's a little below INT32_MAX which is 2147483647 so the therotical max could be 21474836.47 but they chose 20000000 as it's cleaner, it's technically possible to just have it be represented as an unsigned integer so the max could be 42949672.95, pretty sure they have negatives because of loan sharks in SR1, either ways upgrading it to int64_t would be practically impossibledamn alright so it wouldnt be possible to even up it to 42949672.95?It's not possible, because it's a signed integerint32_t-2000000000 and 2000000000 how it's represented internally with the yellow being the cents, it's a little below INT32_MAX which is 2147483647 so the therotical max could be 21474836.47 but they chose 20000000 as it's cleaner, it's technically possible to just have it be represented as an unsigned integer so the max could be 42949672.95, pretty sure they have negatives because of loan sharks in SR1, either ways upgrading it to int64_t would be practically impossible
You could. But it would require editing the game's engine code. Which can get tricky finding all the dependencies and associations that all operate under a certain format and data-type assumptions.damn alright so it wouldnt be possible to even up it to 42949672.95?
human_cash's operators where it sets the limit, in contrast to SRTT and SRTTR where they aren't inlined,