Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 343 344 [345] 346 347 ... 544

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

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5160 on: June 02, 2013, 12:10:11 am »

well you can goto the "material_template_default.txt" and find the "CHITIN" template and add in: [MATERIAL_REACTION_PRODUCT:TAN_CHITIN:<insert material group>:<inster material subgroup>] -- What this does is class all chitin as TAN_CHITIN and attaches an extra material to it, say a standard attachement is
[MATERIAL_REACTION_PRODUCT:TAN_CHITIN:LOCAL_CREATURE_MAT:SPIDER_STEEL] --- looks for a material in the creature tagged as SPIDER_STEEL, now since you altered the entire CHITIN template butchering other creatures that yield chitin will flip a b**ch when put through the reaction.

So if you want only GCS to have this goto the creature and after the [BODY_DETAIL_PLAN:xxxxx_MATERIALS] toss in:
[REMOVE_MATERIAL:CHITIN]
then
[USE_MATERIAL_TEMPLATE:CHITIN:CHITIN_TEMPLATE]
   [MATERIAL_REACTION_PRODUCT:TAN_CHITIN:LOCAL_CREATURE_MAT:SPIDER_STEEL]
then under it
[USE_MATERIAL_TEMPLATE:SPIDER_STEEL:METAL_TEMPLATE]
   *copy all values from INORGANIC:STEEL but change the name*

now that the creature has an internal "steel" material we can go to out reaction

[REAGENT:gcs chitin:1:NONE:NONE:NONE:NONE][USE_BODY_COMPONENT][UNROTTEN][HAS_MATERIAL_REACTION_PRODUCT:TAN_CHITIN] --- targets the chitin
[PRODUCT:100:1:SKIN_TANNED:NONE:GET_MATERIAL_FROM_REAGENT:A:TAN_CHITIN] --- this makes a leather item from the internal "SPIDER_STEEL" material

EDIT:
the rest is up to you, hope this helps.
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5161 on: June 02, 2013, 12:14:52 am »

There should be a shorter, simpler way.

[REAGENT:giant chitin chunk:1:NONE:NONE:CREATURE_MAT:SPIDER_CAVE_GIANT:CHITIN][USE_BODY_COMPONENT]

Hugo described the way vanilla tanning works above. It most certainly works, but it's a little overkill for just a single creature.
Logged

Raptor_a22

  • Bay Watcher
  • [DERP]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5162 on: June 02, 2013, 02:18:52 am »

Hugo's method is a bit too complicated for what I wanted to do, and I want to make metal bars, not a tanned hide. (Probably should have made that clearer)

The finished reaction:
Code: [Select]
[REACTION:SPIDERSTEEL_MAKING]
[NAME:make steel bars]
[BUILDING:SMELTER:NONE]
[REAGENT:A:150:BAR:NO_SUBTYPE:METAL:IRON]
[REAGENT:B:150:BAR:NO_SUBTYPE:METAL:SILK_IRON]
[REAGENT:C:1:BOULDER:NO_SUBTYPE:NONE:NONE][REACTION_CLASS:FLUX]
[REAGENT:D:150:BAR:NO_SUBTYPE:COAL:NO_MATGLOSS]
[REAGENT:E:1:NONE:NONE:CREATURE_MAT:SPIDER_CAVE_GIANT:CHITIN]
[PRODUCT:100:2:BAR:NO_SUBTYPE:METAL:SPIDERSTEEL][PRODUCT_DIMENSION:150]
[FUEL]
[SKILL:SMELT]
Logged
Raptor's CivMod, Mithril and Dark Elves and Alchemy, oh my!
Quote
Dwarf Fortress: The only game where severe necrosis leading to exploding limbs is "awesome."

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5163 on: June 02, 2013, 03:06:56 am »

I actually need some help with this. The problem is, the creature won't stand properly. It has a brain, two stance bodyparts (and yes checked to make sure they connected properly) it could stand on it's own before so I don't understand why it chooses to fall down now.

Spoiler: Creature (click to show/hide)


Spoiler: Body (click to show/hide)

Would really like this critter walking again, so I can flesh it out more.
Logged

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5164 on: June 02, 2013, 08:21:37 am »

stance on its lower leg will work.  theyll stand on it.


perhaps not ideal but you can work on it more.
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5165 on: June 02, 2013, 08:37:54 am »

this works. 

[spoiler:this]
Code: [Select]
[BODY:ARMORED_HUMANOID]

