Space Engineers

Space Engineers

Whip's Turret AI Slaving Script
 Dit topic is vastgepind, dus het is waarschijnlijk belangrijk
Whiplash141  [ontwikkelaar] 31 mei 2018 om 15:43
Feature Suggestions
Drop your feature suggestions here!
:slimehappy:
Laatst bewerkt door Whiplash141; 31 mei 2018 om 15:43
< >
1-15 van 94 reacties weergegeven
Whiplash141  [ontwikkelaar] 10 jun 2018 om 10:28 
"-For the duration of rotation on the Azimuth rotor a specific sound file plays.
-For the duration of rotation on the Elevation rotor a specific sound file plays.
"

I think this is better suited for a separate script. That would be pretty straightforward I think.

"- The moment the turret is aligned with the AI turret(or, when it has a firing "solution"), an action is triggered"

Currently the code supports triggering of timers once the turret is aligned :)

"- The moment an enemy is no longer detected(has been destroyed) another action is triggered, in my case the cessation of barrel-spin by the mentioned rotor."

Hmm... This could be added in, but I am worried about adding too much complexity to the code. Though I am confident that a separate code could interface with this pretty easily without hindering the slaving script.



Origineel geplaatst door Whiplash141:
Drop your feature suggestions here!
:slimehappy:
It should be able to triger Timers/ Scripts. Therefrore, allowing it to fire Player Made Weapons. Jus t saying!
Whiplash141  [ontwikkelaar] 17 jul 2018 om 14:40 
Origineel geplaatst door CTH2004:
Origineel geplaatst door Whiplash141:
Drop your feature suggestions here!
:slimehappy:
It should be able to triger Timers/ Scripts. Therefrore, allowing it to fire Player Made Weapons. Jus t saying!
It already does lol

Check the bottom of the instructions
Laatst bewerkt door Whiplash141; 17 jul 2018 om 14:42
Origineel geplaatst door Whiplash141:
Origineel geplaatst door CTH2004:
It should be able to triger Timers/ Scripts. Therefrore, allowing it to fire Player Made Weapons. Jus t saying!
It already does lol

Check the bottom of the instructions
Cool!
I can just see turret view, how can i enter an cam view, or 3. person view? or even use my playermade guns
Hiya, Whip. Would it be possible to make the default Idle position of a turret configurable? As-is, when there are no enemies around, my turrets default to their 1/2 of their maximum angle (so my turrets with 90 and 180 degrees of elevational and azimuthal movement repectively, default to 45 degrees and 90 degrees). An option to default to the max, mid-point or min of the azimuthal and elevational angles would help to improve the aesthetics of a rotor-turret when it's not engaged.
Whiplash141  [ontwikkelaar] 24 sep 2018 om 16:26 
Origineel geplaatst door ☣ Rampage ☣:
Hiya, Whip. Would it be possible to make the default Idle position of a turret configurable? As-is, when there are no enemies around, my turrets default to their 1/2 of their maximum angle (so my turrets with 90 and 180 degrees of elevational and azimuthal movement repectively, default to 45 degrees and 90 degrees). An option to default to the max, mid-point or min of the azimuthal and elevational angles would help to improve the aesthetics of a rotor-turret when it's not engaged.
It already is. Check the instructions on the main page.
I'm trying to create a arm for use as turret activating your script, but your script do not detect weapons if the turret have a piston before the weapon.
Can you change to ignore other blocks in turret?
Laatst bewerkt door Sabrewulf; 13 nov 2018 om 5:22
Could we possibly have a variable that determines how long it takes for it to return? I would see this as a work around for seizuring turrets randomly picking at debris on the ground.

Thank you so much for this script, you are a legend! :D
Whiplash141  [ontwikkelaar] 24 dec 2018 om 20:49 
Origineel geplaatst door Graphic_Wing:
Could we possibly have a variable that determines how long it takes for it to return? I would see this as a work around for seizuring turrets randomly picking at debris on the ground.

Thank you so much for this script, you are a legend! :D
I cant really avoid the seizuring turrets as what the code is doing is reading the targets of the designators. If the designators are going full lobotomy mode, there isn't much I can do :/

Unless I'm misunderstanding what you are asking.
Origineel geplaatst door Whiplash141:
I cant really avoid the seizuring turrets as what the code is doing is reading the targets of the designators. If the designators are going full lobotomy mode, there isn't much I can do :/

Unless I'm misunderstanding what you are asking.

You basically understood what I meant but it was more for the sake of reappearing targets. Let me give you a example; There is two fighters that are gonna fly into detection range one after another. Lets say the first one gets destroyed before the second one gets detected. It would be a much faster reaction if the turret waited a moment just in case another target like said fighter appears and it doesn't have to reorientate itself even though it was just aiming there before hand.

Long story short: Return position delay?

Whiplash141  [ontwikkelaar] 28 dec 2018 om 10:17 
Origineel geplaatst door Graphic_Wing:
Long story short: Return position delay?

A one second delay is already built in, I'll try and make that a variable that y'all can easily customize
Hello Whip! I really didn't know whether to put this in the Salvo script you made, or here, but I would really like to see sequencing for AI turrets since I don't see any efficiency in overkilling every block. Thanks!
I'd like the ability to choose the Rest Angle (or is it Equilibrium?) of the turrets. 1/2 way between min and max doesn't look great for my ship, but a custom angle (assuming its correct) or even max or min would be great. Even if it were implemented as a percentage, 0 being min, 100 being max, and default being 50. Thanks!
Origineel geplaatst door Mike Dude:
I'd like the ability to choose the Rest Angle (or is it Equilibrium?) of the turrets. 1/2 way between min and max doesn't look great for my ship, but a custom angle (assuming its correct) or even max or min would be great. Even if it were implemented as a percentage, 0 being min, 100 being max, and default being 50. Thanks!

That's already a feature. Read the main page of the script (no worries, I made the same mistake a few months ago and asked the same thing, look up about 8 replies)
< >
1-15 van 94 reacties weergegeven
Per pagina: 1530 50