Commit Graph

123 Commits

Author SHA1 Message Date
Allanis
812321b07d [Fix] Fixed ai's "dead spot". 2014-03-07 23:22:14 +00:00
Allanis
e758e541f1 [Changed] Tweaked the ai decision tree slightly. 2014-03-07 23:16:07 +00:00
Allanis
5ddd5d7615 [Fix] Fixed occasional warning in ai. 2014-03-07 19:06:59 +00:00
Allanis
ee259281cc [Change] AI improvments, they should be much nicer now. 2014-03-07 17:49:33 +00:00
Allanis
ff11ba3cc8 [Add] Added full tutorial and fixed a few mission bugs. 2014-03-06 23:43:26 +00:00
Allanis
81dac26e29 Fixed warning regarding loading the load screen texture 2014-02-02 20:08:28 +00:00
Allanis
3540ba0724 [Add] Gave AI customizable bribe messages. 2014-02-01 22:09:49 +00:00
Allanis
37d61803d7 [Add] Added math lib to basic llua. 2014-01-25 19:29:42 +00:00
Allanis
63e2bb55b0 [Add] Implemented bribing. 2014-01-24 21:57:01 +00:00
Allanis
84b20c9bd3 [Fix] Fixed ai.relvel(). Also introduced dot product function. 2014-01-22 17:31:36 +00:00
Allanis
deeea15889 [Change] Only have ai land once. 2014-01-22 15:38:19 +00:00
Allanis
19292edd68 [Change] Improved AI's secondary weapon handling. 2014-01-22 15:26:42 +00:00
Allanis
d04acc1a35 [Remove] Removed unused and unneeded Lua file. 2014-01-06 19:51:09 +00:00
Allanis
5518f0c390 [Change] AI now takes into account relative velocities. 2014-01-06 19:49:43 +00:00
Allanis
239f42bb85 [Remove] Removed the disgusting TYPE_PTR from ai. 2014-01-05 21:32:25 +00:00
Allanis
e57ac297d2 [Fix] Removed some unused variables. 2014-01-05 20:46:42 +00:00
Allanis
e40a9ecbf7 [Change] AI aims earliar, much more accurate now. 2014-01-01 01:13:14 +00:00
Allanis
9539e22d8b [Change] Faction and combat ratings are now continuous. 2013-12-31 17:38:02 +00:00
Allanis
584e97b0b7 [Add] Applied some minimum docking requirements. 2013-12-31 04:31:20 +00:00
Allanis
3a87ce36ff [Fix] Fixed some escort ai issues, also allowed for fighters to return to ship. 2013-12-31 04:28:05 +00:00
Allanis
843067a0f3 [Add] Escorts and fighter bays are starting to work quite nicely. 2013-12-31 04:01:11 +00:00
Allanis
b26a1ca968 [Fix] Fixed god damn ai! 2013-12-31 03:07:05 +00:00
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