[BP:UB:breastplate:STP][UPPERBODY][CATEGORY:BODY_UPPER]
[DEFAULT_RELSIZE:2000]
[BP:LB:fauld:fauld][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]
[DEFAULT_RELSIZE:2000]
[BP:HD:helmet:STP][CON:UB][HEAD][CATEGORY:HEAD]
[DEFAULT_RELSIZE:600]
[BP:RUA:right rerebrace:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]
[DEFAULT_RELSIZE:400]
[BP:LUA:left rerebrace:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]
[DEFAULT_RELSIZE:400]
[BP:RLA:right vambrace:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]
[DEFAULT_RELSIZE:400]
[BP:LLA:left vambrace:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]
[DEFAULT_RELSIZE:400]
[BP:RH:right gauntlet:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]
[DEFAULT_RELSIZE:160]
[BP:LH:left gauntlet:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]
[DEFAULT_RELSIZE:160]
[BP:RUL:right cuisse:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:1000]
[BP:LUL:left cuisse:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:1000]
[BP:RLL:right greave:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:800]
[BP:LLL:left greave:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:800]
[BP:RF:right high foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]
[DEFAULT_RELSIZE:240]
[BP:LF:left high foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]
[DEFAULT_RELSIZE:240]


[/spoiler]

It may look the same, but I magiced it up so now mine works on my comp.
« Last Edit: June 02, 2013, 08:41:23 am by pisskop »
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5166 on: June 02, 2013, 01:08:45 pm »

ok fixed it thank you, I think it was more of me messing up with which file I was updating.

See I made a program that adds filters to certain files say for the interest of graphic packs. Allowing me to have only one copy of raws to work with instead of making several copies for each graphic pack. The issue was that I didn't have my rawFileList done (just creatures and inorganics) so it wasn't porting over the body changes, hehe silly me.
Logged

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5167 on: June 02, 2013, 01:23:01 pm »

So I have another question . . .

I'm trying to add my first 'advanced' token to my raws.  CE_ADD_TOKEN:CRAZED.  But it won't work despite several attempts and even using raws stolen from this website.  I cannot get my creature to spew crazee goodness.

Spoiler (click to show/hide)

This really irks me.  I want a way to turn dwarves against one another.  In the arena tests I get nothing from this but the dizziness.
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Sergarr

  • Bay Watcher
  • (9) airheaded baka (9)
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5168 on: June 02, 2013, 02:02:05 pm »

[CE_ADD_TAG:OPPOSED_TO_LIFE:START:100]

And I have a question: is there really no way to add item descriptions?
Logged
._.

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5169 on: June 02, 2013, 03:05:53 pm »

[CE_ADD_TAG:OPPOSED_TO_LIFE:START:100]

And I have a question: is there really no way to add item descriptions?
Nope. Adding say, [DESCRIPTION:x] just gives an error. At DF's current state, by default, you cannot add a description.
Logged
Quote
'ere the Chias get hungry...

Sergarr

  • Bay Watcher
  • (9) airheaded baka (9)
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5170 on: June 02, 2013, 03:34:42 pm »

That sucks.

Maybe if I can create some sorta item-creatures...
Logged
._.

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5171 on: June 02, 2013, 03:42:37 pm »

So I have another question . . .

I'm trying to add my first 'advanced' token to my raws.  CE_ADD_TOKEN:CRAZED.  But it won't work despite several attempts and even using raws stolen from this website.  I cannot get my creature to spew crazee goodness.

This really irks me.  I want a way to turn dwarves against one another.  In the arena tests I get nothing from this but the dizziness.

CE_ADD_TOKEN doesn't exist:
http://dwarffortresswiki.org/index.php/DF2012:Syndrome#Special_Effects
you probably want CE_ADD_TAG

CRAZED should work, but watch out for loyalty cascades.

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5172 on: June 02, 2013, 03:47:29 pm »

That sucks.

Maybe if I can create some sorta item-creatures...
Well, Hugo_the_Dwarf got away with that in Regen with his landmines. They're immobile creatures that, on sight, release fire. It usually kills the landmine, making them one-use items. However you can't really *wield* a creature...
Logged
Quote
'ere the Chias get hungry...

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5173 on: June 02, 2013, 03:58:13 pm »

So I have another question . . .

I'm trying to add my first 'advanced' token to my raws.  CE_ADD_TOKEN:CRAZED.  But it won't work despite several attempts and even using raws stolen from this website.  I cannot get my creature to spew crazee goodness.

This really irks me.  I want a way to turn dwarves against one another.  In the arena tests I get nothing from this but the dizziness.

CE_ADD_TOKEN doesn't exist:
http://dwarffortresswiki.org/index.php/DF2012:Syndrome#Special_Effects
you probably want CE_ADD_TAG

CRAZED should work, but watch out for loyalty cascades.

I haven't really seen CRAZED work for me, and if a dwarf does become crazed I think special flags get set off and prevent loyalty cascades? I know Mepg played around with it alot. But my CRAZED interactions don't want to apply it to my targets.
Logged

Sergarr

  • Bay Watcher
  • (9) airheaded baka (9)
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5174 on: June 02, 2013, 04:02:21 pm »

Well, maybe I can create some sort of "library" workshop where you can turn dwarfs into living books with item descriptions.
I've heard that descriptions are bugged on transformation, so that might not work.
Logged
._.
Pages: 1 ... 343 344 [345] 346 347 ... 544