Barotrauma

Barotrauma

Onvoldoende beoordelingen
Proof of concept - Automated Turret Switching
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Bestandsgrootte
Geplaatst op
49.171 KB
16 jun 2019 om 10:34
1 wijzigingsnotitie (weergeven)

Abonneren om te downloaden
Proof of concept - Automated Turret Switching

Omschrijving
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 opmerkingen
W 29 jul 2021 om 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 om 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  [auteur] 29 aug 2020 om 13:36 
Checked your subs' pages; looks like it's fine? Thanks!
Héphaïstos 29 aug 2020 om 13:26 
i add your name and a link to my description but steam security block it, i don't understand why...
Max  [auteur] 29 aug 2020 om 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 om 22:30 
Max  [auteur] 15 jul 2019 om 20:48 
@HeatedWafflez:

Yep
HeatedWafflez 15 jul 2019 om 18:40 
wait you're the one who made this? awesome
Max  [auteur] 20 jun 2019 om 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 jun 2019 om 2:22 
just awesome thanks a lot