1
0
forked from 0ad/0ad
Commit Graph

426 Commits

Author SHA1 Message Date
21785dc97c hele wall and wall tower obstruction stat changes
This was SVN commit r9041.
2011-03-06 14:38:06 +00:00
4261983c9d Fix reveal map checkbox after winning
This was SVN commit r9040.
2011-03-06 02:29:07 +00:00
6f9da85d9f Improve performance of full state hash computation, by skipping script components that are known to have no data.
Switch to much quicker (and less comprehensive) per-turn hashing in
multiplayer games.

This was SVN commit r9036.
2011-03-05 22:30:32 +00:00
20ebaa5b79 Fix units getting stuck inside foundations
This was SVN commit r9035.
2011-03-05 22:18:29 +00:00
52d767a404 This was SVN commit r9034. 2011-03-05 19:59:46 +00:00
c562ed6894 Fixed obstruction.
This was SVN commit r9033.
2011-03-05 19:59:02 +00:00
22e16e4554 Make builders look for nearby foundations to help with, once they finish their own building
This was SVN commit r9032.
2011-03-05 17:38:15 +00:00
08d5e7bf66 Sort AI list by name, and rename Test Bot so it's a bit clearer and is listed first
This was SVN commit r9031.
2011-03-05 16:55:58 +00:00
c0383ffc30 Fix units not auto-gathering after a group is given a construction order
This was SVN commit r9030.
2011-03-05 15:56:24 +00:00
b914f82d2a Celt ram edit.
This was SVN commit r9029.
2011-03-05 15:36:22 +00:00
19c8ca3ef4 siege ram trained sound effect added
This was SVN commit r9018.
2011-03-05 00:43:26 +00:00
8b655f4f99 Celt siege ram produced in fortress buildings
This was SVN commit r9017.
2011-03-05 00:21:09 +00:00
e6ebfa2ab9 Fix tests
This was SVN commit r9016.
2011-03-04 23:22:09 +00:00
09cbe4f341 Disable debug messages when instantiating AIs
This was SVN commit r9014.
2011-03-04 21:50:30 +00:00
3e7731e8ca Stop units wasting their lives chasing animals they'll never be able to catch.
Let AI players collect treasures.

This was SVN commit r9012.
2011-03-04 21:42:39 +00:00
bec4c6437b Make non-combat units flee when under melee attack, and not attack enemies automatically.
Fixes #703.

This was SVN commit r9010.
2011-03-04 14:36:41 +00:00
16a4eb36dd Various minor optimisations.
Enable SpiderMonkey method JIT in Release mode.
Add Engine.ProfileStart/Engine.ProfileStop functions for scripts.
Fix AI to clone initial entity data and shared metadata.

This was SVN commit r9003.
2011-03-03 00:16:14 +00:00
cb0e322a61 # Minor AI fixes.
Avoid script errors on Miletus.
Use pre-existing female citizens as workers.
Fix autostart.

This was SVN commit r8999.
2011-02-27 19:20:36 +00:00
b15ea0691f Attempt to improve AI selection in the game setup screen.
This was SVN commit r8998.
2011-02-27 17:58:41 +00:00
18b317bc19 # Improve animal AI, based on patch from Badmadblacksad.
Fixes #563.

This was SVN commit r8995.
2011-02-27 13:34:22 +00:00
4f8dc9c777 Fix script error message when starting Atlas
This was SVN commit r8989.
2011-02-26 00:19:02 +00:00
f4f36af852 Block new buildings being placed on top of existing not-yet-started foundations. Fixes #740.
This was SVN commit r8980.
2011-02-24 21:49:24 +00:00
798278a6c1 Fix template validation error
This was SVN commit r8979.
2011-02-24 21:45:25 +00:00
0be515280b Memoize some common entity lists in AI scripts.
This was SVN commit r8963.
2011-02-21 02:14:45 +00:00
28354159db Added eyecandy bridge edges.
This was SVN commit r8954.
2011-02-20 12:27:12 +00:00
7476bad7e2 New siege ram sounds added. Celt siege ram files.
This was SVN commit r8912.
2011-02-12 00:01:21 +00:00
6cd212a68d Female acknowledgement sound placeholder
This was SVN commit r8908.
2011-02-11 00:40:25 +00:00
ec97d271d6 Added bark sounds to celt war dog
This was SVN commit r8905.
2011-02-10 23:24:10 +00:00
a1ef809904 Fix error when returning resources before having ever collected any
This was SVN commit r8904.
2011-02-10 23:09:28 +00:00
72f1e46b97 Gathering sounds for Celt and Hele infantry units
This was SVN commit r8902.
2011-02-10 20:52:29 +00:00
78e174af7d Fix auto-gathering after constructing fields.
Fix building on top of animal corpses.
Fix builders getting in the way of their own building.

