Commit Graph

181 Commits

Author SHA1 Message Date
083d6f6104 Did more updates to commands.
* Pick lists should now display, though no events yet. (Except I've
disabled them for now, as their condition checks will fail in most
cases.)
* Building lists should now provide a building cursor when clicked, so
Matei can work on his stuff (though it gets a bit glitchy after that ...
The UI expects a portrait name and ID from the foundation, for example,
and so fails to find them and therefore continue to refresh the command
lists.)

This was SVN commit r3576.
2006-03-01 20:23:09 +00:00
238ea155f3 Last update for tonight ... Tabs and commands are now displaying (albeit very fragilely due to unpredictable error-checking), "pick lists" and events still disabled while I work on getting them right. Also need to reshuffle button locations later when adapting to Jason's new Status Pane shape.
This was SVN commit r3573.
2006-02-28 07:03:35 +00:00
268584d177 Initial commit of GUI changes. You're not liable to see much difference (in fact, there's probably less functionality than there used to be).
This is mostly to commit the new icon sheets so Jason can commit changes
directly if he prefers, and because I'm about to get back onto fixing
the command lists (not necessarily ones that actually do things when you
click them, but at least get them updating properly on the screen for
Matei), and want to commit a semi-usable update before I potentially
break it all again.

This was SVN commit r3571.
2006-02-27 23:37:43 +00:00
cbdc4e9686 Quick fix in the init(), where non-foundations seemed to produce errors (since their building property would be undefined). Just added an extra if check.
This was SVN commit r3570.
2006-02-27 04:58:04 +00:00
c55b49164a Tweaked foundations' LOS so it depends on their sizes.
This was SVN commit r3567.
2006-02-26 22:25:17 +00:00
2e26b5e1da Added foundations for all the building types.
This was SVN commit r3566.
2006-02-26 22:10:01 +00:00
422c1e1bc4 Construction JavaScript and XML changes, at least for houses (still need to convert the other building types over).
This was SVN commit r3565.
2006-02-26 09:56:47 +00:00
da2178db66 Basic progress bar UI at the start of the game requested by Jan, so player is aware of and can cancel archive building.
(Note that the Esc key is now used here, so you'll have to use another
key ... Ctrl+F4/Alt+F4/Ctrl+Break to quick-kill the game.)

Also set Matei's StartProduction to use entity's creation time.

This was SVN commit r3556.
2006-02-23 18:22:30 +00:00
7a4aeb69ed Added production queue system and associated events. It might still need some extra features but it should be functional.
This was SVN commit r3547.
2006-02-22 22:45:16 +00:00
022c84f43d formation test1
This was SVN commit r3546.
2006-02-22 07:25:30 +00:00
acbed7a656 Vercingetorix, our first Celtic hero (minus his horse)
This was SVN commit r3545.
2006-02-21 10:56:02 +00:00
pyrolink
9c739099fc Various fixes to notifications and orders
Added escort--follow can be done by simply changing the default and
secondary actions from NOTIFY_ESCORT to NOTIFY_FOLLOW in
entityEventTargetchanged.

Bugs are: ranged units can't assist in attacking from some reason, and
when you tell a leading unit to run, the escorting unit doesn't.

This was SVN commit r3503.
2006-02-13 03:28:36 +00:00
b0e7b7d03e Fixed a bug that was causing resources to go to NaN when you killed something.
This was SVN commit r3502.
2006-02-13 02:06:57 +00:00
3e2017147d Snazzier resizing resource counters and some miscellaneous fixes.
This was SVN commit r3460.
2006-02-03 03:15:49 +00:00
83ccd72798 Tiny fix to the "unit AI" in the damage event handler to make ranged units fight back when attacked.
This was SVN commit r3423.
2006-01-24 11:08:53 +00:00
c29c222936 Fixed a JS error message when corpses were attacked (because they had no
armour).

