Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 [4] 5 6 ... 120

Author Topic: [MODDING] 0.44.x GENERAL MODDING QUESTIONS THREAD - NOW IN ALLCAPS EDITION  (Read 189175 times)

Jazz Cat

  • Bay Watcher
  • Adept stringed instrumentalist
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #45 on: December 04, 2017, 12:51:08 am »

How do I get my new clothing to stockpile correctly? My dwarves are just letting it sit there.

Raw for the clothing:
Spoiler (click to show/hide)

Raw for the material it's being made out of:
Spoiler (click to show/hide)

Logged
Give your dwarves a pet
My holiday mod (only offensive to elves)
The check-laundry script

Quote
Just give the Crossbow weapon the [AMMO:CROSSBOW] tag in the raws. You can make a crossbow that shoots crossbows.

Delta1152$

  • Escaped Lunatic
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #46 on: December 04, 2017, 01:21:20 am »

I'm trying to make a custom ammo from a custom material, but in Arena I'm only getting ammo of every other material, wood, iron, everything else. when I search for the custom ammo.  I think the [REACTION_CLASS:HEX] tag isn't doing anything.

My code.
Spoiler (click to show/hide)
Logged

se05239

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #47 on: December 04, 2017, 06:45:26 am »

So here's a modding question.

What would I need to do in order for a "Priest" position to become available? So far it seems only Humans and Elves got priests but I cannot find any raw text anywhere to study..
Logged

Urlance Woolsbane

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #48 on: December 04, 2017, 07:29:54 am »

So here's a modding question.

What would I need to do in order for a "Priest" position to become available? So far it seems only Humans and Elves got priests but I cannot find any raw text anywhere to study..
Elves have druids, which use the following tags:
Code: [Select]
[POSITION:DRUID]
[NAME:druid:druids]
[NUMBER:1]
[RESPONSIBILITY:RELIGION]
[SUCCESSION:BY_POSITION:ACOLYTE]
[MENIAL_WORK_EXEMPTION]
[PUNISHMENT_EXEMPTION]
[ELECTED]
[DETERMINES_COIN_DESIGN]
[PRECEDENCE:1]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[COLOR:2:0:1]
[DUTY_BOUND]

Human priests are not defined in the raws. I think they're a consequence of having towns, but I'm not 100% certain.
Logged
"Hey papa, your dandruff is melting my skin. Is that normal?"
"SKREEEONK!!!"
"Yes, daddy."

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #49 on: December 04, 2017, 07:33:05 am »

Priests are one of those generated-as-we-go positions, like town lords and robber leaders. Whatever little there is to study is hidden inside the executable, I'm afraid.
Logged

se05239

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #50 on: December 04, 2017, 07:45:03 am »

So here's a modding question.

What would I need to do in order for a "Priest" position to become available? So far it seems only Humans and Elves got priests but I cannot find any raw text anywhere to study..
Elves have druids, which use the following tags:
Code: [Select]
[POSITION:DRUID]
[NAME:druid:druids]
[NUMBER:1]
[RESPONSIBILITY:RELIGION]
[SUCCESSION:BY_POSITION:ACOLYTE]
[MENIAL_WORK_EXEMPTION]
[PUNISHMENT_EXEMPTION]
[ELECTED]
[DETERMINES_COIN_DESIGN]
[PRECEDENCE:1]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[COLOR:2:0:1]
[DUTY_BOUND]

Human priests are not defined in the raws. I think they're a consequence of having towns, but I'm not 100% certain.

Hm, okay. I wonder how it'd work with the dwarves, consider they have multiple gods. How would a priest function in Fortress Mode? Anyone tried?
Logged

FantasticDorf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #51 on: December 04, 2017, 10:29:20 am »

Priests immediately cause crashes, they are not a realized profession and the only place where i've see [RESPONSIBILITY:RELIGION] else work without crashing the entire worldgen is in elf druids.
Logged

