Commit Graph

87 Commits

Author SHA1 Message Date
Steve 0449dba7a1 Tweaks to suspicion logic - reduce significantly if the player shoot or kills a civilian craft. Limit reduction to -10%. 2017-06-16 18:34:44 +01:00
Steve 866ad5ef37 In an epic battle, all enemies must be eliminated. 2017-05-29 08:39:11 +01:00
Steve f0fd63214d Suspicion reduction tweaks. 2016-07-28 14:57:06 +01:00
Steve 436a3959a6 Greated reduction in suspicion level. 2016-07-28 11:54:08 +01:00
Steve 9f239085dc Only print message when mission is in progress (don't spam the console). 2016-06-02 09:49:49 +01:00
Steve 8533f7969f "Reset" a fighter by simply spawning another in it's place. 2016-05-30 11:59:31 +01:00
Steve 6d8f9f575e Allow some missions have to unlimited enemies (unwinnable epics). 2016-05-29 09:36:10 +01:00
Steve b8a9608b10 When changing something's side, make it a mission target if no longer aligned with player. 2016-05-25 09:43:15 +01:00
Steve 9ecdd106dc Only award PANDORAN trophy at end of successful mission. 2016-05-24 11:46:20 +01:00
Steve c090942f81 Implemented updateEntitySide(). 2016-05-20 09:51:53 +01:00
Steve c02c4686f3 Handle lowering suspicion level in main entity code. 2016-05-19 08:52:34 +01:00
Steve 0b1045cadc Debugging. 2016-05-18 09:48:18 +01:00
Steve fa04c4bd1b hasThreats counts for active and inactive enemy vessels. 2016-05-15 17:38:44 +01:00
Steve 4aec10e614 Updated hasThreats logic. 2016-05-15 17:28:17 +01:00
Steve 89eb8d4a34 Allow script to change the side of an entity (for use during optional missions). 2016-05-15 14:02:35 +01:00
Steve 50883125e1 Merge. 2016-05-15 08:19:26 +01:00
Steve 474ede91af Drawing health bars over fighters. 2016-04-17 11:00:08 +01:00
Steve b40936fd79 Always add ents to quadtree, to allow AI to see components. Shuffle around later. 2016-04-15 13:08:30 +01:00
Steve 6c8349781c Use quadtree for drawing, now that quadtree bug is squashed (hopefully). 2016-04-09 18:13:59 +01:00
Steve 554c3678df Made COMPONENTS more generic, not just for capital ships. 2016-04-09 13:22:20 +01:00
Steve b02850d0fc Logging update. 2016-04-05 09:58:59 +01:00
Steve 29d873d28a Allow waypoints to be manually activated. Removed entId from Battle (redundant). 2016-04-04 11:23:32 +01:00
Steve 8537e5207f Entity drawing bug fix. 2016-04-03 08:37:45 +01:00
Steve 4a1958319c Don't use quadtree for drawing. 2016-04-02 16:37:49 +01:00
Steve c555aeccbe Capital ship bug fixes. 2016-04-02 10:47:44 +01:00
Steve d33bcf9414 In epic battles, spawned in entities (such as swarmers) don't count towards the epicLimit. 2016-03-27 08:55:25 +01:00
Steve ca043f171c Only initially add active entities to quadtree. 2016-03-26 18:15:52 +00:00
Steve 7118c10648 Draw jumpgate portal in jumpgate.c. Use systemPower instead of ALIVE_SLEEPING to determine status. 2016-03-08 14:28:11 +00:00
Steve 22b5267ffd Initially add all entities to quadtree, to avoid the popping effect. 2016-03-08 07:12:06 +00:00
Steve 99013a4e99 Allow jumpgate to be put into "sleep" state: effectively inactive. 2016-03-08 06:55:41 +00:00
Steve a74ff87a46 Added portal effect to jumpgate. 2016-03-07 22:50:41 +00:00
Steve 497977c665 Don't add capital ship components to quadtree until they've been positioned. 2016-03-06 17:13:57 +00:00
Steve ad7a1eefda Challenge integration updates. 2016-02-28 13:02:57 +00:00
Steve cedbed4dc8 Updated copyright dates. 2016-02-21 15:50:27 +00:00
Steve 4d3b2f10a1 Remove entities from quadtree at start of loop. 2016-02-21 09:41:00 +00:00
Steve f402c8e7b9 Updated battle area restrictions, to fit quadtree changes. 2016-02-21 08:54:14 +00:00
Steve 6b1e62dd38 Start of replacing grid with quadtree. 2016-02-21 07:48:22 +00:00
Steve b5fc0aacbd Added disabled pulse effect to entities. 2016-02-14 16:34:11 +00:00
Steve a73a44fd55 Notify captial ships, etc. when new opponents arrive, to allow them to respond faster. 2016-01-24 09:49:50 +00:00
Steve fb8063b581 Get initial enemy count at start of mission. 2015-12-31 11:25:19 +00:00
Steve b095705dd0 When activating a captial ship, also activate its components. 2015-12-30 18:43:47 +00:00
Steve 15d7faf386 Bug fix for escaping entities. 2015-12-21 16:03:30 +00:00
Steve e83e078873 Bug fix for epic battle spawning. 2015-12-20 16:41:46 +00:00
Steve 1849a20831 AI fighers will now attempt to avoid combat if they take too much damage in a short space of time. 2015-12-20 15:13:41 +00:00
Steve b5dfab1bd5 Added debug keys. 2015-12-18 10:12:37 +00:00
Steve 691068a634 Shield smash bug fix. 2015-12-14 14:04:48 +00:00
Steve 6b06b2a431 Increased corvette engine health. Allowed guns to fire missiles. Cap ships will also hunt down AI targets. 2015-12-12 17:12:25 +00:00
Steve a5f8be0586 EF_STATIC now means entity will never move (not even rotate). 2015-12-10 11:46:57 +00:00
Steve da692862b9 Include cap ships in force counts. 2015-12-10 11:11:32 +00:00
Steve 1b1a4ca792 Shift dead entities out of main list instead of freeing, to counter dangling pointers. 2015-12-10 10:15:27 +00:00