Commit Graph

103 Commits

Author SHA1 Message Date
7fc8713794 Made the LOS properties slightly more realistic.
This was SVN commit r2874.
2005-10-09 03:00:03 +00:00
5070ced96f Properties for LOS for Matei: traits.vision.los (structures, units), traits.vision.permanent (structures, gaia).
This was SVN commit r2872.
2005-10-08 23:00:39 +00:00
932cab0da1 This was SVN commit r2849. 2005-10-05 07:37:34 +00:00
72d71ae3a9 renamed some shoreline textures, painted the terrain on the 0ad map, and fixed a bad link in the roman barracks entity
This was SVN commit r2847.
2005-10-05 05:03:21 +00:00
7abf24b6c6 Possible speed optimisation for gaia entities (don't inherit the usual events and the entity script).
This was SVN commit r2842.
2005-10-03 20:57:10 +00:00
8bb6a6b56f This was SVN commit r2831. 2005-10-03 04:52:02 +00:00
75b291931d Actor reorganisation
This was SVN commit r2763.
2005-09-23 03:54:51 +00:00
173b060668 Changed entity script to to allow Gaia units to be attacked (gather will still be higher priority though).
This was SVN commit r2753.
2005-09-19 01:20:23 +00:00
bc3949db1a Added a fairly primitive water plane. This includes several things:
- Hotkeys Q, A, Z to toggle, raise and lower the water plane
respectively.
- A unit trait, named anchor, that says whether it attaches to the
terrain or the water.
- Small changes to rendering code.

This was SVN commit r2744.
2005-09-18 03:16:12 +00:00
a98ee94af9 A ship for testing purposes.
This was SVN commit r2740.
2005-09-17 11:18:45 +00:00
58fbafbbdd Command buttons can finally invoke the building painter or train units. Still plenty of glitches (particularly click-fest issues ... still an issue when updating the buttons directly rather than via hack, so it's probably due to constant onPress refresh). I've also had to disable the progress bar until I can make it work properly, but if you can get a unit in the queue it should eventually spawn. :)
This was SVN commit r2727.
2005-09-14 22:47:51 +00:00
2aca87419f This was SVN commit r2724. 2005-09-14 19:42:58 +00:00
4ab25c7274 * Fixed the "can't interact with the world" glitch. Turns out it was my fault. :)
* Restored the resource pool (and cleaned up the JS interface to it ...
array and counters are updated in one spot (wrapper functions to
add/deduct/define), without need for constant refresh).
* Added crude boxes in game setup to enter initial resource value.
* The command buttons still don't work when clicked (and clicking
continues to be erratic, only triggering if hammering the mouse button
... I think it's related to the return function() hack Philip set up),
but that's next on the list. :)
* Oh, and the command buttons don't currently realign to the different
corners with Alt+G, but all the rest should.

