Barotrauma

Barotrauma

Ikke nok vurderinger
Proof of concept - Automated Turret Switching
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
49.171 KB
16. juni 2019 kl. 10:34
1 ændringsbemærkning ( vis )

Abonner for at downloade
Proof of concept - Automated Turret Switching

Beskrivelse
Gif: https://imgur.com/a/GihPh8R


Proof of concept logic system to switch between multiple turrets attached to a single periscope by moving your camera beyond the firing arc of the current turret. This can be improved upon by adding a delay check to the switching to prevent accidental switching (hold switch angle for x amount of seconds before switching), could be done with greater than + less than checks (but that takes up more space, and is more complex wiring), improved regular expressions (Better boundaries, a wider activation ark for example), etc... I'll make a proof of concept submarine using this system sometime later. Until then, enjoy this. If you have any questions about this concept, or would like me to try something else, feel free to ask.

I think a system like this could have many uses, especially for smaller subs with limited crew or space, or subs with many guns where placing a ton of periscopes just looks ugly and switching between them would take too much time in a combat situation.

TLDR;
Link multiple guns to one periscope, you can switch between guns by moving your cursor to the edge of the guns' firing arc.
12 kommentarer
W 29. juli 2021 kl. 16:51 
Sometimes turret didn't change, is it normal ?
You know if it's possible to have the two turrets at the same time for the comon range they have ?
EnermaX 22. jan. 2021 kl. 10:25 
Kind of stuck here, tried ranges and integers, yet I cannot get the system stable enough. I also tried a delayed periscope angle input with a delay block to the regex block to get rid of the twitchy characteristics, but the delay block cannot handle the values. You mentioned a delay check with greater blocks and stuff. Can't get my head around it, could you help?
Max  [ophavsmand] 29. aug. 2020 kl. 13:36 
Checked your subs' pages; looks like it's fine? Thanks!
Héphaïstos 29. aug. 2020 kl. 13:26 
i add your name and a link to my description but steam security block it, i don't understand why...
Max  [ophavsmand] 29. aug. 2020 kl. 8:13 
@Héphaïstos

Thanks for using the system! I'm glad you found it useful!

If possible, could you perhaps drop a link / credit for the system in the description of the subs that used it? Thank you!
Héphaïstos 28. aug. 2020 kl. 22:30 
Max  [ophavsmand] 15. juli 2019 kl. 20:48 
@HeatedWafflez:

Yep
HeatedWafflez 15. juli 2019 kl. 18:40 
wait you're the one who made this? awesome
Max  [ophavsmand] 20. juni 2019 kl. 4:49 
@Héphaïstos
I recommend using the assemblies linked in the description, they're easier to use than reverse engineering this demo.
Héphaïstos 20. juni 2019 kl. 2:22 
just awesome thanks a lot