Template:Creatures infobox: Difference between revisions
From Official Barotrauma Wiki
(added bloodloss, only in attack1 right now because only the swarm feeder needs it) |
(added attack#duration, context and itemdamage) |
||
Line 95: | Line 95: | ||
| attack3 = String | | attack3 = String | ||
| attack4 = String | | attack4 = String | ||
| attack5 = String | | attack5 = String | ||
| attack1target = String(allowed values=character,submarine,any) | | attack1target = String(allowed values=character,submarine,any) | ||
Line 126: | Line 126: | ||
| attack1bluntforcetrauma = Float | | attack1bluntforcetrauma = Float | ||
| attack1note = String | | attack1note = String | ||
| attack1duration = Float | |||
| attack1context = String(allowed values=ground,water,any) | |||
| attack1itemdamage = Float | |||
| attack2target = String(allowed values=character,submarine,any) | | attack2target = String(allowed values=character,submarine,any) | ||
Line 154: | Line 157: | ||
| attack2bluntforcetrauma = Float | | attack2bluntforcetrauma = Float | ||
| attack2note = String | | attack2note = String | ||
| attack2duration = Float | |||
| attack2context = String(allowed values=ground,water,any) | |||
| attack2itemdamage = Float | |||
| attack3target = String(allowed values=character,submarine,any) | | attack3target = String(allowed values=character,submarine,any) | ||
Line 182: | Line 188: | ||
| attack3bluntforcetrauma = Float | | attack3bluntforcetrauma = Float | ||
| attack3note = String | | attack3note = String | ||
| attack3duration = Float | |||
| attack3context = String(allowed values=ground,water,any) | |||
| attack3itemdamage = Float | |||
| attack4target = String(allowed values=character,submarine,any) | | attack4target = String(allowed values=character,submarine,any) | ||
Line 210: | Line 219: | ||
| attack4bluntforcetrauma = Float | | attack4bluntforcetrauma = Float | ||
| attack4note = String | | attack4note = String | ||
| attack4duration = Float | |||
| attack4context = String(allowed values=ground,water,any) | |||
| attack4itemdamage = Float | |||
| attack5target = String(allowed values=character,submarine,any) | | attack5target = String(allowed values=character,submarine,any) | ||
| attack5structuredamage = Integer | | attack5structuredamage = Integer | ||
| attack5aoestructuredamage = Integer | | attack5aoestructuredamage = Integer | ||
| attack5explosionrange = Float | | attack5explosionrange = Float | ||
| attack5explosionrange2 = Float | | attack5explosionrange2 = Float | ||
| attack5cooldown = Float | | attack5cooldown = Float | ||
| attack5force = Float | | attack5force = Float | ||
| attack5penetration = Float | | attack5penetration = Float | ||
| attack5bitewounds = Float | | attack5bitewounds = Float | ||
| attack5bitewoundschance = Integer | | attack5bitewoundschance = Integer | ||
| attack5lacerations = Float | | attack5lacerations = Float | ||
| attack5lacerationschance = Integer | | attack5lacerationschance = Integer | ||
| attack5bleeding = Float | | attack5bleeding = Float | ||
| attack5bleedingchance = Integer | | attack5bleedingchance = Integer | ||
| attack5paralysis = Float | | attack5paralysis = Float | ||
| attack5paralysischance = Integer | | attack5paralysischance = Integer | ||
| attack5stun = Float | | attack5stun = Float | ||
| attack5stuninside = Float | | attack5stuninside = Float | ||
| attack5stunchance = Integer | | attack5stunchance = Integer | ||
| attack5huskinfection = Float | | attack5huskinfection = Float | ||
| attack5huskinfectionchance = Integer | | attack5huskinfectionchance = Integer | ||
| attack5burn = Float | | attack5burn = Float | ||
| attack5burnchance = Integer | | attack5burnchance = Integer | ||
| attack5watchersgaze = Float | | attack5watchersgaze = Float | ||
| attack5emp = Float | | attack5emp = Float | ||
| attack5bluntforcetrauma = Float | | attack5bluntforcetrauma = Float | ||
| attack5note = String | | attack5note = String | ||
| attack5duration = Float | |||
| attack5context = String(allowed values=ground,water,any) | |||
| attack5itemdamage = Float | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 383: | Line 398: | ||
| attack3 = {{{attack3|}}} | | attack3 = {{{attack3|}}} | ||
| attack4 = {{{attack4|}}} | | attack4 = {{{attack4|}}} | ||
| attack5 = {{{attack5|}}} | | attack5 = {{{attack5|}}} | ||
| attack1target = {{{attack1target|}}} | | attack1target = {{{attack1target|}}} | ||
Line 414: | Line 429: | ||
| attack1bluntforcetrauma = {{{attack1bluntforcetrauma|}}} | | attack1bluntforcetrauma = {{{attack1bluntforcetrauma|}}} | ||
| attack1note = {{{attack1note|}}} | | attack1note = {{{attack1note|}}} | ||
| attack1duration = {{{attack1duration|}}} | |||
| attack1context = {{{attack1context|}}} | |||
| attack1itemdamage = {{{attack1itemdamage|}}} | |||
| attack2target = {{{attack2target|}}} | | attack2target = {{{attack2target|}}} | ||
Line 442: | Line 460: | ||
| attack2bluntforcetrauma = {{{attack2bluntforcetrauma|}}} | | attack2bluntforcetrauma = {{{attack2bluntforcetrauma|}}} | ||
| attack2note = {{{attack2note|}}} | | attack2note = {{{attack2note|}}} | ||
| attack2duration = {{{attack2duration|}}} | |||
| attack2context = {{{attack2context|}}} | |||
| attack2itemdamage = {{{attack2itemdamage|}}} | |||
| attack3target = {{{attack3target|}}} | | attack3target = {{{attack3target|}}} | ||
Line 470: | Line 491: | ||
| attack3bluntforcetrauma = {{{attack3bluntforcetrauma|}}} | | attack3bluntforcetrauma = {{{attack3bluntforcetrauma|}}} | ||
| attack3note = {{{attack3note|}}} | | attack3note = {{{attack3note|}}} | ||
| attack3duration = {{{attack3duration|}}} | |||
| attack3context = {{{attack3context|}}} | |||
| attack3itemdamage = {{{attack3itemdamage|}}} | |||
| attack4target = {{{attack4target|}}} | | attack4target = {{{attack4target|}}} | ||
Line 498: | Line 522: | ||
| attack4bluntforcetrauma = {{{attack4bluntforcetrauma|}}} | | attack4bluntforcetrauma = {{{attack4bluntforcetrauma|}}} | ||
| attack4note = {{{attack4note|}}} | | attack4note = {{{attack4note|}}} | ||
| attack4duration = {{{attack4duration|}}} | |||
| attack4context = {{{attack4context|}}} | |||
| attack4itemdamage = {{{attack4itemdamage|}}} | |||
| attack5target = {{{attack5target|}}} | | attack5target = {{{attack5target|}}} | ||
| attack5structuredamage = {{{attack5structuredamage|}}} | | attack5structuredamage = {{{attack5structuredamage|}}} | ||
| attack5aoestructuredamage = {{{attack5aoestructuredamage|}}} | | attack5aoestructuredamage = {{{attack5aoestructuredamage|}}} | ||
| attack5explosionrange = {{{attack5explosionrange|}}} | | attack5explosionrange = {{{attack5explosionrange|}}} | ||
| attack5explosionrange2 = {{{attack5explosionrange2|}}} | | attack5explosionrange2 = {{{attack5explosionrange2|}}} | ||
| attack5cooldown = {{{attack5cooldown|}}} | | attack5cooldown = {{{attack5cooldown|}}} | ||
| attack5force = {{{attack5force|}}} | | attack5force = {{{attack5force|}}} | ||
| attack5penetration = {{{attack5penetration|}}} | | attack5penetration = {{{attack5penetration|}}} | ||
| attack5bitewounds = {{{attack5bitewounds|}}} | | attack5bitewounds = {{{attack5bitewounds|}}} | ||
| attack5bitewoundschance = {{{attack5bitewoundschance|}}} | | attack5bitewoundschance = {{{attack5bitewoundschance|}}} | ||
| attack5lacerations = {{{attack5lacerations|}}} | | attack5lacerations = {{{attack5lacerations|}}} | ||
| attack5lacerationschance = {{{attack5lacerationschance|}}} | | attack5lacerationschance = {{{attack5lacerationschance|}}} | ||
| attack5bleeding = {{{attack5bleeding|}}} | | attack5bleeding = {{{attack5bleeding|}}} | ||
| attack5bleedingchance = {{{attack5bleedingchance|}}} | | attack5bleedingchance = {{{attack5bleedingchance|}}} | ||
| attack5paralysis = {{{attack5paralysis|}}} | | attack5paralysis = {{{attack5paralysis|}}} | ||
| attack5paralysischance = {{{attack5paralysischance|}}} | | attack5paralysischance = {{{attack5paralysischance|}}} | ||
| attack5stun = {{{attack5stun|}}} | | attack5stun = {{{attack5stun|}}} | ||
| attack5stuninside = {{{attack5stuninside|}}} | | attack5stuninside = {{{attack5stuninside|}}} | ||
| attack5stunchance = {{{attack5stunchance|}}} | | attack5stunchance = {{{attack5stunchance|}}} | ||
| attack5huskinfection = {{{attack5huskinfection|}}} | | attack5huskinfection = {{{attack5huskinfection|}}} | ||
| attack5huskinfectionchance = {{{attack5huskinfectionchance|}}} | | attack5huskinfectionchance = {{{attack5huskinfectionchance|}}} | ||
| attack5burn = {{{attack5burn|}}} | | attack5burn = {{{attack5burn|}}} | ||
| attack5burnchance = {{{attack5burnchance|}}} | | attack5burnchance = {{{attack5burnchance|}}} | ||
| attack5watchersgaze = {{{attack5watchersgaze|}}} | | attack5watchersgaze = {{{attack5watchersgaze|}}} | ||
| attack5emp = {{{attack5emp|}}} | | attack5emp = {{{attack5emp|}}} | ||
| attack5bluntforcetrauma = {{{attack5bluntforcetrauma|}}} | | attack5bluntforcetrauma = {{{attack5bluntforcetrauma|}}} | ||
| attack5note = {{{attack5note|}}} | | attack5note = {{{attack5note|}}} | ||
| attack5duration = {{{attack5duration|}}} | |||
| attack5context = {{{attack5context|}}} | |||
| attack5itemdamage = {{{attack5itemdamage|}}} | |||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 15:05, 9 June 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)
This template defines the table "Creatures". View table.