ATLAS
310 个评价
Regenerating Ships
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
62.419 KB
2019 年 3 月 11 日 下午 6:23
2019 年 4 月 28 日 上午 7:05
5 项改动说明 ( 查看 )

订阅以下载
Regenerating Ships

描述
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]
热门讨论 查看全部(1)
10
2020 年 4 月 22 日 下午 12:10
Servers Using This Mod
andargor
83 条留言
NeekotheFoxx 2021 年 12 月 5 日 下午 9:49 
id like to use this mod to try and prevent ship decay, especially in freeports. I play in singleplayer and I want to be able to build in those areas since theyre so nice. I tried playing in Blackwood since the freeport there works differently but that map has a few bugs that are annoying like the gps being off. What settings would I need to use to prevent ship decay so I can enjoy the singleplayer experience?

TL:DR What config settings do I use to prevent ship decay in freeports
Jarle 2021 年 2 月 12 日 下午 12:06 
Can you -rep my profile? xd
lordcrowler 2020 年 11 月 18 日 上午 5:11 
this is something common in atlas,no need a mod to crash after u close the SP session...U need to understand they didnt fix any of bugs for SP,they dont care :(.In your crash log file u gona see first line with something arround kernelbase.dll (thats a dll from windows10 who will get error,when u low on video memory amd ram).Mods consume more video and ram memory :)
Slime Prestige VI 2020 年 11 月 17 日 下午 9:19 
I use this in singleplayer, and every time I quit to the main menu the game crashes.
lordcrowler 2020 年 10 月 13 日 上午 1:26 
Should repair your decks,depends what configuration u have for the mod,and depends to the other mods u use..i know for vanilla ships will repair everything u have,anchored or unanchored,depends on settings u have...but idk if the mod will proprely repairs ships from other mods like AS,or heavy ships and so one.
123 2020 年 10 月 12 日 下午 8:33 
This doesn't seem to be repairing decks any more. Is this working as intended?
lordcrowler 2020 年 6 月 28 日 上午 4:59 
I m sure regeneration ships work well with death recovery,cuz i used them {链接已删除} fact i l write u the list with mods that i m sure this mod was working.

Regeneration ships,death recovery,hitching post,weight reduction 90%..thats all i can remember well..

But i m pretty sure the mod is in conflict with that artilery mod..regeneration ship regain health for everything in your ship,including cannons,ballistas,sails,ceilings and so on.
Jackle80 2020 年 6 月 27 日 下午 4:23 
All good. We had a stint of relief but lag and studder has returned in alternate forms. Not in the same way though. Still hunting a full solution. I only have the ability to test on Blackwood. As far as conflicts we had the artillery mod and ship regen (Both removed) and then the Juke box mod and death recovery mod. Currently Death Recovery is the only active one. May purge it soon to test. Other than that we're keeping it simple. Open to any suggestions and if it seemed like I was hating I apologize. Your mod is fantastic. Thanks for the hard work.
lordcrowler 2020 年 6 月 27 日 下午 3:51 
@Jackle80,andargor the mod have no issue,the problem of Jackle is another mod who is in conflict with ship regeneration,prob he use AS or funk,who has own shipyards with own things on ship health and other stats.
andargor  [作者] 2020 年 6 月 27 日 下午 12:53 
@Jackle80 Thanks for the report. That's extremely strange since the mod is completely separate from the ship entities, it just lists them and adds HP. Does this issue only happen on Blackwood or all maps? I unfortunately will not be able to try to fix it for a while.