Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 82 83 [84] 85 86 ... 137

Author Topic: [MODDING] 0.43.x QUESTIONS THREAD  (Read 201807 times)

FantasticDorf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1245 on: July 22, 2016, 11:29:35 am »

Welp I'm clearly out of my league here.... like incredibly
Well we're all here to help each other and learn. Everyone was in your position once, im still sort of considered a noob in areas of this forum when it comes to modding (unflatteringly, i buzz around the masterwork mod part of the forum commenting usually silly things, its only really recently i got a grasp as to how DFhack even works)

Teaching yourself by trying and (sometimes) failing is the best way to learn, give us all a shout out here or on another thread and we can point you in the right direction.
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1246 on: July 22, 2016, 07:42:29 pm »

Okay, so I was just getting back into modding, and I'd like to make some custom buildings. Can someone link me a download to that tool that lets you create buildings from scratch and convert them to raws?

EDIT: Nevermind, I was looking in the wrong section. Found it.

Second EDIT: With the Workshop Creator 1.1, how could I make it so I see it in Ironhand graphics?
« Last Edit: July 22, 2016, 07:54:56 pm by StagnantSoul »
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1247 on: July 23, 2016, 06:18:55 am »

Hey, was just wondering what these errors meant, and how I could fix them.

*** Error(s) finalizing the creature DRACONIAN
undefined local creature material set to default: DRACONIAN HAIR
undefined local creature material set to default: DRACONIAN SKIN
undefined local creature material set to default: DRACONIAN EGG_YOLK
undefined local creature material set to default: DRACONIAN EGG_WHITE
undefined local creature material set to default: DRACONIAN EGGSHELL
*** Error(s) finalizing the creature VENOMOUS_DRAGON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON
undefined local creature material set to default: VENOMOUS_DRAGON POISON


Here's the raws for the offending creatures.

Spoiler (click to show/hide)
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

ZM5

  • Bay Watcher
  • Accomplished RAW Engineer
    • View Profile
    • Steam
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1248 on: July 23, 2016, 06:50:16 am »

For the Venomous Dragon - it's bite attack injects POISON but you only defined VENOM.

For the Draconians - I'm not exactly sure but you should define the egg materials before the LAYS_EGGS token.

FantasticDorf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1249 on: July 23, 2016, 07:13:58 am »

First of all don't quote your coding please in future, its very challenging to go through all of it, instead use the little icon in the posting screen with (#) to convert it to coding format which is easier to read and provides a scrollbar.

Initially id check that all the materials you reference to use, you actually have inside your 'material_template_default' so you aren't quoting to source all your materials from things you haven't defined/dont exist. Most materials usage in creatures within in the game come off the same template universally but are edited on the actual creature raw for special properties.

> Also overuse of [SELECT CASTE] where its unnessecary, as your many draconian castes are untidily arranged and its easy to lose track of who does what. If you have females and males of the same caste, they should be seperately defined so you can just add egg values to the females without having to backtrack.

