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ář] 28. kvě. 2017 v 13.23
Bug Reports
Place your bug reports here.

Tell me:
  1. What code version you are using.
  2. What precisely isn't working. "It doesn't work" helps no one. Provide as much info as possible in order to resolve the issue promptly.
Naposledy upravil Whiplash141; 13. led. 2019 v 13.03
< >
Zobrazuje se 115 z 359 komentářů
dosent work at all, the interior turet works fine tho
Whiplash141  [vývojář] 30. kvě. 2017 v 15.44 
ichabod the tardigrade původně napsal:
dosent work at all, the interior turet works fine tho
Does the code register your rotor turrets?
i got it to work, i was useing the script incorecly
V 15. čvn. 2017 v 10.56 
I am having an issue where one elevation rotor does not respond despite the other working and they are both tagged with "Elevation" I am not sure what the issue is here but it also happens in your MART script.

Edit: It was my poor spelling lol, i put Elavation in on accident for one of them. Fantastic script btw, everything is working perfectly now :)
Naposledy upravil V; 15. čvn. 2017 v 10.57
Mork 23. čvn. 2017 v 16.13 
Version 40. For some reason spotlights or cameras as part of the turret group attached to the elevation part grid is not turning on when the turret is lined up. The first elevation rotor will also setup to turn the second elevation rotor as they both rotate the same part.

I haven't tested any of the other tools as part of the turret group. While I do have welders on the turret part there not in the turret group as I'm using a separate program to manage them.

The scripts detailed info is showing that it has a complete rotor turret. So it is picking up the spotlight or camera in the turret group. There are no actual gatlings or launchers, just the spotlight or camera(s).

I'm using the spotlight or camera being on as an input for a custom program to activate easy LIDAR homing script based missile, to make an automated homing SAM turret with built in reloading.
Naposledy upravil Mork; 24. čvn. 2017 v 20.26
For some reason my 11inch naval guns modded turrets do not work. They move back and forth over and over like they are looped in a gif. This also happens with vanilla turrets.
Whiplash141  [vývojář] 14. čvc. 2017 v 10.47 
Kira původně napsal:
For some reason my 11inch naval guns modded turrets do not work. They move back and forth over and over like they are looped in a gif. This also happens with vanilla turrets.

That is intentional; it is a sweeping convergance point. You can set a fixed convergance point by changing:
useStaticConverganceRange(Line 96) to true and then setting staticConverganceRange(Line 99) to the range that you want the guns to converge :)
Naposledy upravil Whiplash141; 14. čvc. 2017 v 10.49
Whiplash141  [vývojář] 14. čvc. 2017 v 10.50 
Mork původně napsal:
Version 40. For some reason spotlights or cameras as part of the turret group attached to the elevation part grid is not turning on when the turret is lined up. The first elevation rotor will also setup to turn the second elevation rotor as they both rotate the same part.

I haven't tested any of the other tools as part of the turret group. While I do have welders on the turret part there not in the turret group as I'm using a separate program to manage them.

The scripts detailed info is showing that it has a complete rotor turret. So it is picking up the spotlight or camera in the turret group. There are no actual gatlings or launchers, just the spotlight or camera(s).

I'm using the spotlight or camera being on as an input for a custom program to activate easy LIDAR homing script based missile, to make an automated homing SAM turret with built in reloading.
Can you post a blueprint or world for me to troubleshoot with?
Kira 14. čvc. 2017 v 12.07 
Whiplash141 původně napsal:
Kira původně napsal:
For some reason my 11inch naval guns modded turrets do not work. They move back and forth over and over like they are looped in a gif. This also happens with vanilla turrets.

That is intentional; it is a sweeping convergance point. You can set a fixed convergance point by changing:
useStaticConverganceRange(Line 96) to true and then setting staticConverganceRange(Line 99) to the range that you want the guns to converge :)

Ahhh I see. Thanks!
One little problem. The player-made turrets are firing for about 5 seconds after the designator turret has stopped firing, OR after exiting manual control of the designator turret, whether or not it was being fired.
Info:
Using latest version of the script, all vanilla, no other scripts running. All small grid parts. Two player-made gatling turrets with one elevation rotor each, guided by two seperate ingame gatling turrets.
Otherwise it's working well and it's an awesome script. Thanks in advance.
Whiplash141  [vývojář] 10. srp. 2017 v 15.57 
Smokey da Burrr původně napsal:
One little problem. The player-made turrets are firing for about 5 seconds after the designator turret has stopped firing, OR after exiting manual control of the designator turret, whether or not it was being fired.
Info:
Using latest version of the script, all vanilla, no other scripts running. All small grid parts. Two player-made gatling turrets with one elevation rotor each, guided by two seperate ingame gatling turrets.
Otherwise it's working well and it's an awesome script. Thanks in advance.
Update your code to version 47 :)

This shoulf fix the issues you were having. Please tell me how it works.
Updated to the revision you posted today, and it changed some things. The turrets are still firing for no reason when I take MANUAL control of the designators. But now, when the turrets fire automatically from the desginator firing, the don't continue to fire afterward. Instead, all of the gatling guns on the player-made turrets are spinning infinitely. Forever. Tested it all on a new save, rebuilt the turret and everything. Large grid missile turrets appear to work as intended during manual control and autonomous fire, but my small ship gatling turrets are acting strange.
Whiplash141  [vývojář] 11. srp. 2017 v 13.01 
Smokey da Burrr původně napsal:
Updated to the revision you posted today, and it changed some things. The turrets are still firing for no reason when I take MANUAL control of the designators. But now, when the turrets fire automatically from the desginator firing, the don't continue to fire afterward. Instead, all of the gatling guns on the player-made turrets are spinning infinitely. Forever. Tested it all on a new save, rebuilt the turret and everything. Large grid missile turrets appear to work as intended during manual control and autonomous fire, but my small ship gatling turrets are acting strange.
Oddly enough I can not replicate that behavior. Can you post a blueprit for me to troubleshoot with?
Whiplash141  [vývojář] 11. srp. 2017 v 13.04 
Oh, also, are you sure that the designator isnt actively targeting anything?
Okay! I got the manual misfires to stop by rebuilding the turrets again. And the barrels spinning forever after firing appears to be a game issue. Normal gatling guns don't do it but apparently gatling guns on rotors do. Time to file another report to keen, yay. Anyway thanks for the help, everything's working as intended again. Also you're awesome, never stop coding.
< >
Zobrazuje se 115 z 359 komentářů
Na stránku: 1530 50