This was SVN commit r2715.
2005-09-14 00:50:25 +00:00
5f2857b6b8 Modified health bar height on buildings and added default of -1.0 (which means don't display health bar) on all entities.
This was SVN commit r2676.
2005-09-06 19:29:31 +00:00
d867f0c5fc box_height parameter for Matei.
This was SVN commit r2673.
2005-09-06 00:51:18 +00:00
0014fe0e27 Temporary animal entities for Matei's RM development.
This was SVN commit r2542.
2005-07-25 03:04:02 +00:00
2eafe4ef92 some entity tweaks - change unit footprint size and attack rates
This was SVN commit r2353.
2005-05-27 05:01:01 +00:00
43d04d0f31 Some little scripting fixes Jason noticed.
This was SVN commit r2343.
2005-05-23 22:03:55 +00:00
c8b851eda9 - JS functions to make use of new ordering and interaction APIs
- selectLocation and selectEntity using the new interaction API
- Implemented attack and patrol buttons using select{Location,Entity}

This was SVN commit r2317.
2005-05-18 05:35:25 +00:00
85497b4ebc dudes die faster when attacking
This was SVN commit r2309.
2005-05-14 06:30:09 +00:00
Aeros
07835e70e5 complete bush set for the Temperate and Mediterreanean biomes.
This was SVN commit r2294.
2005-05-12 09:10:53 +00:00
MarkT
86dc351205 Projectile code and updates to some actors that can use it (celt_ijv and hele_iar)
This was SVN commit r2266.
2005-05-10 07:13:25 +00:00
MarkT
db168702df Jason's animation events. Also reworked entity-types system.
This was SVN commit r2209.
2005-05-01 19:09:13 +00:00
53f9347029 Slight update to make the gather cursors work by subtype, and added a bunch of placeholder cursors shamelessly ripped from AoM. Any artist that feels like making non-copyrighted replacements would be most welcome. (Ironically, I could find few usable cursors for the different food types.)
This was SVN commit r2201.
2005-04-30 23:42:01 +00:00
657ef07006 Accounting for removed swordsman in Celtic CC.
This was SVN commit r2200.
2005-05-12 17:17:28 +00:00
57b634999e Advanced and Elite rank entities for all the civs.
This was SVN commit r2191.
2005-04-29 01:37:25 +00:00
b3c83ac2f1 hmm, must this was pointing to the csw instead of the csp, so fixed
This was SVN commit r2186.
2005-04-28 09:21:16 +00:00
faf5a942dc removed celt CS swordsman
This was SVN commit r2181.
2005-04-27 12:58:25 +00:00
6e97651c04 Unit training now costs ya (currently a consistent amount of Food/Wood/Stone for every entity, since I'm feeling lazy).
Also check out Mark's funky cursor support for gathering tasks (guess
we'll need cursors for the food gathering methods
(fruit/meat/milk/fish/grain), at some point, though).

This was SVN commit r2161.
2005-04-29 13:30:08 +00:00
MarkT
bcabe3aa53 Script integration work - valueOf() is no longer required most of the time; also property-change watches and enumeration over entities (but not yet other native objects), rudimentary beginnings of a global events system, and adjusted the status orb to update only on changes.
This was SVN commit r2157.
2005-04-22 07:12:55 +00:00
7f40968760 Updated some stuff. Basic texture for the swordsman, elite javalinist. Got some ideas for making the spearman a bit different than the swordsman. Fixed some entities that I think I broke a few weeks ago by pointing to the wrong actors.
This was SVN commit r2153.
2005-04-20 11:37:37 +00:00
3d59ecab85 Train lists now support a basic progress bar and unit counters. Still to come ... Removing entries from the queue by right-clicking buttons, prerequisites and resource costs.
This was SVN commit r2147.
2005-04-19 02:06:18 +00:00
3a36e9fa43 Removed Carthaginian Archer at Ken's request.
This was SVN commit r2146.
2005-04-17 15:08:44 +00:00
87e7f61fff Fix for subtype resources (food), so hopefully all resources should be gatherable now.
This was SVN commit r2144.
2005-04-17 06:00:00 +00:00
6ae111d0d7 Fix for NaN of resource types. Food resources still outstanding ... I think it's an issue where need to get the value of a supply object's subtype, but the evt .speed is only for the type. Will need to check with Mark.
This was SVN commit r2143.
2005-04-16 17:33:29 +00:00
MarkT
26d3f69ebf Fix to gathering script
This was SVN commit r2142.
2005-04-16 16:05:49 +00:00
a10ac6b379 Created entities for oak trees and berry bushes.
This was SVN commit r2141.
2005-04-16 15:13:57 +00:00
a3cb8a322c Little more experimenting with unit training.
This was SVN commit r2140.
2005-04-16 05:45:28 +00:00
d78afc9628 Update to create pine tree and rock entities to match Jason's revised actors.
This was SVN commit r2139.
2005-04-29 13:27:16 +00:00
346f033b58 celt_isp_e.xml added
This was SVN commit r2134.
2005-04-15 12:36:06 +00:00
MarkT
2120576bc7 Gathering and unit training (engine-side); also other minor improvements
This was SVN commit r2132.
2005-04-15 04:23:33 +00:00
bde5484e75 Updated the Celt upgrade entities... hope I did it right :p
Also fixed the _u to _e

This was SVN commit r2101.
2005-03-31 08:45:58 +00:00
1f902dde21 Fixed unit lists that were pointing to ho_1, which doesn't exist anymore.
This was SVN commit r2095.
2005-03-30 22:03:31 +00:00
c72438bcb8 Fixed Celtic Advanced Swordsman entity that was pointing to a non-existent next rank.
This was SVN commit r2088.
2005-03-30 12:08:55 +00:00
4ec73e0eea updated some paths to the actors
This was SVN commit r2087.
2005-03-30 10:30:35 +00:00
22dd4dd67b Entities: Removed Tag attribute; it is taken from the filename instead. Made entity XML files be loaded on demand. Probably stopped crash when maps contain non-existent entities. Fixed a few bugs in entity definitions.
Maps: Stored non-entity objects in XML instead of PMP, for easier manual
editing. Updated existing maps to newest format, so that they can still
work. Added undocumented _rewriteMaps() JS function. Also renamed _mem
to vmem, and reclassified its undocumentedness as unintentional, since
it's reasonably useful.
Loader: added NonprogressiveLoad function, for ScEd/_rewriteMaps/etc
which don't care about progressiveness.
main.cpp: re-enabled vfs_display, since it doesn't crash now
Vector3D: stopped warning

This was SVN commit r2078.
2005-03-29 20:50:04 +00:00
d60fc60a69 Replacement entities for the remaining houses other than Romans (to allow variations), and switching of resource pool to localPlayer, which should hopefully now mean player resources are maintained across a hosted game (haven't tested it yet).
This was SVN commit r2074.
2005-03-29 03:59:01 +00:00
644a9388ee Fix to make first "official" randomised entity ... Iberian house now points to an actor that contains its three variants. Replaced the houses in the ph2 map.
This was SVN commit r2064.
2005-03-27 10:29:48 +00:00
ae21bf9329 changed the temple's footprint to the proper size of 3x3
This was SVN commit r2062.
2005-03-27 07:08:42 +00:00
018f57d8fb Changed the footprint size to a 2x2 (propper size) tile vs. the 3x3
This was SVN commit r2061.
2005-03-27 07:02:43 +00:00