Commit Graph

207 Commits

Author SHA1 Message Date
Joonas Rikkonen cf55de90ba (0ccb08c95) Remove item collision category, since we only want to check the walls and the characters here. 2019-05-16 05:22:30 +03:00
Joonas Rikkonen ad604a44c4 (0bc1c5f88) Fix bots trying to rescue enemies in single player game. 2019-05-16 05:22:12 +03:00
Joonas Rikkonen 99307f764a (a47ab977d) Allow shooting through platforms. 2019-05-16 05:21:56 +03:00
Joonas Rikkonen 9ec9adb2a7 (cec5cdbcd) Reset steering when an objective is activated. 2019-05-16 05:21:39 +03:00
Joonas Rikkonen f95a59cc50 (cc14ef57a) Remove the Doing text, because it's not used and because there can be multiple. Remove order names, because they should be defined in EnglishVanilla.xml. Add todo notes about the texts. 2019-05-16 05:21:20 +03:00
Joonas Rikkonen 1e200722ae (81244db07) Implement AIObjectiveFightIntruders. 2019-05-16 05:21:03 +03:00
Joonas Rikkonen 88de435487 (cf495e03c) Check the visibility to the target when engaging (the distance is not enough, if there's something blocking the line of sight). 2019-05-16 05:20:45 +03:00
Joonas Rikkonen 3d7a113d75 (048b753e6) Merge branch 'dev' into human-ai 2019-05-16 05:20:29 +03:00
Joonas Rikkonen 7b6c2f1fa8 (663910402) Unequip weapons when not in combat mode and all items when idling. 2019-05-16 05:20:11 +03:00
Joonas Rikkonen 3b313976c5 (5394332a8) Add a note. 2019-05-16 05:19:52 +03:00
Joonas Rikkonen bcd18aab4e (8025561da) Implement offensive combat. 2019-05-16 05:19:31 +03:00
Joonas Rikkonen 363eb0540a (a8f2f39bd) The ai now sorts the weapons by the combat priority value, which can be set in xml. Ranged weapons are favored. The required items are also taken into account. 2019-05-16 05:19:14 +03:00
Joonas Rikkonen 9facded24c (2561cb6ea) Tune the priority modifiers. 2019-05-16 05:18:55 +03:00
Joonas Rikkonen 65e284bf7c (0fde6c604) Ignore dangerous targets. 2019-05-16 05:18:37 +03:00
Joonas Rikkonen fea0c31e85 (27b4fa143) Tune the priority modifiers. 2019-05-16 05:18:18 +03:00
Joonas Rikkonen f61bff8970 (a1fe45652) Add some margin. 2019-05-16 05:18:01 +03:00
Joonas Rikkonen cbfef49e9d (d9fd52f40) Change the priority calculations for charge batteries and pump water loops. Tweak the operate item priority calculation. 2019-05-16 05:17:42 +03:00
Joonas Rikkonen c9bfc21880 (49f837fbb) Fix: operate battery or pump should not be looping objectives. 2019-05-16 05:17:24 +03:00
Joonas Rikkonen c8160f6e0b (a599eccb0) Expose the ai recharge target ratio and add a property for easy accessing to the recharge ratio. 2019-05-16 05:17:06 +03:00
Joonas Rikkonen 6c777aa91e (d7e59613a) Ignore broken items. 2019-05-16 05:16:47 +03:00
Joonas Rikkonen 6bdd0ab8c0 (83ad1f3d2) Fix a null reference exception. 2019-05-16 05:16:31 +03:00
Joonas Rikkonen 5b3696f7e4 (d16942d30) Simplify. 2019-05-16 05:16:13 +03:00
Joonas Rikkonen bbce41fab0 (bd2976a16) Add some automatic orders. 2019-05-16 05:15:52 +03:00
Joonas Rikkonen 82d74f7481 (a1ebc2642) Use lazy loading to ensure that the list is assigned when it's needed. Fixes null reference exceptions when pumping water or charging batteries. 2019-05-16 05:15:34 +03:00
Joonas Rikkonen 108e42edb0 (b5250291f) Merge branch 'dev' into human-ai 2019-05-16 05:15:16 +03:00
Joonas Rikkonen bec7aadfa9 (af16ecdfa) Merge branch 'dev' into human-ai 2019-05-16 05:14:00 +03:00
Joonas Rikkonen 454dda56c7 (1762f02b3) Merge branch 'dev' into human-ai 2019-05-16 05:08:22 +03:00
Joonas Rikkonen 039d07f693 (a2943d8b7) Merge branch 'dev' into human-ai 2019-05-16 05:04:10 +03:00
Joonas Rikkonen 60f52375e6 (7788ec72a) Test issuing orders automatically. 2019-05-16 05:03:49 +03:00
Joonas Rikkonen 5af8170ac6 (372c6e60a) More automatic text scaling + merge fix 2019-05-06 14:15:40 +03:00
Joonas Rikkonen 7d825b051c (bcdbb4a59) For Bunyip too 2019-05-06 14:14:13 +03:00
Joonas Rikkonen 4ee5bf1e08 (cbcc94ae1) Higher res preview pics for subs 2019-05-06 14:13:55 +03:00
Joonas Rikkonen 6e152c4575 (c57beb621) Autoscale text in a bunch of places where it's likely to overflow 2019-05-06 14:13:38 +03:00
Joonas Rikkonen 3c1db2e9a7 (c91620d64) Fixed all language options showing "English" if the name of the language is not present in the text files, apply settings when switching language (too easy to just change the language and restart without applying first) 2019-05-06 14:13:22 +03:00
Joonas Rikkonen 47d7bd8f14 (977fc6511) Allow panning the campaign map with LMB (otherwise it can't be panned with a touchpad) 2019-05-06 14:13:03 +03:00
Joonas Rikkonen 342a150855 (59b1edfd7) Added a button that opens the campaign disclaimer to the new game menu 2019-05-06 11:40:40 +03:00
Joonas Rikkonen 84054b75bb (016cc3e0f) Updated Remora cable holders 2019-05-06 11:40:24 +03:00
Joonas Rikkonen 1e666a5a0d (073c09b0f) Don't allow signals to deactivate Repairables (made it impossible to fix hatches on some vanilla subs because the signals kept the Repairable inactive, preventing the repair state from being updated) 2019-05-06 11:40:06 +03:00
Joonas Rikkonen 836acc0814 (82b78c472) Fixed inability to close the pause menu with Esc when an item interface is open 2019-05-06 11:39:49 +03:00
Joonas Rikkonen 397b99a2ad (6e1c0e7da) removed RDX from railgun shells!!! 2019-05-06 11:39:31 +03:00
Joonas Rikkonen 2c141ef809 (376c5d836) added remora and drone to project 2019-05-06 11:39:13 +03:00
Joonas Rikkonen e55c90bdb2 (27d881db0) Nerfed railgun structure damage 2019-05-06 11:38:55 +03:00
Joonas Rikkonen 4c165d43f6 (e17511e77) Added Remora and drone to default package. 2019-05-06 11:38:38 +03:00
Joonas Rikkonen 8c626508f7 (c04939e65) Added mine location sales data and placeholder tuning of prices. 2019-05-06 11:38:20 +03:00
Joonas Rikkonen c76284c511 (1539ce1d5) Increased starting funds 2019-05-06 11:38:03 +03:00
Joonas Rikkonen 87dc4e669e (fccc5f86f) increased rewards for easy delivery missions 2019-05-06 11:37:46 +03:00
Joonas Rikkonen 47abb30bef (2a2494e33) Fixed tutorial names not being translated 2019-05-06 11:37:28 +03:00
Joonas Rikkonen 6f57aa863f (2007f0f7e) Render missing characters as a white square to make them more noticeable 2019-05-06 11:37:11 +03:00
Joonas Rikkonen 323c8e7b95 (141ad0eda) Fixed tutorial button text not being translated 2019-05-06 11:36:54 +03:00
Joonas Rikkonen 8e53c38461 (93b920f3f) Fixed Chinese text wrapping (can't wrap based on spaces because there's no spaces) 2019-05-06 11:36:38 +03:00