Space Engineers

Space Engineers

Whip's Turret AI Slaving Script
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
Whiplash141  [kehittäjä] 28.5.2017 klo 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.
Viimeisin muokkaaja on Whiplash141; 13.1.2019 klo 13.03
< >
Näytetään 1-15 / 359 kommentista
dosent work at all, the interior turet works fine tho
Whiplash141  [kehittäjä] 30.5.2017 klo 15.44 
ichabod the tardigrade lähetti viestin:
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.6.2017 klo 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 :)
Viimeisin muokkaaja on V; 15.6.2017 klo 10.57
Mork 23.6.2017 klo 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.
Viimeisin muokkaaja on Mork; 24.6.2017 klo 20.26
Kira 14.7.2017 klo 7.38 
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  [kehittäjä] 14.7.2017 klo 10.47 
Kira lähetti viestin:
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 :)
Viimeisin muokkaaja on Whiplash141; 14.7.2017 klo 10.49
Whiplash141  [kehittäjä] 14.7.2017 klo 10.50 
Mork lähetti viestin:
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.7.2017 klo 12.07 
Whiplash141 lähetti viestin:
Kira lähetti viestin:
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  [kehittäjä] 10.8.2017 klo 15.57 
Smokey da Burrr lähetti viestin:
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  [kehittäjä] 11.8.2017 klo 13.01 
Smokey da Burrr lähetti viestin:
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  [kehittäjä] 11.8.2017 klo 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.
< >
Näytetään 1-15 / 359 kommentista
Sivua kohden: 1530 50