Space Engineers

Space Engineers

Whip's Turret AI Slaving Script
 此主题已被置顶,因此可能具有重要性
Whiplash141  [开发者] 2017 年 5 月 28 日 下午 1: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.
最后由 Whiplash141 编辑于; 2019 年 1 月 13 日 下午 1:03
< >
正在显示第 1 - 15 条,共 359 条留言
stentor 2017 年 5 月 30 日 下午 3:20 
dosent work at all, the interior turet works fine tho
Whiplash141  [开发者] 2017 年 5 月 30 日 下午 3:44 
dosent work at all, the interior turet works fine tho
Does the code register your rotor turrets?
stentor 2017 年 5 月 30 日 下午 8:19 
i got it to work, i was useing the script incorecly
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 :)
最后由 𝐣𝐚𝐝𝐞⁽²¹⁰¹⁾ 编辑于; 2017 年 6 月 15 日 上午 10:57
Mork 2017 年 6 月 23 日 下午 4: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.
最后由 Mork 编辑于; 2017 年 6 月 24 日 下午 8:26
Kira 2017 年 7 月 14 日 上午 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  [开发者] 2017 年 7 月 14 日 上午 10:47 
引用自 Kira
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 :)
最后由 Whiplash141 编辑于; 2017 年 7 月 14 日 上午 10:49
Whiplash141  [开发者] 2017 年 7 月 14 日 上午 10:50 
引用自 Mork
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 2017 年 7 月 14 日 下午 12:07 
引用自 Whiplash141
引用自 Kira
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!
Smokey da Burrr 2017 年 8 月 10 日 上午 4:10 
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  [开发者] 2017 年 8 月 10 日 下午 3:57 
引用自 Smokey da Burrr
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.
Smokey da Burrr 2017 年 8 月 11 日 上午 1:32 
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  [开发者] 2017 年 8 月 11 日 下午 1:01 
引用自 Smokey da Burrr
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  [开发者] 2017 年 8 月 11 日 下午 1:04 
Oh, also, are you sure that the designator isnt actively targeting anything?
Smokey da Burrr 2017 年 8 月 11 日 下午 4:30 
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.
< >
正在显示第 1 - 15 条,共 359 条留言
每页显示数: 1530 50