- Posts: 5
- Joined: Wed Jul 19, 2017 1:29 pm
I tried editing the user.txt in my SAVE folder for the game, but none of my changes are taking effect. Is this because the UA:Source stores the saves elsewhere, or doesn't support edits whatsoever?
- Turantul 1 (Veteran)
- Posts: 419
- Joined: Thu Mar 01, 2012 3:00 pm
- Location: Schloss Charlottenburg..?
Currently UA:Source is fully capable of modifying all save file parameters. Please keep in mind that most game data changes (including saves) are applied only after completely restarting the game.
Also while this may sound redundant, please check whether if the file is set to 'Read Only'; and make sure you are modifying the correct user.txt just in case there are multiple user profiles under your SAVE folder.
The maximum attainable roboenergy and reloadconst value in user.txt is 2147483647 which is the max 32-bit int value. But normally it is not recommended to set the energy value that high because the game can get buggy.
In the case of maximal host station energy, the three energy bars will be constantly reduced until they reach the stabilised status of ((2^31)-1)/3 for each (as there are three valid types of energy bars).
If the host station life energy bar exceeds the number (2^31)-1 via recharging, it will cause the overflow of the unsigned integer limit and in result will destroy the host station.
Incidentally, the actual in-game recharge rate can be roughly calculated by putting the script value of reload_const as a numerator and the approximate value 235.294 as a denominator.
; Vielleicht der niedlichste Hubi, Knuddel.
„ Helfen - Wehren - Heilen “
Personal Declaration: I always use different usernames across different websites. Hence if you ever see my username is being used outside of Stoudson Corporation, I absolutely have no affiliation whatsoever with that!
- BlackSect Creator
- Posts: 895
- Joined: Sun Dec 02, 2007 1:16 am
- Location: USA
Users browsing this forum: No registered users and 1 guest