This was SVN commit r8900.
2011-02-10 19:50:08 +00:00
b8925fbbc9 # Support AI construction of buildings.
Pass terrain passability data to AI scripts.
Expand pathfinder passability data to 16 bits per tile, to allow more
classes.
Support 16-bit ints in serializer.
Partially support JS typed arrays.
Allow foundations to be placed on top of units (fixes #499).
Stop farms and fishes blocking movement (fixes #534).
Add obstruction flags to allow finer control over what they block.
Associate entity IDs with obstruction shapes, to allow finding colliding
entities.
Support moving to the edge of a target entity with inactive obstruction.
Support foundation entities in AI.
Support playing as non-hele civs.

This was SVN commit r8899.
2011-02-10 16:06:28 +00:00
c63fb49154 Added resource gathering sounds to celt and hellene females
This was SVN commit r8896.
2011-02-09 20:55:35 +00:00
7a38272e55 This was SVN commit r8894. 2011-02-08 21:51:51 +00:00
57e5bb878a Initial terrible AI player scripts.
This was SVN commit r8891.
2011-02-05 20:35:34 +00:00
0e0f16dedb Template for super cav swordsmen.
This was SVN commit r8879.
2011-01-31 05:08:11 +00:00
f39f279132 Add AI script code to provide a cleaner API around the engine interface.
Handle AIProxy entirely through scripts.
Support structured clones of script values.
Improve performance.
Support multiple script contexts sharing a runtime.
Use a separate context per AI player.

This was SVN commit r8866.
2011-01-15 23:35:20 +00:00
dd501b2a5a # Add initial basic player AI framework.
Support direct access to serializer streams, so serializers can be
nested.
Make component script "this.template" read-only.
Stop globally-subscribed component scripts receiving messages posted to
local components, to reduce out-of-sync risks.
Move pathfinder data out of entity template directory.
Fix GuiInterface deserialization.

This was SVN commit r8865.
2011-01-12 12:29:00 +00:00
1051d10f54 Add "chat" command.
Simplify deletion of multiple entities.
Simplify some setTimeouts.

This was SVN commit r8864.
2011-01-12 12:21:41 +00:00
aaef1b0d74 Add script for generating mostly-useless component interaction graphs.
Fix some components to use more standard syntax.

This was SVN commit r8857.
2011-01-07 20:31:48 +00:00
a0d2d89863 Fixed Cost element in template_unit_mechanical_siege_ballista template
This was SVN commit r8855.
2011-01-03 13:42:57 +00:00
9af7747d76 Adding necessary BuildRestrictions/Category element to some templates
This was SVN commit r8854.
2011-01-03 13:36:40 +00:00
5e3049f6b2 BuildLimits. Needs some configuration changes to work
This was SVN commit r8836.
2010-12-11 23:19:17 +00:00
0b511e33a7 This was SVN commit r8823. 2010-12-08 21:26:50 +00:00
be4b262919 Removed the dudes from the top of the wall gate. Made a bolt projectile for the Oxybeles.
This was SVN commit r8822.
2010-12-08 21:26:08 +00:00
549a4fc51a Garrisoning bug fixes
This was SVN commit r8821.
2010-12-08 20:12:24 +00:00
e486e6fefb Adjusted health/train time of the Corrals.
This was SVN commit r8820.
2010-12-08 19:41:12 +00:00
a80b139a28 Building tooltip tweaks for Alpha III release. These tooltips will be updated as we add more relevant features.
This was SVN commit r8819.
2010-12-08 19:29:48 +00:00
e853dd1079 Display "garrisoned" prop on buildings containing units
This was SVN commit r8817.
2010-12-08 19:03:57 +00:00
f04c2561b7 Various resource shuttling improvements. Fixes #672.
This was SVN commit r8811.
2010-12-08 16:12:04 +00:00