1
0
forked from 0ad/0ad
Commit Graph

324 Commits

Author SHA1 Message Date
805981519e Fixed unit costs (the tags were in the wrong place). Also set all costs in template_entity_full.xml to 0 so it's less confusing.
This was SVN commit r4713.
2006-12-20 17:36:17 +00:00
arissa_nightblade
84260057f9 Upaded Excel file
This was SVN commit r4703.
2006-12-17 05:12:08 +00:00
ad060405d6 Added entity graph image created using entgraph.
This was SVN commit r4700.
2006-12-16 16:23:37 +00:00
53ec2466d9 Fixed some missing parents in entity tree.
This was SVN commit r4699.
2006-12-16 16:22:47 +00:00
arissa_nightblade
fc97a81743 This was SVN commit r4695. 2006-12-15 03:31:43 +00:00
arissa_nightblade
bfac9b3e47 This was SVN commit r4694. 2006-12-14 05:51:19 +00:00
arissa_nightblade
966d63107a # Implemented initial building resource costs.
Added wood and stone costs to all the structures.

This was SVN commit r4693.
2006-12-14 05:43:23 +00:00
913a4f7784 For consistency, changed traits.extant from an attribute to a stand-alone tag.
This was SVN commit r4692.
2006-12-13 05:34:47 +00:00
591f1f1232 #Corrected Unit Portraits for Hellenes Units.
This was SVN commit r4638.
2006-11-12 01:42:27 +00:00
7bf195ba0f #Fixed the icon specifications for the Celts
This was SVN commit r4637.
2006-11-12 01:09:44 +00:00
53c2563048 This was SVN commit r4636. 2006-11-12 01:05:57 +00:00
bf517216c5 This was SVN commit r4627. 2006-11-09 02:32:29 +00:00
e733d6106f This was SVN commit r4607. 2006-11-02 01:48:22 +00:00
8577b96960 This was SVN commit r4606. 2006-10-31 23:56:09 +00:00
4df019a593 - Removed some debug spam.
- Fixed skeleton entity.

This was SVN commit r4604.
2006-10-29 17:22:14 +00:00
christoph
fad6ad4baa This was SVN commit r4603. 2006-10-29 15:51:22 +00:00
acea9cc2a3 #Several gameplay changes:
#- Modified female citizen gather rates and aura effects.
#- Units automatically go gather nearby resources when done building a
dropsite.
#- Ore renamed to metal.

This was SVN commit r4594.
2006-10-26 21:35:25 +00:00
b7459898a6 Removing redundant files for the gaia tree entities
This was SVN commit r4576.
2006-10-18 05:03:59 +00:00
939e20f3b1 - Fixed some bugs with Aleppo pine, GUI messages and projectiles hitting quasientities like rocks and trees.
- Removed some unnecessary computation in water shader.

This was SVN commit r4571.
2006-10-17 22:34:11 +00:00
7c35b22f34 This was SVN commit r4566. 2006-10-17 11:49:59 +00:00
03cf167dd0 This was SVN commit r4565. 2006-10-17 11:49:13 +00:00
d86f1380a7 This was SVN commit r4553. 2006-10-15 04:13:30 +00:00
93bd041bcc Ensure that corpses have bounds.
This was SVN commit r4537.
2006-10-10 05:20:24 +00:00
5ddb3a9190 This was SVN commit r4534. 2006-10-09 07:50:44 +00:00
34391d5e67 This was SVN commit r4533. 2006-10-09 07:50:32 +00:00
a4582caa0c # Unit AI for gather and build.
JS and XML changes to allow entities to respond to TargetExhausted
events. (They will look around for a new target to build or gather,
depending on the type of the previous action).

