Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 364 365 [366] 367 368 ... 544

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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5475 on: July 17, 2013, 10:01:09 pm »

No, but there is a workaround* with CE_DISPLAY_TILE. False migrant waves, definitely not. Sieges are too obvious. False caravans, definitely possible and I look forward to see if you can do that.

*Gives dwarves an interaction that will give your disguise race a CE_DISPLAY_TILE of Ñ or whatever and OPPOSED_TO_LIFE or whatever.

Grim Portent

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5476 on: July 18, 2013, 07:49:30 am »

Is it possible to make a race that generates the physical form of it's members randomly in the same way as clowns, forgotten beasts (<-- really tempted to call them furbies for some reason) and night creatures?
Logged
There once was a dwarf in a cave,
who many would consider brave.
With a head like a block
he went out for a sock,
his ass I won't bother to save.

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5477 on: July 18, 2013, 08:33:05 am »

No, the randomization scripts are still hardcoded. If you look inside the executable, the triggering tags are in legible raw format, but they do nothing when stuck in the normal raws.
Logged

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5478 on: July 18, 2013, 09:19:43 am »

Is it possible to make a race that generates the physical form of it's members randomly in the same way as clowns, forgotten beasts (<-- really tempted to call them furbies for some reason) and night creatures?
I guess you could write a script that generates random body raws for lots of different castes of a creture.
Logged

killran

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5479 on: July 18, 2013, 02:15:24 pm »

Is there a way to edit an attack so that it only targets a specific body part of attacked creature? (e.g. making a wolf's bite attack target only the legs of a creature if available)
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5480 on: July 18, 2013, 02:30:12 pm »

No.

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5481 on: July 18, 2013, 02:51:25 pm »

Some underlying mechanism to steer targeting is in the code, though. Latching bites that target the head have a chance of locking around the throat instead.
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5482 on: July 18, 2013, 04:50:05 pm »

I'm trying to make a custom weather interaction happen "EVERYWHERE" how can I do this? Since it never shows up in my tests

Code: [Select]
[INTERACTION:STORM_DUST]
[I_SOURCE:REGION]
[IS_REGION:NORMAL_ALLOWED]
[IS_REGION:SAVAGE_ALLOWED]
[IS_REGION:EVIL_ALLOWED]
[IS_REGION:GRASSLAND]
[IS_REGION:HILLS]
[IS_REGION:DESERT]
[IS_REGION:MOUNTAINS]
[IS_FREQUENCY:100]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:MATERIAL:CREATURE_MAT:MISC:ACID:WEATHER_CREEPING_GAS]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_INTERMITTENT:WEEKLY]
Logged

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5483 on: July 18, 2013, 04:59:36 pm »

I'm trying to make a custom weather interaction happen "EVERYWHERE" how can I do this? Since it never shows up in my tests

Code: [Select]
[INTERACTION:STORM_DUST]
[I_SOURCE:REGION]
[IS_REGION:NORMAL_ALLOWED]
[IS_REGION:SAVAGE_ALLOWED]
[IS_REGION:EVIL_ALLOWED]
[IS_REGION:GRASSLAND]
[IS_REGION:HILLS]
[IS_REGION:DESERT]
[IS_REGION:MOUNTAINS]
[IS_FREQUENCY:100]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:MATERIAL:CREATURE_MAT:MISC:ACID:WEATHER_CREEPING_GAS]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_INTERMITTENT:WEEKLY]
How about this?
Code: [Select]
[INTERACTION:STORM_DUST]
[I_SOURCE:REGION]
[IS_REGION:ANY]
[IS_FREQUENCY:100]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:MATERIAL:CREATURE_MAT:MISC:ACID:WEATHER_CREEPING_GAS]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_INTERMITTENT:WEEKLY]
Logged

DaiVrath

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5484 on: July 18, 2013, 05:09:34 pm »

I'm trying to create a custom building to tan some custom reptile scales, but when I define to building as follows in the building_custom raw, it doesn't appear in the workshop building list:

