Template:Creatures infobox: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{clr}}{{doc}}[[Category:Templates]][[Category:Cargo Declaration Templates]][[Category:Cargo Storage Templates]][[Infobox Templates]] | <noinclude>{{clr}}{{doc}}[[Category:Templates]][[Category:Cargo Declaration Templates]][[Category:Cargo Storage Templates]][[Category:Infobox Templates]] | ||
{{#cargo_declare:_table=Creatures | {{#cargo_declare:_table=Creatures | ||
| species = String | | species = String | ||
Line 18: | Line 18: | ||
| armorval = Wikitext | | armorval = Wikitext | ||
| weakpoints = Wikitext | | weakpoints = Wikitext | ||
| behavior = | | behavior = Wikitext | ||
| entersub = Boolean | | entersub = Boolean | ||
| drops = Wikitext | | drops = Wikitext | ||
Line 33: | Line 33: | ||
| burnimmunity = Boolean | | burnimmunity = Boolean | ||
| poisonimmunity = Boolean | | poisonimmunity = Boolean | ||
| empvulnerability = Boolean | |||
| poisonvulnerability = Float | | poisonvulnerability = Float | ||
<!-- Limbs --> | <!-- Limbs --> | ||
| limb1 = String | | limb1 = String | ||
Line 43: | Line 43: | ||
| limb5 = String | | limb5 = String | ||
| limb1resistances = Wikitext String | |||
| limb1burn = Float | | limb1burn = Float | ||
| limb1bleeding = Float | | limb1bleeding = Float | ||
Line 57: | Line 58: | ||
| limb1note = Wikitext | | limb1note = Wikitext | ||
| limb2resistances = Wikitext String | |||
| limb2burn = Float | | limb2burn = Float | ||
| limb2bleeding = Float | | limb2bleeding = Float | ||
Line 71: | Line 73: | ||
| limb2note = Wikitext | | limb2note = Wikitext | ||
| limb3resistances = Wikitext String | |||
| limb3burn = Float | | limb3burn = Float | ||
| limb3bleeding = Float | | limb3bleeding = Float | ||
Line 85: | Line 88: | ||
| limb3note = Wikitext | | limb3note = Wikitext | ||
| limb4resistances = Wikitext String | |||
| limb4burn = Float | | limb4burn = Float | ||
| limb4bleeding = Float | | limb4bleeding = Float | ||
Line 99: | Line 103: | ||
| limb4note = Wikitext | | limb4note = Wikitext | ||
| limb5resistances = Wikitext String | |||
| limb5burn = Float | | limb5burn = Float | ||
| limb5bleeding = Float | | limb5bleeding = Float | ||
Line 119: | Line 124: | ||
| attack5 = String | | attack5 = String | ||
| attack1afflictions = Wikitext String | |||
| attack1explosionafflictions = Wikitext String | |||
| attack1target = String(allowed values=character,submarine,any) | | attack1target = String(allowed values=character,submarine,any) | ||
| attack1projectiles = Integer | | attack1projectiles = Integer | ||
Line 158: | Line 165: | ||
| attack1deeptissueinjury = Float | | attack1deeptissueinjury = Float | ||
| attack2afflictions = Wikitext String | |||
| attack2explosionafflictions = Wikitext String | |||
| attack2target = String(allowed values=character,submarine,any) | | attack2target = String(allowed values=character,submarine,any) | ||
| attack2projectiles = Integer | | attack2projectiles = Integer | ||
Line 197: | Line 206: | ||
| attack2deeptissueinjury = Float | | attack2deeptissueinjury = Float | ||
| attack3afflictions = Wikitext String | |||
| attack3explosionafflictions = Wikitext String | |||
| attack3target = String(allowed values=character,submarine,any) | | attack3target = String(allowed values=character,submarine,any) | ||
| attack3projectiles = Integer | | attack3projectiles = Integer | ||
Line 234: | Line 245: | ||
| attack3deeptissueinjury = Float | | attack3deeptissueinjury = Float | ||
| attack4afflictions = Wikitext String | |||
| attack4explosionafflictions = Wikitext String | |||
| attack4target = String(allowed values=character,submarine,any) | | attack4target = String(allowed values=character,submarine,any) | ||
| attack4projectiles = Integer | | attack4projectiles = Integer | ||
Line 269: | Line 282: | ||
| attack4itemdamage = Float | | attack4itemdamage = Float | ||
| attack4gunshotwound = Float | | attack4gunshotwound = Float | ||
| attack4deeptissueinjury = Float | | attack4deeptissueinjury = Float | ||
| attack5afflictions = Wikitext String | |||
| attack5explosionafflictions = Wikitext String | |||
| attack5target = String(allowed values=character,submarine,any) | | attack5target = String(allowed values=character,submarine,any) | ||
| attack5projectiles = Integer | | attack5projectiles = Integer | ||
Line 416: | Line 431: | ||
| limb5 = {{{limb5|}}} | | limb5 = {{{limb5|}}} | ||
| limb1resistances = {{{limb1resistances|}}} | |||
| limb1burn = {{{limb1burn|}}} | | limb1burn = {{{limb1burn|}}} | ||
| limb1bleeding = {{{limb1bleeding|}}} | | limb1bleeding = {{{limb1bleeding|}}} | ||
Line 430: | Line 446: | ||
| limb1note = {{{limb1note|}}} | | limb1note = {{{limb1note|}}} | ||
| limb2resistances = {{{limb2resistances|}}} | |||
| limb2burn = {{{limb2burn|}}} | | limb2burn = {{{limb2burn|}}} | ||
| limb2bleeding = {{{limb2bleeding|}}} | | limb2bleeding = {{{limb2bleeding|}}} | ||
Line 444: | Line 461: | ||
| limb2note = {{{limb2note|}}} | | limb2note = {{{limb2note|}}} | ||
| limb3resistances = {{{limb3resistances|}}} | |||
| limb3burn = {{{limb3burn|}}} | | limb3burn = {{{limb3burn|}}} | ||
| limb3bleeding = {{{limb3bleeding|}}} | | limb3bleeding = {{{limb3bleeding|}}} | ||
Line 458: | Line 476: | ||
| limb3note = {{{limb3note|}}} | | limb3note = {{{limb3note|}}} | ||
| limb4resistances = {{{limb4resistances|}}} | |||
| limb4burn = {{{limb4burn|}}} | | limb4burn = {{{limb4burn|}}} | ||
| limb4bleeding = {{{limb4bleeding|}}} | | limb4bleeding = {{{limb4bleeding|}}} | ||
Line 472: | Line 491: | ||
| limb4note = {{{limb4note|}}} | | limb4note = {{{limb4note|}}} | ||
| limb5resistances = {{{limb5resistances|}}} | |||
| limb5burn = {{{limb5burn|}}} | | limb5burn = {{{limb5burn|}}} | ||
| limb5bleeding = {{{limb5bleeding|}}} | | limb5bleeding = {{{limb5bleeding|}}} | ||
Line 492: | Line 512: | ||
| attack5 = {{{attack5|}}} | | attack5 = {{{attack5|}}} | ||
| attack1afflictions = {{{attack1afflictions|}}} | |||
| attack1explosionafflictions = {{{attack1explosionafflictions|}}} | |||
| attack1target = {{{attack1target|}}} | | attack1target = {{{attack1target|}}} | ||
| attack1projectiles = {{{attack1projectiles|}}} | | attack1projectiles = {{{attack1projectiles|}}} | ||
Line 530: | Line 552: | ||
| attack1gunshotwound = {{{attack1gunshotwound|}}} | | attack1gunshotwound = {{{attack1gunshotwound|}}} | ||
| attack1deeptissueinjury = {{{attack1deeptissueinjury|}}} | | attack1deeptissueinjury = {{{attack1deeptissueinjury|}}} | ||
| attack2afflictions = {{{attack2afflictions|}}} | |||
| attack2explosionafflictions = {{{attack2explosionafflictions|}}} | |||
| attack2target = {{{attack2target|}}} | | attack2target = {{{attack2target|}}} | ||
| attack2projectiles = {{{attack2projectiles|}}} | | attack2projectiles = {{{attack2projectiles|}}} | ||
Line 574: | Line 593: | ||
| attack2gunshotwound = {{{attack2gunshotwound|}}} | | attack2gunshotwound = {{{attack2gunshotwound|}}} | ||
| attack2deeptissueinjury = {{{attack2deeptissueinjury|}}} | | attack2deeptissueinjury = {{{attack2deeptissueinjury|}}} | ||
| attack3afflictions = {{{attack3afflictions|}}} | |||
| attack3explosionafflictions = {{{attack3explosionafflictions|}}} | |||
| attack3target = {{{attack3target|}}} | | attack3target = {{{attack3target|}}} | ||
| attack3projectiles = {{{attack3projectiles|}}} | | attack3projectiles = {{{attack3projectiles|}}} | ||
Line 616: | Line 632: | ||
| attack3gunshotwound = {{{attack3gunshotwound|}}} | | attack3gunshotwound = {{{attack3gunshotwound|}}} | ||
| attack3deeptissueinjury = {{{attack3deeptissueinjury|}}} | | attack3deeptissueinjury = {{{attack3deeptissueinjury|}}} | ||
| attack4afflictions = {{{attack4afflictions|}}} | |||
| attack4explosionafflictions = {{{attack4explosionafflictions|}}} | |||
| attack4target = {{{attack4target|}}} | | attack4target = {{{attack4target|}}} | ||
| attack4projectiles = {{{attack4projectiles|}}} | | attack4projectiles = {{{attack4projectiles|}}} | ||
Line 658: | Line 671: | ||
| attack4gunshotwound = {{{attack4gunshotwound|}}} | | attack4gunshotwound = {{{attack4gunshotwound|}}} | ||
| attack4deeptissueinjury = {{{attack4deeptissueinjury|}}} | | attack4deeptissueinjury = {{{attack4deeptissueinjury|}}} | ||
| attack5afflictions = {{{attack5afflictions|}}} | |||
| attack5explosionafflictions = {{{attack5explosionafflictions|}}} | |||
| attack5target = {{{attack5target|}}} | | attack5target = {{{attack5target|}}} | ||
| attack5projectiles = {{{attack5projectiles|}}} | | attack5projectiles = {{{attack5projectiles|}}} | ||
Line 700: | Line 710: | ||
| attack5gunshotwound = {{{attack5gunshotwound|}}} | | attack5gunshotwound = {{{attack5gunshotwound|}}} | ||
| attack5deeptissueinjury = {{{attack5deeptissueinjury|}}} | | attack5deeptissueinjury = {{{attack5deeptissueinjury|}}} | ||
}}}} | }}}} | ||
</includeonly> | </includeonly> |
Latest revision as of 07:09, 3 January 2024
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)
This template defines the table "Creatures". View table.