Commit Graph

75 Commits

Author SHA1 Message Date
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
Allanis
63f814c695 [Fix] Fleet balancing, minor ai fix and removed obsolete ai. 2013-03-14 21:49:44 +00:00
Allanis
309ac8a648 [Add] New factions, ship, station, system. Empire and Collective wage war against each other. 2013-03-14 21:43:48 +00:00
Allanis
d246c2cbe2 [Add] More thingies.. Factions!! 2013-03-13 22:39:52 +00:00
Allanis
11629d1526 [Fix] Attack for Militia faction. 2013-03-12 23:56:23 +00:00
Allanis
4b07e86acd [Add] Militia faction. Changed Test pilot to Militia and added ai_create 2013-03-12 23:45:29 +00:00
Allanis
d31b9dad30 [Add] Empty StarSystem and made ai use it! 2013-03-10 16:31:55 +00:00
Allanis
9d966458d7 [Add] Mule ship, and applied turrets to them. 2013-02-28 21:22:06 +00:00
Allanis
9fc0c72e71 [Add] If you don't kill the merchant so soon, It will attempt to jump hyperspace when running away. 2013-02-24 15:53:36 +00:00
Allanis
34a6be43df [Add] Merchant vessels are now able to go to hyperspace.
[Change] Overpowered merchant ship a little for testing purposes.
2013-02-24 15:40:34 +00:00
Allanis
5841d23f54 [Change] Sanitized lua ai api a little. 2013-02-23 17:53:31 +00:00
Allanis
7e013e5b91 [Add] AI Lua API calls for secondary weapons. 2013-02-15 20:26:41 +00:00
Allanis
dc9f089abe [Fix] *Now* it's fixed.. Forgot to correct lua and xml files. 2013-02-15 02:34:40 +00:00
Allanis
ad006788c5 [Fix] Oops. Forgot to run that hack on header and text files.. 2013-02-15 02:22:35 +00:00
Allanis
29b8b5ba18 [Add] A few more AI calls.
[Add] Ai protection and some tweaks.
  -- eg. Once armor/shield is regenerated, enemy will come back for another round.
2013-02-10 18:32:02 +00:00
Allanis
ebd95e3ba4 [Change] Keep forgetting to update API documentation when I chance AI API. 2013-02-10 05:25:05 +00:00