Rorschachhamster wrote:I'd love to see that. Thought about at least fines for shooting one down...
but I'm head over heels into the
freighttrains atM...
Do your worst!
Turning them into the space equivalent of highway speed cameras turns out to be really easy! Just borrowed and adapted AI from the police interceptor. "markTargetForOffence" takes a bitwize value to OR to the targets legal status, in this way shooting down a sat is "twice" as bad as being the cause of a distress call.
Code: Select all
ORBIT_PLANET = {
UPDATE = ("sendScriptMessage: OrbitSatellite", "setDesiredRangeTo: 500.0", setDestinationFromCoordinates, performFlyToRangeFromDestination, "pauseAI: 1");
"ACCEPT_DISTRESS_CALL" = (setTargetToFoundTarget, "markTargetForOffence: 1");
ATTACKED = (setTargetToPrimaryAggressor, "markTargetForOffence: 2");
};
Edit:
to receive the Distress call you will need to change the scan-class in the shipdata.plist
"scan_class" = "CLASS_POLICE";
this will also make pirates target the sats!
Edit 2:
This will make them mass lock ships, however given how close sats are to the planet this is unlikely to be an issue , the planet will have mass locked them first!
Edit 3. You can actually mix and match these, leaving the scan class of all but the spy sat as is... that way only the spy sat can report on attacks.. spy-ish-ly.. while all can report on being attacked.
No, I'm not a Trumble... that's a speciest and offensive remark!
~munch~
What?.... I'm hungry.