This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDL Notice: New Tables and Unit Type Properties for Wrecking


Xconq now supports more advanced wrecking behavior than previously.

Unit types have a new property, 'destruction-result', which is a
weighted list of possible outcomes for a dying unit. This list is very
similar to the 'encounter-result' list. Currently, there are just two
choices: 'vanish' and 'table'. The 'vanish' result means that unit will
vanish, even if it would normally wreck into something else. The 'table'
result means that unit will follow normal rules regarding how its death
it handled. The normal rules include the new tables, which I will
mention below.

There are 3 new tables: 'wrecked-type-if-killed',
'wrecked-type-if-attrited', and 'wrecked-type-if-starved'.
'wrecked-type-if-killed' determines what unit type the wrecked unit will
become, based on what non-wrecked type it is and what the type of the
unit that killed it is.
'wrecked-type-if-attrited' determines what unit type the wrecked unit
will become, based on what non-wrecked type it is and what the type of
the terrain that wore it down is.
'wrecked-type-if-starved' determines what unit type the wrecked unit
will become, based on what non-wrecked type it is and what the type of
material that it starved for want of is.
All 3 of these tables default to 'non-unit', which indicates that the
older 'wrecked-type' unit property will be used to look up the
'wrecked-type'. You can override the 'wrecked-type' property for
killing, attrition, and starvation by setting these tables; in all other
unit death cases, only 'wrecked-type' will be considered.

To see an example of how these tables and properties can be used, you
can peruse the 'wreckreation.g' game that I added to the games library a
little while ago. (Hint: watch what vampires do to beings of living
flesh when they kill them.)

  Enjoy,
    Eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]