Posted: Wed Jun 06, 2007 7:33 pm
umm yeah....you think there are copyright issues?Cmdr. Maegil wrote:What are those simbols? Felix the cat on a bad day?
I was't the first. Na, na, na, ~~na!
For information and discussion about Oolite.
https://bb.oolite.space/
umm yeah....you think there are copyright issues?Cmdr. Maegil wrote:What are those simbols? Felix the cat on a bad day?
I was't the first. Na, na, na, ~~na!
Only if it gets found out by the owners. Anyhow, it'd cost them more to mail a cease and desist than to just ignore it.Arexack_Heretic wrote:umm yeah....you think there are copyright issues?Cmdr. Maegil wrote:What are those simbols? Felix the cat on a bad day?
And oddly appropriate.Cmdr. Maegil wrote:P.S.: We know Felix! Aren't we a bunch of old farts?
Code: Select all
{
"DEFENSE_MODE" = {
ATTACKED = (setTargetToPrimaryAggressor, increaseAlertLevel);
ENTER = (checkTargetLegalStatus);
EXIT = ();
"RED_ALERT" = (performGroupAttack);
"YELLOW_ALERT" = (performAttack);
"CONDITION_YELLOW" = (requestEscort);
"CONDITION_GREEN" = ("setStateTo: CHECK_FOR_DEBRIS");
"INCOMING_MISSILE" = (fireECM, increaseAlertLevel);
"TARGET_OFFENDER" = (increaseAlertLevel, "targetCommsMessage: [police_warning]");
"TARGET_FUGITIVE" = (increaseAlertLevel, "targetCommsMessage: [police_warning]");
"ENERGY_FULL" = ("pauseAI: 1.0", "setStateTo: IDLE");
"OFFENCE_COMMITTED" = (setTargetToFoundTarget, "markTargetForOffence: 150", increaseAlertLevel);
"TARGET_DESTROYED" = ("pauseAI: 1.0", "setStateTo: IDLE");
"TARGET_LOST" = ("pauseAI: 1.0", "setStateTo: IDLE");
"NO_TARGET" = ("pauseAI: 1.0", "setStateTo: IDLE");
UPDATE = ();
};
GLOBAL = {ENTER = ("setStateTo: IDLE"); EXIT = (); UPDATE = (); };
IDLE = {
ATTACKED = (setTargetToPrimaryAggressor, increaseAlertLevel, "setStateTo: DEFENSE_MODE");
"OFFENCE_COMMITTED" = (setTargetToFoundTarget, "markTargetForOffence: 150", increaseAlertLevel);
ENTER = ("pauseAI: 5.0");
EXIT = ();
"INCOMING_MISSILE" = (fireECM, increaseAlertLevel);
UPDATE = (decreaseAlertLevel, "setStateTo: SCAN_FOR_SHIPS");
};
SCAN_FOR_SHIPS = {
ENTER = ("scanForShipsWithRole: player");
UPDATE = ();
TARGET_FOUND = (setTargetToFoundTarget, "sendCommsMessageToTarget: [This station is out of order]", "pauseAI:5", "sendCommsMessageToTarget: [Some idiot managed to ram all four sides of the dock before the grapplingfield got a lock on him.]", "pauseAI:5.0", "sendCommsMessageToTarget: [Please follow beacon-1]", "pauseAI: 5.0", "setStateTo: IDLE");
NOTHING_FOUND = ("pauseAI:10","setStateTo: IDLE");
EXIT = ();
ATTACKED = (setTargetToPrimaryAggressor, increaseAlertLevel, "setStateTo: DEFENSE_MODE");
"OFFENCE_COMMITTED" = (setTargetToFoundTarget, "markTargetForOffence: 150", increaseAlertLevel);
"INCOMING_MISSILE" = (fireECM, increaseAlertLevel);
};
}
Code: Select all
<key>Dubious_Escape1</key>
<dict>
<key>like_ship</key>
<string>escape-capsule</string>
<key>cargo_type</key>
<string>CARGO_SCRIPTED_ITEM</string>
<key>death_actions</key>
<array>
<dict>
<key>conditions</key>
<array>
<string>mission_trumblerevenge: COMPLETED_CAPTURED<string>
</array>
<key>do</key>
<array><string><string></array>
<key>else</key>
<array>
<string>"set: mission_trumblerevenge COMPLETED_DEAD"</string>
<string>CommsMessage: so cruel...</string>
</array>
</dict>
</array>
<key>script_actions</key>
<array>
<dict>
<key>conditions</key>
<array>
<string>mission_trumblerevenge: COMPLETED_SHIPDESTROYED<string>
<array>
<key>do</key>
<array>
<string>increment: mission_variable_hesperus_lives</string>
<string>set: mission_trumblerevenge COMPLETED_CAPTURED</string>
<string>CommsMessage: Hey! destroying my ship was totally uncalled for!</string>
<array>
<key>else</key>
<array>
<string>awardCargo: Slaves 1</string>
<string>CommsMessage: Hi, thanks for rescueing us. I'm Stepan, the navigator. Do you have chewy-bars onboard? Thermadore and Bique are not quite to my taste. Hesperus is not abourd this pod Unfortunately.</string>
<array>
</dict>
</array>
<key>roles</key>
<string>dubious-escape</string>
</dict>
<key>Dubious_cargo1</key>
<dict>
<key>like_ship</key>
<string>infected-cargopod</string>
<key>cargo_type</key>
<string>CARGO_SCRIPTED_ITEM</string>
<key>model</key>
<string>cargo4g.dat</string>
<key>name</key>
<string>cargopod</string>
<key>script_actions</key>
<string>
<array>
<string>awardCargo: EQ_TRUMBLE</string>
<string>awardCargo: 1 furs</string>
</array>
</string>
<key>roles</key>
<string>dubious-cargopod</string>
</dict>
<key>Dubious_cargo2</key>
<dict>
<key>like_ship</key>
<string>cargopod</string>
<key>model</key>
<string>cargo3.dat</string>
<key>cargo_type</key>
<string>CARGO_CARRIED</string>
<key>cargo_carried</key>
<string>Narcotics</string>
<key>roles</key>
<string>dubious-cargopod</string>
</dict>
<key>Dubious_cargo3</key>
<dict>
<key>like_ship</key>
<string>infected-cargopod</string>
<key>roles</key>
<string>dubious-cargopod</string>
</dict>
<key>Cat_In_Box</key>
<dict>
<key>like_ship</key>
<string>infected-cargopod</string>
<key>cargo_type</key>
<string>CARGO_SCRIPTED_ITEM</string>
<key>death_actions</key>
<string>
<array>
<dict>
<key>conditions</key>
<array>
<string>mission_trumblerevenge: COMPLETED_CAPTURED<string>
</array>
<key>do</key>
<array><string>awardCargo: Gold 10</string></array>
<key>else</key>
<array><string>commsMessage: Mewl!</string>
<string>set: mission_trumblerevenge COMPLETED_DEAD</string></array>
</dict>
</array>
</string>
<key>script_actions</key>
<string>
<array>
<dict>
<key>conditions</key>
<string>mission_trumblerevenge: COMPLETED_CAPTURED</string>
<key>do</key>
<string>awardEquipment: EQ_TRUMBLE</string>
<string>awardCargo: 1 Narcotics</string>
<key>else</key>
<string>increment: mission_variable_hesperus_lives</string>
<string>set: mission_trumblerevenge COMPLETED_CAPTURED</string>
</dict>
</array>
</string>
<key>roles</key>
<string>dubious-escape</string>
</dict>
Code: Select all
/** Hesperus found at Tianve, galaxy 0 **/
/** Checking for Tianve_OXP **/
{
conditions = (
"status_string equals IN_FLIGHT"
"galaxy_number equal 0",
"planet_number equal 247",
"mission_trumblerevenge oneof CHASE, INCUBATING"
);
do = ( "checkForShips: station-pulsar",
{
conditions = ("shipsFound_number greaterThan 0");
do = ("set: mission_variable_TianvePulsar INSTALLED", "checkForShips: Dubious_Profit" );
{
conditions = ("shipsFound_number equal 0", "mission_variable_hesperus_lives greaterThan 0");
do = ("addShipsAtPrecisely: Dubious_Profit 1 pwm -4381198.00 2271925.50 623546.50");
}
);
else = ("set: mission_variable_TianvePulsar NONE", "checkForShips: Dubious_Profit",
{
conditions = ("shipsFound_number equal 0", "mission_variable_hesperus_lives greaterThan 0");
do = ("addShips: Dubious_Profit 1");
}
);
}
);
},
Code: Select all
/** Reactivating trumbles **/
{
conditions = (
"mission_trumble equal TRUMBLE_BOUGHT", "dockedAtMainStation_bool equal YES",);
do = (
{
conditions = ("score_number greaterThan 5000");
do = ();
else = (
{
conditions = ("score_number greaterThan 4000");
do = ("reset: mission_trumble", "reset: mission_trumblerevenge");
else = (
{
conditions = ("score_number greaterThan 3000");
do = ("reset: mission_trumble", "reset: mission_trumblerevenge");
else = (
{
conditions = ("score_number greaterThan 2000");
do = ("reset: mission_trumble", "reset: mission_trumblerevenge");
else = (
{
conditions = ("score_number greaterThan 1500");
do = ("reset: mission_trumble", "reset: mission_trumblerevenge");
else = (
{
conditions = ("score_number greaterThan 1000");
do = ("reset: mission_trumble", "reset: mission_trumblerevenge");
else = (
{
conditions = ("score_number greaterThan 750");
do = ("reset: mission_trumble", "reset: mission_trumblerevenge");
else = (
{
conditions = ("score_number greaterThan 500");
do = ("reset: mission_trumble", "reset: mission_trumblerevenge");
}
);
}
);
}
);
}
);
}
);
}
);
}
);
}
)
}
Code: Select all
/** Determine trumble status **/
{
conditions = (
status_string equal STATUS_DOCKED
);
do = (
"testForEquipment: EQ_TRUMBLE",
{
conditions = (
"foundEquipment_bool equal YES"
);
do = (
"set: mission_variable_trumblecheck GOT_TRUMBLE"
);
else = (
"set: mission_variable_trumblecheck NOT_TRUMBLE"
);
}
);
},
/** Block docking at Hermits with pets **/
.
.
.
Yes, it does.Commander McLane wrote:Also I'm not sure whether the pauseAI in the NOTHING_FOUND-part would need a blank behind the seperator.
Yes, they can.Commander McLane wrote:And you don't need the quotationmarks in line 18. However I don't know if they can do harm.
wellspotted!And you don't need the quotationmarks in line 18.
Everything matters. *checks* …including this.Arexack_Heretic wrote:not sure whether greaterthan and greaterThan matters, but it'll be just a matter of search/replacing. :)
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Code: Select all
<key>death_actions</key>
<array>
<string>decrement: mission_variable_hesperus_lives</string>
<string>set: mission_trumblerevenge COMPLETED_SHIPDESTROYED</string>
<string>commsMessage: KATCHICK! BO.....</string>
<string>ejectItem: dubious-escape 1</string>
<string>ejectItem: Cat_In_Box 1</string>
<string>ejectItem: dubious-cargopod 5</string>
<string>ejectItem: infected-cargopod 3</string>
</array>
That means Oolite crashed.Arexack_Heretic wrote:Wot dis mean?
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Code: Select all
2007-06-07 21:17:16.000 oolite.exe[2356] [script.debug.syntax.action.badSelector]: ***** PlayerEntity DOES NOT RESPOND TO scriptAction: "CommsMessage: so cruel . . ."