Page 1 of 1

[Coding help?]Shutting down enemy systems

Posted: Thu Feb 14, 2013 2:48 pm
by geekZoltan
Hi people in internet.
Could somebody smarter than me help?

The slug ships can in many events shut your systems down(the systems will go blue until the battle is over).
Is it possible to make a hacking device (custom augmentation) that makes same effect work against enemy ships? For now I have found this line of code:

Code: Select all

<status type="divide" target="player" system="shields" amount="2"/>


Changing "player" into "enemy" does not work... help!

Re: [Coding help?]Shutting down enemy systems

Posted: Thu Feb 14, 2013 4:58 pm
by alextfish
There's one Rock event where this kind of thing is done. It's in events_rock.xml and looks like this:

Code: Select all

<status type="divide" target="enemy" system="engines" amount="2"/>


So in theory it ought to be possible to make a bunch of encounter events offer a blue option based on a custom augment that does something similar to this.

It does look very similar to the line you've got; perhaps make sure that that <status> is applied immediately after <ship hostile="true"/>?