Space Engineers

Space Engineers

AK-8/125 Autocannon (stateless)
14 Comments
cheerkin  [author] 9 Jan, 2023 @ 6:41am 
You can use manual firing by welder tool activation from toolbar, but WC breaks all sorts of automated triggering (via HudDog or AutoPillock). I.e. there are two main ways of starting salvo - either user-controlled (welder on toolbar, switching timer on/off manually) or by external script (which controls timers on its' own). Btw, there is a script upload as a separate WS item with more info (AWT).
kaney777 8 Jan, 2023 @ 3:57am 
Hey sorry, your grave drive interceptor has brought me back to playing with this again :) Is there any way to make the AK-8 system work with Weapon Core 2.4? It rotates fine but doesn't fire at all due to the odd things weapon core does. Is it feasible to remove the programmable blocks and have a timer fire each barrel as it rotates to the top again on a weapon core server? I love the Draken but grav drives and all sorts of fun stuff are banned on my server :(
cheerkin  [author] 29 Aug, 2022 @ 11:33pm 
There are currently very few ways of mouse click detection in scripts provided by keen: shooting a weapon, ship grinder and ship welder.
cheerkin  [author] 29 Aug, 2022 @ 11:31pm 
In this version, no. The reason I'm not doing this - the welder is used not only for weapon activation with mouse click, but also as a "trigger axis" where the code unblocks a gun for shooting. Consequently, I have to place this activator block exactly behind one of four positions where guns end up shooting (in this build, it is aligned with that door through which we shoot). If we change welder to some type of weapon guess what happens. And if we turn that weapon off, or deny it of ammo, i.e. block its' shooting in some way, then the code won't be able to detect its' activation, and the 1st function won't work.
colonel_zac 29 Aug, 2022 @ 11:22pm 
Sorry for jumping in on this old conversation, but wouldn't another weapon that's not apart of this cannon work as a replacement for the welder?
cheerkin  [author] 10 Jun, 2022 @ 9:40am 
No, it's either welder or grinder, otherwise no mouse click detection.
kaney777 10 Jun, 2022 @ 9:03am 
Hi, any chance of an example script on how to actually fire please and is there any way to use a different block to a welder as we are limited to 6 per faction on our server.
cheerkin  [author] 14 Apr, 2022 @ 5:13pm 
Yeah, gotcha. I'll add those to the list.
Denis J :P 14 Apr, 2022 @ 9:20am 
And maybe if is possible made bigger detection range for welder, with number setup possiblility of detection range, there is problem if too wobbly weapon running so fast, the welder not detect all cannons, but also is good not wobbly weapon shot precisely with thin detection range.
Denis J :P 14 Apr, 2022 @ 9:07am 
The clangy idea with hinges is, i trying squeze as much as possible guns in small place and make them shot every gun only once by one sequence run. If the detecting reloading weapon is that hard, maybe make only function what turn off timerblocks when welder is off in group and turn on all timers if welder is on like with rotors. So user can setup endless running loop sequence with timers and pistons what will freze (turn off timers, pistons, rotors) when weapon is not shooting.
cheerkin  [author] 14 Apr, 2022 @ 5:48am 
Yeah, piston/hinge with reverse may be useful. I even thought about adding rotor stack (like rotor displacement cannon spring) for ultra high RoF burst. I just don't came up with effective weapon design in mind with this approach.

I guess that piston would be really wobbly because of huge mass of several guns on a single piston, even more so for rotor displacement stack.

And I can't see useful application of hinge here. Maybe for gun concealment behind armor for the duration of reload, idk. What's your idea involving hinges?

Detecting if the weapon is reloading is a big complication, unfortunately. There is no way of just checking a weapons' state, I'd have to track and count each guns' last shot time, all guns have different reload times, railguns are affected by capacitors, etc. If I did that, what would timer blocks do anyway?
Denis J :P 14 Apr, 2022 @ 5:30am 
Sugestion: Make in the script function, that if cannons what should fire now, but curently realoding, The script triger now all timer blocks, what are in salvo group. And possibility add hinges and pistons activated by the script while welder is turn on. Also make function, if it use pistons, hinges or rotors with movement limits setup, the hinge or piston or rotor with limits will reverse :)
Judge Kronos 27 Feb, 2022 @ 7:26am 
I am definately going to incorprate this in my build :)
Chucky Dickens 15 Feb, 2022 @ 5:06am 
Hellblaster Volley Gun!