Commit Graph

1346 Commits

Author SHA1 Message Date
8fd3fbc210 Fixes Attack.js error.
This was SVN commit r11892.
2012-05-20 22:51:51 +00:00
c4d6019599 Add garrison order sound and remove the old garrison sound.
Fix some map errors, tabs in templates and update docs.

This was SVN commit r11891.
2012-05-20 15:44:57 +00:00
f72d820cd4 Added randomized arrow positions with hit detection when the missile lands and splash damage. Fixes #18.
This was SVN commit r11886.
2012-05-19 23:07:41 +00:00
6cc98a6763 Add heal order sound.
This was SVN commit r11885.
2012-05-19 18:27:00 +00:00
7be67fe6b7 Added new voice sounds to all female units. Recorded by khegarty
This was SVN commit r11884.
2012-05-19 16:02:16 +00:00
7ad6a6012f Persians: Cav techs to Stables. Infantry techs to Barracks.
This was SVN commit r11883.
2012-05-19 06:24:12 +00:00
97bf4df2a6 Some Athenian shields for their buildings.
This was SVN commit r11881.
2012-05-19 04:46:50 +00:00
5d59175953 Footprint sizes for these things.
This was SVN commit r11880.
2012-05-18 22:41:31 +00:00
c2c0469472 Make qBot swap gatherers based on gathering speed and always deposit resources when switching resource.
Also added missing var's in for loops.

This was SVN commit r11879.
2012-05-18 22:27:08 +00:00
d7faa813f4 Update territory bitmask and add a returnResource command for entities.
This was SVN commit r11878.
2012-05-18 22:10:56 +00:00
68d1cf167e Add repair order queueing to formations. Refs #592.
This was SVN commit r11876.
2012-05-18 21:31:57 +00:00
e7689342f8 Implements TerritoryDecay/HealthDecayRate and Promotion/RequiredXp tech modifications.
This was SVN commit r11875.
2012-05-18 03:58:37 +00:00
8fba8097ce Reverts bfb7526bcf.
This was SVN commit r11874.
2012-05-17 23:24:12 +00:00
786896bf8d Prevents fishing ship from attacking structures (docks).
This was SVN commit r11873.
2012-05-17 22:33:46 +00:00
96b2c1e89b Makes territory_pull selectable in Atlas only.
This was SVN commit r11870.
2012-05-17 02:32:16 +00:00
a5a7bf3c5d Spartan females can make palisades.
This was SVN commit r11866.
2012-05-16 17:57:56 +00:00
cdafb50278 Selection groups for wall lengths.
This was SVN commit r11865.
2012-05-16 17:56:06 +00:00
f18365830b Fixed foundation size.
This was SVN commit r11861.
2012-05-14 03:47:32 +00:00
3bb1c01ccc Removed territory effect from Roman siege walls.
Removed palisades from Roman infantry prod queue.

This was SVN commit r11860.
2012-05-14 01:39:04 +00:00
09414078fd Switched warning to a debug so that only AI devs see it. Fixes #1403.
This was SVN commit r11856.
2012-05-13 15:04:25 +00:00
26531bcdc7 War dog footprint increased.
This was SVN commit r11854.
2012-05-12 21:34:21 +00:00
6f2b90ba70 Default starting resources decreased.
This was SVN commit r11853.
2012-05-12 21:31:00 +00:00
d35ec1840e Tweaked these structures.
This was SVN commit r11851.
2012-05-12 17:58:25 +00:00
0b1d911675 Added check for existance of ent.resourceSupplyType(). Fixes #1402
This was SVN commit r11850.
2012-05-12 14:18:40 +00:00
0cef14be54 Removed these wall entities, which were throwing errors.
This was SVN commit r11848.
2012-05-12 05:47:04 +00:00
13d8caa0f2 Spartan shield stuff.
This was SVN commit r11847.
2012-05-12 05:28:46 +00:00
3d685a2c91 New shield prop textures for Macedonians.
This was SVN commit r11846.
2012-05-12 05:20:18 +00:00
3c747d21d4 This was SVN commit r11842. 2012-05-12 01:09:26 +00:00
2b893117c9 Added territory effect to stone walls in order to prevent the creep of enemy territory. Ensured that palisades do not have this effect.
Tweaked the description of Athenian temple and dock.

