Space Engineers

Space Engineers

Whip's Turret AI Slaving Script
 Toto téma bylo přilepeno, takže je nejspíš důležité
Whiplash141  [vývojář] 31. kvě. 2018 v 15.43
Feature Suggestions
Drop your feature suggestions here!
:slimehappy:
Naposledy upravil Whiplash141; 31. kvě. 2018 v 15.43
< >
Zobrazeno 115 z 94 komentářů
Whiplash141  [vývojář] 10. čvn. 2018 v 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.



Whiplash141 původně napsal:
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  [vývojář] 17. čvc. 2018 v 14.40 
CTH2004 původně napsal:
Whiplash141 původně napsal:
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
Naposledy upravil Whiplash141; 17. čvc. 2018 v 14.42
Whiplash141 původně napsal:
CTH2004 původně napsal:
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  [vývojář] 24. zář. 2018 v 16.26 
☣ Rampage ☣ původně napsal:
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?
Naposledy upravil Sabrewulf; 13. lis. 2018 v 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  [vývojář] 24. pro. 2018 v 20.49 
Graphic_Wing původně napsal:
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.
Whiplash141 původně napsal:
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  [vývojář] 28. pro. 2018 v 10.17 
Graphic_Wing původně napsal:
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!
Mike Dude původně napsal:
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)
< >
Zobrazeno 115 z 94 komentářů
Na stránku: 1530 50