Commit Graph

69 Commits

Author SHA1 Message Date
574c4135a3 Tweaked attack code and fixed building liimit checks
This was SVN commit r10763.
2011-12-18 13:05:53 +00:00
c8243a50dc Large qBot update.
Key changes are:
Support for Persians
Revamped defence system supoprting groups of attackers
Dynamic priorities based on enemy strength and number of workers
Better placement of towers and fortresses
Randomised raiding in early game

This was SVN commit r10755.
2011-12-17 21:59:27 +00:00
78d50b4149 Added check for the existence of a resource somewhere on the map
This was SVN commit r10742.
2011-12-16 10:46:20 +00:00
df7d3afd64 Fixed bug where only a tiny accessible region was being found so qBot didn't build or gather due to the rest of the map being inaccessible.
This was SVN commit r10721.
2011-12-12 21:28:14 +00:00
dd9ba1e10a Added check for if a position is defined in qBot. Fixes an unusual error.
This was SVN commit r10686.
2011-12-07 21:54:21 +00:00
b146f53d7b This was SVN commit r10654. 2011-12-02 12:44:31 +00:00
8383f35eb8 Added queued as an optional parameter so that AI's can set waypoints
This was SVN commit r10653.
2011-12-02 00:25:20 +00:00
c311e8abba Improves Persian support.
This was SVN commit r10581.
2011-11-23 19:32:02 +00:00
514b22a89e Support for Persians, should all work properly. Also makes territory expansion proportionally lower priority.
This was SVN commit r10561.
2011-11-19 16:00:54 +00:00
f80f1fb86b This patch adds territory support for JuBot, which is the main thing to get it up to date for the next alpha. More advanced features are in development but some will probably have to wait until Christmas/Early 2012.
This was SVN commit r10560.
2011-11-19 13:44:56 +00:00
20df816fbc Resource building class
This was SVN commit r10559.
2011-11-19 13:42:43 +00:00
fc325991a0 Added visionRange function to read this value from the templates for the AI to use.
This was SVN commit r10553.
2011-11-18 21:11:15 +00:00
97d3f1cfc9 Added a squared vector function for A^2 + B^2 without the rooting, in case massively large nos of vector calculations are needed.
This was SVN commit r10528.
2011-11-13 15:56:37 +00:00
887b6633c2 Adds per-player BuildLimits data to GUIInterface.
Adds BuildLimits accessors to GameState for JuBot and Testbot.

This was SVN commit r10415.
2011-10-20 23:35:52 +00:00
a41b0e30fe Changes AI entity destroy events to maintain some data about the entity, based on patch by quantumstate. Fixes #983.
This was SVN commit r10413.
2011-10-18 22:51:04 +00:00
686ffa9758 Fixes error in AI entity. Fixes #991.
This was SVN commit r10412.
2011-10-16 17:21:37 +00:00
1c081135ad Adds territory map to AI GameState, based on patch from quantumstate. Fixes #969.
Updates testbot and Jubot to support basic build restrictions.