This was SVN commit r11841.
2012-05-11 23:25:04 +00:00
4a73b85a4b Increase maximum treasure priority distance and check that a dropsite has nearby resources
This was SVN commit r11840.
2012-05-11 22:44:37 +00:00
6f29e27ae0 "Delian League" bonus for Athenians.
This was SVN commit r11830.
2012-05-10 22:25:03 +00:00
3b25e106b2 Fix bug in nearby resource caching so that a dropsite which had nearby resource depleted will be marked undepleted if new resources appear (farms) and add soem ecnomic upgrades strongly inspired by Marilyn (thanks Wraitii).
This was SVN commit r11828.
2012-05-10 22:17:21 +00:00
ad87febd25 Improve gathering behaviour if the target is exhausted.
This was SVN commit r11827.
2012-05-10 22:02:59 +00:00
bcf7c98b66 Nerfed hero Health for Alpha 10 (until we get build limits).
This was SVN commit r11826.
2012-05-10 21:52:32 +00:00
bfb35a6484 Add SetNextStateAlwaysEnter() function to reload a state when switching to it from itself. Fixes #1395.
This was SVN commit r11824.
2012-05-10 21:14:43 +00:00
a8528f74c6 Greek market by Enrique.
This was SVN commit r11823.
2012-05-10 20:58:03 +00:00
db1b4dcc4f Added an existance check for metadata on unit destruction
This was SVN commit r11822.
2012-05-10 19:45:34 +00:00
c1c00d1617 Added resource gatherer counting for qBot and fixed nearby gathering locations code.
Also switched to SquareVectorDistance in filters as suggested by
wraitii.

This was SVN commit r11820.
2012-05-10 18:38:13 +00:00
b247e198d7 Healer has a "Run" value now. It didn't before, so would skate around the map when fleeing.
This was SVN commit r11816.
2012-05-10 05:41:15 +00:00
e6dcd0480f Fix promotion.
This was SVN commit r11813.
2012-05-10 03:29:25 +00:00
737a2f3de4 Spartans can't build stone walls.
This was SVN commit r11811.
2012-05-10 01:41:44 +00:00
cb3d71f43a New Greek barracks by Enrique.
This was SVN commit r11810.
2012-05-10 01:12:26 +00:00
89821855c7 Check that a nearby resource has >0 resources left. Fixes #1395.
Also added a check to TechnologyManager to see if player is defined.

This was SVN commit r11806.
2012-05-09 21:32:21 +00:00
f2515bec84 Fix some whitespace in scripts
This was SVN commit r11803.
2012-05-09 12:14:22 +00:00
a0f122bfd4 Fix #1394 (UnitAI FSM serialization error).
Replace evil eval/uneval with deepcopy.

This was SVN commit r11802.
2012-05-09 12:10:01 +00:00
1f51f4a0a3 Trying again.
This was SVN commit r11801.
2012-05-09 01:26:48 +00:00
116a9887d2 "Herocide" attack bonus for Alexander.
This was SVN commit r11800.
2012-05-09 01:25:42 +00:00
ddd3e702d5 Fixes units ignoring player orders in most stances by expanding the concept of "forced" orders.
Documents more functions of UnitAI.

This was SVN commit r11798.
2012-05-08 23:00:14 +00:00
32a01c2ed8 Temporary palisade foundations for Alpha 10. (We should probably make better looking ones than these.)
This was SVN commit r11794.
2012-05-08 19:59:59 +00:00
e5c9cf6146 Meat units now cannot attack walls.
This was SVN commit r11791.
2012-05-08 00:19:00 +00:00
vts
a57a0e22cb Forgot one spartan unit in da2f7a9000
This was SVN commit r11790.
2012-05-07 23:17:14 +00:00
vts
da2f7a9000 Dropped some unused templates
Gave spartans their walls back

