freenity
debcea96d0
This was SVN commit r6241.
2008-07-18 21:24:00 +00:00
Matei
86ea20df7b
Fix a crash which happened when a unit with no actions.move tried to run (it got past the JS guard because JS code crashed).
...
This was SVN commit r6237.
2008-07-16 04:23:44 +00:00
freenity
fe55a8b734
Adding a shadow to the text, so it is visible on bright maps.
...
This was SVN commit r6234.
2008-07-15 17:13:55 +00:00
freenity
f182617c72
Adding new function to show status messages for lacking resources when building and training units.
...
This was SVN commit r6231.
2008-07-15 12:54:28 +00:00
Matei
9025056ffd
Made rally point setting net-safe.
...
This was SVN commit r6225.
2008-07-13 17:37:45 +00:00
Matei
36b18f646f
Added shouldRun parameter to order(ORDER_GENERIC) calls from scripts.
...
This was SVN commit r6224.
2008-07-13 16:31:03 +00:00
Matei
088f3b54be
- Treat units with health.max = 0 (the default when not defined as immortal and unattackable. This applies to Settlements, trees, etc. Should solve the problem of these things being killed by arrows by mistake.
...
- Better "unit X has killed unit Y" message - now includes player
number.
This was SVN commit r6213.
2008-07-12 07:22:11 +00:00
janwas
67d43e45ab
fix soundGroup paths for "lumbering"
...
*.js: update constants to their new values as defined by dacian's
netcode
This was SVN commit r6031.
2008-06-16 18:41:19 +00:00
Matei
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
Matei
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
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
Matei
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
Matei
5ca1c8243b
Added a damage function to quasientities.
...
This was SVN commit r4861.
2007-02-05 02:42:24 +00:00
Matei
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
Ykkrosh
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
Matei
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
Matei
d5e5bb5e09
# Updates to the combat damage system.
...
This was SVN commit r4766.
2007-01-13 18:41:24 +00:00
Matei
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
Matei
3c8dd6869c
Fixed an upgrade bug.
...
This was SVN commit r4743.
2007-01-06 05:10:48 +00:00
Matei
5aba6861ae
Updated entity script to work with traits.promotion.entity.
...
This was SVN commit r4738.
2007-01-05 19:16:11 +00:00
Matei
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
Matei
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
Matei
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
Matei
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
Matei
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
Matei
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
Matei
cbb65769e0
Fix to construction resource check.
...
This was SVN commit r4498.
2006-10-06 14:21:56 +00:00
Matei
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
Matei
cd792eeb8e
XML/JS fixes to movement and terrain conformance.
...
This was SVN commit r4338.
2006-09-16 20:11:42 +00:00
Matei
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
Matei
aceaee324b
XML and JavaScript changes for unit stances.
...
This was SVN commit r4313.
2006-09-08 23:58:57 +00:00
Matei
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
Matei
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
Matei
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
Matei
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
Matei
5970bc03e7
Removed some debug output.
...
This was SVN commit r4155.
2006-07-20 22:46:13 +00:00
Matei
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
Matei
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
Matei
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
Matei
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
Matei
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
Matei
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
Matei
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
Matei
d6408e89c6
More profiling tests in entityInitQuasi.
...
This was SVN commit r4100.
2006-07-13 21:17:30 +00:00
Matei
1ce628c354
This was SVN commit r4098.
2006-07-13 20:35:53 +00:00
Matei
812cf08f70
This was SVN commit r4097.
2006-07-13 20:31:35 +00:00