Commit Graph

101 Commits

Author SHA1 Message Date
Allanis
dd9bbfaa3b [Add] First Lua template for real escorts. 2013-12-27 23:35:19 +00:00
Allanis
c8104d16be [Change] Disable bomber ai for now, not quite ready. 2013-12-19 19:15:15 +00:00
Allanis
19b8f38acf [Change] Reworked attack system a bit. More versatile. 2013-12-15 17:16:12 +00:00
Allanis
5fe7753214 [Fix] Scout ai should probably work again. 2013-12-15 00:50:54 +00:00
Allanis
8ef7082c84 [Add] Gave AI some memory. 2013-12-15 00:30:50 +00:00
Allanis
fef6cefe05 [Fix] A few minor fixes. 2013-12-10 03:56:18 +00:00
Allanis
6c4007f5cb [Change] Increased landing threshold. 2013-12-06 20:31:20 +00:00
Allanis
92923111e1 [Add] Fleets and ai for Detour Liberation Front, along with a few generic ai changes. 2013-12-06 20:25:59 +00:00
Allanis
6d8b591a48 [Change] "runaway" takes priority over attacking. 2013-12-05 02:18:44 +00:00
Allanis
1c0fb97b7f [Change] Made ai noidle aggressive. 2013-11-30 22:10:59 +00:00
Allanis
66c0ef8d9f [Add] noidle state. 2013-11-28 02:46:45 +00:00
Allanis
01243e12e3 [Add] Lua logic for traders. 2013-11-26 15:07:41 +00:00
Allanis
47a8efa9ee [Add] Pilot:alive() and Pilot:broadcast() to Lua API. 2013-11-19 21:51:04 +00:00
Allanis
7bbad458e0 [Add] Simple ai for mission pilots that need to escort the player. 2013-11-19 21:33:15 +00:00
Allanis
76bea0092c [Add] Created an 'idle' task to run when idle for easy to change idle behaviours. 2013-11-19 00:27:09 +00:00
Allanis
5a87b2da77 [Change] MAJOR AI rehaul, split all the lua stuff into generic templates.
[Add] Bomber attack routines.
[Fix] Bug with AI forgetting about you if another enemy attacks.
2013-11-10 05:03:59 +00:00
Allanis
db18dd0516 [Change] Unified attack thinking in ai scripts. 2013-11-10 01:41:50 +00:00
Allanis
c7d85fe6e2 [Change] Improved collective ai. 2013-11-10 00:09:05 +00:00
Allanis
56d10e603b [Add] attack_closestenemy to basic.lua. Pushed the land function into basic.lua. 2013-11-09 23:57:03 +00:00
Allanis
4190314d24 [Add] Empire ai now properly jumps. 2013-10-16 23:30:51 +01:00
Allanis
01b3f2f77b [Change] AI now use more weapon types and uses them more wisely.
[Add] Draktharr gets mace rockets.
2013-08-28 15:08:22 +01:00
Allanis
9c8ab865ab [Add] Draktharr skins. [Fix] taunt() bug in ai. 2013-08-24 17:53:15 +01:00
Allanis
028f77f78a [Fix] Stopped AI merchants from popping tasks like crazy! 2013-08-18 14:45:15 +01:00
Allanis
972189e567 [Change] Updated TODO 2013-08-15 13:20:32 +01:00
Allanis
719bb753a2 [Change] Improved enemy and turret ai, they hit a lot now!
-- also improved the global attack() ai.
2013-08-14 16:48:32 +01:00
Allanis
76d7e811b5 [Change] Increased merchant and pirate credits. 2013-08-14 10:53:20 +01:00
Allanis
153b519d6b [Change] Compare enemy against nil. 2013-08-12 09:20:45 +01:00
Allanis
e10841653d [Fix] Improved sanity on some AI functions. 2013-08-10 16:11:54 +01:00
Allanis
869a6d7dbe [Change] Pilots now try to aim somewhat with missiles. 2013-08-10 12:58:59 +01:00
Allanis
afa05f0ff8 [Change] Moved hyperspace() to scripts/ai/include/basic.lua 2013-08-10 12:18:05 +01:00
Allanis
b8bafb4700 [Add] More planet functions for ai: ai.getrndplanet() and ai.getlandplanet(). 2013-07-10 19:30:58 +01:00
Allanis
23097370db [Fix] Bug with lua files not including include/basic.lua properly. 2013-07-08 21:49:47 +01:00
Allanis
9dfd83abef [Add] New hard to kill ai who's primary objective is to survive. 2013-07-08 20:48:13 +01:00
Allanis
ef5a8e5a5f [Fix] Few lua script fixes. 2013-07-06 21:42:29 +01:00
Allanis
19cbc18ff3 [Add] Check for weapon range when running away with turrets. 2013-07-06 20:01:49 +01:00
Allanis
71fdcffd07 [Add] Ai now calculates optimal distance when shooting. 2013-07-06 16:28:00 +01:00
Allanis
7a03a6f377 [Add] Now all ai include "ai/include/basic.lua" to share attack and runaway functions. 2013-07-01 17:17:14 +01:00
Allanis
3c4383b325 [Change] Cleaned up the ai lua wrappers a bit, needs plenty more work. 2013-06-10 00:42:08 +01:00
Allanis
b860e38959 [Add] You can lose faction now, fixed ai to set you as hostile. 2013-05-23 14:31:41 +01:00
Allanis
b377e18d62 [Fix] Typo's. 2013-05-02 20:01:05 +01:00
Allanis
6665424d97 [Add] Couple more commodities. 2013-04-28 09:23:16 +01:00
Allanis
926b65d3aa [Change] Move AI API to docs. 2013-04-20 15:31:36 +01:00
Allanis
5b29539c17 [Change] Make accel speed dependent, not thrust. 2013-04-20 15:30:33 +01:00
Allanis
339662e3c5 [Change] Tab to spaces in xml/lua. 2013-03-21 00:46:40 +00:00
Allanis
5c15cf5265 [Change] Updated ai API documentation. 2013-03-20 19:38:41 +00:00
Allanis
53d5eb6172 [Add] Militia kinda scans now. 2013-03-20 19:21:46 +00:00
Allanis
6fb9e3b468 [Add] Incomplete outfit descriptions. [Add] Militia stick to last attacker. 2013-03-19 23:06:48 +00:00
Allanis
69b8e2bcd6 [Fix] Typo in lua'z. 2013-03-17 20:28:49 +00:00
Allanis
a037112f72 [Fix] Eheh. Typo affecting merchant ships going to hyperspace.. 2013-03-17 19:55:40 +00:00
Allanis
b66c6f7ecf [Add] Attempted to get modifications actually working. Everything is
brokened. Don't even attempt to play..
2013-03-17 19:28:45 +00:00