This was SVN commit r3418.
2006-01-23 10:36:18 +00:00
1c541db46b Health regen fix for ranged attack.
This was SVN commit r3410.
2006-01-23 03:55:35 +00:00
16341dd834 Fixed someone else's "fix"... The Celts don't get a wall tower, they get a wall turret, which is not the Scout Tower, which someone made it into. :) Sooooooo, I changed the actor in the entity back from the scout_tower to the wall_turret.
This was SVN commit r3408.
2006-01-23 03:20:28 +00:00
199550457d to entities that I'm adding to fix errors
This was SVN commit r3407.
2006-01-23 02:34:38 +00:00
d5a4c87dcc Fixes to the melee/ranged attack split.
This was SVN commit r3404.
2006-01-22 11:55:47 +00:00
pyrolink
b1537950e2 fixes
This was SVN commit r3400.
2006-01-22 11:08:27 +00:00
pyrolink
0e861e5ab1 Thank Stuart for the new attack properties (split into ranged and melee). Also, if running, the unit will use crush damage instead of melee.
This was SVN commit r3395.
2006-01-22 08:51:34 +00:00
c3b289ec0b new demetrius entity to test animations
This was SVN commit r3392.
2006-01-22 06:39:55 +00:00
b32a8361e5 AI stance properties and extended animal templates.
This was SVN commit r3390.
2006-01-22 05:28:41 +00:00
pyrolink
5383104a4f Added health regen/decay with time delay, corrected continual run bug (once running, disregards reorders to walk until destination reached).
This was SVN commit r3377.
2006-01-21 11:01:08 +00:00
c85551a8b0 Renamed processAttack, entityEventAttack, entityDamage, etc to avoid confusion since several people didn't like the functions having different names than the properties of the entity object. Now the generic action handlers are called performAttack, performGather, etc and the damage function is simply called damage.
This was SVN commit r3374.
2006-01-20 21:37:45 +00:00
30b83db67b Moved Run up to affect other units. Also added an Iberian house, which for some reason went AWOL during the entity revision.
This was SVN commit r3368.
2006-01-18 03:31:21 +00:00
cadbd77bc7 A temp Themistocles to test Wijit's cool new animations.
This was SVN commit r3367.
2006-01-17 08:12:10 +00:00
pyrolink
01ff2fdf3b Secondary order script support; run order addition
This was SVN commit r3362.
2006-01-16 10:55:01 +00:00
98496f2434 Added Matei's instructions to add a new generic order to the entity script. Not much of a contribution, but every little helps, eh? :)
This was SVN commit r3360.
2006-01-16 02:01:24 +00:00
NoMonkey
cf224a6267 This was SVN commit r3357. 2006-01-13 05:00:55 +00:00
NoMonkey
d261d33bab This was SVN commit r3352. 2006-01-12 10:15:20 +00:00
66d780eb49 Some fixes to the resource pool counters to make them dynamically lengthen based on caption length, and to adjust Housing / Population when buildings and units are created. (It probably doesn't yet deny creation of a unit if it would exceed population limit, though.) Also fixed a bug where an attempt to modify a resource value failed if it was zero.
This was SVN commit r3351.
2006-01-11 15:12:41 +00:00
9a7fb2d090 A few more manual fixes.
This was SVN commit r3348.
2006-01-09 15:58:42 +00:00
e45a9afaf0 run tweaks
This was SVN commit r3347.
2006-01-09 03:28:31 +00:00
5633336231 trying to test out the running stuff - deleting some old actors for the celts we no longer need
This was SVN commit r3346.
2006-01-09 03:13:45 +00:00
a08bf7b52e Fixed some glitches in my entityInit code. Changed erroneous UP references to XP and promotion.
This was SVN commit r3344.
2006-01-08 14:01:10 +00:00
pyrolink
8f7202f00b Entities default to run speed = 0
Notification event

This was SVN commit r3340.
2006-01-08 08:23:59 +00:00
pyrolink
1c43192f2d All units start out with 0 run speed.
This was SVN commit r3330.
2006-01-05 06:16:35 +00:00
7cb9a4a084 Fixed the entity pointing to incorrect actor
This was SVN commit r3327.
2006-01-02 09:09:36 +00:00
0a3e9ec537 - Added pause game functionality.
- Removed CDamageType from the engine - damage is now handled only
within the entity script (easier to mod/modify).

This was SVN commit r3325.
2006-01-02 03:07:29 +00:00
5487d069c4 Female fixes - new head, new head texture, new dress mesh, new celtic texture
This was SVN commit r3321.
2005-12-31 12:16:52 +00:00
892ae838ef Fixing the phalanx stuff - new shields, and a walk animation
This was SVN commit r3317.
2005-12-31 02:09:18 +00:00
0b6b971ee8 Generic orders data commit (changes to the entity scripts and XML's).
This was SVN commit r3310.
2005-12-29 08:43:38 +00:00
9190ddf9ba fixed some collision radius issues
This was SVN commit r3290.
2005-12-27 00:27:07 +00:00
d8149fe9a1 Doh, one more fix for some history and naming updates for the celtic dock
This was SVN commit r3280.
2005-12-22 05:55:59 +00:00
75113dae35 few more tweaks to entities
This was SVN commit r3279.
2005-12-22 05:52:36 +00:00
c6c0e0422d Fixed some entities and added the missing greek ships
This was SVN commit r3278.
2005-12-22 05:35:35 +00:00
8f5b5b7b73 Added time parameter on infidelity aura (currently sheep convert instantly but female citizens take 10 seconds).
This was SVN commit r3271.
2005-12-18 07:30:11 +00:00
74b8c5b15f More Greek unit tweaks
This was SVN commit r3266.
2005-12-17 20:45:27 +00:00