Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 534 535 [536] 537 538 ... 544

Author Topic: [MODDING] 0.34. QUESTIONS THREAD  (Read 1002455 times)

BossChase

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8025 on: June 26, 2014, 09:04:49 pm »

Thank you very much!!!!
Logged

Boltgun

  • Bay Watcher
  • [UTTERANCES]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8026 on: June 27, 2014, 01:28:43 am »

I tried removing the hook that captures it but it still crash.

I also tried this :
Quote
[IMPROVEMENT:100:target:COVERED:GLASS_GREEN]
Still crashes.

I'll try removing LUA_HOOK.

And that was right. Using a LUA_HOOK without a product crashes world gen. I added a dummy stone product to the reaction and now it completes.
Logged

FallenAngel

  • Bay Watcher
  • !!x(oᴥo)x!!
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8027 on: June 27, 2014, 02:54:21 pm »

For one reason or another, even without [ALCOHOL_DEPENDENT], the members of both the Fallens and the Risens who are marked as "first of their kind" depend on alcohol, despite not needing to drink, and it actually slows them down, although they are still quite fast.
I'm assuming this is hard-coded, but is there anything in the raws that could cause this?
They also don't have mountainhomes and live in cities, so it can't be that.

EDIT: Also, what do the three values in [SKILL_RUST_RATES] do? At least one, maybe more, of them must be what it says.
I'm making pentahydra.

Teneb

  • Bay Watcher
  • (they/them) Penguin rebellion
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8028 on: June 28, 2014, 12:57:26 pm »

Where?
What do you mean "where"?
If you are just adding a metal, it won't appear outside the arena. You need to add a way to aquire it, either by creating an ore of that metal, or a reaction that produces it.
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?

FallenAngel

  • Bay Watcher
  • !!x(oᴥo)x!!
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8029 on: June 28, 2014, 02:05:20 pm »

Or you could add it to another ore, but I don't exactly recommend it.

FallenAngel

  • Bay Watcher
  • !!x(oᴥo)x!!
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8030 on: June 28, 2014, 04:57:45 pm »

Why do none of these appear in the arena?

Code: [Select]
item_hydras

[OBJECT_ITEM]

[ITEM_WEAPON:ITEM_WEAPON_HYDRA_PICK]
[NAME:pick:picks]
[ADJECTIVE:huge]
[SIZE:6000]
[SKILL:MINING]
[TWO_HANDED:750000]
[MINIMUM_SIZE:400000]
[MATERIAL_SIZE:10]
[ATTACK:EDGE:1000:40000:strike:strikes:NO_SUB:20000]

[ITEM_WEAPON:ITEM_WEAPON_AXE_HYDRA]
[NAME:axe:axes]
[ADJECTIVE:huge]
[SIZE:7000]
[SKILL:AXE]
[TWO_HANDED:750000]
[MINIMUM_SIZE:400000]
[MATERIAL_SIZE:11]
[ATTACK:EDGE:400000:60000:hack:hacks:NO_SUB:12500]
[ATTACK:BLUNT:400000:60000:slap:slaps:flat:12500]
[ATTACK:BLUNT:1000:10000:strike:strikes:pommel:10000]

[ITEM_WEAPON:ITEM_WEAPON_HYDRA_SPEAR]
[NAME:spear:spears]
[ADJECTIVE:huge]
[SIZE:5500]
[SKILL:SPEAR]
[TWO_HANDED:750000]
[MINIMUM_SIZE:400000]
[MATERIAL_SIZE:7]
[ATTACK:EDGE:200:100000:stab:stabs:NO_SUB:10000]
[ATTACK:BLUNT:100000:60000:bash:bashes:shaft:12500]

I can't find anything wrong with them. They're built for a 1/10th-size hydra with only five heads.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8031 on: June 28, 2014, 05:03:11 pm »

Your [OBJECT_ITEM] should be [OBJECT:ITEM]. It disables the entire file.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

FallenAngel

  • Bay Watcher
  • !!x(oᴥo)x!!
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8032 on: June 28, 2014, 05:07:43 pm »

