639b583d31
Fix scatter formation
...
This was SVN commit r14700.
2014-01-29 14:01:21 +00:00
f097078d46
Send the move command directly instead of going through the FSM. That way, the failure can be catched earlier on. Should fix #2410
...
This was SVN commit r14698.
2014-01-28 20:40:38 +00:00
8953179e1a
allow the possibility to define route with waypoints when doing trade, fixes #1207 , #1821 and #1822
...
This was SVN commit r14697.
2014-01-28 18:56:39 +00:00
23777ba736
fix cbc1c9f0ab
...
This was SVN commit r14696.
2014-01-27 19:25:38 +00:00
325f9ca9a9
Sorry Brits. Changed "plough" (British spelling) to "plow" (American/Canadian spelling) after seeing more than one person on Youtube mispronounce the word.
...
Can only build 1 Juggernaut.
All champion cavalry now cost Food and Metal.
This was SVN commit r14695.
2014-01-27 16:16:32 +00:00
c751500907
Refactor some formation code to let it make use of the prototypes
...
This was SVN commit r14693.
2014-01-27 12:34:59 +00:00
cbc1c9f0ab
fixes remaining town bell defects, closes #2353 , patch by Itms
...
This was SVN commit r14689.
2014-01-26 20:37:39 +00:00
cb3a8d868a
fix bug when garrisoning under alert and garrisonHolder is full, patch by Itms, see #2353
...
This was SVN commit r14685.
2014-01-26 18:28:55 +00:00
9ed11bc404
keep work orders when in alert, patch by Itms, addresses #2353
...
This was SVN commit r14683.
2014-01-26 18:01:29 +00:00
09a2729503
fix a fix
...
This was SVN commit r14682.
2014-01-26 09:40:54 +00:00
f1ab9b8e57
Check isInWorld before asking position
...
This was SVN commit r14681.
2014-01-26 09:24:32 +00:00
28a707f98f
small cleaning
...
This was SVN commit r14669.
2014-01-25 19:58:59 +00:00
2b407a03eb
Added Stanislas69 iberian corral with several fixes.
...
Fixed iberian struct normal and specmap.
This was SVN commit r14666.
2014-01-25 16:50:21 +00:00
9eb26c2622
Fix infinite loop when attacking a formation without valid targets
...
This was SVN commit r14665.
2014-01-25 16:27:55 +00:00
0f5e5fddd6
This was SVN commit r14664.
2014-01-25 14:45:58 +00:00
3f00d0cc9c
Fix some broken maps. Delete some others.
...
This was SVN commit r14660.
2014-01-24 20:23:11 +00:00
ecaded076f
Improve the Vector prototype with static functions. Replace the usage of the Math vector functions with functions from the Vector class.
...
This was SVN commit r14659.
2014-01-24 19:51:00 +00:00
2f145b1578
Iron Spearheads tech now affects all spear units (not just infantry spearmen).
...
Javelin Thong tech now affects all javelin units (not just infantry
javelinists).
Some shield tweaking.
Some more portraits.
This was SVN commit r14657.
2014-01-24 18:28:26 +00:00
f94a1aeac0
Checks for game end after toggling diplomacy. Also adds a comment for clarification to the lobby bot. Refs #2402 .
...
This was SVN commit r14652.
2014-01-24 00:38:08 +00:00
cf851a7789
A bunch of naming stuff.
...
This was SVN commit r14648.
2014-01-23 18:32:21 +00:00
d677033c4c
Serialise Cost component since the population bonus is tech-modifiable. Fixes #2399
...
This was SVN commit r14644.
2014-01-23 08:56:22 +00:00
8d5c02091a
Added greek, arabic and big tents as eyecandy, they will be used in the ptolemaic mercenary camp.
...
Added Stanislas69's new gaul farmstead with some fixes. (Thanks
Stanislas69!)
Added carpet texture fragments to the ptolemaic struct texture
This was SVN commit r14642.
2014-01-22 22:59:06 +00:00
ef79e8305b
An addition to bd3f5a8085
, also refs #1964
...
This was SVN commit r14641.
2014-01-22 20:56:14 +00:00
bd3f5a8085
Removing the AI check for producing un-allowed units. Should be fixed in the AI side with ad8fa37f17
. Refs #1964 .
...
This was SVN commit r14640.
2014-01-22 20:47:51 +00:00
ad8fa37f17
Improve some building placement. May improve dropsite usage slightly.
...
Should fix #1964
This was SVN commit r14639.
2014-01-22 20:26:45 +00:00
1fedf11e9e
Use a filter to pick a new attack target in the same turn, while still avoiding an infinite loop
...
This was SVN commit r14638.
2014-01-22 18:38:15 +00:00
a58acb28f0
Style improvements (thanks Leper).
...
Fix AI building its buildings closer together by properly moving failed
foundations out of the world.
This was SVN commit r14637.
2014-01-22 17:54:20 +00:00
546a26467f
Cavalry Spearmen for Sparta. Gives them a melee cavalry for proper anti-siege.
...
This was SVN commit r14636.
2014-01-22 16:34:00 +00:00
01ec56cc0c
A bunch of updated portraits. Thinking of going this color-coded route: Blue for citizen-soldiers. Red for champions and heroes. Maybe green for mercenary soldiers.
...
Tweaked a couple footprints.
This was SVN commit r14635.
2014-01-22 15:42:28 +00:00
32844e9a16
Fix tests + improve behaviour of attacking when not in formation
...
This was SVN commit r14634.
2014-01-22 15:13:07 +00:00
04aba0e41a
Let certain formations stay in formation while attacking
...
This was SVN commit r14633.
2014-01-22 13:20:55 +00:00
de02ab2e53
Fix various bugs. Try to make the AI build its buildings closer together (WIP, and it's brute-force).
...
This was SVN commit r14632.
2014-01-22 03:11:19 +00:00
7d18fecbcd
Fix some errors reported by Gildas, Lion_Kanzen and Gameboy. Prepare for formation fighting in the attack plans by having a more generic "army" component.
...
This was SVN commit r14629.
2014-01-21 20:24:51 +00:00
e466565c35
Let formations attack other formations (still without keeping their formation position though)
...
This was SVN commit r14628.
2014-01-21 16:50:58 +00:00
2ca25a6d3e
differentiate between formations that can attack, and formations that can only move. Use the differentiation in the range calculation.
...
This was SVN commit r14627.
2014-01-21 09:10:17 +00:00
453bd6c8a0
Fix typo (Cepio -> Caepio), reported by qwertz.
...
This was SVN commit r14626.
2014-01-21 00:41:17 +00:00
7763a22c08
revert having giving the attack state to formation controllers as it caused too much trouble
...
This was SVN commit r14624.
2014-01-19 18:03:43 +00:00
8b2037e5ee
Some naming stuff.
...
Reduced the size of a spec map.
This was SVN commit r14622.
2014-01-19 12:58:18 +00:00
f2f0307a25
fix typo.
...
This was SVN commit r14616.
2014-01-18 21:05:53 +00:00
c2d43b009c
Fix asking for non-existing templates of killed units
...
This was SVN commit r14614.
2014-01-18 20:56:21 +00:00
9330975d54
Fix Athens not researching civ phase. Make the AI adapt automatically to changing the max gatherers on fields.
...
Fix auto-researched technologies not being properly researched on init.
Fix the tests (amazing!).
GarrisonHolder sends which entities were added or removed (mostly for AI
purposes but could benefit other things).
Streamline AIInterface events.
This was SVN commit r14612.
2014-01-18 20:26:52 +00:00
046c5ef74c
Make chariots faster, and give them a more consistent (and slightly smaller) obstruction radius.
...
Citizen chariots are now 15.0 speed (1 faster than cavalry), champion
chariots 16.0, and hero chariots 18.0.
This was SVN commit r14608.
2014-01-18 18:08:02 +00:00
ca6301c399
Reduced number of gatherers for farms from 5 to 3 for testing.
...
This was SVN commit r14607.
2014-01-18 16:47:04 +00:00
c02dafec74
Move simulation Vector math to globalscripts/Math.js. Refs #2032 .
...
This was SVN commit r14606.
2014-01-18 15:27:30 +00:00
ae35ed255f
For the Celts, moved Blacksmith to the Village Phase. This isn't much of a bonus yet until we get some unique tech trees for the Blacksmith.
...
This was SVN commit r14605.
2014-01-18 15:04:20 +00:00
061c5f8ced
Fixing pop cost for advanced Persian chariot.
...
This was SVN commit r14604.
2014-01-18 15:03:08 +00:00
36edaa5635
Siege Workshop for the Macedonians. Needs a new model.
...
Persians get the Nisean War Horses tech.
This was SVN commit r14603.
2014-01-18 15:02:16 +00:00
c316079cc7
Updated names for female citizens.
...
Updated Seleucid rally banner (still not happy with it).
Fixed name of Nisean War Horses tech.
This was SVN commit r14600.
2014-01-18 12:33:19 +00:00
aba3d8d9d5
Shield tweaking for the Bronze Shield and Gold Shield pikemen.
...
Adjusted hero health.
Made champions use arrow selections, while citizen soldiers use circles.
A bunch of updated portraits.
Seleucids changes.
Map updates.
New techs.
Roman siege walls a little weaker.
This was SVN commit r14589.
2014-01-16 23:21:57 +00:00
c1e86161b5
AIs now properly receive aura and technology updates. Fixes #2377 , Refs #1520 . Consequently reimplement repairing for AIs.
...
Fix a few style issues and a bug with the gatherer count.
Still need to fix the entity.js file to handle properly some things as
this uses raw templates values.
Cache the AIinterface in AIProxy.js, please report if this works
properly.
This was SVN commit r14588.
2014-01-16 20:32:44 +00:00