This was SVN commit r10408.
2011-10-16 02:55:58 +00:00
c73c0870f1 Adds attackTimes to AI entity templates. Fixes #991.
This was SVN commit r10407.
2011-10-15 23:38:58 +00:00
2a39ba2f91 Changes new AI GameState functions to accept Entity objects instead of raw entities.
This was SVN commit r10394.
2011-10-12 00:33:07 +00:00
b28ae93dc8 Adds armour and attack strengths to AI entity template, based on patch by infyquest. Fixes #991.
This was SVN commit r10393.
2011-10-11 20:02:21 +00:00
47c9f6ca2d Changes IsSeaCreature to SeaCreature
This was SVN commit r10351.
2011-09-30 21:05:26 +00:00
6594a527db Another bugfix attempt
This was SVN commit r10347.
2011-09-30 17:54:04 +00:00
3a7fac7c4d Bugfix #2
This was SVN commit r10346.
2011-09-30 17:11:01 +00:00
b3d5075408 Bugfix
This was SVN commit r10345.
2011-09-30 17:03:21 +00:00
64a0a5e58a Now much more strictly restricts the game to 1 foundation at once.
This was SVN commit r10344.
2011-09-30 16:50:33 +00:00
a5a134fa87 CC building now emphasised over house building.
This was SVN commit r10343.
2011-09-30 16:43:12 +00:00
e0255741d8 Adds BuildRestrictions accessors to AI's EntityTemplate (important for proper territory support).
This was SVN commit r10340.
2011-09-28 19:51:40 +00:00
b40ba972c1 Adds diplomacy functions to Jubot and Testbot gamestate (eventually replace e.g. Entity.isEnemy() with these).
This was SVN commit r10339.
2011-09-28 19:40:50 +00:00
75c7028e24 Stops the builders regrouping to town centre, because this is no longer really needed.
This was SVN commit r10338.
2011-09-28 15:50:06 +00:00
3ead9f0b32 Fix to Jubot economy.js
This was SVN commit r10319.
2011-09-25 21:36:37 +00:00
a6eccb1290 Here we go...
- Gather weights change over time
- Workers are occasionally moved (about once in every 400 turns, at
random, needs to be improved)
- Workers don't go and try hunting fish and snarl up the engine.

This was SVN commit r10318.
2011-09-25 21:15:26 +00:00
bb3b52fb82 This finishes the militia recalling section - militiamen are now recalled every 30 seconds or so.
This was SVN commit r10311.
2011-09-24 16:37:31 +00:00
b9fc207437 Okay, lots of changes here. Houses are now built on demand, there's a lot of restructuring to workers, instead of a static defence force citizen soliders are drafted to a militia as needed (this needs some work still but is mostly done). Any citizen infantry given at the start of a game are used in the workforce properly now, too.
This was SVN commit r10310.
2011-09-24 15:26:11 +00:00
c3bb3ec57e Adds event data to BaseAI (so that AIs can handle being attacked, defeated, etc) based on patch from quantumstate. Fixes 972.
This was SVN commit r10306.
2011-09-23 22:02:04 +00:00
2ddd237509 This updates JuBot to use the Carthaginian faction and makes a couple of minor changes to give a fractional speed boost.
This was SVN commit r10301.
2011-09-21 18:53:36 +00:00
da94100582 Fixes Jubot mills facing the wrong direction.
This was SVN commit r10280.
2011-09-14 03:08:05 +00:00
c3075c8e5b Fixes AI building angles to face bottom right corner of the map.
Cleans up the same concept in random maps.

This was SVN commit r10275.
2011-09-13 22:51:43 +00:00
cdbd347466 Fix inconsistent function prototype (fixes #897)
This was SVN commit r9888.
2011-07-20 19:44:31 +00:00
58c33071d6 Disable unnecessary noisy AI greeting message
This was SVN commit r9779.
2011-07-07 22:18:55 +00:00
871d321050 Fix undefined property warning
This was SVN commit r9778.
2011-07-07 22:14:37 +00:00
df9270a892 Hopefullyfixeslag.
This was SVN commit r9765.
2011-07-06 18:04:30 +00:00
2763c7817d In theory, should make buildings point in the right direction.
This was SVN commit r9758.
2011-07-04 17:40:13 +00:00
4065cb1cd2 Few minor tweaks.
This was SVN commit r9750.
2011-07-03 09:43:31 +00:00
b4d0c09569 Building directions now 100% random. Can set it to a specific angle if we'd prefer, but someone needs to tell me what.
This was SVN commit r9749.
2011-07-03 08:46:30 +00:00
9a6f90b90d This was SVN commit r9739. 2011-07-02 16:57:51 +00:00
3756aaef48 This might help speed a fraction.
This was SVN commit r9738.
2011-07-02 16:49:26 +00:00
6267a61962 This was SVN commit r9737. 2011-07-02 15:32:16 +00:00
7bba760801 This was SVN commit r9736. 2011-07-02 15:29:20 +00:00
f1eb662cf6 This was SVN commit r9735. 2011-07-02 15:29:08 +00:00
8612600a13 This was SVN commit r9734. 2011-07-02 15:27:35 +00:00