ATLAS
51 ratings
Regenerating Ships
 
Rate  
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
0.060 MB
Mar 11 @ 6:23pm
Apr 28 @ 7:05am
5 Change Notes ( view )

Subscribe to download
Regenerating Ships

Subscribed
Unsubscribe
Description
Regenerating Ships

This mod regenerates the health of all player-owned ship structures, including planks, sails, guns, and all attached structures such as walls and ceilings. We use it on our private server, and it was created to alleviate the chore of manually repairing every structure that the crew won't repair. The default settings repair 200 health every 10 minutes (600 seconds), which will repair most medium ships within about 4 hours.

In order to keep the processing as light as possible, the health regeneration does not require resources, nor a crew. It will not interfere with normal repairs.

MOD ID: 1680540642

INI SETTINGS

The following are the default settings, that can be modified by adding this section to the GameUserSettings of every tile in a grid. To keep the default settings, you do not need this entry in your INI.

[RegeneratingShips]
RegenerationInitialDelaySeconds=60.0
RegenerationIntervalSeconds=600.0
RegenerationAmountAnchored=200.0
RegenerationAmountUnanchored=0.0

The settings can be interpreted in this fashion:

Once a server is started, after RegenerationInitialDelaySeconds, start iterating over player-owned ships every RegenerationIntervalSeconds, and repair every attached structure by RegenerationAmountAnchored for anchored ships, and RegenerationAmountUnanchored for unanchored ones.

NOTE: The smaller the RegenerationIntervalSeconds, the processing is done more often. This may bog down large servers with many player ships. For more health regeneration, it is recommended to increase the RegenerationAmountAnchored and/or RegenerationAmountUnanchored values instead of shortening the processing interval.


SOURCE

Sources are available on GitHub under the MIT License: https://github.com/Andargor/ATLAS-RegeneratingShips


___________________________________________
Donations
Not required but always welcome: PayPal[www.paypal.me] Patreon[www.patreon.com]
Popular Discussions View All (1)
5
Jun 14 @ 5:43am
Servers Using This Mod
andargor
< >
36 Comments
andargor  [author] Jul 15 @ 7:40pm 
@Infiniti85 It should work, I haven't checked Total Structures though.
Infiniti85 Jul 15 @ 10:37am 
@andargor, great mod :), will this work with Total Ships & Total Structures?
andargor  [author] Jul 15 @ 8:47am 
@PAÐÐY That's correct
PAÐÐY Jul 14 @ 12:41am 
I am using your mod, so is the idea (by default settings) that the ship will heal by adding 200 health every 10 mins when only anchored. Just a little confused thats all. Thanks
andargor  [author] Jul 1 @ 9:06pm 
@Tantalus I've never played single player, but the reference to tiles was the fact that on a server you have a GameUserSettings.ini for each tile. Each tile is basically a separate server, that are joined together in a grid. I'm guessing in single player you only have one tile, so only one GameUserSettings.ini to modify.
Tantalus Jul 1 @ 7:13pm 
Quick question: how would I implement changes to GameUserSettings.ini for single player? You mention you have to add the settings for every tile in a grid, but I don't see any entries for tiles in my GameUserSettings.ini file. Thanks!
andargor  [author] May 15 @ 1:35pm 
@Grace O'Malley done
Grace O'Malley May 15 @ 4:58am 
could you put a servers using this mod in discussions?
andargor  [author] May 5 @ 4:10pm 
@lendormi I've never tried, but I don't see why it wouldn't work. Each tile is a different server with its own GameUserSettings.ini. Give it a shot and let us all know :)
lendormi May 5 @ 4:03pm 
Can we put different setting on different map ? For exemple, I want to have specific value in A3 for an event but the other case stay with default setting ? And thanks for this mod, It's awsome !!!!!!!!!!!!!!