[BUILDING_WORKSHOP:SCALE_WORKSHOP]
   [NAME:Drake Scale Processor]
   [NAME_COLOR:7:0:1]
   [DIM:3:3]
   [WORK_LOCATION:2:2]
   [BUILD_LABOR:TANNER]
   [BUILD_KEY:CUSTOM_SHIFT_Z]
   [BLOCK:1:0:0:1]
   [BLOCK:2:0:0:0]
   [BLOCK:3:1:1:0]
   [TILE:0:1:' ':' ':200]
   [TILE:0:2:' ':' ':' ']
   [TILE:0:3:'-':'-':' ']
   [COLOR:0:1:0:0:0:0:0:0:2:0:0]
   [COLOR:0:2:0:0:0:0:0:0:0:0:0]
   [COLOR:0:3:2:0:0:2:0:0:0:0:0]
   [TILE:1:1:' ':'200':' ']
   [TILE:1:2:'-':'-':' ']
   [TILE:1:3:' ':' ':' ']
   [COLOR:1:1:0:0:0:1:0:1:0:0:0]
   [COLOR:1:2:1:0:1:1:0:1:0:0:0]
   [COLOR:1:3:0:0:0:0:0:0:0:0:0]
   [TILE:2:1:' ':'188':' ']
   [TILE:2:2:' ':'-':' ']
   [TILE:2:3:'-':' ':' ']
   [COLOR:2:1:0:0:0:4:0:0:0:0:0]
   [COLOR:2:2:0:0:0:1:0:1:0:0:0]
   [COLOR:2:3:4:0:0:0:0:0:0:0:0]
   [TILE:3:1:' ':' ':200]
   [TILE:3:2:' ':' ':' ']
   [TILE:3:3:203:187:' ']
   [COLOR:3:1:0:0:0:0:0:0:4:0:1]
   [COLOR:3:2:0:0:0:0:0:0:0:0:0]
   [COLOR:3:3:4:0:1:4:0:1:0:0:0]
   [BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]

with the following reaction defined:

[REACTION:CURE_SCALES]
   [NAME:cure drake scales]
   [BUILDING:SCALE_WORKSHOP:CUSTOM_C]
   [REAGENT:A:1:NONE:NONE:NONE:NONE][REACTION_CLASS:DRAKE_SCALE][UNROTTEN]
      [HAS_MATERIAL_REACTION_PRODUCT:CLN_SCL]
   [PRODUCT:100:1:CLEAN_DRAKE_SCALE:NONE:GET_MATERIAL_FROM_REAGENT:A:CLN_SCL]
   [SKILL:TANNER]
   [AUTOMATIC]

Any pointers to what I'm doing wrong?
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5485 on: July 18, 2013, 05:14:06 pm »

I'm trying to make a custom weather interaction happen "EVERYWHERE" how can I do this? Since it never shows up in my tests

-SNIP-
How about this?
Code: [Select]
[INTERACTION:STORM_DUST]
[I_SOURCE:REGION]
[IS_REGION:ANY]
[IS_FREQUENCY:100]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:MATERIAL:CREATURE_MAT:MISC:ACID:WEATHER_CREEPING_GAS]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_INTERMITTENT:WEEKLY]

I'll give it a shot and see if it works.

I'm trying to create a custom building to tan some custom reptile scales, but when I define to building as follows in the building_custom raw, it doesn't appear in the workshop building list:

Spoiler (click to show/hide)

with the following reaction defined:

Spoiler (click to show/hide)

Any pointers to what I'm doing wrong?
did you permit them in the entity?
Logged

DaiVrath

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5486 on: July 18, 2013, 09:12:35 pm »

I'm trying to create a custom building to tan some custom reptile scales, but when I define to building as follows in the building_custom raw, it doesn't appear in the workshop building list:

Spoiler (click to show/hide)

with the following reaction defined:

Spoiler (click to show/hide)

Any pointers to what I'm doing wrong?
did you permit them in the entity?

That did it. Thanks.
Logged

reemer30

  • Bay Watcher
  • [PREFSTRING:swag]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5487 on: July 18, 2013, 09:45:27 pm »

Is there a way to change what words are used to describe a profession/labor in-game? I was thinking I would take a skill I could combine with another, like brew and cook, maybe, to free one up to be named something else for my magic system. I am also not against using DFhack, if that would make it more feasible. Well, I thank you in advance for your help.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5488 on: July 18, 2013, 10:04:23 pm »

Is there a way to change what words are used to describe a profession/labor in-game? I was thinking I would take a skill I could combine with another, like brew and cook, maybe, to free one up to be named something else for my magic system. I am also not against using DFhack, if that would make it more feasible. Well, I thank you in advance for your help.

Yes, but brewing and cooking are both hardcoded, so...

Also, there's always [CASTE_PROFESSION_NAME:PROFESSION:singular:plural].

StLeibowitz

  • Bay Watcher
  • [NOT_CENTAUR]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5489 on: July 18, 2013, 11:29:09 pm »

What effect does giving multiple castes of a creature [FEMALE] and [MALE] have? i.e. three female castes and three male castes. Would they crossbreed perfectly well?
Logged
Generally, when one is conducting an experiment, it is worth noting that the observers went insane, killed each other, and then rose from the dead.
It's like DF inhaled a peanut.
Pages: 1 ... 364 365 [366] 367 368 ... 544