450 Commits

Author SHA1 Message Date
cim
d169c64312 Adjust nova mission to use populator
Removes normal traffic from the system when player enters, making it less likely they will escape by following a wormhole.
2013-08-01 17:53:40 +01:00
cim
d3ab9e05d7 Modify mission scripts to use populator to add mission ships 2013-07-31 21:29:29 +01:00
cim
db62296090 Fix some more bugs in pirateAI cargo demand generation
Also make it possible to do a quick checkScanner which ignores cargo/rocks and replace some internal uses of checkScanner
2013-07-28 12:07:39 +01:00
cim
2394756106 Fix problems with escorts following through wormholes 2013-07-27 21:40:07 +01:00
cim
ca919dab4c Boulders might technically have a bounty but the police shouldn't shoot at them 2013-07-27 18:09:24 +01:00
cim
45812dad88 Fix bugs with thargoid AIs 2013-07-27 15:39:23 +01:00
cim
71713b26a9 Finish reorganisation of priority AI file
Also fix bug in Q-mine fleeing, make sure 'ship' property is read-only.
2013-07-27 12:29:59 +01:00
cim
a7eb0bf1bf JSAI: cleanup
Rename a couple of inconsistent methods
Make the AILib object use private and prototype functions for efficiency
Start reorganising the AILib file to make it easier to edit in future
2013-07-26 18:52:11 +01:00
cim
be388e4fa2 JSAI: Constrictor 2013-07-25 20:09:53 +01:00
cim
be6d167f38 JSAI: Q-bomb
New ship script event: shipWasDumped (opposite of shipWasScooped)
2013-07-25 18:31:14 +01:00
cim
b6b3f227a3 JSAI: Missiles 2013-07-24 21:56:50 +01:00
cim
f128abf309 JSAI: Rock hermit 2013-07-23 22:37:07 +01:00
cim
9aa62fc2bd JSAI: main station AI 2013-07-23 21:21:49 +01:00
cim
e880d8c12c JSAI: defense ship AIs 2013-07-22 23:15:17 +01:00
cim
89b1c76eb7 Fix bug in JSAI docking routine 2013-07-22 21:30:10 +01:00
cim
363d7bbeb2 JSAI: Miner/Scavenger AI (the two are very similar, so one AI can do both) 2013-07-22 21:24:27 +01:00
cim
968eace6db JSAI: shuttle AI 2013-07-21 23:25:41 +01:00
cim
228344c540 JSAIs for Thargoids and Thargons.
Thargons now act as escorts for the warships.
2013-07-21 11:10:47 +01:00
cim
83a7ac49d7 New ship property ship.AIScriptWakeTime for event aiAwoken
Replaces the need for hundreds of timers.
2013-07-20 12:20:41 +01:00
cim
3cbeed8d11 Fix police station patrol behaviour, a few other minor bugs 2013-07-20 09:14:58 +01:00
cim
a4ae37c849 Change autoAIs for more testing what we have so far.
Set trader, pirate, escort, hunter, police AIs to JS by default
2013-07-19 22:51:43 +01:00
cim
5ce15389d6 Adjust waypoint setting methodology
New script method: ship.patrolReportIn(station)
2013-07-19 20:18:53 +01:00
cim
27e76f345f Add police lane patrol AI (acts as both lead and wingman) 2013-07-18 23:00:23 +01:00
cim
5db0182765 More fixes to pirate AI. 2013-07-17 22:44:26 +01:00
cim
99a1fac41e More work on the pirate AI
There's still a subtle bug in the logic somewhere that makes them sometimes return to attacking the player after having been paid off but before picking up all the cargo they've been given.
2013-07-16 22:33:42 +01:00
cim
8372845a9f More pirate AI work
Still not finished...
2013-07-15 23:14:47 +01:00
cim
3e9f6741e7 Make a start on pirate AI (doesn't work yet) 2013-07-14 23:11:25 +01:00
cim
b8da00024b Allow trader AI to make distress calls
JS-sourced distress calls don't automatically dump cargo or flee
2013-07-14 21:28:19 +01:00
cim
34ce5ed934 Add trader AI, more updates to AI library
ship.dumpCargo can now take optional number of items to dump (not for player ship)
2013-07-14 19:02:16 +01:00
cim
0e69dae8f4 Add escortAI, update and debug AI library, system.stations property 2013-07-13 23:18:05 +01:00
cim
3cdd7af7b1 Bounty hunter AI in JS 2013-07-13 19:13:30 +01:00
cim
b9bf5619e3 AILib: handle cascade mines, basic group combat, some cleanup 2013-07-13 11:36:28 +01:00
cim
051f51505a New JS methods for ship, update priority lib
ship.checkCourseToDestination()
ship.getSafeCourseToDestination()
2013-07-13 09:53:53 +01:00
cim
8a88c95162 Add a docking behaviour for the priority AI 2013-07-12 23:00:39 +01:00
cim
9847b2fc45 Initial commit of priority-based AI library 2013-07-12 19:44:14 +01:00
cim
e102fbd55c Merge pull request #38 from OoliteProject/javascript-populator
Javascript populator and high-precision coordinate system

Closes #22, implements partially #36 but some tuning of populator and especially repopulator will be needed later
2013-07-11 13:10:09 -07:00
cim
955cca855a Adjust nova sun settings a little 2013-07-10 20:09:16 +01:00
cim
380c9f8f4a Nova and related adjustments
- increase default corona flare
- increase nova corona flare ranges to match
- make nova stars in expansion phase keep high corona flare
- make flare changes in nova mission use frame callback for smooth changes
2013-07-08 19:01:38 +01:00
cim
be589dbc47 Correct variable name in script 2013-07-04 17:02:24 +01:00
cim
d04eba66de Make system.populatorSettings work, cleanup and document 2013-07-03 18:30:57 +01:00
cim
6d12aa177e Make navigation buoys rotate again 2013-07-03 17:43:49 +01:00
cim
2b224685f3 Nova system population
Changes default populator for system, for easiest compatibility with old save games, OXPs with novas, etc.
2013-07-03 17:11:47 +01:00
cim
242002cf1a Add system repopulator
Runs every 20 seconds to keep number of ships in system up
2013-07-03 15:48:25 +01:00
cim
4205ba932c Finish populator named locations (issue #36) 2013-07-03 12:26:08 +01:00
cim
217c618a09 Make sure new populator runs on all branches, replicate (ish) old populator behaviour. 2013-07-01 18:15:57 +01:00
cim
68cbeed17b Start system populator framework.
Adds buoys, nothing else
2013-07-01 13:46:13 +01:00
Chris Morris
6bb8e901f4 Padding on parcel contracts still wasn't quite sufficient for really short trips, which could expire before you got to the station. Add four hours to deadlines.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5678 127b21dd-08f5-0310-b4b7-95ae10353056
2013-05-12 00:23:15 +02:00
Chris Morris
c01af88cab Fix crash on failed mesh load, plus other bugs exposed at same time
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5662 127b21dd-08f5-0310-b4b7-95ae10353056
2013-03-29 13:56:43 +00:00
Nikos Barkas
50895952b2 Version bump to 1.77.1.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5623 127b21dd-08f5-0310-b4b7-95ae10353056
2013-01-21 10:15:06 +00:00
Chris Morris
fa6c66235c Bug fixes:
- use lighting for cloud layer to avoid oddities at low ambient levels
 - include cargo premium and passenger advance in new contracts data
 - check case where escorts could end up scan CLASS_NOT_SET


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5614 127b21dd-08f5-0310-b4b7-95ae10353056
2013-01-12 15:01:27 +00:00