1
0
forked from 0ad/0ad
Commit Graph

57 Commits

Author SHA1 Message Date
576a0aa421 # Made units that build a field start auto-gathering it. Also updated field foundation.
This was SVN commit r5347.
2007-09-16 20:01:57 +00:00
e732631a68 # Fixed a bug with hitpoints remaining at 0 while a building was built, and an initialization issue that prevented fields from being gatherable.
This was SVN commit r5342.
2007-09-16 17:43:38 +00:00
pyrolink
a1bf601c76 Vague documentation of trigger specs, hopefully enough to get started.
This was SVN commit r5267.
2007-07-19 05:42:18 +00:00
Alexander
7ced4d27e1 This was SVN commit r5261. 2007-07-16 01:56:08 +00:00
Alexander
226049deed This was SVN commit r5245. 2007-07-14 06:19:31 +00:00
Alexander
7eaa6d3454 Territorial limits applied
This was SVN commit r5244.
2007-07-14 06:15:19 +00:00
2e5c530c03 Modified semantics of HEntity's validity check to count handles to units that are destroyed but not deleted as still valid handles. This fixes some previous code that assumed these semantics, such as code for dealing with exhausted gather targets. It looks like the meaning was changed long ago when the entity flags were added. Also added an IsAlive method in HEntity for the old check, in case any code needs to be switched over to that.
Also removed some debug output from entity_functions.js.

This was SVN commit r5074.
2007-05-16 06:58:49 +00:00
pyrolink
684dbbe9ba #Preliminary end game conditions; cinematic and trigger fixes
Cinematic editor is less clumsy.  Forward and backward buttons now move
the camera to the next and previous nodes.

This was SVN commit r5000.
2007-04-27 03:05:26 +00:00
ee48a33ec4 # More cinematic map updates.
Made female citizen walk to gather berries.
Fixed gather trigger effect.
Made entity collision-detection work a little better if you modify the
map while running the simulation.

This was SVN commit r4897.
2007-02-11 01:19:44 +00:00
5ca1c8243b Added a damage function to quasientities.
This was SVN commit r4861.
2007-02-05 02:42:24 +00:00
892fb6ce9e # Fixed some script bugs.
- Loot script was not properly giving loot.
- Some errors were occuring in the GUI every frame when XML files are
lacking certain traits.
- Fixed time on celt female citizen forage gather animation.

This was SVN commit r4832.
2007-02-02 14:53:16 +00:00
117f3dfe4a Rough cinematic/triggers in map.
Fixed some issues with triggers.
JS command execution in Atlas.

This was SVN commit r4829.
2007-02-02 02:17:15 +00:00
1e195ac519 Changed task unit triggers to use unit ID's properly.
This was SVN commit r4823.
2007-01-30 03:50:28 +00:00
465c0a037b # Fixed some trigger bugs.
- Conditions were not properly converted to JavaScript (not read from
the XML file correctly either).
- Added an OrderFromTriggers function so that triggers can give orders
which ignore fog of war.
- Fixed some spelling mistakes in TriggerSpecs.xml (parameter vs.
parameters).
- Moved trigger update to CSimulation update, which is more correct.

This was SVN commit r4821.
2007-01-29 22:21:25 +00:00
2c3c1be393 Fixed a bug with units not dying during playtesting in the scenario editor.
This was SVN commit r4801.
2007-01-20 18:35:02 +00:00
pyrolink
31d1e14912 #Cinematic improvements; trigger features
-Cinematic rotation shouldn't suck anymore
-Triggers still suck

This was SVN commit r4777.
2007-01-16 23:22:25 +00:00
d5e5bb5e09 # Updates to the combat damage system.
This was SVN commit r4766.
2007-01-13 18:41:24 +00:00
91db07faa2 Handle armour differently: Instead of having a value and percents for each type, just have a different value for each type. This makes it easier to upgrade *one* type of armour at once.
This was SVN commit r4758.
2007-01-12 16:18:20 +00:00
3c8dd6869c Fixed an upgrade bug.
This was SVN commit r4743.
2007-01-06 05:10:48 +00:00
5aba6861ae Updated entity script to work with traits.promotion.entity.
This was SVN commit r4738.
2007-01-05 19:16:11 +00:00
2d1543b93b Created a sample unit which automatically starts gathering the nearest object, for use in cinematics. Auto-gatherer versions of other units can be created by copying temp_hele_infantry_javelinist_b_gatherer.xml and changing the parent to the appropriate unit.
This was SVN commit r4727.
2006-12-31 06:23:33 +00:00
pyrolink
0d0a767fa2 #Trigger framework, terrain flattening on building placement
This was SVN commit r4648.
2006-11-24 19:45:04 +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
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
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
5de9ed7444 # Added elevation bonus to all attacks.
(Before it was melee only).

Fixes #42.

This was SVN commit r4529.
2006-10-08 23:41:17 +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
cbb65769e0 Fix to construction resource check.
This was SVN commit r4498.
2006-10-06 14:21:56 +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
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
1b4f2763d9 Script changes for diplomatic stances.
This was SVN commit r4258.
2006-08-28 03:07:07 +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
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
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
5970bc03e7 Removed some debug output.
This was SVN commit r4155.
2006-07-20 22:46:13 +00:00
35fa0c35e8 Script work for techs (start/cancel/finish production handlers) as well as more sensible values for real_example.xml.
This was SVN commit r4145.
2006-07-19 05:25:57 +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
dd895c95e3 Fixed a bug with resource updates, and made script profiling code be commented out by default in case it interferes with people (it shouldn't have taken too much time, but who knows).
This was SVN commit r4128.
2006-07-17 02:38:43 +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
a833ef0770 Optimized entityInitQuasi to reduce number of CJSComplex property accesses, and fixed a bug in performGather.
This was SVN commit r4119.
2006-07-15 21:17:02 +00:00
d6408e89c6 More profiling tests in entityInitQuasi.
This was SVN commit r4100.
2006-07-13 21:17:30 +00:00
1ce628c354 This was SVN commit r4098. 2006-07-13 20:35:53 +00:00
812cf08f70 This was SVN commit r4097. 2006-07-13 20:31:35 +00:00
1ef12292b5 add xtimer measuring code (safe to remove at any time)
This was SVN commit r4096.
2006-07-13 20:15:38 +00:00
590086571b # More work on territories - Settlements are now claimable.
This was SVN commit r4074.
2006-07-09 23:13:20 +00:00