Author Topic: The Minor JSON Questions Thread  (Read 5273 times)

Offline Taberone

  • NPC
  • **
  • Posts: 162
    • View Profile
Re: The Minor JSON Questions Thread
« Reply #120 on: September 05, 2017, 03:41:38 PM »
What about default_faction and species? Thinking of adding in a Touhou character as an enemy.

EDIT: Nevermind, I found it. Monster_factions.json and species.json. Going to experiment with those to fit what I have in mind, since it probably won't fit into any existing factions and I'm not sure about setting it to "humans", since the character I was going to add isn't technically human. On a side note, I've noticed that no monster seems to use "human" as the default faction.
« Last Edit: September 05, 2017, 03:51:45 PM by Taberone »
Something like 15:00-18:00 is good time to kill the children
This is art right here

Offline pisskop

  • Survivor
  • ***
  • Posts: 3494
  • So Noble he farts Helium
    • View Profile
Re: The Minor JSON Questions Thread
« Reply #121 on: September 05, 2017, 03:55:18 PM »
'human' is meant to be player/npc.  its likely that the 'human' flag and the npcs themselves obsoleted that species.

Offline harison86

  • Zombie Food
  • *
  • Posts: 48
  • God of Mutagen
    • View Profile
Re: The Minor JSON Questions Thread
« Reply #122 on: September 16, 2017, 12:38:38 AM »
Trying to make a balancing mod, wanted to adjust the stats of various armors but when I looked at the json I realized it didn't work quite like what I anticipated. Is there a way to adjust the bashing and cutting protection stats of armor directly in the json, or do I just have to work with "material_thickness" of the armor and the properties of the materials in the materials json? And how is bashing and cutting protection for armor calculated?
« Last Edit: September 16, 2017, 01:10:50 AM by harison86 »
Jackhammers are better than stethoscopes.

Profile pic by John Candlebury

Offline pisskop

  • Survivor
  • ***
  • Posts: 3494
  • So Noble he farts Helium
    • View Profile
Re: The Minor JSON Questions Thread
« Reply #123 on: September 16, 2017, 01:32:35 AM »
- Materials.json contains the 'raw' values for the matierials of the game.  Things like cutting, bashing, acid, and fire protections.
- The material thickness stat takes all the listed values for an armor and averages them and multiplies that number by the whole value of the mat_thick.
-  idk if you can double up on materials, i.e. [iron, iron, steel] without an error.

Offline DeWolf

  • Survivor
  • ***
  • Posts: 783
  • STAY AWAY FROM MY PRETZELS
    • View Profile
Re: The Minor JSON Questions Thread
« Reply #124 on: September 16, 2017, 05:49:14 PM »
- Materials.json contains the 'raw' values for the matierials of the game.  Things like cutting, bashing, acid, and fire protections.
- The material thickness stat takes all the listed values for an armor and averages them and multiplies that number by the whole value of the mat_thick.
-  idk if you can double up on materials, i.e. [iron, iron, steel] without an error.
My question would be why would you want to double up on a material if it is average protection based.