Sign in to follow this  
Hepfem

[ALPHA] Server tree growth speed mod

Recommended Posts

Hello everyone!

 

I couldn't find a setting to change the growth speed of trees, so I decided to try to make a mod of my own for use with Ago's mod loader. It lets you change the chance that a tree will age one step when its tile is polled, and also to modify the odds that a shriveled tree will die when polled.

 

The mod has been tested manually by me, and seems to work as intended. It has however not been tested for any longer periods of time, and it is also the first mod I have ever done, so please be careful before you decide to use it on any established server!

 

I hope the mod can be of use to you, and I welcome any advice or comments you have that may help me further improve it. Mod info can be found below:

 

To Use

  1. Make sure you have Ago's mod loader
  2. Download the mods.zip file here: https://github.com/Hepfem/WurmTreeGrowthMod/releases
  3. Extract the zip and put the files inside the mods folder in your WurmServerLauncher directory
  4. Edit the settings in wurmtreegrowthmod.properties to your liking

 

Settings

The mod has three settings:

 

The first is activateMod. Use it to activate or deactivate the mod.

# true: Activate mod
# false: Deactivate mod
activateMod=true

 

The second is treeAgingChanceMultiplier. Use it to increase or decrease the chance of a tree advancing to the next age stage when its tile is polled.

# Multiply chance for tree to age upon polling.
# Value = 1.0: No change
# Value = 0: Trees will never age
# Value >= 225: Trees till always age
# Value < 1.0: Decrease the rate at which trees ages
# Value > 1.0: Increase the rate at which trees ages
treeAgingChanceMultiplier=1

 

The third is treeDeathOdds. Use it to increase or decrease the chance of a shriveled tree dying (replanting itself). A higher value means a smaller chance of death, the formula is: chance of death = 1/treeDeathOdds. The exception is a treeDeathOdds value of zero, which will result in a zero chance of death.

#Set odds (0-127) of a shriveled tree dying upon polling.
# Value = 15: No change (1 in 15 chance that tree will die)
# Value = 0: Shriveled trees never die
# Value = 1: Shriveled trees always die
treeDeathOdds=15

 

Notes

  • It is recommended that both treeAgingChanceMultiplier and treeDeathOdds are modified together. Otherwise you may end up with a forest with unbalanced tree ages. If you for example make trees age faster without also making them more likely to die, you will eventually end up with a forest that has a higher ratio of shriveled trees.
  • Remember that a faster tree growth will automatically result in faster tree spreading, since the check for tree spreading occurs when tree age advances. Odds for tree spread can be changed in the original server settings.

 

 

  • Like 3

Share this post


Link to post
Share on other sites

What is the latest news on this mod?

I am very interested in any mods providing more control over rampantly ambiguous configurations like tree growth.

Share this post


Link to post
Share on other sites

I'd like to see a system for amount of trees on server...kind of like with animals, where is has a limit.

Server gets extremly overgrown very fast unless growth is almost stopped. Limit number of trees to x million etc would be helpful.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this