Avorion
29 个评价
Serina: Targeting AI for Torpedos
   
奖励
收藏
已收藏
取消收藏
Mods: Mod
文件大小
发表于
更新日期
397.038 KB
2024 年 3 月 5 日 上午 3:33
2024 年 3 月 15 日 上午 2:46
3 项改动说明 ( 查看 )

订阅以下载
Serina: Targeting AI for Torpedos

描述
Update 3/15/24: I believe I fixed my issue with me. The logic should be fixed now so your target of choice gets all the torpedoes like they're supposed to.


Inspired by 'Torpedo auto-target with spread' by Nirin

The script has been rewritten from the ground up to improve clarity and reduce overhead

Gone are the days of worrying about where your torpedoes are going. Serina takes care of all of that for you!

The Logic:
When torpedoes are fired, if you have an enemy selected all torpedoes will be sent there.
In other instances (i.e. targeting self, nothing), your torpedoes will disperse *'randomly'* (Fisher-Yates Shuffle) to available targets

If you have yourself targeted in a literally blank sector and you (perhaps unwisely) fire the torpedoes... may God have mercy on your soul.


Just kidding! That's resolved too, they shoot off like you had nothing selected, they do look a bit janky(i.e. they seem like they're about to circle back, then they zip off away again), depending on your torp range this may happen a few times: but they shouldn't return to sender!

Added Bonus: Torpedoes are silent - because well, there's only so long you can stand that warning siren before you snap. Basically, I've added the functionality of Silent Torpedo to my mod. I don't think they will conflict as they both set the same value to 0; if you happen to have upgraded Silent Torpedo for yourself to use.

This is my first mod, feedback and suggestions always welcome!
热门讨论 查看全部(3)
9
2024 年 3 月 18 日 下午 2:45
Problem with targeting remaining random
Censay
4
2024 年 3 月 7 日 下午 1:12
Potential issues
Meesmaalt
0
2024 年 3 月 15 日 上午 5:51
Possible Upgrade for Serina
Reuivn
19 条留言
CynSys | Platius Cyndar 8 月 19 日 上午 8:49 
For those interested in a version with the torpedo launch sound, someone was so kind to do the legwork of reuploading the mod with the sound-removing files removed here:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3429350508&searchtext=torpedo
Reuivn  [作者] 1 月 7 日 上午 7:42 
@ignat001

No, it's my mod and I hate the torpedo sound. I wanted them silent so i added the functionality to my mod. If you, or anyone else, want the sound returned: just delete the file as I outlined previously.


As for retargeting of torpedoes, that might be possible. I never looked into it because that wasn't really a concern I had.

In theory, they should exist as entities and the destroyed targets could be removed from the target list. But the target list would need to be repopulated (easy enough to recall the function) so that it registers the destroyed enemies.

However, I am not sure you can force the torpedo to retarget as I don't know what functions are afforded it after launch.
Ignat001 1 月 6 日 下午 9:37 
Also it would be amazing if torpedoes would acquire new target if current one got destroyed
Ignat001 1 月 6 日 下午 9:12 
Decouple "silent torpedoes" part from this mod, please. If anyone wanted to silence them, he would just install another mod.
Evam 2024 年 6 月 10 日 下午 9:20 
Alrighty, thanks for letting me know! And thanks for the mod again too
Reuivn  [作者] 2024 年 6 月 10 日 上午 6:46 
@Evam
Just remove the "volumes" configuration from the mod/data/sfx folder.

It won't break the mod at all, but will return the sound
Evam 2024 年 6 月 10 日 上午 6:38 
Wonderful mod, but is there a chance you're able to make a version that doesn't silence the torpedo sound? I happen to have a liking towards it ^^"
Reuivn  [作者] 2024 年 3 月 14 日 下午 12:16 
@(FbG) Karma

You're so welcome! I wanted them to be fun, and when I killed myself or have 10 tubes but can only target 1 target (and therefore need to weapon group hotkey cycle) it becomes not fun... So I sought to fix it.
ᶜ8ᴱ 🎱 ๖ۜKarma 2024 年 3 月 14 日 上午 7:34 
Can I please kiss you?! Torpedoes have been the BANE of my existence for the sound and how annoying they could be to use as well as how dangerous they are if you happen to misclick (which I do constantly because of muscle problems) so you are an absolute life saver!!!
Censay 2024 年 3 月 14 日 上午 6:14 
I added a discussion to declutter the comments :)
Thanks for your effort and hopefully I can help