Editing Thinggroup

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
'''thinggroup''' is an [[EDF]] block which groups separate [[thingtype]]s into categories and gives them special flags, without also subjecting them to inheritance. The original motivation for this flag was extending the hell knight and baron of hell 'alliance' behaviour, where they can't harm each other by projectiles, but others monsters of separate species are always affected.
'''thinggroup''' is an [[EDF]] block which groups separate [[thingtype]]s into categories and gives them special flags, without also subjecting them to inheritance. The original motivation for this flag was extending the hell knight and baron of hell 'alliance' behaviour, where they can't harm each other by projectiles, but others monsters of separate species are always affected.
{{Backto|EDF}}


==Syntax==
==Syntax==
Line 14: Line 12:
''Name'' is the name of this category. Currently it's merely descriptive, but must be unique per '''thinggroup'''.
''Name'' is the name of this category. Currently it's merely descriptive, but must be unique per '''thinggroup'''.


Each ''thingtypeX'' is the mnemonic of a [[thingtype]] already defined in EDF. In order for this definition to have any effect on gameplay, you must set '''flags''' to any of the following values, joined by | (vertical bar, as in EDF flag settings):
Each <thingtypeX> is the mnemonic of a [[thingtype]] already defined in EDF. In order for this definition to have any effect on gameplay, you must set '''flags''' to any of the following values, joined by | (as in EDF flag settings):
* '''PROJECTILEALLIANCE''': this prevents monsters from '''types''' from harming each other with projectiles. Hell knights and barons of hell have this flag set in the base things.edf.
* '''PROJECTILEALLIANCE''': this prevents monsters from '''types''' from harming each other with projectiles. Hell knights and barons of hell have this flag set in the base things.edf.
* '''DAMAGEIGNORE''': monsters in the '''types''' list may be damaged by each other, but will not infight as a result. This generalizes the deprecated BOSSIGNORE '''thingtype''' flag. It will ''not'' prevent monsters from infighting others of the ''same'' species; for that, use a new thingtype flag (see below).
* '''DAMAGEIGNORE''': monsters in the '''types''' list may be damaged by each other, but will not infight as a result. This generalizes the deprecated BOSSIGNORE '''thingtype''' flag. It will ''not'' prevent monsters from infighting others of the ''same'' species; for that, use a new thingtype flag (see below).
* '''NOSPLASHDAMAGE''': applied to direct explosion damage inflictors and potential damage takers, makes these damage takers unaffected by inflictor's explosions. NOTE: this flag also applies between actors of the same type which explode each other (e.g. barrels). It's based on the MBF21 specifications for the equivalent Dehacked feature.
* '''INHERITED''': only has meaning if any of the other flags above is set. It makes it so any thingtypes inheriting the ones from the list are also included in this group. By default they don't inherit.
* '''INHERITED''': only has meaning if any of the other flags above is set. It makes it so any thingtypes inheriting the ones from the list are also included in this group. By default they don't inherit.


Line 32: Line 29:
==Other infighting-related properties==
==Other infighting-related properties==
As infighting is a rather complex rule in Doom and related games, there are also other means to customize it:
As infighting is a rather complex rule in Doom and related games, there are also other means to customize it:
* '''thingtype''' damagefactor attribute "immune". Unlike "damagefactor ''Xyz'', 0", this also prevents pain, thrusting and retaliation. Useful to prevent friendly fire and infighting for arbitrary [[damagetype|damage types]] (means of death) between monsters. Example:
* '''thingtype''' damagefactor attribute "immune". Unlike "damagefactor ''Xyz'', 0", this also prevents pain, thrusting and retaliation. Useful to prevent friendly fire and infighting for arbitrary [[damage types]] (means of death) between monsters. Example:
  thingdelta
  thingdelta
  {
  {
Line 45: Line 42:
:*'''HARMSPECIESMISSILE''', which allows monsters of the same species to be affected by each other's projectiles, overriding the default immunity from classic Doom.
:*'''HARMSPECIESMISSILE''', which allows monsters of the same species to be affected by each other's projectiles, overriding the default immunity from classic Doom.
:*'''FRIENDFOEMISSILE''', which makes projectiles shot by friends harm enemies of the same species, and viceversa. Default [[MBF]] behaviour makes them immune due to being the same species.
:*'''FRIENDFOEMISSILE''', which makes projectiles shot by friends harm enemies of the same species, and viceversa. Default [[MBF]] behaviour makes them immune due to being the same species.
[[Category:EDF]]
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: