Space Engineers

Space Engineers

Automated Defence and Patrol Drone
[TBU] eldarstorm  [开发者] 2015 年 9 月 29 日 上午 10:50
Bug Reports
Post Bug Reports here or on GitHub
最后由 [TBU] eldarstorm 编辑于; 2015 年 9 月 29 日 上午 10:50
< >
正在显示第 1 - 15 条,共 22 条留言
Fizzer99 2015 年 10 月 31 日 下午 12:44 
Automated Defence and Patrol Script. Can not check. Error in line 40
[TBU] eldarstorm  [开发者] 2015 年 10 月 31 日 下午 1:31 
Thanks for the report.

Seems they made TerminalRunArgument read only. The drone code used this field to store the location for its home location. I am now working on a work around for this. I may end up having to use a Text screen or something for data storage, will see.
[TBU] eldarstorm  [开发者] 2015 年 11 月 2 日 上午 8:00 
Thanks for the tip but allready found the this.Storage as a suppliment for the old method. I am not sure I like how this will work.

I still may use a text screen to store its origin location.
[TBU] eldarstorm  [开发者] 2015 年 11 月 3 日 下午 8:51 
Sure, I can take a look at it.
[TBU] eldarstorm  [开发者] 2015 年 11 月 26 日 下午 2:53 
Bug now fixed.
Dizato 2016 年 1 月 29 日 上午 12:05 
Hi there! (UPDATE)

Well, whatever i do, i can't get the ship to "patrol and/or pursuite hostiles". Have tryed building one large ship and one small. Both set with turrets. The small ship i get to follow the GPS path, and i can delete the path and set a new one without a prob. But the turrets will only fire when in range (800m), and the ship wont pursue the enemy. (everything is changed to me as owner)

If i try to blowing up the turrets, It just keeps going in the gps path (not returning to "home")
( Followed your instructions to the point with two prog blocks, timer and remote control ).

Second - the large ship, i can't even get It to follow the gps coordinates. When i add turrets It just stops working. Even If try to delete them, the hole ship Is just broken (for autopiloting)

Another thing, this is tryed on the easy start earth map. So I have both random drones that are attacking me, but also the station for the enemy is in range (using the super sensor with everything turned to max 10000m - enemy station 4600 ich meters)

And the only thing i have set in the timer block is - 1st prog block (run) and 2nd PATROL (run) 3rd. Timer (Start) (0,1 delay)

On the sensors i have tryed to set action - Run and Run on both the prog blocks. But that really dosent change anything.

PS: Noticed something now. When i now try to set the GPS point in the argument (with the timeblock stopped and everything. run it once on each block to program the "home" section). If i then try to get the ship to go to another GPS point, it wont budge. Tryed pasteing in the same ship but with the config that worked. But now that wont work either. BUT if it restart the map, and load in the same ship, then everything works (with the gps planner)

Hope you can help :D
最后由 Dizato 编辑于; 2016 年 1 月 29 日 上午 12:14
Shanus86 2016 年 5 月 11 日 下午 2:53 
1ST test with SMALL SHIP = FAILED

2ND test with LARGE SHIP = SUCCSESS

something goes wrong in the small ship maybe you should test it out on a small ship and edit the code to fit the perameters or behaviors of small ships sorry dont know c# or else i would fix it i know html and css thats about it
[TBU] eldarstorm  [开发者] 2016 年 5 月 11 日 下午 3:31 
Will ahve to check that. I mainly worked on it using a large ship.
Christopholaes 2016 年 5 月 11 日 下午 11:03 
Mine was working perfectly for small ships, but I adjusted your script a little to make it work. Can't rmemeber what i did? Learnt a lot a bout scripting fopor this game over a few weeks then a patch utterly destroyed my fun. had to wait months now I forget what i did and where, lol. Will try to have a lok at comparing the two to find my edits when I get a chance working six days aweek at mo. Was excellent script when i got it working. So the base working out is there, it just needs tidying in a few areas I believe.
Christopholaes 2016 年 5 月 11 日 下午 11:05 
Sorry typing is terrible...ugh.. my butter fingers.
Dizato 2016 年 5 月 12 日 下午 8:53 
Looking at my comment up there, I can't belive It's me typing all that xD Don't remeber half of all that. ( Stopped playing It just some weeks after the post)

But anyways, If you guys get It to work, I think I will bring my space engineer career back to life :D - And Thx Eldarstorm for using time on this, It's a really good add-on to the game!

And Christopholaes, If you find out what you did, hope you can reply to this tread :D
doctorz 2016 年 10 月 31 日 下午 2:20 
program 15,0 error
[TBU] eldarstorm  [开发者] 2016 年 10 月 31 日 下午 2:29 
Thanks, will take a look.
doctorz 2016 年 11 月 21 日 上午 11:15 
hi, program 15,0 error

[TBU] eldarstorm  [开发者] 2016 年 11 月 22 日 上午 10:50 
In the process of rewriting a large portion of the code. Due to recent API changes it no longer returns the enity itself from the sensor, just the info of the ent. Not a issue to fix, just means more to rework.
< >
正在显示第 1 - 15 条,共 22 条留言
每页显示数: 1530 50