Template:Creatures infobox: Difference between revisions
(cargo doesn't like underscores, doesn't like spaces, newlines, quotes... Cargo is RACIST) |
m (glad I thought of this before rebuilding the table) |
||
Line 1: | Line 1: | ||
<noinclude>{{clr}}{{doc}} | <noinclude>{{clr}}{{doc}} | ||
{{# | {{#cargodeclare:table=Creatures | ||
| identifier = String | | identifier = String | ||
| name = String | | name = String | ||
Line 203: | Line 203: | ||
|} | |} | ||
{{#if: {{{nocat|}}} | |[[Category:Creatures]]}} | {{#if: {{{nocat|}}} | |[[Category:Creatures]]}} | ||
{{# | {{#cargostore:table=Creatures | ||
| identifier = {{{identifier|}}} | | identifier = {{{identifier|}}} | ||
| name = {{{name|{{PAGENAME}}}}} | | name = {{{name|{{PAGENAME}}}}} | ||
Line 233: | Line 233: | ||
| limb5 = {{{limb5|}}} | | limb5 = {{{limb5|}}} | ||
| | | limb1burn = {{{limb1burn|}}} | ||
| | | limb1bleeding = {{{limb1bleeding|}}} | ||
| | | limb1alldamage = {{{limb1alldamage|}}} | ||
| | | limb1internaldamage = {{{limb1internaldamage|}}} | ||
| | | limb1lacerations = {{{limb1lacerations|}}} | ||
| | | limb1bluntforcetrauma = {{{limb1bluntforcetrauma|}}} | ||
| | | limb1deeptissueinjury = {{{limb1deeptissueinjury|}}} | ||
| | | limb1bitewounds = {{{limb1bitewounds|}}} | ||
| | | limb1gunshotwound = {{{limb1gunshotwound|}}} | ||
| | | limb1organdamage = {{{limb1organdamage|}}} | ||
| | | limb2burn = {{{limb2burn|}}} | ||
| | | limb2bleeding = {{{limb2bleeding|}}} | ||
| | | limb2alldamage = {{{limb2alldamage|}}} | ||
| | | limb2internaldamage = {{{limb2internaldamage|}}} | ||
| | | limb2lacerations = {{{limb2lacerations|}}} | ||
| | | limb2bluntforcetrauma = {{{limb2bluntforcetrauma|}}} | ||
| | | limb2deeptissueinjury = {{{limb2deeptissueinjury|}}} | ||
| | | limb2bitewounds = {{{limb2bitewounds|}}} | ||
| | | limb2gunshotwound = {{{limb2gunshotwound|}}} | ||
| | | limb2organdamage = {{{limb2organdamage|}}} | ||
| | | limb3burn = {{{limb3burn|}}} | ||
| | | limb3bleeding = {{{limb3bleeding|}}} | ||
| | | limb3alldamage = {{{limb3alldamage|}}} | ||
| | | limb3internaldamage = {{{limb3internaldamage|}}} | ||
| | | limb3lacerations = {{{limb3lacerations|}}} | ||
| | | limb3bluntforcetrauma = {{{limb3bluntforcetrauma|}}} | ||
| | | limb3deeptissueinjury = {{{limb3deeptissueinjury|}}} | ||
| | | limb3bitewounds = {{{limb3bitewounds|}}} | ||
| | | limb3gunshotwound = {{{limb3gunshotwound|}}} | ||
| | | limb3organdamage = {{{limb3organdamage|}}} | ||
| | | limb4burn = {{{limb4burn|}}} | ||
| | | limb4bleeding = {{{limb4bleeding|}}} | ||
| | | limb4alldamage = {{{limb4alldamage|}}} | ||
| | | limb4internaldamage = {{{limb4internaldamage|}}} | ||
| | | limb4lacerations = {{{limb4lacerations|}}} | ||
| | | limb4bluntforcetrauma = {{{limb4bluntforcetrauma|}}} | ||
| | | limb4deeptissueinjury = {{{limb4deeptissueinjury|}}} | ||
| | | limb4bitewounds = {{{limb4bitewounds|}}} | ||
| | | limb4gunshotwound = {{{limb4gunshotwound|}}} | ||
| | | limb4organdamage = {{{limb4organdamage|}}} | ||
| | | limb5burn = {{{limb5burn|}}} | ||
| | | limb5bleeding = {{{limb5bleeding|}}} | ||
| | | limb5alldamage = {{{limb5alldamage|}}} | ||
| | | limb5internaldamage = {{{limb5internaldamage|}}} | ||
| | | limb5lacerations = {{{limb5lacerations|}}} | ||
| | | limb5bluntforcetrauma = {{{limb5bluntforcetrauma|}}} | ||
| | | limb5deeptissueinjury = {{{limb5deeptissueinjury|}}} | ||
| | | limb5bitewounds = {{{limb5bitewounds|}}} | ||
| | | limb5gunshotwound = {{{limb5gunshotwound|}}} | ||
| | | limb5organdamage = {{{limb5organdamage|}}} | ||
<!-- Attacks --> | <!-- Attacks --> | ||
| attack1 = {{{attack1|}}} | | attack1 = {{{attack1|}}} | ||
Line 293: | Line 293: | ||
| attack4 = {{{attack4|}}} | | attack4 = {{{attack4|}}} | ||
| | | attack1target = {{{attack1target|}}} | ||
| | | attack1structuredamage = {{{attack1structuredamage|}}} | ||
| | | attack1explosionrange = {{{attack1explosionrange|}}} | ||
| | | attack1cooldown = {{{attack1cooldown|}}} | ||
| | | attack1bitewounds = {{{attack1bitewounds|}}} | ||
| | | attack1bitewoundschance = {{{attack1bitewoundschance|}}} | ||
| | | attack1bleeding = {{{attack1bleeding|}}} | ||
| | | attack1bleedingchance = {{{attack1bleedingchance|}}} | ||
| | | attack1stun = {{{attack1stun|}}} | ||
| | | attack1stunchance = {{{attack1stunchance|}}} | ||
| | | attack1huskinfection = {{{attack1huskinfection|}}} | ||
| | | attack1huskinfectionchance = {{{attack1huskinfectionchance|}}} | ||
| | | attack1burn = {{{attack1burn|}}} | ||
| | | attack1burnchance = {{{attack1burnchance|}}} | ||
| | | attack1watchersgaze = {{{attack1watchersgaze|}}} | ||
| | | attack2target = {{{attack2target|}}} | ||
| | | attack2structuredamage = {{{attack2structuredamage|}}} | ||
| | | attack2explosionrange = {{{attack2explosionrange|}}} | ||
| | | attack2cooldown = {{{attack2cooldown|}}} | ||
| | | attack2bitewounds = {{{attack2bitewounds|}}} | ||
| | | attack2bitewoundschance = {{{attack2bitewoundschance|}}} | ||
| | | attack2bleeding = {{{attack2bleeding|}}} | ||
| | | attack2bleedingchance = {{{attack2bleedingchance|}}} | ||
| | | attack2stun = {{{attack2stun|}}} | ||
| | | attack2stunchance = {{{attack2stunchance|}}} | ||
| | | attack2huskinfection = {{{attack2huskinfection|}}} | ||
| | | attack2huskinfectionchance = {{{attack2huskinfectionchance|}}} | ||
| | | attack2burn = {{{attack2burn|}}} | ||
| | | attack2burnchance = {{{attack2burnchance|}}} | ||
| | | attack2watchersgaze = {{{attack2watchersgaze|}}} | ||
| | | attack3target = {{{attack3target|}}} | ||
| | | attack3structuredamage = {{{attack3structuredamage|}}} | ||
| | | attack3explosionrange = {{{attack3explosionrange|}}} | ||
| | | attack3cooldown = {{{attack3cooldown|}}} | ||
| | | attack3bitewounds = {{{attack3bitewounds|}}} | ||
| | | attack3bitewoundschance = {{{attack3bitewoundschance|}}} | ||
| | | attack3bleeding = {{{attack3bleeding|}}} | ||
| | | attack3bleedingchance = {{{attack3bleedingchance|}}} | ||
| | | attack3stun = {{{attack3stun|}}} | ||
| | | attack3stunchance = {{{attack3stunchance|}}} | ||
| | | attack3huskinfection = {{{attack3huskinfection|}}} | ||
| | | attack3huskinfectionchance = {{{attack3huskinfectionchance|}}} | ||
| | | attack3burn = {{{attack3burn|}}} | ||
| | | attack3burnchance = {{{attack3burnchance|}}} | ||
| | | attack3watchersgaze = {{{attack3watchersgaze|}}} | ||
| | | attack4target = {{{attack4target|}}} | ||
| | | attack4structuredamage = {{{attack4structuredamage|}}} | ||
| | | attack4explosionrange = {{{attack4explosionrange|}}} | ||
| | | attack4cooldown = {{{attack4cooldown|}}} | ||
| | | attack4bitewounds = {{{attack4bitewounds|}}} | ||
| | | attack4bitewoundschance = {{{attack4bitewoundschance|}}} | ||
| | | attack4bleeding = {{{attack4bleeding|}}} | ||
| | | attack4bleedingchance = {{{attack4bleedingchance|}}} | ||
| | | attack4stun = {{{attack4stun|}}} | ||
| | | attack4stunchance = {{{attack4stunchance|}}} | ||
| | | attack4huskinfection = {{{attack4huskinfection|}}} | ||
| | | attack4huskinfectionchance = {{{attack4huskinfectionchance|}}} | ||
| | | attack4burn = {{{attack4burn|}}} | ||
| | | attack4burnchance = {{{attack4burnchance|}}} | ||
| | | attack4watchersgaze = {{{attack4watchersgaze|}}} | ||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 22:55, 7 March 2022
This infobox goes on every creature page.
Main
Displayed in the infobox itself
Parameter | Description | Expected value | Notes |
---|---|---|---|
species | ... | String | |
name | ... | String | Default: PAGENAME |
image | PNG of the creature, obtained by using the wikiimage_character Console Commands in the creature editor | File | Default: PAGENAME.png |
imagewidth | ... | Integer | Default: 200px |
hp | HP (vitality) | Integer | Found in Content/Characters/CreatureName/CreatureName.xml, in <health> |
hpvariant | HP (vitality) of the variant if different | Integer | |
variantname | name of the variant (e.g. "Boss" for the Moloch Boss) | String | |
combatstrength | Combat strength (used by AI) | Integer | In the future, this will be used by AI target priorities tables |
swimspeed | ... | Float | Found in Content/Characters/CreatureName/Animations/CreatureNameSwimSlow, -SwimFast |
walkspeed | ... | Float | Found in Content/Characters/CreatureName/Animations/CreatureNameWalk, -Run |
weakpoints | Limb(s) that have lower resistances (higher damage multipliers) | String | Don't include the detailed values here. We used to do it, but now each limb and damage modifier has its own parameter, see the #Damage Modifiers section below |
armorval | Limb(s) that have higher resistances (lower damage multipliers) | String | Don't include the detailed values here. We used to do it, but now each limb and damage modifier has its own parameter, see the #Damage Modifiers section below |
entersub | Can the creature enter the submarine | Boolean (yes/defaults to no) | |
sight | ... | Float | Found in Content/Characters/CreatureName/CreatureName.xml, in <ai> |
hearing | ... | Float | Found in Content/Characters/CreatureName/CreatureName.xml, in <ai> |
sightvariant | Sight of the variant, if different | Float | note |
hearingvariant | Hearing of the variant, if different | Float | note |
behavior | Is the creature agressive vs subs, characters... | String | In the future, an AI target priorities table will cover this in detail Found in Content/Characters/CreatureName/CreatureName.xml, in <ai> |
drops drops2 drops3 |
Items found on the creature's corpse | {{hl|itemname}} x [number if > 1] |
Found in Content/Characters/CreatureName/CreatureName.xml, in <inventory> |
chance chance2 chance3 |
probability for each drop | Integer | Don't include the % sign
|
Damage Modifiers
Displayed in the ==Defense== section of the creature page, using the Damage multipliers template
Parameter | Description | Expected value | Notes |
---|---|---|---|
stunimmunity bleedingimmunity burnimmunity poisonimmunity |
Immunities | Boolean (set to 1 if true, don't specify if false) | Found in Content/Characters/CreatureName/CreatureName.xml, in <health> |
poisonvulnerability empvulnerability |
Vulnerabilities | Float | |
limb1 limb2 limb3 limb4 limb5 |
name of each limb (or group of limbs) that has its own specific damage modifiers | String | Found in Content/Characters/CreatureName/CreatureNameDefaultRagdoll.xml, look for <limb> and then <damagemodifiers> under each limb. If there is no damage modifier, don't include the limb. Group limbs that have the same damage modifiers when possible. Notify 31percent if somehow more than 5 different limb groups are needed. |
limb1[affliction] limb1burn, limb1bleeding, limb1alldamage, limb1internaldamage, limb1lacerations, limb1bluntforcetrauma, limb1deeptissueinjury, limb1bitewounds, limb1gunshotwound, limb1organdamage limb2[affliction] (...) limb5[affliction] |
Each individual limb damage multiplier | Float | For example, if limb3 = Tentacle, and if Tentacle has <damagemodifier (...) afflictiontypes="bleeding" damagemultiplier="0.5" (...) /> , then input limb3bleeding = 0.5
|
limb1minseverancedamage limb2minseverancedamage (...) |
minseverancedamage for that limb | Float | Found in Content/Characters/CreatureName/CreatureNameDefaultRagdoll.xml Multiply that value by 100 to get the % value: if file has minseverancedamage = 0.025 , the value in here should be 2.5Don't include the % sign
|
limb1severanceprobabilitymodifier limb2severanceprobabilitymodifier (...) |
severanceprobabilitymodifier for that limb | Float | Found in Content/Characters/CreatureName/CreatureNameDefaultRagdoll.xml, in <joint>s, at the bottom of the file Multiply that value by 100 to get the % value: if file has severanceprobabilitymodifier = 0.025 , the value in here should be 2.5Don't include the % sign
|
limb1note limb2note (...) |
Additional notes about that limb | String |
Attacks
Displayed in the ==Attacks== section of the creature page, using the Attacks template
Parameter | Description | Expected value | Notes |
---|---|---|---|
attack1 attack2 attack3 attack4 |
Name of each attack | String | Found in Content/Characters/CreatureName/CreatureNameDefaultRagdoll.xml, look for <limb> and then <attack> |
The following also applies to attack2, attack3, and attack4 | |||
attack1target | Target type of attack1 | String (allowed values: character, submarine, any) | |
attack1duration | Float | ||
attack1context | "ground", "water", or "any" | ||
attack1itemdamage | Integer | ||
attack1note | String | ||
attack1penetration | Integer | ||
attack1structuredamage | Integer | ||
attack1explosionrange | Integer | ||
attack1explosionrange2 | only used for the black moloch for now. Appears directly after attack1explosionrange | Wikitext | |
attack1cooldown | Float | ||
attack1bitewounds | Float | ||
attack1bitewoundschance | probability to apply bite wounds | Integer | Don't include the % sign
|
attack1bleeding | Float | ||
attack1bleedingchance | probability to apply bleeding | Integer | Don't include the % sign
|
attack1slowparalysis | Float | ||
attack1slowparalysischance | probability to apply slowparalysis | Integer | Don't include the % sign
|
attack1bloodloss | Float | ||
attack1bloodlosschance | probability to apply bloodloss | Integer | Don't include the % sign
|
attack1stun | Float | ||
attack1stuninside | Stun applied only to character that are inside a submarine | Float | |
attack1stunchance | probability to apply stun | Integer | Don't include the % sign
|
attack1huskinfection | Float | ||
attack1huskinfectionchance | probability to apply husk infection | Integer | Don't include the % sign
|
attack1burn | Float | ||
attack1burnchance | probability to apply burn | Integer | Don't include the % sign
|
attack1watchersgaze | Float | ||
attack1emp | only used for the black moloch for now. | Float | |
attack1gunshotwound | Float | ||
attack1deeptissuedamage | Float |
The above documentation is transcluded from Template:Creatures infobox/doc. (edit | history)
{{#cargodeclare:table=Creatures | identifier = String | name = String | image = File | hp = Integer | sight = Integer | hearing = Integer | walkspeed = String | swimspeed = String | armorval = Wikitext | weakpoints = Wikitext | behavior = String | entersub = Boolean | drops = Wikitext | drops2 = Wikitext | drops3 = Wikitext | chance = Integer | chance2 = Integer | chance3 = Integer
| stunimmunity = Boolean | bleedingimmunity = Boolean | burnimmunity = Boolean | limb1 = String | limb2 = String | limb3 = String | limb4 = String | limb5 = String
| limb1burn = Float | limb1bleeding = Float | limb1alldamage = Float | limb1internaldamage = Float | limb1lacerations = Float | limb1bluntforcetrauma = Float | limb1deeptissueinjury = Float | limb1bitewounds = Float | limb1gunshotwound = Float | limb1organdamage = Float
| limb2burn = Float | limb2bleeding = Float | limb2alldamage = Float | limb2internaldamage = Float | limb2lacerations = Float | limb2bluntforcetrauma = Float | limb2deeptissueinjury = Float | limb2bitewounds = Float | limb2gunshotwound = Float | limb2organdamage = Float
| limb3burn = Float | limb3bleeding = Float | limb3alldamage = Float | limb3internaldamage = Float | limb3lacerations = Float | limb3bluntforcetrauma = Float | limb3deeptissueinjury = Float | limb3bitewounds = Float | limb3gunshotwound = Float | limb3organdamage = Float
| limb4burn = Float | limb4bleeding = Float | limb4alldamage = Float | limb4internaldamage = Float | limb4lacerations = Float | limb4bluntforcetrauma = Float | limb4deeptissueinjury = Float | limb4bitewounds = Float | limb4gunshotwound = Float | limb4organdamage = Float
| limb5burn = Float | limb5bleeding = Float | limb5alldamage = Float | limb5internaldamage = Float | limb5lacerations = Float | limb5bluntforcetrauma = Float | limb5deeptissueinjury = Float | limb5bitewounds = Float | limb5gunshotwound = Float | limb5organdamage = Float | attack1 = String | attack2 = String | attack3 = String | attack4 = String
| attack1target = String(allowed values=character,submarine) | attack1structuredamage = Integer | attack1explosionrange = Integer | attack1cooldown = Float | attack1bitewounds = Float | attack1bitewoundschance = Integer | attack1bleeding = Float | attack1bleedingchance = Integer | attack1stun = Float | attack1stunchance = Integer | attack1huskinfection = Float | attack1huskinfectionchance = Integer | attack1burn = Float | attack1burnchance = Integer | attack1watchersgaze = Float
| attack2target = String(allowed values=character,submarine) | attack2structuredamage = Integer | attack2explosionrange = Integer | attack2cooldown = Float | attack2bitewounds = Float | attack2bitewoundschance = Integer | attack2bleeding = Float | attack2bleedingchance = Integer | attack2stun = Float | attack2stunchance = Integer | attack2huskinfection = Float | attack2huskinfectionchance = Integer | attack2burn = Float | attack2burnchance = Integer | attack2watchersgaze = Float
| attack3target = String(allowed values=character,submarine) | attack3structuredamage = Integer | attack3explosionrange = Integer | attack3cooldown = Float | attack3bitewounds = Float | attack3bitewoundschance = Integer | attack3bleeding = Float | attack3bleedingchance = Integer | attack3stun = Float | attack3stunchance = Integer | attack3huskinfection = Float | attack3huskinfectionchance = Integer | attack3burn = Float | attack3burnchance = Integer | attack3watchersgaze = Float
| attack4target = String(allowed values=character,submarine) | attack4structuredamage = Integer | attack4explosionrange = Integer | attack4cooldown = Float | attack4bitewounds = Float | attack4bitewoundschance = Integer | attack4bleeding = Float | attack4bleedingchance = Integer | attack4stun = Float | attack4stunchance = Integer | attack4huskinfection = Float | attack4huskinfectionchance = Integer | attack4burn = Float | attack4burnchance = Integer | attack4watchersgaze = Float }}