Space Engineers

Space Engineers

[BROKEN]Invader Script
209 Comments
MaverickMartyn 2 Oct, 2017 @ 8:26am 
Is there any plans to update this any time within the near future?
I really enjoyed playing with this mod. :)
Captain X (PhoenixX) 24 Feb, 2017 @ 5:24pm 
Should still work on the legacy dx9 build tho :P
Arara  [author] 30 Jul, 2016 @ 9:12pm 
Sorry this MOD is broken.
Jason᲼ 28 Jul, 2016 @ 12:36pm 
This may sound very daft, but how do I use this mod?
Arara  [author] 18 Mar, 2016 @ 10:20pm 
Arara  [author] 10 Mar, 2016 @ 7:19am 
Today Invaders are fine..

@MrEvan312
Sorry I think it is hard for me, I can't speak English.
MrEvan312 7 Mar, 2016 @ 12:17pm 
Arara, could you do an english tutorial video? Just so we SEE it in action so we know how to implement it.
Arara  [author] 11 Feb, 2016 @ 3:49am 
I'll try it..
Ron 11 Feb, 2016 @ 1:47am 
Any chance to get it working again?
Arara  [author] 8 Feb, 2016 @ 3:57am 
Sorry, now the script have some error by game update:steamfacepalm:
about script, please see the guid.
MrEvan312 7 Feb, 2016 @ 11:20am 
Hey Arara, one: does this mod still work? Two: How do you implement it? Could you do a tutorial or maybe teach me how to do one, so others know how to implement this? I've been getting a lot of questions about making hostile AI ships that will move to attack friendly craft, and your mod seems to be the most likely to fit the bill.
Wizlawz 17 Dec, 2015 @ 7:39am 
if i just run yer invader script stand alone like, will the AI pirates come for me on planets?
Wizlawz 29 Nov, 2015 @ 6:28am 
what i am asking is to make our own AI Cargo ships
Wizlawz 29 Nov, 2015 @ 6:25am 
here it is:

http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=294620323&searchtext=AI


programmable block though not remote block,,,,which would make more sense
Wizlawz 29 Nov, 2015 @ 6:20am 
do you think the invader script could work on ships with remote control block = making the remote control block an AI?
there is a mod aound here somewhere that had an AI block, maybe that could work? sry i forget the name of the MOD , it has been some time.... i will try to search it up
GDI-BOSS 28 Jun, 2015 @ 4:55pm 
Hi arara you continue updating this script??i miss this script..
Arara  [author] 16 Jun, 2015 @ 8:44am 
I did comment out disabled code.
I think it cause small problem, but almost go work..:P
TheCrafter220 14 Jun, 2015 @ 4:17pm 
One question, how do you get the Invader script to work?
MaverickMartyn 12 Jun, 2015 @ 3:59pm 
Ok. :) Thanks a lot. :) I will test it as soon as possible. Got to keep up with the summer sale as well. :) Praise Gaben and praise Arara! :)
Arara  [author] 12 Jun, 2015 @ 8:00am 
I updated the script. If it doesn't work yet, tell me again.
MaverickMartyn 11 Jun, 2015 @ 3:06pm 
I hope this gets fixed soon, as I really enjoy this mod. If I need to troubleshoot something let me know. As long as I do not have to reload my save constantly. My PC is slow as all hell, so it takes 10 min. to load a small world.
Arara  [author] 2 Jun, 2015 @ 7:40am 
Thanks for your report. I'm checking code..
Sephyrzero 1 Jun, 2015 @ 12:03am 
@HackerFinn I am actually experiencing the same problem and doing a few tests to see what may be done to trouble shoot it, I'm really hoping its actually not a script problem because I really do enjoy this mod but have not worked with any scripting for this game yet. If I get something figured out I'll give you a heads up
MaverickMartyn 31 May, 2015 @ 7:31am 
Hey there, everytime I play with Invaders mod, I crash to desktop with this exception (Or similar) in the log: http://pastebin.com/V3s5YQkS

