Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 176 177 [178] 179 180 ... 544

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

Revanchist

  • Bay Watcher
  • Thank you for helping us help you help us all.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2655 on: September 16, 2012, 02:41:05 pm »

Is there any knowledge on the behaviour concerning [CLOTHING] in the entity files.
Specifically, if an entity doesn't have it, will they get upset about no clothing? Or do they still complain about a draft.
Logged
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope... Love is knowing your target, putting them in your targeting reticule, and together, achieving a singular purpose against statistically long odds."

People love a happy ending. So every episode, I will explain once again that I don't like people. And then Mal will shoot someone. Someone we like. And their puppy.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2656 on: September 16, 2012, 02:43:39 pm »

Bad thoughts about nudity are hard coded

AFAIK [CLOTHING] determines what material their clothes are made of ([CLOTHING] would be rope reed, cow leather, etc)

and Draft is from having skills in Civ jobs then being placed into the army. Peasents don't mind the army since they lack any civ skills.
Logged

MCipher

  • Bay Watcher
  • The worlding of the words is AMARANTH.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2657 on: September 16, 2012, 03:35:26 pm »

How do you add "him/her" to the threats.txt file like you can use [PRO_POS] for "his/her" or [PRO_SUB] for "he/she"? Or is it not part of the speech tags?
Logged
No longer at critical sig mass!
Quote
OOC: Hans Panda: Everyone's going to die. That's how they usually end.
OOC: Hans Panda: I try not to run them that way.
OOC: Hans Panda: But apparently when I'm the villain, I'm too efficient.
OOC: Hans Panda: Even when I monologue.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2658 on: September 16, 2012, 03:55:38 pm »

You can use [PRO_OBJ] for him/her.

(also there is [PRO_REF] for himself and herself, FYI)
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.

MCipher

  • Bay Watcher
  • The worlding of the words is AMARANTH.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2659 on: September 16, 2012, 05:34:07 pm »

Thanks, I'm modding the threats.txt and speech files similar to that.
Logged
No longer at critical sig mass!
Quote
OOC: Hans Panda: Everyone's going to die. That's how they usually end.
OOC: Hans Panda: I try not to run them that way.
OOC: Hans Panda: But apparently when I'm the villain, I'm too efficient.
OOC: Hans Panda: Even when I monologue.

krisslanza

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2660 on: September 17, 2012, 05:36:01 pm »

I've run into a problem here. With this reaction:
Spoiler (click to show/hide)
While I think it works as intended, what isn't is the fact this allows the player to embark with Gold Turnip seeds. Which kind of defeats the purpose, when you can just skip the whole Turnip part... is there a way to prevent the player from having access to the seeds/plant itself during embark?

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2661 on: September 17, 2012, 07:43:22 pm »

I've run into a problem here. With this reaction:
Spoiler (click to show/hide)
While I think it works as intended, what isn't is the fact this allows the player to embark with Gold Turnip seeds. Which kind of defeats the purpose, when you can just skip the whole Turnip part... is there a way to prevent the player from having access to the seeds/plant itself during embark?
Other then just making the gold turnip seeds really expensive? No.

You could remove the [PERMITTED_REACTION:XXXXX] from the dwarven entity, generate the world, and then add it back in and it should work; but there currently is nothing that you can do prior to world generation to make them not have access.
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.

krisslanza

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2662 on: September 17, 2012, 08:00:34 pm »

I've run into a problem here. With this reaction:
Spoiler (click to show/hide)
While I think it works as intended, what isn't is the fact this allows the player to embark with Gold Turnip seeds. Which kind of defeats the purpose, when you can just skip the whole Turnip part... is there a way to prevent the player from having access to the seeds/plant itself during embark?
Other then just making the gold turnip seeds really expensive? No.

You could remove the [PERMITTED_REACTION:XXXXX] from the dwarven entity, generate the world, and then add it back in and it should work; but there currently is nothing that you can do prior to world generation to make them not have access.

Ah I see. That's a shame. Hrm, well. I guess I'll think of something. I'm only wary of making them highly expensive as, well, it would make that carry over to Fortress mode proper, and might kind of accidentally cause early FUN!
...
I'm not sure if that's a bad thing or not.

melkor

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2663 on: September 18, 2012, 08:50:34 am »

is there a way to get a 'UPON DEATH' option in a creature.
i can say that the itemcorpse become magma in theory, but i would like to have iron bolts flying out of it.

or is this hard coded?
Logged
Quote from: Robocorn
what do postdwarvenists do with goblins?

Quote from: Andreus
We slaughter them by the thousands.
But... you know, we do it ironically.

nanomage

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2664 on: September 18, 2012, 09:40:07 am »

Hello!
I have a probably simple question for you modders community:
How can I cure severed nerves via modding?
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2665 on: September 18, 2012, 10:01:57 am »

is there a way to get a 'UPON DEATH' option in a creature.
i can say that the itemcorpse become magma in theory, but i would like to have iron bolts flying out of it.

or is this hard coded?
Hard coded mostly. About the best you can do is have an "explosion" of extremely hot and toxic gases.

Hello!
I have a probably simple question for you modders community:
How can I cure severed nerves via modding?
Remove the [HAS_NERVES] token from the creature you wish to cure and load up your game. I believe you can then quit and add it back in and the nerves will still remain healed, but I'm not 100% on that.
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.

nanomage

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2666 on: September 18, 2012, 10:20:59 am »

Hello!
I have a probably simple question for you modders community:
How can I cure severed nerves via modding?
Remove the [HAS_NERVES] token from the creature you wish to cure and load up your game. I believe you can then quit and add it back in and the nerves will still remain healed, but I'm not 100% on that.
Sorry, doesn't seem to work. I commented the HAS_NERVES tag for Human creature (in the save/region* folder) but upon save/load and Retire/restart adventurer icon is still blinking red + and health screen says nerver are severed and grasp lost.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2667 on: September 18, 2012, 11:19:05 am »

Define "commented".

nanomage

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2668 on: September 18, 2012, 11:32:25 am »

Define "commented".
I removed the starting '[', replacing it with "---" for convenience of searching
Logged

darklord92

  • Bay Watcher
  • [CREATURE:SERGALNORTH]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2669 on: September 20, 2012, 08:43:07 pm »

What would be my best bet for testing a new stone in the world? I have yet to come across any of it on my initial site, even using the reveal command in df hack.

Spoiler:  oil sediment (click to show/hide)



Scratch that.png
« Last Edit: September 20, 2012, 08:53:02 pm by darklord92 »
Logged
Form walking potato man out of corpse. Absorb anyone else in the house.
We have a successful derail.
The Vilous Mod - Jingle berries!
Pages: 1 ... 176 177 [178] 179 180 ... 544