Changes

Jump to navigation Jump to search
1,670 bytes added ,  03:51, 22 March 2022
+ monster ID list
Line 4: Line 4:     
==Raw data==
 
==Raw data==
Monster data is stored in <tt>Content\Data\Monsters.xnb</tt>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference:
+
Monster data is stored in <samp>Content\Data\Monsters.xnb</samp>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference:
    
{{collapse|Data|content=<syntaxhighlight lang="json">
 
{{collapse|Data|content=<syntaxhighlight lang="json">
Line 137: Line 137:  
Note that many of the values stored in the monster data are altered by the game code under specific circumstances. These include being in different parts of the mines, having reached the bottom of the mines, and having a higher combat skill level.
 
Note that many of the values stored in the monster data are altered by the game code under specific circumstances. These include being in different parts of the mines, having reached the bottom of the mines, and having a higher combat skill level.
   −
==Slimes==
+
==Monster-specific notes==
{{main article|Slimes}}
+
===Slime sprites===
 +
[[File:Green Slime Notes.png|right|128px]]
   −
===Sprites===
+
[[Slime]] sprites are entirely modular, with the associated parts spread out across the sprite sheet. Every slime uses the same grey sprite, coloring it with a tint mask based on the type of slime, along with a random transparency value. Row 1 is used for the idle state and normal movement. Rows 2 through 4, while apparently identical, appear unused in most cases (row 2 appears sporadically at the end of certain attacks, but further testing is needed for exact conditions). Row 5 is used for the attack animation.
 
  −
[[File:Green_Slime_Notes.png|right|128px]]
  −
 
  −
Slime sprites are entirely modular, with the associated parts spread out across the sprite sheet. Every slime uses the same grey sprite, coloring it with a tint mask based on the type of slime, along with a random transparency value. Row 1 is used for the idle state and normal movement. Rows 2 through 4, while apparently identical, appear unused in most cases (row 2 appears sporadically at the end of certain attacks, but further testing is needed for exact conditions). Row 5 is used for the attack animation.
      
Area 6 on the sprite sheet contains assets for the "mating ritual" slimes can go through, as well as their death particles. The mating particles (going clockwise) are used for seeking a mate, rejecting a mate, and receiving a rejection.
 
Area 6 on the sprite sheet contains assets for the "mating ritual" slimes can go through, as well as their death particles. The mating particles (going clockwise) are used for seeking a mate, rejecting a mate, and receiving a rejection.
Line 154: Line 151:  
Area 9 is the antenna attached to "special" slimes, and animates in the same way as the "male" antenna. However, this one doesn't use the tint mask, instead using whatever raw color is on the sprite sheet.
 
Area 9 is the antenna attached to "special" slimes, and animates in the same way as the "male" antenna. However, this one doesn't use the tint mask, instead using whatever raw color is on the sprite sheet.
    +
==Monster IDs==
 +
Each monster type has a unique ID (stored in the <samp>Name</samp> field) which can be used to spawn it (e.g. via [[Modding:Console commands|console commands]]), and is used to track kills for the [[Adventurer's Guild]] monster eradication goals. These are the IDs for vanilla monsters:
 +
 +
{| class="wikitable sortable"
 +
|-
 +
! monster
 +
! ID
 +
|-
 +
| [[Bat]]
 +
| <samp>Bat</samp>
 +
|-
 +
| [[Slimes|Big Slime]]
 +
| <samp>BigSlime</samp>
 +
|-
 +
| [[Blue Squid]]
 +
| <samp>Blue Squid</samp>
 +
|-
 +
| [[Bug]]
 +
| <samp>Bug</samp>
 +
|-
 +
| [[Cave Fly]]
 +
| <samp>Fly</samp>
 +
|-
 +
| [[Duggy]]
 +
| <samp>Duggy</samp>
 +
|-
 +
| [[Dust Sprite]]
 +
| <samp>Dust Spirit</samp>
 +
|-
 +
| [[Dwarvish Sentry]]
 +
| <samp>Dwarvish Sentry</samp>
 +
|-
 +
| [[Ghost]]
 +
| <samp>Ghost</samp>
 +
|-
 +
| [[Grub]]
 +
| <samp>Grub</samp>
 +
|-
 +
| [[Lava Crab]]
 +
| <samp>Lava Crab</samp>
 +
|-
 +
| [[Lava Lurk]]
 +
| <samp>Lava Lurk</samp>
 +
|-
 +
| [[Metal Head]]
 +
| <samp>Metal Head</samp>
 +
|-
 +
| [[Mummy]]
 +
| <samp>Mummy</samp>
 +
|-
 +
| [[Pepper Rex]]
 +
| <samp>Pepper Rex</samp>
 +
|-
 +
| [[Rock Crab]]
 +
| <samp>Rock Crab</samp>
 +
|-
 +
| [[Serpent]]
 +
| <samp>Serpent</samp>
 +
|-
 +
| [[Shadow Brute]]
 +
| <samp>Shadow Brute</samp>
 +
|-
 +
| [[Shadow Shaman]]
 +
| <samp>Shadow Shaman</samp>
 +
|-
 +
| [[Shadow Sniper]]
 +
| <samp>Shadow Sniper</samp>
 +
|-
 +
| [[Slimes|Slime]]
 +
| <samp>Green Slime</samp>
 +
|-
 +
| [[Spider]]
 +
| <samp>Spider</samp>
 +
|-
 +
| Spiker
 +
| <samp>Spiker</samp>
 +
|-
 +
| [[Squid Kid]]
 +
| <samp>Squid Kid</samp>
 +
|-
 +
| [[Stone Golem]]
 +
| <samp>Stone Golem</samp>
 +
|-
 +
| [[Wilderness Golem]]
 +
| <samp>Wilderness Golem</samp>
 +
|}
 +
 +
Note that many other monsters are variants of the above (''e.g.'' [[Haunted Skull]] is a variant of [[Bat]]), and have the same ID.
 +
 +
[[ru:Модификации:Монстры]]
 
[[Category:Modding]]
 
[[Category:Modding]]
translators
8,444

edits

Navigation menu