You can select particular materials to have certain properties without having to attach a explicit exclamation of defining new creature venom materials simplifying things immensely. For example your draconian rogue spit can be made venomous anyway without having to attach explicit venom to it by making draconian's immune so they don't die to their own spit (but since your rogue uses it as a attack trigger rather than a negative reaction trigger *which might cause problems in negotiations for escalating violence* it's different enough to use.)

Just select the material and attach your syndromic local creature mat to it.

Code: ( for example the existing dragon code and how to 'select' specific materials to have material properties, this stops dragons internally and externally igniting) [Select]
[SELECT_MATERIAL:ALL]
[MULTIPLY_VALUE:15]
[COLDDAM_POINT:NONE]
[HEATDAM_POINT:NONE]
[IGNITE_POINT:NONE]
[IF_EXISTS_SET_MELTING_POINT:55000]
[IF_EXISTS_SET_BOILING_POINT:57000]
[SPEC_HEAT:30000]
Need to make sure blood and pus aren't solid at regular temperatures.
[SELECT_MATERIAL:BLOOD]
[PLUS_MATERIAL:PUS]
[MELTING_POINT:10000]
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1250 on: July 23, 2016, 10:52:46 am »

Fixed the problems I was having with lots of keyboard smash and comparing to my creations that worked. Thanks for the corrections on what I had wrong, the problem with the eggs was I had it set to leathery eggs and then told it to be normal eggs.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

Teneb

  • Bay Watcher
  • (they/them) Penguin rebellion
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1251 on: July 23, 2016, 03:29:17 pm »

Anyone knows if having multiple classes on ammunition works? Or weapons having multiple RANGED:<SKILL>:<AMMO CLASS>?
Logged
Monstrous Manual: D&D in DF
Quote from: Tack
What if “slammed in the ass by dead philosophers” is actually the thing which will progress our culture to the next step?

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1252 on: July 23, 2016, 03:40:46 pm »

Just tested it:

When using multiple RANGED tokens on a weapon, it only uses the last one defined. So a crossbow in the raws that uses bolts, then arrows, can only fire arrows.

Same story for ammo; the last class defined overwrites the previous ones.



Little question; anyone know what the color codes for night creatures are again? I know ghosts are white, vampires red etc from what's in the game currently, but I was wondering if anyone still remembers the full list. Like, what's Ń in black? as opposed to ń, which I know is for bogeymen. Big bogeymen? What about somebody who's been cursed, not to be a vampire or a werebeast but to suffer bad luck or constant pain?
« Last Edit: July 23, 2016, 03:46:17 pm by Eric Blank »
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

Teneb

  • Bay Watcher
  • (they/them) Penguin rebellion
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1253 on: July 23, 2016, 03:42:12 pm »

Just tested it:

When using multiple RANGED tokens on a weapon, it only uses the last one defined. So a crossbow in the raws that uses bolts, then arrows, can only fire arrows.

Same story for ammo; the last class defined overwrites the previous ones.
Bummer. Oh well. Thanks, Eric.
Logged
Monstrous Manual: D&D in DF
Quote from: Tack
What if “slammed in the ass by dead philosophers” is actually the thing which will progress our culture to the next step?

Nahere

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1254 on: July 23, 2016, 05:32:27 pm »

Little question; anyone know what the color codes for night creatures are again? I know ghosts are white, vampires red etc from what's in the game currently, but I was wondering if anyone still remembers the full list. Like, what's Ń in black? as opposed to ń, which I know is for bogeymen. Big bogeymen? What about somebody who's been cursed, not to be a vampire or a werebeast but to suffer bad luck or constant pain?
The wiki has a list of current and planned ones here.
Logged

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1255 on: July 23, 2016, 06:01:07 pm »

Shit, thanks man! I was just searching the forums :P


also, Toady has set aside a class for animated furniture. This is awesome.
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1256 on: July 23, 2016, 07:05:09 pm »

I'm guessing there's some hidden DF rule stopping this advanced cave civ from showing up or letting me control one in adventure mode?

Code: [Select]
[ENTITY:THE_DRAGONKIN]
[LAYER_LINKED]
[CREATURE:DRAGONKIN]
[USE_ANY_PET_RACE]
[INDOOR_WOOD]
[INDIV_CONTROLLABLE]
[USE_CAVE_ANIMALS]
[USE_ANIMAL_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[FRIENDLY_COLOR:1:0:1]
[DIGGER:ITEM_WEAPON_PICK]
[WEAPON:ITEM_WEAPON_WHIP]
[WEAPON:ITEM_WEAPON_SPEAR]
[WEAPON:ITEM_WEAPON_MACE]
[WEAPON:ITEM_WEAPON_BOW]
[AMMO:ITEM_AMMO_ARROWS]
[WEAPON:ITEM_WEAPON_SWORD_2H]
[WEAPON:ITEM_WEAPON_MAUL]
[WEAPON:ITEM_WEAPON_AXE_GREAT]
[WEAPON:ITEM_WEAPON_FLAIL]
[WEAPON:ITEM_WEAPON_MORNINGSTAR]
[ARMOR:ITEM_ARMOR_LEATHER:COMMON]
[ARMOR:ITEM_ARMOR_COAT:COMMON]
[ARMOR:ITEM_ARMOR_SHIRT:COMMON]
[ARMOR:ITEM_ARMOR_CLOAK:COMMON]
[ARMOR:ITEM_ARMOR_TUNIC:COMMON]
[ARMOR:ITEM_ARMOR_TOGA:UNCOMMON]
[ARMOR:ITEM_ARMOR_CAPE:COMMON]
[ARMOR:ITEM_ARMOR_VEST:COMMON]
[ARMOR:ITEM_ARMOR_DRESS:COMMON]
[ARMOR:ITEM_ARMOR_ROBE:COMMON]
[HELM:ITEM_HELM_CAP:COMMON]
[HELM:ITEM_HELM_HOOD:COMMON]
[HELM:ITEM_HELM_TURBAN:UNCOMMON]
[HELM:ITEM_HELM_MASK:RARE]
[HELM:ITEM_HELM_VEIL_HEAD:UNCOMMON]
[HELM:ITEM_HELM_VEIL_FACE:RARE]
[HELM:ITEM_HELM_SCARF_HEAD:UNCOMMON]
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]
[GLOVES:ITEM_GLOVES_MITTENS:COMMON]
[SHOES:ITEM_SHOES_SHOES:COMMON]
[SHOES:ITEM_SHOES_BOOTS:COMMON]
[SHOES:ITEM_SHOES_SANDAL:COMMON]
[SHOES:ITEM_SHOES_CHAUSSE:UNCOMMON]
[SHOES:ITEM_SHOES_SOCKS:COMMON]
[PANTS:ITEM_PANTS_PANTS:COMMON]
[PANTS:ITEM_PANTS_LEGGINGS:COMMON]
[PANTS:ITEM_PANTS_LOINCLOTH:COMMON]
[PANTS:ITEM_PANTS_THONG:UNCOMMON]
[PANTS:ITEM_PANTS_SKIRT:COMMON]
[PANTS:ITEM_PANTS_SKIRT_SHORT:COMMON]
[PANTS:ITEM_PANTS_SKIRT_LONG:COMMON]
[PANTS:ITEM_PANTS_BRAIES:UNCOMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
[SHIELD:ITEM_SHIELD_BUCKLER]
[MAX_STARTING_CIV_NUMBER:100]
[MAX_POP_NUMBER:10000]
[MAX_SITE_POP_NUMBER:120]
[PERMITTED_JOB:CARPENTER]
[PERMITTED_JOB:WOODCUTTER]
[PERMITTED_JOB:ANIMAL_CARETAKER]
[PERMITTED_JOB:ANIMAL_TRAINER]
[PERMITTED_JOB:HUNTER]
[PERMITTED_JOB:WOODCRAFTER]
[PERMITTED_JOB:LEATHERWORKER]
[PERMITTED_JOB:BONE_CARVER]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:FURNACE_OPERATOR]
[PERMITTED_JOB:WEAPONSMITH]
[PERMITTED_JOB:ARMORER]
[PERMITTED_JOB:COOK]
[PERMITTED_JOB:WEAVER]
[PERMITTED_JOB:CLOTHIER]
[PERMITTED_JOB:BUTCHER]
[PERMITTED_JOB:TANNER]
[PERMITTED_JOB:MINER]
[PERMITTED_REACTION:TAN_A_HIDE]
[PERMITTED_REACTION:BRONZE_MAKING]
[ETHIC:KILL_ENTITY_MEMBER:JUSTIFIED_IF_GOOD_REASON]
[ETHIC:KILL_NEUTRAL:JUSTIFIED_IF_NO_REPERCUSSIONS]
[ETHIC:KILL_ENEMY:ACCEPTABLE]
[ETHIC:KILL_ANIMAL:ACCEPTABLE]
[ETHIC:KILL_PLANT:ACCEPTABLE]
[ETHIC:TORTURE_AS_EXAMPLE:ACCEPTABLE]
[ETHIC:TORTURE_FOR_INFORMATION:ACCEPTABLE]
[ETHIC:TORTURE_FOR_FUN:ACCEPTABLE]
[ETHIC:TORTURE_ANIMALS:ACCEPTABLE]
[ETHIC:TREASON:JUSTIFIED_IF_GOOD_REASON]
[ETHIC:OATH_BREAKING:PUNISH_CAPITAL]
[ETHIC:LYING:PERSONAL_MATTER]
[ETHIC:VANDALISM:PUNISH_SERIOUS]
[ETHIC:TRESPASSING:ACCEPTABLE]
[ETHIC:THEFT:PUNISH_CAPITAL]
[ETHIC:ASSAULT:PUNISH_SERIOUS]
[ETHIC:SLAVERY:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_OTHER:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[VALUE:LAW:10]
[VALUE:LOYALTY:5]
[VALUE:FAMILY:10]
[VALUE:FRIENDSHIP:5]
[VALUE:POWER:30]
[VALUE:TRUTH:5]
[VALUE:CUNNING:5]
[VALUE:ELOQUENCE:5]
[VALUE:FAIRNESS:15]
[VALUE:DECORUM:0]
[VALUE:TRADITION:30]
[VALUE:ARTWORK:10]
[VALUE:COOPERATION:15]
[VALUE:INDEPENDENCE:5]
[VALUE:STOICISM:30]
[VALUE:INTROSPECTION:0]
[VALUE:SELF_CONTROL:15]
[VALUE:TRANQUILITY:5]
[VALUE:HARMONY:10]
[VALUE:MERRIMENT:5]
[VALUE:CRAFTSMANSHIP:30]
[VALUE:MARTIAL_PROWESS:30]
[VALUE:SKILL:15]
[VALUE:HARD_WORK:5]
[VALUE:SACRIFICE:10]
[VALUE:COMPETITION:10]
[VALUE:PERSEVERANCE:5]
[VALUE:LEISURE_TIME:5]
[VALUE:COMMERCE:15]
[VALUE:ROMANCE:5]
[VALUE:NATURE:30]
[VALUE:PEACE:0]
[AMBUSHER]
[STONE_SHAPE:OVAL_CABOCHON]
[GEM_SHAPE:OVAL_CABOCHON]
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1257 on: July 23, 2016, 07:46:01 pm »

I'm guessing there's some hidden DF rule stopping this advanced cave civ from showing up or letting me control one in adventure mode?

Make sure the dragonkin as a creature have biome and cavern layers set in their definition. The entity itself looks alright, but it places layer_linked civs based on the biome and layer info of the creature.

It might not be possible to play as an adventurer of those underground civs, actually. They're set up weird.
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1258 on: July 23, 2016, 07:50:56 pm »

I'm guessing there's some hidden DF rule stopping this advanced cave civ from showing up or letting me control one in adventure mode?

Make sure the dragonkin as a creature have biome and cavern layers set in their definition. The entity itself looks alright, but it places layer_linked civs based on the biome and layer info of the creature.

It might not be possible to play as an adventurer of those underground civs, actually. They're set up weird.

Oh okay, I thought the layer-linked replaced that, I'll fix that. I was getting worried when I couldn't find them in legends mode.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1259 on: July 24, 2016, 12:50:55 am »

Hey, I was planning on making the graphics for my Draconian race, and I was wondering what program someone suggests for it? All I have at my disposal is Paint, which I know won't work.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.
Pages: 1 ... 82 83 [84] 85 86 ... 137