Commit Graph

1429 Commits

Author SHA1 Message Date
c00abd4ab6 Update to Mauryan civ template and some new tech icons
This was SVN commit r12033.
2012-06-27 21:49:31 +00:00
0b55844452 Mauryan support elephant
This was SVN commit r12032.
2012-06-27 19:53:16 +00:00
c2ecc0eae0 Templates for new tropical flora.
This was SVN commit r12027.
2012-06-27 08:16:25 +00:00
a60d01ee2e Display map name and size on summary screen. Based on patch by hapsky. Fixes #1333.
Play victory and defeat music.
Replace celts with gauls.

This was SVN commit r12020.
2012-06-25 22:11:47 +00:00
622d6b9162 Crenelations tech new icon
This was SVN commit r12019.
2012-06-25 20:45:57 +00:00
03363fe085 Updates to some more Mauryan civ files
This was SVN commit r12013.
2012-06-24 20:58:21 +00:00
d62971ad29 Unit sim templates
This was SVN commit r12007.
2012-06-24 10:59:54 +00:00
6822e33c65 Mauryan structure templates
This was SVN commit r12005.
2012-06-24 09:54:52 +00:00
4ddd2a7fb1 Added IsInWorld check to attack code. Refs #1496
This was SVN commit r11967.
2012-06-12 12:13:24 +00:00
f944649153 Fix the attack error due to no footprint. Refs #1496.
This was SVN commit r11966.
2012-06-12 12:04:55 +00:00
a00b92dcd5 Gauls.
This was SVN commit r11954.
2012-06-09 05:57:28 +00:00
52af3369ba Britons.
This was SVN commit r11952.
2012-06-09 01:17:27 +00:00
962da61f12 Adds shared LOS for allied players, based on patch by Deiz/F00. Fixes #1334.
This was SVN commit r11949.
2012-06-08 04:41:39 +00:00
659049eb1c Auto-gather all types of treasures. Fixes #1422. Patch by Deiz.
This was SVN commit r11948.
2012-06-07 21:56:29 +00:00
4d0aaa4bdb This was SVN commit r11947. 2012-06-06 22:59:36 +00:00
231b0cd5f6 Testing branching phases.
This was SVN commit r11946.
2012-06-06 21:38:17 +00:00
d020e02644 This was SVN commit r11938. 2012-06-05 02:05:41 +00:00
66194deedc Fixes player setup to set all diplomacy values (including self as ally).
Removes unnecessary checks from CmpPlayer diplomacy functions.
Fixes some inconsistent formatting.

This was SVN commit r11935.
2012-06-04 00:24:08 +00:00
4ee4f16793 Stop rearranging formations for orders carried out individually. Fixes #1476.
This was SVN commit r11934.
2012-06-03 23:00:36 +00:00
4c01de2100 Reduced accuracy for Basic-level ranged citizen units.
Portraits for Mace and Spart rams.

Lower XP requirements for cavalry promotion.

This was SVN commit r11931.
2012-06-02 05:57:57 +00:00
73f9d984fe Fixes typo in crenellations tech.
This was SVN commit r11926.
2012-05-31 03:40:25 +00:00
9d619a673e A pair of tower technologies.
This was SVN commit r11925.
2012-05-30 05:55:55 +00:00
f876f2e747 Traders respond when tasked to trade.
This was SVN commit r11923.
2012-05-29 05:07:14 +00:00
d7752438fe Do not count domestic animals as units in statistics, based on patch by Deiz. Fixes #1439
This was SVN commit r11922.
2012-05-29 04:04:41 +00:00
636896dd7f Pass template to gather-near-position. Fixes #1454.
Add order_trade sound.

This was SVN commit r11921.
2012-05-27 20:23:08 +00:00
757c873a2e New death sounds added
This was SVN commit r11915.
2012-05-25 21:37:10 +00:00
aec44da406 Bunch of different stuff.
This was SVN commit r11914.
2012-05-25 21:36:07 +00:00
1004864733 Siege ram for the Macedonians
This was SVN commit r11910.
2012-05-24 21:44:28 +00:00
137b6dd338 Queued orders for rally points. Fixes #1053 and #1211.
This was SVN commit r11909.
2012-05-24 18:25:31 +00:00
a69b2f796c Ranged infantry promotions now confer accuracy boosts instead of attack boosts. In the end, the accuracy boost ends up being an attack boost (in average damage per second).
This was SVN commit r11906.
2012-05-23 21:22:34 +00:00
e999289021 Kennel available in town phase.
This was SVN commit r11900.
2012-05-22 16:57:09 +00:00
7b1ab20852 This was SVN commit r11898. 2012-05-22 07:14:26 +00:00
4b4d048967 Found a better name for Persian fishing boat.
This was SVN commit r11894.
2012-05-21 10:39:25 +00:00
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
1ac55806ec This was SVN commit r11688. 2012-04-28 18:19:31 +00:00
734f072d62 Testing out a new selection shape. Should work for citizen-cavalry if you want to try it out.
This was SVN commit r11687.
2012-04-28 05:08:56 +00:00
e4365b2f71 New Spartan hero Agis III.
Started to update tooltips to show attack bonuses. It would be nice if
this was automatic though, and the tooltip pulled the information from
the templates.

This was SVN commit r11686.
2012-04-28 02:16:36 +00:00
21caaa4573 Fixes some bugs in tech modifications relating to data types. Explicitly convert template data to numbers before calling ApplyModifications (using + operator).
This was SVN commit r11685.
2012-04-27 23:06:40 +00:00
7c93499c7d Fix qBot infinite loop due to NaN priorities
This was SVN commit r11684.
2012-04-27 21:57:38 +00:00
97bcdfb208 Tweaks to healing range and rate techs
This was SVN commit r11683.
2012-04-26 22:15:16 +00:00
eda4c082fd Add tech support to BuildingAI, GarrisonHolder and Builder.
This was SVN commit r11682.
2012-04-26 21:58:05 +00:00
6fc3d3f9a2 Healing rate and range techs for all temples
This was SVN commit r11681.
2012-04-26 21:38:53 +00:00
e6641ad14f Make some healer modifiable by techs. Refs #1357.
This was SVN commit r11679.
2012-04-26 20:11:18 +00:00
060a1fd004 This tech didn't like the è character.
This was SVN commit r11677.
2012-04-26 03:37:47 +00:00
f3fa70cf35 Tech names
This was SVN commit r11676.
2012-04-26 03:32:09 +00:00
85b433d48f Tweaked techs + 2 more techs for Barracks.
This was SVN commit r11675.
2012-04-26 03:15:50 +00:00
c396c2a1ca Fixed default civs.
This was SVN commit r11674.
2012-04-26 00:08:29 +00:00
241be5fa7c Pair of infantry techs for the barracks
This was SVN commit r11673.
2012-04-25 23:51:34 +00:00
65e85dcc40 Selection ring tweaks.
This was SVN commit r11672.
2012-04-25 21:14:32 +00:00
fee0ec6648 Added some debug commands (quit and set-shading-color) which shoudl be useful for AI development
This was SVN commit r11671.
2012-04-25 20:56:35 +00:00
4f905584c9 Clarify tech pairs. Refs #1356.
This was SVN commit r11669.
2012-04-25 17:02:41 +00:00