54 Commits

Author SHA1 Message Date
Eric Walch
758a6d0b1c Added a checkOwnLegalStatus command and used it for a career selection for escorts. Added a playerBoughtNewShip eventhandler. Hardcoded Xeer back in missiontext were it revers to the previous galaxy.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2266 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-26 11:20:42 +00:00
Eric Walch
7842440808 Added a new AI command launchIndependentShipWithRole. Gave sunskimmers heatshielding so they get a chance to jump. Added missile delay to sunskimmerAI.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2259 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-24 19:51:37 +00:00
Eric Walch
13cd03aac2 Fixed bug with wrong pendingEscort count. launchTrader now launches traders with correct escorts, also group corrected. Added new slowdown criteria to prevent ships circling around their target. Fixed bug with big defined suns.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2255 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-22 19:15:18 +00:00
Eric Walch
2dfc1fbe2a Added frustration counter to attack_target_twelve. Changed frustration message for dockingAI.plist. Made trackDestination target area 5% smaller. Replaced fixed system names in mission.plist by Kaks replacement code.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2253 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-18 17:57:40 +00:00
Eric Walch
21893abc4c Prevent pauses in ration during final station approach. (less docking crashes). Added Frustration to dockingAI for the benefit of low FPS rates.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2248 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-15 18:00:13 +00:00
Eric Walch
6ee4b952a9 Fixed bug with hang in performFaceDestination for non-station ships. Ships owned by the station still suffer from it.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2247 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-14 21:32:18 +00:00
Eric Walch
651222026e Reworked Aegis messages. sun aegis is recognised, approaching planed event is restored, all handlers have a planet or station as argument.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2236 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-11 18:51:23 +00:00
Eric Walch
5e8d06f38a Fixed bug # 15069 / Multiple missiles at trader no longer reset delay / fightOrFleeHostiles now always gives an answer.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2231 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-09 19:56:15 +00:00
Eric Walch
706bb46790 Fixed rare bug in various AI files. Added a randomPauseAI command and added a delay to trader reactions on incoming missiles.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2229 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-08 16:20:10 +00:00
Eric Walch
5f8d01a05c AI update for pirates and thargoids
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2225 127b21dd-08f5-0310-b4b7-95ae10353056
2009-07-04 22:06:27 +00:00
Nikos Barkas
3af308599d Get docking AI to process the NO_STATION_FOUND message. This avoids situations where ships get stuck in the AWAIT_COORDS state, if a station to receive coordinates from cannot be found.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2211 127b21dd-08f5-0310-b4b7-95ae10353056
2009-06-17 17:23:40 +00:00
Nikos Barkas
b9f4c14684 Improvements to dockingAI.plist, as provided by Eric. This should stop ships getting stuck in BEHAVIOUR_FACE_DESTINATION and ensure that ships respond to attacks properly when docking.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2198 127b21dd-08f5-0310-b4b7-95ae10353056
2009-06-08 21:39:37 +00:00
cmdrjames
8ac6b1dd3c better docking AI from Eric Walch
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2097 127b21dd-08f5-0310-b4b7-95ae10353056
2009-03-18 00:42:56 +00:00
cmdrjames
47213c7a5e fix for pirate cove defense-ships not working
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2096 127b21dd-08f5-0310-b4b7-95ae10353056
2009-03-18 00:39:57 +00:00
Jens Ayton
614341a04d Implemented dropMessages: and debugDumpPendingMessages AI commands. Added experimental dealyedReactToAttackAI, and used it in planetPatrolAI.plist (which was previously ignoring missiles).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2022 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-31 14:16:53 +00:00
Jens Ayton
3997e2c835 Merged -[ShipEntity nearestPlanet] and -[ShipEntity nearestLargeBody]. Cleanup. Added uniform bindings to whitelist.plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1996 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-12 19:47:11 +00:00
Jens Ayton
b02f108735 Implemented AI validation OXP verifier stage. Removed invalid and unused shuttleAI.plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1993 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-12 18:04:02 +00:00
Jens Ayton
0319297410 Fix for AI restart in policeInterceptAI as per http://aegidian.org/bb/viewtopic.php?p=65011#65011 .
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1964 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-04 00:45:24 +00:00
cmdrjames
7814a2ba28 Fixes for AI from: Eric Walch
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1771 127b21dd-08f5-0310-b4b7-95ae10353056
2008-09-26 20:10:24 +00:00
cmdrjames
03e2e67761 [ Bug #13945 ] escorts don't have turrets in 1.71.2
There was a look which didn't stop when it got to the ship which owns the subentity, and went up the chain to the group leader.  I have also changed docking behaviour, as during my testing I found that anyone docking would ignore me when I attacked it.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1746 127b21dd-08f5-0310-b4b7-95ae10353056
2008-08-25 11:14:53 +00:00
cmdrjames
75806ac5e3 Simple fix for traders crashing after launch. Discussed here: http://www.aegidian.org/bb/viewtopic.php?t=4906&highlight=
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1744 127b21dd-08f5-0310-b4b7-95ae10353056
2008-08-25 09:27:55 +00:00
Jens Ayton
4ca8806312 Bunch of cleanup, mostly tabs vs. spaces (yes, I'm silly). Reformatted AIs for consistency, and removed do-nothing handlers. Deleted old sky code.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1724 127b21dd-08f5-0310-b4b7-95ae10353056
2008-08-03 15:44:57 +00:00
Jens Ayton
585a1bb940 Fix for OS X-specific build issues (recommend deleting build folder and rebuilding all). Missiles now respond to ECM during initial launch.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1722 127b21dd-08f5-0310-b4b7-95ae10353056
2008-08-03 13:25:30 +00:00
cmdrjames
ff1877412e make hard heads same as normal misiles for launch phase
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1719 127b21dd-08f5-0310-b4b7-95ae10353056
2008-08-02 20:45:55 +00:00
Jens Ayton
e92acd10cc Better support for cluster missiles - submunitions can now inherit their parent's target (using is_submunition shipdata.plist property).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1718 127b21dd-08f5-0310-b4b7-95ae10353056
2008-08-02 20:37:58 +00:00
Jens Ayton
53e5244d68 Fixes for patrol AIs (bug #14160). Marked Naval Energy Unit incompatible with standard unit. Check docked status in mission scripts for compatibility with scripts that force immediate launch.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1686 127b21dd-08f5-0310-b4b7-95ae10353056
2008-07-08 23:15:33 +00:00
Nikos Barkas
83395a7db3 AI fixes: Thargons no longer shoot their motherships if they fail to find a valid target. Applied Eric's fix to homeAI.plist so that escape pods no longer crash on the planet.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1628 127b21dd-08f5-0310-b4b7-95ae10353056
2008-05-11 17:25:58 +00:00
Jens Ayton
b478d8a435 Nova mission now blows up all stations, not just the main one. Universe addEntity: now returns NO rather than throwing an exception if no slot can be found. Tweaks to autopilot docking behaviour.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1484 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-15 15:09:18 +00:00
Jens Ayton
e1bdfc8924 Added great big heaps of spiff to OS X debug thingy.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1480 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-14 01:32:00 +00:00
Jens Ayton
197119ccc8 All scripts now JavaScript -- adopted somewhat twiddled versions of Eric's scripts, with the cleanup stuff removed (premature optimization is the root of all evil; I'll put it back in if anyone has profiling information indicating it's actually a win). Moved the mission screen function into global-prefix as a generally-available utility function. Wrote JS scripts for the two remaining ships using death_actions. Added Ship.explode(), which kills any ShipEntity through energy damage including the main station. Once again made blowing up the main station with blowUpMainStation (or explode()) work.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1473 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-10 00:01:30 +00:00
Nikos Barkas
a88d505c40 Yet another forgotten string moved to descriptions.plist. Fixed bug in escortAI, where escorts would fall to a state of idleness after returning from intercept, due to lack of UPDATE actions in the BEGIN_BUSINESS state (thanks go to Eric Walch for the fix).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1413 127b21dd-08f5-0310-b4b7-95ae10353056
2008-02-24 10:04:01 +00:00
Jens Ayton
3781f83407 Added Eric Walch's suggested AI fixes (bug #12161). Added contributors.txt.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1213 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-13 19:24:06 +00:00
Jens Ayton
18d59be255 Fix to dockingAI.plist submitted by Eric Walch.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1209 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-10 21:59:36 +00:00
Jens Ayton
77df587d1a Split out remaining JS classes from OOJavaScriptEngine.* into new files. Added expandable pirate-victim recognition via pirate-victim-roles.plist. Added a number of AI methods for searching for entities by role and scan class.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1169 127b21dd-08f5-0310-b4b7-95ae10353056
2007-09-12 17:00:59 +00:00
Giles Williams
53b06c8332 max speed through ring now recommended 225
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@634 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-05 13:21:20 +00:00
Giles Williams
15b53343eb improvements to AI piloting and navigation, added FTR navigation
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@629 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-01 16:36:35 +00:00
Giles Williams
ea0c50f8c1 use standard utility AIs (gotoWaypointAI, receiveDockingAI) as subroutines to simplify AIs
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@610 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-23 16:10:55 +00:00
Giles Williams
e0a5d349c6 new AIs (effectively AI subroutines)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@607 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-23 13:01:12 +00:00
Giles Williams
15834f0b46 fixup docking routines again and add two new utility AIs (part of large vessel adaptations
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@606 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-23 12:16:14 +00:00
Giles Williams
715de84b12 improvements to docking subroutines
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@605 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-23 10:19:27 +00:00
Giles Williams
23c8889c96 implemented "missile_roles" to select missile chosen, and "rotating" to mark rotating station, fixed thargon untargetting and behemoth docking (phew!)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@326 127b21dd-08f5-0310-b4b7-95ae10353056
2006-03-14 00:54:36 +00:00
Dylan Smith
1264b83cf0 Move cocoa-merge (GUSTO) to trunk
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@289 127b21dd-08f5-0310-b4b7-95ae10353056
2006-03-05 16:26:25 +00:00
Dylan Smith
2ebb0e2260 OS X r1140
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@194 127b21dd-08f5-0310-b4b7-95ae10353056
2005-11-19 12:06:54 +00:00
Dylan Smith
da2be13ec0 merge OS X r1091 (v1.60)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@186 127b21dd-08f5-0310-b4b7-95ae10353056
2005-11-05 13:58:18 +00:00
Dylan Smith
207a37d0bc more merges
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@174 127b21dd-08f5-0310-b4b7-95ae10353056
2005-10-26 20:20:45 +00:00
Dylan Smith
6f818d4754 merge from OS X r1030
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@170 127b21dd-08f5-0310-b4b7-95ae10353056
2005-10-24 19:18:47 +00:00
Dylan Smith
653488e27e Nerge missed plist files to OS X revision 932
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@147 127b21dd-08f5-0310-b4b7-95ae10353056
2005-10-02 14:36:08 +00:00
Giles Williams
451232e5f2 various changes from Mac OS X r862
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@91 127b21dd-08f5-0310-b4b7-95ae10353056
2005-07-09 21:51:47 +00:00
Giles Williams
f04c6b8985 changes from OSX r850 **WARNING** Please check PlayerEntity.m is okay
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@87 127b21dd-08f5-0310-b4b7-95ae10353056
2005-07-05 11:59:46 +00:00
Giles Williams
305b324cda changes from OSX r807 - including the MASC'M and interstellar stuff
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@80 127b21dd-08f5-0310-b4b7-95ae10353056
2005-06-17 08:25:19 +00:00