Avorion
Torpedo Auto-Targeting 2.2+
24 条留言
Teranoc 1 月 15 日 上午 8:30 
Go to "\SteamLibrary\steamapps\workshop\content\445220\2848979724"
Open "modinfo.lua" and search for dependencies and change it to:

dependencies = {
{id = "Avorion", min = "2.2", max = "2.6.*"}
Zandy man 2024 年 12 月 28 日 上午 9:04 
This mod is not working anymore. Needs an update.
Reuivn 2024 年 3 月 5 日 上午 3:54 
For anyone wanting to "fix" this mod for themselves, you need to do 2 thing. First in modinfo.lua change the Avorion Max version from whatever it is (sorry didn't look) to "2.*.*", alternatively you could delete the whole max argument which also should stop the game yelling at you.

to "fix" the reassignment of targets from self to enemies, change line 45 in torpedoautotargeter.lua from if firingEntityId == torpedoAI.target or torpedoAI.target.isNil then

to if ( firingEntityId == torpedoAI.target or torpedoAI.target.isNil ) then

That should fix the logic this script was using. However, there still seems to remain the issue of targeting yourself and rubbing one out; if there are no targets around it comes home to you.

Finally, I took inspiration from Nyrin (rather than copy) and wrote my own torpedo targeting AI. The logic is different it might be what you're looking for: SerinaAI
Kraegor 2024 年 1 月 12 日 上午 5:23 
The one thing that -does- need to be fixed in this mod is that if you are targetting yourself, your torpedoes come for you. Somehow that got broken between 2.2 and 2.3
Teranoc 2023 年 12 月 10 日 上午 1:27 
@ Tharrick LawsOn Try to change it by yourself. Go to the Installation Folder : SteamLibrary\steamapps\workshop\content\445220\2848979724 and edit the "modinfo.lua". Search for "{id = "Avorion", min = "2.2", max = "2.3.*"}" and change the 2.3.*to 2.4.*.
ripshawe 2023 年 12 月 5 日 上午 5:36 
This is such a good idea.
Th4rrick Laws0n 2023 年 12 月 5 日 上午 5:27 
Today's 2.4 update appears to have broken this sadly - I look forward to seeing an update, because this is, as you say, too good to remain broken :)
kinngrimm 2023 年 7 月 26 日 下午 2:13 
Is this client side or does the server need to install this, too?
Evam 2022 年 11 月 22 日 下午 8:34 
@Vokun Vulon Ah I see, well hopefully one day modders might be able to deal with that
Boiccubus☿Boba⚸ 2022 年 11 月 22 日 下午 3:11 
Thank you so much
Tiberius 2022 年 11 月 22 日 下午 3:00 
Mod needs to be updated to 2.3
Vokun Vulon 2022 年 11 月 22 日 下午 2:17 
@Evam, I know this, what I meant was that I'd like something that fires all the torpedoes in a tube with 1 press, rather than just the 1st in the tube. Say you have Xanion torpedo tubes, they hold up to 17 per tube, so let me click one button and let all 170 torpedoes from across all 10 tubes just go ham on a sector!
RogueRaiden 2022 年 11 月 22 日 上午 9:47 
thanks!!
XYZ  [作者] 2022 年 11 月 22 日 上午 8:47 
update plox
RogueRaiden 2022 年 11 月 22 日 上午 7:02 
needs the version updated at minimum.
Evam 2022 年 11 月 9 日 上午 1:13 
@Vokun Vulon You can assign torpedo types to a torpedo slot

For example, listing torpedo tube #1 as Nuclear torpedoes will automatically fill every Nuclear torpedo into that slot until it's either full or there's no more. So if you wanted you could purchase hundreds of a specific type of torpedo and set all your tubes to that type, that way they'll always automatically load themselves as long as you have enough around.
Vokun Vulon 2022 年 11 月 8 日 下午 7:06 
if only there was a way to mod it to dump the whole tube, given you can reload tubes by setting the torpedo type and it will automatically reload them from your torpedo storage, why cant we just click a button and dump all, lets say 170, if you run 10 xanion tubes, heck take it further and allow the selection of how many torps fire when the button is pressed, for more controlled demolition... ahh if only ehh? heck I dont even know if its possible!
Doc. Mo 2022 年 9 月 18 日 下午 12:02 
Yes... what fun.
Fire at various targets with 10 launchers.
Or all on if he's marked as a target.

simple but good. :steammocking:
StupidDupes 2022 年 9 月 5 日 下午 9:13 
can you modify the AI controlled ships to launch multiple torpedoes?
Olutkoira 2022 年 9 月 3 日 上午 2:48 
I've been thinking of that Scanner modules should add this kind of ability, I have never used a single scanner mod in any of my ships :P
leeal 2022 年 9 月 2 日 下午 4:24 
my favorite avorion mod tbh
XYZ  [作者] 2022 年 8 月 23 日 下午 5:34 
Not likely, rockets aren't entities (unlike torpedoes) so custom behaviour for them is probably not possible.
SixtyToZero 2022 年 8 月 23 日 下午 2:02 
Can you add this function to rocket turrets i wonder?
Lightword 2022 年 8 月 21 日 上午 3:50 
I'll check it out, looks fun.