Space Engineers

Space Engineers

Nedostatek hodnocení
Autofire
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
1.924 KB
25. čvn. 2015 v 5.09
22. čvc. 2015 v 13.04
Poznámky ke změnám (2) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Autofire

Popis
A simple, easy-to-use script for firing slow weapons in a staggered pattern. Perfect for keeping your missiles from exploding each other, or for setting up barrages of long guns.

To set up:
1) A programmable block. Put this script in it.
2) A timer block named "Gun Timer", which triggers itself and the programmable block.
3) Set up your hotbar to run the programmable block with the argument "toggle".

Advanced features:
A) Timers that get called when the mode changes
B) Alter the speed of the autofire to match your weapon setup
C) Ignore weapons with "manual" in the name, so gatling weapons don't screw you up.
D) Use "reload" command if you put more guns in - due to memory leaks, Thor does not search for guns every tick.

Please read the comments at the top of the script for more advanced functionality.

If you have a hard time setting it up, this ship is an example: http://steamproxy.net/sharedfiles/filedetails/?id=468827807
Počet komentářů: 23
Jolly 26. zář. 2020 v 10.11 
@OH MY GOD, WE'RE DOOMED!
Just fyi Craig Perko quit Space Engineers many years ago, there are better scripts out there for this.
OH MY GOD, WE'RE DOOMED! 26. zář. 2020 v 9.57 
35mm inky steel works cannon x4 on my ball turret. This is gonna be fun... :)))
Jolly 21. zář. 2017 v 12.08 
I've won many dog fights with this program
Craig P  [autor] 21. zář. 2017 v 11.46 
:D
SoulTechnology 21. zář. 2017 v 11.40 
well good news... ig ot it to work.... nothing beats 6 50mm cannons acting as one big fuckoff gatling gun. this may be a wee bit op.
Craig P  [autor] 21. zář. 2017 v 10.12 
It detects all weapons, but it's quite old. I'm not 100% sure it still works.

The problem with your idea is that it's a bit hard to know what a modded weapon actually is. So I went for "max generic" back when I programmed this.
SoulTechnology 21. zář. 2017 v 8.36 
however since your a dev who responds and im messing wiht it right now. does this work with modded wepons or does it only detect the stock game gat and missile?
SoulTechnology 21. zář. 2017 v 8.34 
gg, i see what you did there.... nah i thought this was gonna be a retardedly overcomplicated wall of text but its allot mroe straightforwards and simplified then i was expecting. tks
Craig P  [autor] 21. zář. 2017 v 8.32 
Sure, that's possible. Someone should program that!
SoulTechnology 21. zář. 2017 v 8.24 
would it be possible to make a more advanced version of this that auto detects the selected wepon (or if not detects via special naming convention) and gets it rate fo fire data and the number of said wepon on the ship. and when you click to fire it sequenshally fires autmaticlaly? less setup and more universal + means you are 'firing' the guns instead of 'toggling' them.