This was SVN commit r4530.
2006-10-09 04:16:01 +00:00
0a6c4ae103 # Bug fixes and more game setup options.
- Added "Screenshot Mode" checkbox on game setup screen, which will set
units to Hold stance by default (normally, they'll be in aggress).
- Made the "Fog of War" checkbox actually work.
- Fixed a bug where repairing a building could cause you to reach
negative resources.
- Increased ranged unit LOS so they can pursue things that go out of
attack range.
- Made visibility permanent for Settlements.
- Removed a stray "s" in template_unit_cavalry_melee.xml.

This was SVN commit r4526.
2006-10-08 17:34:46 +00:00
db958867ea Bug fix: Entities had infinite LOS by default, which caused a significant slowdown.
This was SVN commit r4525.
2006-10-08 15:29:29 +00:00
23b1acfb78 #Roman Basic Equites cavalry unit.
This was SVN commit r4504.
2006-10-08 01:42:35 +00:00
395f7ecf54 Fix to female citizens building.
This was SVN commit r4500.
2006-10-06 19:11:42 +00:00
6a3c817997 Hellenes and Celt barracks can now train things, and female citizens can build.
This was SVN commit r4499.
2006-10-06 19:10:49 +00:00
21d65a5e94 Added minimum range to archers as well as ProjectileSpeed property to all ranged units.
This was SVN commit r4482.
2006-10-04 04:49:17 +00:00
04a3915676 This was SVN commit r4472. 2006-10-03 08:49:24 +00:00
e1f7eed3cc This was SVN commit r4466. 2006-10-03 08:31:49 +00:00
31759e53bd Due to the requested actor changes regarding actors floating on water becoming a reality, I am now able to delete the temporary entites I created for the purpose. Thanks Philip and Jan and the programmer team.
This was SVN commit r4420.
2006-09-28 20:29:35 +00:00
c14378f98f #New European Beech tree entities gatherable for wood.
This was SVN commit r4419.
2006-09-28 08:53:38 +00:00
5581def43d This was SVN commit r4415. 2006-09-28 00:47:00 +00:00
39c7143a1d Changed cavalry conformance to only the X axis.
This was SVN commit r4391.
2006-09-26 00:33:58 +00:00
2736bda0c2 This was SVN commit r4352. 2006-09-17 21:48:57 +00:00
cd792eeb8e XML/JS fixes to movement and terrain conformance.
This was SVN commit r4338.
2006-09-16 20:11:42 +00:00
b0e7085fb9 Changed default stance to Hold so units don't look like they're attacking each other in Atlas (eventually we can make this be "aggress" in the game but hold in Atlas).
This was SVN commit r4337.
2006-09-15 18:59:44 +00:00
aceaee324b XML and JavaScript changes for unit stances.
This was SVN commit r4313.
2006-09-08 23:58:57 +00:00
37e924ec4a Fixed up traits.vision.permanent (the default value was not set to false).
This was SVN commit r4271.
2006-09-01 00:23:55 +00:00
pyrolink
50e5e9acd9 # Aura and territory rendering
-Auras now take additional parameters from XML, containing a tag for r,
g, b, and a.  No line thickness parameter yet.
-For territories, added function to frustum for determining if line
segment passes through the frustum.

This was SVN commit r4242.
2006-08-25 06:04:33 +00:00
235ad34669 Converted many entity property names to CamelCase and added TerritoryRestriction property for buildings. Also moved building-related stuff (foundation, socket and territoryRestriction) inside traits.creation.
This was SVN commit r4205.
2006-08-08 03:44:15 +00:00
bd474e39d2 This was SVN commit r4194. 2006-08-04 01:25:51 +00:00
f76d0ffdc6 XML / JavaScript changes for new case-aware XMB format. Mostly deals with changing things like structciv to structCiv and subtype to subType, and ensuring parent is specified with Parent on all entities.
This was SVN commit r4185.
2006-08-01 03:29:10 +00:00
1ce5ab6e0c Modified entity XML's so regen and decay rates are actual rates rather than "time to full health".
This was SVN commit r4166.
2006-07-24 01:29:02 +00:00
b82451a4ff Two new techs, to demonstrate negative bonuses. These are the infantry spearman speed and armour techs for Hellenes.
This was SVN commit r4165.
2006-07-23 17:26:37 +00:00
b8456f0702 # Added 4 sample techs.
Also modified the entity script to allow for gathering fractional
resources, and modified the GUI to round resources to the nearest
integer. This is necessary since techs will likely push resource
gathering amounts to fractional numbers.

This was SVN commit r4161.
2006-07-21 22:54:01 +00:00
3baa2d04b5 # Preliminary work on technology research UI
Still early days, but implemented the first few of Matei's tech
features.

This was SVN commit r4150.
2006-07-20 10:27:36 +00:00
e374ecc342 Increased SettlementAura radius so it looks nicer on maps where scenario designers have placed settlements by hand. Eventually we should decrease it back to 0.1 when Atlas supports socketted placement.
Also, modified game startup script to use the new tech functions.

This was SVN commit r4139.
2006-07-18 04:23:35 +00:00
1828443b02 # Fixed a unit rank upgrade bug.
Units were not able to gain more than 1 rank, even when they started at
Basic.

Also XML values for new bar rendering (changed the meaning of height to
not include the border).

This was SVN commit r4137.
2006-07-17 22:20:12 +00:00
5636a40e34 This was SVN commit r4131. 2006-07-17 19:40:36 +00:00
ef03e7aee8 #New stone mine
This was SVN commit r4130.
2006-07-17 19:40:23 +00:00
8fdfb383aa This was SVN commit r4129. 2006-07-17 19:21:38 +00:00
80813383c5 Some optimizations to entityInit and entityInitQuasi, as well as bug fixes (GUI code assuming traits.promotion!=null and trying to convert null/undefined to title case).
This was SVN commit r4124.
2006-07-17 00:58:37 +00:00
491a9910e3 Data changes for new entity bar rendering code. (All the bar info is now in one attribute, rather than having separate info for health bars, stamina bars and ranks).
This was SVN commit r4121.
2006-07-16 19:33:33 +00:00
3914fa16ed This was SVN commit r4115. 2006-07-14 22:26:29 +00:00
7bc8de70c7 #New Roman Hastatus texture and unit entity. Enjoy.
This was SVN commit r4105.
2006-07-13 21:28:14 +00:00
590086571b # More work on territories - Settlements are now claimable.
This was SVN commit r4074.
2006-07-09 23:13:20 +00:00
b0241cc4c8 Entity changes for territories (added the traits.is_territory_centre field).
This was SVN commit r4071.
2006-07-08 22:41:55 +00:00
62af0ff0f0 Added a simpler entity init function for quasi-entites to speed up simulation init time.
This was SVN commit r4052.
2006-07-02 04:30:33 +00:00
0a0f0905f3 This was SVN commit r4046. 2006-06-28 05:16:24 +00:00
2f065990f6 This was SVN commit r4019. 2006-06-23 02:56:33 +00:00
92b9c07f95 Restoring SVN repository:
Greek basket texture

# New Greek vases

# housekeeping
documentation fix: trailing / in directory names is mandatory

# Atlas: Sky texture selection; save with maps

Atlas code tidying: Slightly nicer syntax for defining command handlers,
and some explanation of how it works

Automated build.

This was SVN commit r4008.
2006-06-21 22:37:31 +00:00
77c59070c1 # Various gameplay updates.
- Added per-player resource pool and modified the GUI and entity scripts
to work with it.
- Modified unit creation functions so the unit is always assigned a
player before firing its initialize event, so that this event can deduct
population, etc from the right player.
- Fixed various small bugs, like a unit not cancelling all of its queued
items when it dies, or buildings not costing anything.

This was SVN commit r3998.
2006-06-10 03:05:16 +00:00
005983f237 Renamed tech and formation directories for better organization, and created a scripts directory for the game startup script, entity scripts, and eventually things like victory condition scripts for different game modes, or possibly triggers.
This was SVN commit r3995.
2006-06-09 23:04:47 +00:00
pyrolink
e4c40841b2 #Configurable game speed, techs, elevation attack bonus
-techs are not operational yet
-set the game speed with setSimRate() in the console or in the config
file under hotkey.speed.increase or hotkey.speed.decrease
-made a few other small fixes

This was SVN commit r3950.
2006-06-06 06:31:17 +00:00
03a08e00a5 # Fixed infinite loop.
Also fixed sectorDivs so it's always initialised, since the complaints
were annoying.
Camera: Added a const.
Super cavalry: Added required(?) aura attributes.

This was SVN commit r3906.
2006-05-29 03:28:54 +00:00
7ac2fc94a9 Updates to the water shaders and a fix to stamina bar display on ships.
This was SVN commit r3903.
2006-05-28 22:00:01 +00:00
9ecd5e8a25 # Horses now walk as well as galloping
Fixed other actor speed issues, upgraded appropriate Greek actors to do
citizen soldier functions

This was SVN commit r3890.
2006-05-23 08:51:26 +00:00
0444cee877 This was SVN commit r3883. 2006-05-18 07:16:15 +00:00
6bf7f2c4eb Jason's skybox as well as entity changes for the new heal, trample and repair actions and fixes for the per-player templates.
This was SVN commit r3866.
2006-05-16 04:43:11 +00:00
4af9cd2dce Entity script changes for per-player templates and an extra sanity check on prepareorder for build.
This was SVN commit r3864.
2006-05-13 22:12:57 +00:00
03f21c772f Made the gather animation start slightly faster after a unit starts gathering, though it's still not perfect.
This was SVN commit r3860.
2006-05-13 06:21:06 +00:00
0af22ec50f # Fixed a bug which was causing the gather action to not actually gather resources.
This was SVN commit r3859.
2006-05-13 05:54:01 +00:00
7d39e03831 Correcting the drunken units walking over uneven terrain
This was SVN commit r3857.
2006-05-13 04:57:40 +00:00
404c4221df XML and script fixes for running and pass-through-allies attribute.
This was SVN commit r3854.
2006-05-13 04:08:41 +00:00
6df8229a3a Script changes for the updated construction system.
This was SVN commit r3846.
2006-05-04 07:41:06 +00:00
pyrolink
39e89c406e #Fixes to flank penalty, notifications, sectors, terrain conformance. Added speed bonus based on terrain slope.
-added NOTIFY_ORDER_CHANGE, which is used for flank penalty instead of
idle.
-entity speed is now actions.move.speed_curr for the current speed, but
the original speed is still actions.move.speed.  Changes take place in
entityEventMovemen.

This was SVN commit r3840.
2006-05-04 04:14:48 +00:00
b512733787 # Completed the new unit production system and tied it in with the GUI.
This was SVN commit r3831.
2006-04-30 20:34:39 +00:00
pyrolink
2702a268ef This was SVN commit r3793. 2006-04-22 05:44:32 +00:00
d5383db5fc Fix for the rank rendering issue (turns out the rank height was not set in the XML's).
This was SVN commit r3766.
2006-04-14 08:24:21 +00:00
4bab7c82df # New Roman Temple and Farmstead
Increased the movement rate of the units a bit as they seems to walk
quite slowly.

This was SVN commit r3750.
2006-04-11 09:46:17 +00:00
pyrolink
c38a5379f6 This was SVN commit r3733. 2006-04-08 22:35:23 +00:00
ef155571c0 # As requested by Jason, now only one tab list in the Status Pane will be open at any time (hovering one will close any others that are open).
(Probably. I couldn't test with units due to the ModelRenderer
javelinist crash, but it seems to have the desired effect for the Civ
Centre. Which isn't the most conclusive test since the research list is
empty anyway.)

# Implemented Andrew's formation functions in the formation "pick list".

(Again, probably. Since this is completely untestable without being able
to select units, I can only speculate that it might work. The game
didn't crash and burn on startup as a result of my meddling, which I
take as a good sign.)

(Andrew: The changed section is a formation case switch at line 376 of
functions_page_session_status_commands.js. I endeavoured to use all your
functions to try them out. Like I said, I'm not sure if any of this
works -- and being sick and feverish doesn't help -- but it might at
least give you somewhere to start.)

This was SVN commit r3723.
2006-04-03 04:54:43 +00:00
31dd421c15 # Updated test actor and script for prop switch testing
This was SVN commit r3714.
2006-04-01 23:49:59 +00:00
pyrolink
cf14a7bc15 -rank/formation stuff and fixes. To give a unit a rank texture, just set rank.name in the entity's XML to the filename of the texture e.g. elite.dds or advanced.dds
This was SVN commit r3711.
2006-03-31 03:37:36 +00:00
34ff09529d # Implemented "pick list" selection code in UI. (Stances and formations can now be selected.)
# Added Explore tag for infantry units.
# Temporarily assigned a standard set of formations to all units for
testing purposes.
# Fixed pick list tab style.
* (Also updated traits.formation in Wiki to keep in sync.)
* Added "loose" formation -- is there a better name for that? -- since
presumably we'll need an option to disband the current formation.
* Pushed selection tab behind the pane as an easy alternative to
shifting it about.
* Started working on lists with "mixed" items (from different sheets,
like Allegiances), but decided halfway to commit the formation stuff for
Andrew.
* (Incidentally, as suspected, there isn't enough room for all these
items. All four horizontal tabs are now maxed out on a typical CS. Might
have to append the kill and player tribute items from Allegiance onto
Stance.)
* (Also, if we need more than 11 items in the list, that will also need
to be adapted sooner rather than later. The representative formation
list is maxed out.)

This was SVN commit r3680.
2006-03-24 20:59:09 +00:00
ccc8055226 Fail more nicely with invalid actors
This was SVN commit r3669.
2006-03-19 22:37:56 +00:00
0abb49ab09 * Removed portrait background from the large status portrait (by changing default sprites for all entities).
* Made tabs remain closed by default.

* Fixed error where foundations were referencing the older cell sheets.

* Added text equivalents for health and stamina.

This was SVN commit r3588.
2006-03-03 19:05:01 +00:00
c9250bd415 GUI Updates:
* Implemented Jason's new tabs for portraits. Shuffled buttons around a
bit.
* Started on Status Pane elements ... portrait, health and stamina bars,
garrison and supply counters, and descriptive text.

This was SVN commit r3585.
2006-03-03 00:02:01 +00:00
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