se05239

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #52 on: December 04, 2017, 12:21:39 pm »

..darn.
Logged

Jazz Cat

  • Bay Watcher
  • Adept stringed instrumentalist
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #53 on: December 04, 2017, 12:46:53 pm »

I'm trying to make a custom ammo from a custom material, but in Arena I'm only getting ammo of every other material, wood, iron, everything else. when I search for the custom ammo.  I think the [REACTION_CLASS:HEX] tag isn't doing anything.
My code.
Spoiler (click to show/hide)

You want GET_MATERIAL_FROM_REAGENT:A, not GET_MATERIAL_FROM_REAGENT:blackhex clay, for your reaction to work.

There might also be some issues with putting soil on a sedimentary layer or as a vein; I don't know enough about biome layers to say for sure. Try replacing [SOIL] with [IS_STONE] and see what happens, just for kicks.
Logged
Give your dwarves a pet
My holiday mod (only offensive to elves)
The check-laundry script

Quote
Just give the Crossbow weapon the [AMMO:CROSSBOW] tag in the raws. You can make a crossbow that shoots crossbows.

scourge728

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #54 on: December 05, 2017, 06:56:09 pm »

Can someone explain what the problem with these that causes them to not show up in the embark stuff is?
Spoiler (click to show/hide)
Spoiler (click to show/hide)
And yes I did give dwarf the permitted reaction stuff

vjmdhzgr

  • Bay Watcher
  • Hehehe
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #55 on: December 05, 2017, 08:08:02 pm »

Humans get priests because of the    [SITE_VARIABLE_POSITIONS:ALL] token in their entity file. Last I checked (version 0.34 but I don't know of anything that would have changed since then) priests for dwarves don't cause crashes, but they just don't do anything.
Logged
Its a feature. Impregnating booze is a planned tech tree for dwarves and this is a sneak peek at it.
Unless you're past reproductive age. Then you're pretty much an extension of your kids' genitalia

FantasticDorf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #56 on: December 05, 2017, 08:10:47 pm »

There's a [SITE_VARIABLE:RELIGION] that enables them to make little temple sites, which i think is what you may be referring to vjmdhzgr
Logged

Jazz Cat

  • Bay Watcher
  • Adept stringed instrumentalist
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #57 on: December 05, 2017, 09:01:27 pm »

Is there a way to get a civilization to bring more of a certain good when they trade? My modded civ only has four types of items available, so when their caravan shows up it's only got about a dozen individual items on it.
They also bring random pieces of clay, which I'd like them not to do...

EDIT: They brought more stuff the next season. I guess the amount they bring is related to how much wealth I've produced? Or how much I traded with them the previous season?
« Last Edit: December 05, 2017, 09:17:25 pm by Jazz Cat »
Logged
Give your dwarves a pet
My holiday mod (only offensive to elves)
The check-laundry script

Quote
Just give the Crossbow weapon the [AMMO:CROSSBOW] tag in the raws. You can make a crossbow that shoots crossbows.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.44.x questions thread
« Reply #58 on: December 05, 2017, 10:04:36 pm »

Yeah trading is like "here's a new fort, they don't got anything so send just a bit of stuff" then you trade with them, and they see you have things of value. Plus you make requests with the liason. And a trade agreement is formed
Logged

Jazz Cat

  • Bay Watcher
  • Adept stringed instrumentalist
    • View Profile
Re: [MODDING] 0.44.x questions thread
« Reply #59 on: December 05, 2017, 10:27:36 pm »

Well, the new civ doesn't have a liason, so there's no trade agreements.

...Wait, can I give them a liason? Can I order specific stuff from them next year? That would be fantastic.
Logged
Give your dwarves a pet
My holiday mod (only offensive to elves)
The check-laundry script

Quote
Just give the Crossbow weapon the [AMMO:CROSSBOW] tag in the raws. You can make a crossbow that shoots crossbows.
Pages: 1 2 3 [4] 5 6 ... 120