I presume it is a bug in your scriupt since it only happens when I use that script, and the exception contains this: Scripts.KSWH.Invaders.UpdateEnemies()
Please let me know if this is the problem.
Knighty 1 May, 2015 @ 3:08am 
Do the already default NPC ships become Invaders automatically or do you have to do it seperatly
Xenos The Smurf 4 Apr, 2015 @ 2:31pm 
They dont Spawn that must i do?
YOURGAMINGPROPHET 4 Apr, 2015 @ 3:16am 
do they come automatically or do u have to do something to them to come
314-Fenrir 1 Apr, 2015 @ 11:47am 
it is not clear to me when i read it
Arara  [author] 26 Mar, 2015 @ 8:55pm 
why not see the description?
314-Fenrir 26 Mar, 2015 @ 5:05pm 
with what other mod then?
Arara  [author] 20 Mar, 2015 @ 12:00am 
You need to add Invaders by other mod.
You can't name your ship "-Invader", but "Invader" without "-" is available.
314-Fenrir 19 Mar, 2015 @ 11:19am 
i can't see any ships attacking me? and i can't add a ship by naming it invader? =/
Fr33maan 7 Mar, 2015 @ 3:57am 
yes it is why i suggest to limit their speed to 104.4 m/s like in vanilla.
Arara  [author] 6 Mar, 2015 @ 9:48pm 
it seems as same plobrem.
higher speed make hard to control, so they need fitted to higher speed.
and I guess turrets need to fitted to shoot under higher speed.
Fr33maan 6 Mar, 2015 @ 6:14pm 
And when i say "flying around", the closest they pass is around 1km and they depop. They can't come to you. More the speedmod has higher limit, the more it is difficult (impossible) for them to target you.
Fr33maan 6 Mar, 2015 @ 6:12pm 
I mean they are just flying around and not attacking you with a speed mod. The pathfinding looks screwed with a speedmod.
Arara  [author] 6 Mar, 2015 @ 4:39pm 
I think it will make them weaker relatively.
Maybe you need new Invaders have higher mobility enough for higher speed.
Fr33maan 5 Mar, 2015 @ 3:14pm 
This is not working with unlimited speed mod from MidSpace. Invaders don't stop to fighting you, they just pass near you and depop. There are going faster than 100 m/s for sure. Maybe if you limit their speed it will be nice ?
Romeo Delta 1 Mar, 2015 @ 6:44pm 
This is working nicely on my server. Our sector of space went from an "everyone hiding in their asteroids, building palaces" to "holy shit we're all gonna die, all factions start building fighters and fight together to defeat the AI invasion!" Thanks :)
Arara  [author] 22 Feb, 2015 @ 5:25am 
this one has problem, so use Invader Script + Kill Counter please. I think it better.
Tusen2KxX 21 Feb, 2015 @ 10:12pm 
I cannot get this to work at all
jacksonio22 20 Feb, 2015 @ 11:02pm 
It isnt mod compatibilities, so: I don't know if anyone else is having this problem, but when I load with this mod included it says that "my world file is corrupt". When I remove it, and use all the other mods that I was using with this mod, It works. It took me a hell of a long time to narrow it down to THIS mod that was the corrupt one, so could you please fix it?
DaAndMan 14 Feb, 2015 @ 6:56am 
dont know if its just me or not but everything seems to be working like spawns and them coming to me and stuff but the prob is they dont stop they just keep flying past me until they despawn
NoiD 4 Feb, 2015 @ 11:26pm 
this needs to be fixed, the script broke a few updates ago, any idea when you will have it working right again? we miss our derpy invaders :)
Arara  [author] 4 Feb, 2015 @ 2:11pm 
is the mission working or not?
Fyury 3 Feb, 2015 @ 3:11pm 
Please help .. I am still not able to get this script to cause any behavior change in NPC ships either in offline survival/creative or in dedicated server survival. I'm using RST Encounters to generate NPC ships which are supposed to work with this script .. they have names like "NPC -Invader + Invader" which I thought was correct for them to be recognized by the script. Or maybe i'm misunderstanding what this script does, I thought it would make the NPC ships actually change course in order to attack a player. If i'm mistaken then i'm sorry.
Any help, thoughts, suggestions and what I am doing incorrectly or what I may have forgotten to do would be appreciated.
PhoenixTheSage 30 Jan, 2015 @ 4:34pm 
Yeah, patch fixed it. So nvm :)
Fyury 30 Jan, 2015 @ 12:30pm 
I'm not seeing crash Phoenix referred to , but I still am not getting the AI to take control of any ships. I'm using the Rogue Space Traffic mod which generates ships with the -Invader tag in the name so it should be seeing and controlling them. I have not been able to get it to work.
PhoenixTheSage 30 Jan, 2015 @ 1:42am 
Invaders is broken as of 01.067 for servers. Will cause crash when loading finishes, same as the damage indicator script.
Arara  [author] 25 Jan, 2015 @ 2:05pm 
I think many ships spawned in procedural world, so you need high machine power and communication performance.