THAT's the problem. Never caught it. Thanks.

bughunter

  • Bay Watcher
  • Life is like a baby, it has layers.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8033 on: June 28, 2014, 10:48:17 pm »

Can anyone tell me where I can find a guide for creature modding? I am working on modding in clockwork robotics.

These are the body parts I have made, but I don't exactly know how to structure them into a creature, or do any of the body plans, tissues, etc. (Note, I have checked the wiki, and found their guide incomprehensible.)
Code: [Select]
[BODY:CONTROL_MODULE]
[BP:CONTROL_MODULE:control module:STP][CONTYPE:HEAD][THOUGHT][INTERNAL][SMALL][CATEGORY:MODULE]
[DEFAULT_RELSIZE:200]

[BODY:PLATING]
[BP:PLATING:plating:STP][CONTYPE:BODY]
[DEFAULT_RELSIZE:30]

[BODY:CLOCKWORK]
[BP:CLOCKWORK:clockwork:STP][CONTYPE:UPPERBODY][CIRCULATION][INTERNAL][SMALL][CATEGORY:CLOCKWORK]
[DEFAULT_RELSIZE:100]

[BODY:SENSOR]
[BP:SENSOR:sensor:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][CATEGORY:SENSOR]
[DEFAULT_RELSIZE:20]
Logged
Anyone else here want some kitten leather thongs?
___________________________
"Ye know why it's called "kilt'? 'Cause we kilt anyone who called it "skirt"!"
Yeah, kilts are great!

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8034 on: June 30, 2014, 02:07:22 pm »

Unfortunately, I don't really know of any guides other than the wiki. I can attempt to explain some of it though.

By structure them into a creature, do you mean placing them into a creature? It's added through the [BODY] token, with the ID of the body parts being arguments of the tag. Just be sure that body parts are not out of order. By which I mean that body parts that rely on other parts are not listed before their 'anchor'. For example, having the eyes listed before the head. Otherwise the part will not be added to the creature.

Body plans can be used to add materials or tissues to a creature, place tissues in relation to one another, or place tissues onto body parts, which also decides layer order and tissue thickness. Adding tissues and materials are simple enough, though placing tissues on parts is a little more difficult.

Here is an example for putting two tissues on each your custom parts:
Code: [Select]
[BODY_DETAIL_PLAN:CLOCKWORK_LAYERS]
[BP_LAYERS:BY_CATEGORY:MODULE:ARG1:10:ARG2:25]
[BP_LAYERS:BY_CATEGORY:CLOCKWORK:ARG1:10:ARG2:25]
[BP_LAYERS:BY_CATEGORY:SENSOR:ARG1:10:ARG2:25]

ARG1, ARG2, etc. allow you to choose which tissue goes into the part when you are defining the tag within the creature. If you want, you can put the ID of a tissue instead of ARG#, to make the part always have that tissue when used, so long as the creature has that tissue within their definition.

Within the creature, the tag will look like [BODY_DETAIL_PLAN:CLOCKWORK_LAYERS], and you can add tissues after the tag to apply them to the parts. For example, it may look like this:
Code: [Select]
[BODY_DETAIL_PLAN:CLOCKWORK_LAYERS:CLOCKWORK:CASING]
So the first tissue, named clockwork here, will take the place as the innermost tissue as ARG1, and the casing will be the outer tissue as ARG2.

Tissues are easier. Just look at the pre-existing ones and at the wiki's token page.
« Last Edit: June 30, 2014, 02:11:59 pm by BlackFlyme »
Logged

samanato

  • Bay Watcher
  • @ Gardevoirite
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8035 on: June 30, 2014, 11:12:19 pm »

I'm experiencing some unexplained crashes in worldgen and legends mode, and I suspect, it has to do with an evil civ creature I've modded, one caste of which has a body transformation type curse interaction. It crashes fairly often (but unpredictably), when I try to view an entry for one of them in legends, and I think, that's what's also causing the worldgen crashes. Does that sort of thing not work, when it's a civilisation and the interaction happens in a war?
Logged

