Avorion

Avorion

Wreckage Detector
17 kommentarer
smurftrooper 12. juni kl. 18:22 
any chance some1 knows how this can work in 2.5.7? currently doesnt work for me. have tried disabling all mods I have no dice
[CSM] Duwen_Blade 6. dec. 2024 kl. 16:04 
in function detectWreckages()

local entities = {Sector():getEntitiesByType(EntityType.Wreckage)}

for _, entity in pairs(entities) do
local sphere = entity:getBoundingSphere()
local size = sphere and sphere.radius * 2 or 0
local material = entity:getLowestMineableMaterial()
local resources = 0
for a, value in pairs({entity:getMineableResources()}) do
resources = resources + value
end

if size >= 20 or resources > 10 then
table.insert(interestingEntities, entity)
end
end
end

i got rid of the if then for size and resources and its super laggy any way to not have the constraint while preserving performance?
kinngrimm 26. juli 2023 kl. 14:15 
is this client side?
Valkerion™ 31. aug. 2022 kl. 23:41 
Hello! I wanted to ask if it is possible to lower the variance of the modules so that we don't end up with 100s of them taking inventory slots? As how the fighter modules tend to only have two variations and always stack together.
Myrianne  [ophavsmand] 2. aug. 2021 kl. 22:05 
I went ahead and pushed a 2.0 update. Just did a quick check to see if it still worked and it seems fine, but let me know if anything weird pops up.

If anyone's desperate for a legacy version until 2.0 officially releases just let me know.
Myrianne  [ophavsmand] 1. aug. 2021 kl. 15:01 
I may not come back and update this until 2.0 officially releases just because so many people will still be using it in 1.0. Just FYI.
Zeinath 30. juli 2021 kl. 23:00 
Technically works in beta 2.0, but the Petty tier has crazy insane power costs. The green tier ones I have are just fine.
windsytheTTV 29. juli 2021 kl. 22:28 
will this still work with version 1.3.8?
FuryoftheStars 15. juli 2021 kl. 17:11 
To anyone wondering about drop rates, this mod doesn't do anything to modify its drop rate. If you're seeing a lot drop, then that's RNG for you.
Puronga 22. maj 2021 kl. 12:30 
is the havy drop rate fixed? thanks
Vanover_Lord 30. nov. 2020 kl. 17:41 
I like this mod a lot but MAN that cards drop with way way to much frequency could you tone it down by like 75? After a long battle where I pick up like 250 cards probably 25% of them are these. Please fix it
Myrianne  [ophavsmand] 8. nov. 2020 kl. 12:07 
Looks like you're doing it correctly. Do you have my universal companion module installed as well? That also has a wreckage detector that might be adding the smaller ones.
xFATAx 8. nov. 2020 kl. 5:44 
Hi Myrianne, could you tell me which values to edit to alter the detection size of wreckages? I'd like to only detect larger wrecks.

I've altered the values in this line, but I don't see a change, even if I bump the numbers up to 1,000,000.

if size >= 1000000 or resources > 1000000 then

Thanks!
Myrianne  [ophavsmand] 24. apr. 2020 kl. 11:39 
It already limits the size of wreckage it detects. You can adjust it in the lua file if it's too small for your taste.

If you mean range, the lower rarity modules have smaller range.

Personally, I've never had trouble locating large wreckages in my strategic map. I made this mod to find the little ones!
krismoellegaard 24. apr. 2020 kl. 6:15 
how abaut a limet to the amaunt of wreck shown (like the higher mining have a limet to shown astroids)
Myrianne  [ophavsmand] 14. apr. 2020 kl. 16:17 
Woops! Updated 3 of my mods all at once and made an error in this one. All fixed now.
QBlisters 14. apr. 2020 kl. 13:19 
更新後失去作用
No effect after update
什麼都看不到..
Can't see anything ...