Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 221 222 [223] 224 225 ... 544

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

Ogamaga

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3330 on: December 09, 2012, 04:21:19 pm »

Actually you might have been correct sorry:

http://dwarffortresswiki.org/index.php/v0.31:Modding_guide#Creature_materials_and_tissues

"[SELECT_MATERIAL:SKIN]"

Seems the reference container (the creature) is already calculated by the SELECT_MATERIAL command, since it can only be used inside the creature itself.

What I just did though, was to try upping all the base material values for egg materials in the templates ... that had no effect at all on prices.

Just to confirm ... I did a global replace of all the base material template values from 1 to 10 ... then eggs, and all other animal materials were in fact x 10 in price. So you were correct that some other material affects the value. But i gtg do stuff today, so you might have to narrow it down yourself. I might look at it later when I get home. Try something like skin, bone or muscle.

Don't forget to add that info to the modding wiki's if you get it.

Bone did the trick, will plan on updating the wiki later if nobody beats me to it.
Logged

laularukyrumo

  • Bay Watcher
  • Needs More Socks
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3331 on: December 09, 2012, 04:50:08 pm »

So. Just finished making a new creature, stuck the appropriate files into DF, loaded it up. Went to the arena, and I didn't find the creature in there to test. Is there any way to make non-vanilla creatures show up at all in the arena? I know that there's a tag that hides them, but I know I didn't put that in...

edit: Imma derp, they were listed as Nothing, because I put CASTE_NAME twice but no CASTE. Though now I see three castes of "nothing" and it's disappointing.
« Last Edit: December 09, 2012, 07:14:22 pm by laularukyrumo »
Logged
Quote from: Dwarfotaur
Everytime one of my militia has given birth in the Danger Room, it's lead to instant baby smoothies for everyone.

Gotta Catch 'Em All!

Dat Sig Thread

TheYakuza

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3332 on: December 09, 2012, 06:24:04 pm »

Quick question involving a reaction. I am trying to make a reaction in the Still that involves taking a specific plant I made and turning it into 1 bar of coke, and 2 seeds of the same plant. Right now I think it takes anything and makes it into hundreds of bars of coke.

The plant itself grows fine but I just need to get them to use it and get seeds back from the process.

Spoiler (click to show/hide)

Any idea on what I am doing wrong?
« Last Edit: December 09, 2012, 06:25:45 pm by TheYakuza »
Logged

ShinQuickMan

  • Bay Watcher
  • Resident Mook
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3333 on: December 09, 2012, 06:35:08 pm »

Ok, so I'm trying to make an venture mode reaction that transforms objects into human corpses, but every time the reaction is used the game crashes. Does anyone know what I'm doing wrong, or if such a thing is even possible?

Here's what I tried:

Spoiler (click to show/hide)
Logged

Lycaeon

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3334 on: December 09, 2012, 06:37:16 pm »

Corpses aren't recognized by reactions at all. The closest approximation at the moment is making an organ or piece of meat.
Logged
“I want to calm the storm, but the war is in your eyes.
How can I shield you from the horror and the lies?
When all that once held meaning is shattered, ruined, bleeding
And the whispers in the darkness tell me we won’t survive?”

ShinQuickMan

  • Bay Watcher
  • Resident Mook
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3335 on: December 09, 2012, 06:42:13 pm »

Hmmmm.... Well, that puts me in a tough spot...

Thanks for the quick response.
Logged

laularukyrumo

  • Bay Watcher
  • Needs More Socks
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3336 on: December 09, 2012, 07:10:32 pm »

Super newb question. >.<

I know there's a tag that acts as a "delete", sort of like if i were to COPY_TAGS_FROM a creature, but it had TRAPAVOID and I wanted to remove that. I COULD just copy-paste all the appropriate tokens, but that bloats file size and makes it harder to read. What syntax am I looking for? Is it like, REMOVE, or REMOVE_TAG, or DELETE, or DENNIS?

on a related note, the wiki is very good at listing most tokens in pages that are grouped by category, but there isn't one (that I can find) for stuff that's more syntax-oriented than anything else. It makes me sad :(
Logged
Quote from: Dwarfotaur
Everytime one of my militia has given birth in the Danger Room, it's lead to instant baby smoothies for everyone.

Gotta Catch 'Em All!

Dat Sig Thread

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3337 on: December 09, 2012, 08:10:56 pm »

CV_REMOVE_TAG, I believe.

Anyone know the numbers for the MOON_PHASE?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

laularukyrumo

  • Bay Watcher
  • Needs More Socks
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3338 on: December 09, 2012, 08:40:48 pm »

Yeah, but does that work outside of a creature variation?

last I checked, COPY_TAGS_FROM isn't a creature variation.
Logged
Quote from: Dwarfotaur
Everytime one of my militia has given birth in the Danger Room, it's lead to instant baby smoothies for everyone.

Gotta Catch 'Em All!

Dat Sig Thread

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3339 on: December 09, 2012, 09:07:49 pm »

No other tag that I know of, I'm afraid. You'll just have to try it.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3340 on: December 09, 2012, 09:36:13 pm »

Yeah, but does that work outside of a creature variation?

last I checked, COPY_TAGS_FROM isn't a creature variation.
Just make a new creature variation that only removes the trapavoid token. Then you can just have
Code: [Select]
[COPY_TAGS_FROM:YOUR_CREATURE]
[APPLY_CREATURE_VARIATION:REMOVE_TRAPDODGE]
[APPLY_CURRENT_CREATURE_VARIATION]
and it will still be shorter then copying all of the tokens by hand.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3341 on: December 09, 2012, 09:52:22 pm »

What do the number values for MOON_PHASE mean?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Triskelli

  • Bay Watcher
  • A man of wealth and taste
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3342 on: December 09, 2012, 10:27:29 pm »

What do the number values for MOON_PHASE mean?

The piece of code in question is [CE:PERIODIC:MOON_PHASE:27:0].  As a whole, this means that the creature will become a werebeast on every full moon, but I'm sure you figured that out yourself.  The token "MOON_PHASE:27:0" refers to the length of time that the transformation occurs in terms of days:  the wiki says that the formula for periodic tokens is "period_type:min_value:max_value".  The two numbers mean when the syndrome takes effect, and when it ends.  In this example, the werebeast syndrome begins on the last day of each month, and ends on the first day of the next.

Hopefully we'll get some more PERIODIC tokens to play with in later releases.
Logged

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3343 on: December 09, 2012, 10:40:12 pm »

So, 15:27 would last for half a month?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3344 on: December 09, 2012, 11:47:32 pm »

It should be about half a month, yeah.

Anyway, I need a method of boomerang interaction that is based upon syndromes. The fact that I don't know one tells me that it's probably impossible.
Pages: 1 ... 221 222 [223] 224 225 ... 544