Commit Graph

29 Commits

Author SHA1 Message Date
Allanis
812321b07d [Fix] Fixed ai's "dead spot". 2014-03-07 23:22:14 +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
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
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
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
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
8ef7082c84 [Add] Gave AI some memory. 2013-12-15 00:30:50 +00:00
Allanis
6c4007f5cb [Change] Increased landing threshold. 2013-12-06 20:31:20 +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
56d10e603b [Add] attack_closestenemy to basic.lua. Pushed the land function into basic.lua. 2013-11-09 23:57:03 +00: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
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
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
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