Boltgun

  • Bay Watcher
  • [UTTERANCES]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8036 on: July 01, 2014, 03:00:22 am »

Can you prevent colors from being used on random creatures? I have special colors for my race and I ended with a werebeast with eyes glowing 'callipygian'.

I guess this is similar to preferences using dfhack stones.
Logged

Wysthric

  • Bay Watcher
  • I'm actually Korbac! :)
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8037 on: July 01, 2014, 04:20:06 am »

I can't get the BOMB from this interaction to release the syndrome - what's wrong?

Code: [Select]
[MATERIAL:BOMB]
[STATE_COLOR:ALL_SOLID:GRAY]
[STATE_NAME:ALL_SOLID:bomb]
[STATE_ADJ:ALL_SOLID:bomb]
[STATE_COLOR:LIQUID:GRAY]
[STATE_NAME:LIQUID:molten bomb]
[STATE_ADJ:LIQUID:molten bomb]
[STATE_COLOR:GAS:GRAY]
[STATE_NAME:GAS:shrapnel]
[STATE_ADJ:GAS:shrapnel]
[DISPLAY_COLOR:0:7:1]
[BUILD_COLOR:0:7:1]
[MATERIAL_VALUE:10]
[SPEC_HEAT:200]
[MAT_FIXED_TEMP:10078]
[MELTING_POINT:10056]
[BOILING_POINT:10060]
[SOLID_DENSITY:7850]
[LIQUID_DENSITY:6980]
[MOLAR_MASS:55845]
[IMPACT_YIELD:1505000]
[IMPACT_FRACTURE:2750000]
[IMPACT_STRAIN_AT_YIELD:940]
[COMPRESSIVE_YIELD:1200000]
[COMPRESSIVE_FRACTURE:2520000]
[COMPRESSIVE_STRAIN_AT_YIELD:940]
[TENSILE_YIELD:430000]
[TENSILE_FRACTURE:720000]
[TENSILE_STRAIN_AT_YIELD:225] 200
[TORSION_YIELD:430000]
[TORSION_FRACTURE:720000]
[TORSION_STRAIN_AT_YIELD:215]
[SHEAR_YIELD:430000]
[SHEAR_FRACTURE:720000]
[SHEAR_STRAIN_AT_YIELD:215]
[BENDING_YIELD:430000]
[BENDING_FRACTURE:720000]
[BENDING_STRAIN_AT_YIELD:215]
[MAX_EDGE:10000]
[STATE_COLOR:ALL_SOLID:GRAY]
[IS_METAL]
[SYNDROME]
[SYN_NAME:bomb blast]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_AFFECTED_CLASS:ROBOTIC]
          [SYN_CONTACT]
          [CE_NECROSIS:SEV:600:PROB:100:LOCALIZED:SIZE_DILUTES:START:1:PEAK:3:END:10]
[CE_PAIN:SEV:400:PROB:100:LOCALIZED:SIZE_DILUTES:START:1:PEAK:800:END:2600]

[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Throw bomb]
[CDI:VERB:throw a bomb:throws a bomb:throw a bomb]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:BOMB:SOLID_GLOB]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:7]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:250]
Logged
I'm Korbac. Not sure what happened to that account.

Boltgun

  • Bay Watcher
  • [UTTERANCES]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8038 on: July 01, 2014, 07:03:12 am »

Are you trying to make is a gas? If so you can try adding SYN_INHALED to the syndrome.
Logged

FallenAngel

  • Bay Watcher
  • !!x(oᴥo)x!!
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #8039 on: July 01, 2014, 07:35:27 am »

For some reason, despite a race I've modded in having the correct tags to have their weapons, seem to always be wrestlers, with only the Axeman skill as an option when starting an adventurer of said race, and the weapon that you're always given is a copper spear.
I'll need to dig out the entity raws.
Pages: 1 ... 534 535 [536] 537 538 ... 544