This was SVN commit r11789.
2012-05-07 23:15:24 +00:00
5881c1e495 Audio files added
This was SVN commit r11788.
2012-05-07 22:25:09 +00:00
961db840b2 Work on some descriptions.
This was SVN commit r11787.
2012-05-07 21:44:24 +00:00
a40a12e794 Typo
This was SVN commit r11777.
2012-05-06 21:21:04 +00:00
8f762b8248 Fix error caused by e8cb2a71da. Refs #1220.
This was SVN commit r11776.
2012-05-06 21:17:29 +00:00
vts
e8cb2a71da Fix floating units when a building they were tasked to construct finishes while they're still en-route, based on a patch by mattlott.
This was SVN commit r11775.
2012-05-06 14:38:03 +00:00
4268f43587 This was SVN commit r11771. 2012-05-06 01:19:15 +00:00
088876b23c Palisade costs.
This was SVN commit r11770.
2012-05-06 00:53:43 +00:00
a6e256bd1e This was SVN commit r11768. 2012-05-05 23:50:43 +00:00
5befbd1a02 Palisades for all civs. Tweaked stone walls for errbody too.
This was SVN commit r11767.
2012-05-05 23:15:11 +00:00
7180cd9076 Added advanced buildings for new civs and hopefully stopped heroes from being trained.
This was SVN commit r11765.
2012-05-05 21:59:15 +00:00
cbed78be37 Wallset stuff for Athens, Sparta, and Macedonia.
This was SVN commit r11764.
2012-05-05 21:57:38 +00:00
3be4eb44fa fix global from commit c4efc223ed
This was SVN commit r11763.
2012-05-05 21:29:36 +00:00
c4efc223ed Don't serialize the technology modifications cache. Fixes #1384.
This was SVN commit r11761.
2012-05-05 21:21:36 +00:00
vts
490182ddd0 Wall placement. Closes #786.
This was SVN commit r11760.
2012-05-05 19:22:22 +00:00
7fcc350df9 Preferred Classes for these templates.
This was SVN commit r11756.
2012-05-05 00:14:33 +00:00
0463068947 Adds more checks for tech manager before using it. Refs #1377.
This was SVN commit r11751.
2012-05-04 22:51:14 +00:00
a5713c1264 Try to fix tech error. Refs #1377.
This was SVN commit r11749.
2012-05-04 18:13:23 +00:00
98c8767b6e Siege wall moved to City Phase.
This was SVN commit r11737.
2012-05-04 01:44:40 +00:00
0035cc37f0 This was SVN commit r11736. 2012-05-04 00:40:23 +00:00
58836c624a Read formations from civ JSON files. Fixes #1234, #601.
This was SVN commit r11735.
2012-05-03 23:32:10 +00:00
e1c8307bb6 First crack at a Special Technology.
This was SVN commit r11732.
2012-05-03 21:08:27 +00:00
6db0dc8679 Fixed syntax in these techs.
This was SVN commit r11731.
2012-05-03 20:33:37 +00:00
7edc1e7092 Two new technologies (they need debugged for JSON syntax though).
This was SVN commit r11730.
2012-05-03 20:18:24 +00:00
af64a2112f Technology stuff.
This was SVN commit r11727.
2012-05-03 19:15:07 +00:00
825e1ec7a3 Allow replace with 0.
This was SVN commit r11726.
2012-05-03 18:03:57 +00:00
d68d8cdee1 Added "class": "Foo", "number": 5 technology requirement
This was SVN commit r11724.
2012-05-02 20:31:25 +00:00
f01806772f Fixed changes from [11719] for case where ent is not set. Thanks to leper.
This was SVN commit r11723.
2012-05-02 19:50:48 +00:00
303191b0ad Really fixed this time. ;)
This was SVN commit r11722.
2012-05-02 16:39:42 +00:00
8db5b841e6 Fixes bad character.
This was SVN commit r11721.
2012-05-02 16:35:56 +00:00
4d35f78819 Template and tech tweaks.
This was SVN commit r11720.
2012-05-02 16:22:33 +00:00
94eaa9d1d5 Bug fixing for common-api
Fixed entity collection length sometime being NaN
Added a "not" filter
Added create events to resource map updates, should help with farming.

This was SVN commit r11719.
2012-05-02 16:18:32 +00:00
89978332de Fixes tests.
This was SVN commit r11718.
2012-05-01 23:58:03 +00:00
62adf20f37 Check if we have a postition.
This was SVN commit r11716.
2012-05-01 23:06:16 +00:00
7e2dd48d14 Trade convoys tech for the market
This was SVN commit r11715.
2012-05-01 23:05:01 +00:00
fc47098743 Implements TerritoryInfluence/Radius tech modification. Adds C++ interface for TechnologyManager. Renames its message to MT_TechnologyModification defined in TypeList.h. Refs #1357.
This was SVN commit r11711.
2012-05-01 22:44:27 +00:00
d4347a8466 Add Preferred and RestrictedClasses, based on patch by Zsol. Fixes #1144.
This was SVN commit r11710.
2012-05-01 22:20:08 +00:00
0990f7f395 Stockbreeding tech for the corral
This was SVN commit r11709.
2012-05-01 21:46:02 +00:00
0c03b6a5d1 Changes to Iberian wall obstruction widths
This was SVN commit r11707.
2012-05-01 20:44:32 +00:00
bfb7526bcf Fixes bug in tech modifications ("affects" was ignored in some situations).
This was SVN commit r11705.
2012-05-01 05:56:53 +00:00
1eaf80d011 Armour and Attack techs for siege weapons
This was SVN commit r11704.
2012-04-30 22:42:10 +00:00
68638a92b8 Updates TakeDamage to apply tech modifications.
This was SVN commit r11703.
2012-04-30 20:39:27 +00:00
363ac861de Stop dead sheep from walking
This was SVN commit r11702.
2012-04-29 22:20:25 +00:00
2069e57a6c Territory radius of Civ Centre increased.
This was SVN commit r11701.
2012-04-29 21:31:18 +00:00
44ac273d21 Changing range values of defense outpost template
This was SVN commit r11699.
2012-04-29 19:35:50 +00:00
d03d36b1f3 Add attack ability to outposts.
Fix a issue with dying units with stance standground.

This was SVN commit r11697.
2012-04-29 18:43:10 +00:00
10687410cd Enrique's new Roman siege walls. :)
This was SVN commit r11696.
2012-04-29 18:28:37 +00:00
2f5b81a37e Fix broken test.
This was SVN commit r11695.
2012-04-29 17:39:16 +00:00
b3ef24b12d Change gathering behaviour to fix #1353, based on patch by mattlott.
This was SVN commit r11689.
2012-04-28 19:25:44 +00:00