201 Commits

Author SHA1 Message Date
cim
e106132e2a Set missile desired speed to maxspeed on launch 2015-09-23 17:06:57 +01:00
cim
8c3311aba8 Fix some AI errors in nova systems 2015-04-07 18:21:38 +01:00
cim
cd32820a5f Note failure to use "use strict"; in JS
Add it automatically in enforcing mode.
2014-09-07 17:43:23 +01:00
cim
abddb9fc67 Make traders and especially smugglers avoid suspicious craft 2014-07-09 22:42:36 +01:00
cim
80cc302379 Fix assassin chase routines 2014-06-29 17:19:09 +01:00
cim
5dc7327c44 Make certain we don't try to load AIs until after worldscripts - issue #93 2014-06-12 08:00:41 +01:00
cim
6f8dc2d5fd Tidy up some side-effects of issue #93 2014-06-11 19:51:58 +01:00
cim
fe95f39ccb Escape pod should not have same comms role as normal shuttles 2014-06-01 12:12:59 +01:00
cim
323e76b521 Ships will follow player out of interstellar space (usually) 2014-05-25 10:57:50 +01:00
cim
49b8f25a9e Adjust pirate personality match chances 2014-05-08 21:48:08 +01:00
cim
06dbc412bd Various assassination tweaks and fixes
- passenger contracts now record their risk level!
 - client names recorded for potential comms use
 - slightly tweak the AI for better assassin comms potential
2014-05-05 22:05:03 +01:00
cim
111d39ba10 Adjust AIs to allow a little more (optional) diversification of comms roles 2014-04-27 18:55:09 +01:00
cim
e4127b32ee Add personality selection to AI communications 2014-04-27 10:56:50 +01:00
cim
b416e32326 Reduce chance of missiles colliding with launching ship
Previously happened quite a bit when firing at targets directly aft
2014-04-24 22:34:11 +01:00
cim
544d744fa3 Adjust attack commencement messages a little. 2014-04-06 14:00:35 +01:00
cim
dfd0f391f0 Fix some bugs in the opportunist AI 2014-03-30 14:25:51 +01:00
cim
06f072b100 Remove this.version from core JS files as manifest.plist sets it anyway
(This should make releases a bit easier...)
2014-03-14 15:09:41 +00:00
cim
271b8b85c0 selfDestructAbandonedShip AI parameter should have _flag prefix 2013-12-31 18:29:51 +00:00
cim
9d37b1ca14 Add tutorial lesson 6: combat practice.
Also tweak a few earlier stages very slightly, and add optional 'delay' parameter to priority setting in AIs.
2013-12-18 12:42:04 +00:00
cim
fbd6173ef5 Fix misnamed behaviour in escort AI 2013-11-20 17:53:37 +00:00
cim
2fe4c4318c Fix some interstellar space bugs in AI 2013-11-18 18:04:12 +00:00
cim
42128d6ff2 Police lights now used in combat again 2013-10-24 21:09:57 +01:00
cim
786a136bd0 Assassin AI needs an odds assessment before engaging 2013-10-11 22:01:55 +01:00
cim
84d6e28541 Police reactions to suspicious characters
Fix a few bugs
2013-09-19 18:45:25 +01:00
cim
c19476ac8e Various adjustments and bugfixes to assassination, parcel contracts 2013-09-15 16:00:26 +01:00
cim
86505d4356 Initial implementation of assassin NPCs 2013-09-14 13:50:49 +01:00
cim
3360843aae While there's still time, put the new AIs into the right nameprefix 2013-09-13 20:45:48 +01:00
cim
4c6f352736 Allow autospread for missiles (but not the default missiles) 2013-09-13 18:54:14 +01:00
cim
f97bdb7667 Use roles for pirate victims, pirate enemies, friendly fire checks 2013-09-08 17:20:28 +01:00
cim
1bcee4b7b7 Police ships anti-theft mechanism; traders have slightly better combat response 2013-09-05 20:12:41 +01:00
cim
35da08ae64 ship.damageAssessment() to check damage levels (will do more when NPCs can be damaged)
Also: adjust independent pirate role odds to be more towards small ships, and adjust missile loads of ships to reflect prior action or high value
2013-09-04 22:25:54 +01:00
cim
a2334ba5f4 Add basic aegis raiders, some bug fixes in station/defense ship AI 2013-09-01 19:25:45 +01:00
cim
a710d2f746 End patrols when supplies are low. Pirate interceptors will avoid fights then. 2013-08-31 19:33:56 +01:00
cim
fd5fcfeeb3 Search for wormholes if insufficient fuel to leave a bad system 2013-08-31 18:07:17 +01:00
cim
90cab901ee As suggested, give AI object a more accurate name 2013-08-31 16:21:07 +01:00
cim
c7e7e2f75f Improve distress message handling 2013-08-30 21:14:55 +01:00
cim
8cf615c168 Adjust populator settings and related AI a bit.
Main changes: more independent pirates in Feudal/Anarchy; repopulator has a cap on the number of ships it can accumulate in-system; certain ships have tendency towards awful or non-awful accuracy settings; independent pirate packs are slightly bigger; tharglets share accuracy of controller. Overall effect should be to make the difficulty slope between Corp and Anarchy larger, but Corp safer.
2013-08-27 22:08:35 +01:00
cim
b54ec84e71 Add opportunist AI 2013-08-26 17:08:05 +01:00
cim
6393b99fca Allow fleeing to witchspace in certain situations 2013-08-17 14:39:16 +01:00
cim
ada2aa8a2d Serious efficiency fixes to last few commits
ship.findNearestStation()
2013-08-17 13:26:37 +01:00
cim
13b7c1afff Add station.allegiance (allegiance shipdata) property
Adjust AIs to avoid hostile stations
Adjust pirate AI to not rob the same target twice in a row
2013-08-16 21:44:27 +01:00
cim
ba71ac58b2 Adjust pirate interceptor AI to assist nearby pirates in trouble 2013-08-16 18:00:46 +01:00
cim
b829eef4a2 Police witchpoint patrols AI adjustments 2013-08-12 18:45:09 +01:00
cim
75d5748bce Bounty hunter leader AI 2013-08-10 08:34:33 +01:00
cim
9edbe45d63 Add pirate interceptor AI, fix some bugs in pirate freighter AI 2013-08-09 18:00:18 +01:00
cim
b00b1bb550 First go at pirateFreighter/Fighter AIs
Fix bug with launching ships with escorts, tidy up functions
New: ship.notifyGroupOfWormhole()
Introduce AI template blocks to compact AI writing even further.
2013-08-09 13:09:54 +01:00
cim
14d4bb555a Adjust AIs
traderAI for courier and smuggler variants
bountyHunterAI to limit patrol length
2013-08-08 16:00:20 +01:00
cim
1bc115810a Adjust some odds usage 2013-08-05 15:42:26 +01:00
cim
fe5cef097f Initial draft of odds calculations, fix fleeing bugs 2013-08-05 14:14:50 +01:00
cim
c92a70fd0a JSAI: Responses to thargoids
ship.checkScanner now has optional parameter to restrict scan to powered entities
Restore thanks-for-help messages
2013-08-04 12:29:44 +01:00