Thought I would share a couple of items I have learned recently with enemies and mission scripting.
If there is a better repository please let me know.
-disabling enemy shields works IF you use a separate event than the one used to create the ship.
I had heard this separate event issue before but this is the first reproducable time I have seen it.
I had to use the Set Property/Shield State Front (and back) rather than "shield state off" property on enemy ships.
-I cannot stop an enemy from shooting torps or manipulate vessel capabilities without modifying the vessel data file.
-Be careful when playing with top speed properties - this can cause unexpected results (neutral ships that can reach warp will fly right past enemies and circle indefinitely).
I found if you need to use high speeds have the ship fly to s preset point and come to a stop, reduce the max speed and then have them engage enemies.
-I was never able to get Monsters to move. I have faked this by removing them rom point x and creating them at point y several times. I believe you may also be able to Add Property X +/-1 to do this but I have not confirmed this.
-To block comms orders to Neutral ships I used this;
<set_object_property property="willAcceptCommsOrders" value="0" name="DS1Defender1" />
This property is NOT represented in the Mission Editor and must be added manually.
-You can move the player on the Y axis but this must be scripted. The ship will also gravitate towards Y=0 so if you want them to hold at any other altitude you have to have a repeating Event to do so.
-The player ships different functions can be disabled by damaging them with the SystemDamage property but this seems to vary from ship to ship. Trial and error is the only means of disabling a function (say torpedoes) on a given ship. Note that what gives the Light Cruiser no torpedoes will give the heavier ships limited torpedoes.
I have found no way to set Torpedoes to say 25% regardless of the ship the player chooses.
Login below to reply: