Avorion
评价数不足
Better Vanilla Loot Tractor Beam Subsystems
   
奖励
收藏
已收藏
取消收藏
Mods: Mod
文件大小
发表于
更新日期
74.031 KB
2023 年 1 月 20 日 上午 10:46
2023 年 1 月 20 日 下午 9:24
3 项改动说明 ( 查看 )

订阅以下载
Better Vanilla Loot Tractor Beam Subsystems

描述
Required on both Server and Client sides, as it modifies an entity script.
This mod overwrites \data\scripts\systems\lootrangebooster.lua so any mod that also changes this file will conflict with it.

Changes the formula for loot tractor beams to have more range.
For the lowest rarity (Petty) a 17x increase, for the highest (Legendary) rarity nearly a 10x increase.
To compensate for the higher ranges, permanent install only gives 1.5x multiplier to range, rather than 3x.

Petty averages 0.3625 km
Common averages 0.725 km
Uncommon averages 1.218 km
Rare averages 1.8792 km
Exceptional averages 2.75616 km
Exotic averages 3.90874 km
Legendary averages 5.4121 km

New formula is:
local range = (rarity.value + 2 + getFloat(0.25, 0.75)) * 2 * ((1.2 ^ rarity.value)/2) * 29

Unmodded formula was:
local range = (rarity.value + 2 + getFloat(0.0, 0.75)) * 2 * (1.3 ^ rarity.value)

rarity.value is a whole number, ranging from -1 (Petty) to 5 (Legendary).


For comparison, here's the averages based on the unmodded formula:
Unmodded Common averages 0.02115 km
Unmodded Uncommon averages 0.0475 km
Unmodded Rare averages 0.08775 km
Unmodded Exceptional averages 0.23618 km
Unmodded Exotic averages 0.36415 km
Unmodded Legendary averages 0.54776 km
7 条留言
Stepanma01  [作者] 1 月 3 日 下午 7:50 
@Chabero Okay, makes sense if there's a conflict. This mod overwrites data\scripts\systems\lootrangebooster.lua

I'll add that to the description.

You can find what files a mod changes by going to your Steam folder, then \SteamApps\workshop\content\445220\

The folders are each mod's ID, which you can grab from the URL/web address of the mod.
For instance this mod's ID is 2920946522, from the web address https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2920946522
chabero 2024 年 12 月 31 日 下午 12:34 
Universal Adventuring Companion (2.2) this one ;)
chabero 2024 年 12 月 31 日 下午 12:31 
i think is a conflict with another mod that bring a combiitem Radar + scanner +something and with tractorupgrade in it (save 3 other Cards in the ship)
Stepanma01  [作者] 2024 年 12 月 31 日 上午 8:20 
@Chabero Just tested myself just now in Singleplayer, still works.
I've checked the original code, and there haven't been any changes, so the mod should still work.\

If you're playing multiplayer, both you and the player running the server needs to have the mod
downloaded and enabled.
For singleplayer, you just need the mod downloaded and enabled.
chabero 2024 年 12 月 27 日 上午 2:32 
not working for me.. alo game not and complete new to...
Stepanma01  [作者] 2023 年 2 月 7 日 上午 4:09 
@jaap Both server and client side, as it modifies a player entity script. I'll update the description.
https://avorion.fandom.com/wiki/Avorion_Internal_Architecture#Special_Behaviors

For future reference, if you go to your Steam folder, then to steamapps\workshop\content\445220 you'll find what you've downloaded for Avorion from the workshop.
Each mod has a modinfo.lua that tells you if it's server side only, client side only, or runs on both if none of those.
The mod folder names are taken from the workshop ID. As an example this mod's ID is 2920946522. You can see that from the address bar where it says id=2920946522.
jaap 2023 年 2 月 4 日 下午 1:37 
Is this server or client side?