Commit Graph

121 Commits

Author SHA1 Message Date
Steve d8aa7f70f2 Updated copyright. 2019-01-01 16:14:11 +00:00
Steve aad8551c84 Updated copyright dates. 2018-04-29 10:01:09 +01:00
Steve 9e45c3fcd6 Updated copyright. 2017-08-07 19:15:30 +01:00
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 b47648dde3 Don't allow fighters to fire missiles at enemies masking their ids. 2017-06-04 09:32:48 +01:00
Steve fe42e496a7 Cap the speed of a surrendering vessel, so that they don't become a chore to chase down. 2017-05-26 07:47:13 +01:00
Steve 8d8ad35e17 Don't constantly fire lasers or mags at a disabled craft. 2016-07-31 09:58:06 +01:00
Steve 7799c60652 Allow suspicion level to drop if player is close to wing leader. 2016-07-28 14:57:23 +01:00
Steve db2c945cd6 fleeWithinBattleArea bug fix. 2016-06-02 11:20:18 +01:00
Steve 54920dc9b3 Flee immediately when surrendering. 2016-06-02 09:49:28 +01:00
Steve 4e36f0731f Check surrender chance earlier in ai call. 2016-05-25 12:26:25 +01:00
Steve 997574dbf3 3 second leeway for killing a surrendering target. 2016-05-25 09:43:39 +01:00
Steve b36b35834d Move away from targets that you're not allowed to kill, but are still aggressive. 2016-05-25 08:20:53 +01:00
Steve 0088dfdee3 Added AIF_SURRENDERING, to better handle surrendering targets and prevent race conditions. 2016-05-25 07:56:48 +01:00
Steve 4092ae6a10 Increased surrender chance. 2016-05-24 09:09:58 +01:00
Steve 2a725471c7 If at edge of battle area when fleeing, turn around. 2016-05-22 16:50:11 +01:00
Steve e2744cd4d5 Script to call is "ENEMIES_SURRENDERED %d". 2016-05-22 12:17:01 +01:00
Steve 41aff3ee3c Added ability for enemy fighters to surrender, if AIF_SURRENDERS is set. 2016-05-22 12:08:19 +01:00
Steve 7e7b8c5454 Moved max suspicion reaction to scripts in missions. 2016-05-20 10:51:35 +01:00
Steve c17f1af851 Added AIF_ZAK_SUSPICIOUS. 2016-05-20 09:51:34 +01:00
Steve ebf95cb631 Only raise suspicion level if the battle is in progress. 2016-05-19 09:31:37 +01:00
Steve 8f438c4467 Deactivate jumpgate if Pandoran choose to attack the player. 2016-05-18 09:47:27 +01:00
Steve e7bfeef2cd Suspicion tweaks. 2016-05-17 13:49:21 +01:00
Steve 60d477b754 Don't become suspicious of the player immediately after combat ends. 2016-05-17 11:34:32 +01:00
Steve d3091caed5 Don't circle your destination if you're near it. 2016-05-17 11:34:08 +01:00
Steve 6794a3c268 Entities with SIDE_NONE don't count as enemies. 2016-05-17 11:32:48 +01:00
Steve 2af1fa6476 Summon backup when player's cover is blown. 2016-05-16 17:03:02 +01:00
Steve 13253ee1e8 Suspicion related updates. 2016-05-16 11:40:39 +01:00
Steve ee4e88668e Added suspicion level, for optional missions. 2016-05-16 10:54:46 +01:00
Steve 50883125e1 Merge. 2016-05-15 08:19:26 +01:00
Steve 6d8856deae Don't exceed your own speed when following a leader. 2016-04-20 13:53:06 +01:00
Steve a3be44a000 Mine deployment fix. 2016-04-20 09:38:29 +01:00
Steve d871e48144 AIF_ASSASSIN check fix. 2016-04-19 12:50:27 +01:00
Steve c395ee25e5 Allow AIF_ASSASSIN flag to be set, to always attack a target. 2016-04-19 11:13:43 +01:00
Steve 344b2d27b8 Give AIF_TARGET_FOCUS fighters a low chance of targetting something else. 2016-04-16 10:59:42 +01:00
Steve a49817ba2e Leader following AI bug fix. 2016-04-15 11:31:11 +01:00
Steve d976c7d3c8 Don't fire missiles at things flagged with EF_NO_KILL. 2016-04-13 11:46:42 +01:00
Steve 61b3ede526 Wander takes priority over moving to leaders. Don't suddenly stop when close to leader during flocking. 2016-04-10 08:36:27 +01:00
Steve bea850f755 Wander fixes. 2016-04-09 17:40:34 +01:00
Steve a5676b9b49 Added EF_AI_IGNORE, to tell AI to ignore entities. 2016-04-09 13:23:10 +01:00
Steve 648ea2e0a7 Further flocking tweaks. 2016-04-08 18:41:51 +01:00
Steve f983b7e2f2 Player / Leader following tweaks. 2016-04-08 10:58:22 +01:00
Steve 505fbb2547 Don't update target location, unless there are enemies nearby. 2016-04-06 16:49:47 +01:00
Steve d329fbaf2f Only deploy mines if you're moving. 2016-04-01 17:02:56 +01:00
Steve d178134a00 Allow AI to drop mines. 2016-04-01 14:19:03 +01:00
Steve 58fb3e911b Tell AI to avoid mines. 2016-04-01 11:40:09 +01:00
Steve 52691f7be5 Enable AI flags to focus on targets. 2016-03-29 22:45:46 +01:00
Steve e6ea4bff06 Reworked canAttack logic. 2016-03-29 07:09:26 +01:00
Steve bd8e88b3ac Don't allow tugs to take ownership of something that is already owned. 2016-03-28 10:39:52 +01:00
Steve 604526611a Increased flock leading distance. 2016-03-16 06:53:20 +00:00