Commit Graph

90 Commits

Author SHA1 Message Date
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
Allanis
b9fce0adbf [Add] Merchants now have cargo that you can steal upon boarding. 2013-03-17 14:22:10 +00:00
Allanis
5d2f604703 [Add] ai.cargofree() to lua API. 2013-03-17 13:49:25 +00:00
Allanis
8a375a58e1 [Change] Merchants will now run away from the last attacker. 2013-03-16 23:05:28 +00:00
Allanis
8b03dfe8f5 [Fix] None random credits. 2013-03-16 22:57:31 +00:00
Allanis
82e074044e [Fix] AI target loss. 2013-03-16 22:56:25 +00:00
Allanis
910eb656a5 [Add] More verbose ai logging and more monies. 2013-03-16 22:41:24 +00:00
Allanis
abb1a6e647 [Add] Added new AI API calls to API docs. 2013-03-16 22:19:52 +00:00
Allanis
88fed6f40c [Add] ai now controls ship's credits/loot. Some more API calls and cargo stuff. 2013-03-16 22:14:53 +00:00
Allanis
9710d7721b [Change] Made ai a *little* less dumb. 2013-03-16 19:13:05 +00:00
Allanis
875b6be208 [Fix] Empire units shouldn't need to face you as they have turrets. 2013-03-16 18:46:05 +00:00
Allanis
56bacc473d [Fix] Militia warning was too long. 2013-03-14 22:00:44 +00:00