Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 218 219 [220] 221 222 ... 544

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

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3285 on: December 06, 2012, 06:10:13 pm »

Ty.  How do you make a not-graspy tentacle capable of attack?  The only error left (besides him not wanting to stand) is him not being able to whip/bludgeon with a tentacle. . .

Spoiler (click to show/hide)
He will not attack this way. . . is it the grasp reference?
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!

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3286 on: December 06, 2012, 06:16:04 pm »

No, it's the way you selected the attack. CHILD_TISSUE_LAYER_GROUP means you're looking for a tissue to attack with, not a body part. You want BP:BY_CATEGORY:TENTACLE.

MCipher

  • Bay Watcher
  • The worlding of the words is AMARANTH.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3287 on: December 06, 2012, 07:31:55 pm »

I am attempting to mod in a body part, A relatively simple one. One that attaches to the abdomen (lower body) of the creature. But I can't find a part to use as a placeholder, I only want the creature to have one head, and I can't use a third hand/foot...


-EDIT- On second thought... How do you add a third foot? Is there only left and right feet?

-EDIT2- On third thought, Can there be three feet? Or is it only possible to have four/two at a time?

-FINAL EDIT- Nevermind, I found a replacement.
« Last Edit: December 07, 2012, 12:43:14 am by MCipher »
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.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3288 on: December 07, 2012, 12:43:50 am »

All you need is to have the part have CON_CAT:LOWERBODY.

Third feet are possible, just make a single part with STANCE.

weenog

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3289 on: December 07, 2012, 03:07:45 pm »

Can you add an exotic weapon to the native weapons list so dwarves can make their own?
If so, how is this accomplished?
Can this change take effect in a current world and fortress, or would I need to start over?

Looking to arm my macedwarves with high quality silver flails, here.
Logged
Listen up: making a thing a ‼thing‼ doesn't make it more awesome or extreme.  It simply indicates the thing is on fire.  Get it right or look like a silly poser.

It's useful to keep a ‼torch‼ handy.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3290 on: December 07, 2012, 03:28:24 pm »

Yes.
The WEAPON entity token.
Try it in a current fortress. it shouldn't work, but it might.

i2amroy

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

Try it in a current fortress. it shouldn't work, but it might.
It doesn't. The only thing in the entity raws that I've found that can be changed post-world gen and still have an effect is the [PERMITTED_REACTION:XXXX] tokens (and possibly the [PERMITTED_BUILDING:XXXX] and [PERMITTED_JOB:XXXX] tokens, though I haven't tested those specifically).
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 #3292 on: December 08, 2012, 03:16:03 am »

I've been trying to make a "vanity interaction", meaning an interaction that does nothing... For now.
The Problem is that every time I go to the interaction menu, the interaction is displayed as "Unknown Interaction"
Here is a version of the code.
Code: [Select]
[CAN_DO_INTERACTION:PLACEHOLDER]
[CDI:ADV_NAME:Placeholder]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:VERB:placeholder:placeholder:placeholder]
[CDI:CAN_BE_MUTUAL]
[CDI:TARGET:A:SELF_ALLOWED]
[CDI:TARGET:B:TOUCHABLE]
[CDI:TARGET_RANGE:B:1]
[CDI:MAX_TARGET_NUMBER:B:1]
[CDI:FREE_ACTION]
[CDI:USAGE_HINT:GREETING]
Also, are questions about DFhack/DFusion Plugins allowed here?
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 #3293 on: December 08, 2012, 10:08:47 am »

Also, are questions about DFhack/DFusion Plugins allowed here?
If you ask them we can try to answer them, but you have a much better chance of getting them answered if you ask them in the DFHack thread.
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.

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3294 on: December 08, 2012, 02:15:22 pm »

I've been trying to make a "vanity interaction", meaning an interaction that does nothing... For now.
The Problem is that every time I go to the interaction menu, the interaction is displayed as "Unknown Interaction"
Here is a version of the code.
Code: [Select]
[CAN_DO_INTERACTION:PLACEHOLDER]
[CDI:ADV_NAME:Placeholder]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:VERB:placeholder:placeholder:placeholder]
[CDI:CAN_BE_MUTUAL]
[CDI:TARGET:A:SELF_ALLOWED]
[CDI:TARGET:B:TOUCHABLE]
[CDI:TARGET_RANGE:B:1]
[CDI:MAX_TARGET_NUMBER:B:1]
[CDI:FREE_ACTION]
[CDI:USAGE_HINT:GREETING]
Do you have an actual interaction with the ID of 'PLACEHOLDER'? Elsewise you are calling on a creature being able to do something that doesn't exist. You could simply put a few lines in an 'interaction_X' file to get rid of the error.
Code: [Select]
interaction_X
[OBJECT:INTERACTION]
[INTERACTION:PLACEHOLDER]
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

Ogamaga

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3295 on: December 08, 2012, 04:08:52 pm »

Is it possible to apply the [MULTIPLY_VALUE:] token only to a creature's eggs? If so, could I have an example or a link to useful info?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3296 on: December 08, 2012, 06:04:18 pm »

Is it possible to apply the [MULTIPLY_VALUE:] token only to a creature's eggs? If so, could I have an example or a link to useful info?

Yes, by selecting only the egg materials (which can be seen by looking at the code for the egg) with SELECT_MATERIAL and PLUS_MATERIAL.

Ogamaga

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3297 on: December 08, 2012, 07:42:06 pm »

Is it possible to apply the [MULTIPLY_VALUE:] token only to a creature's eggs? If so, could I have an example or a link to useful info?

Yes, by selecting only the egg materials (which can be seen by looking at the code for the egg) with SELECT_MATERIAL and PLUS_MATERIAL.

I can't seem to make it work, here are my attempts
Spoiler (click to show/hide)

edit:Can anyone tell me what I'm doing wrong? And yes, I'm making a Golden Goose, which will lay very few eggs at a time. Also, the value is from copying from the Dragon
« Last Edit: December 08, 2012, 07:46:05 pm by Ogamaga »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3298 on: December 08, 2012, 07:44:39 pm »

Hmm. Perhaps try setting their value directly with MATERIAL_VALUE.

Ogamaga

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #3299 on: December 08, 2012, 07:51:15 pm »

Hmm. Perhaps try setting their value directly with MATERIAL_VALUE.

Do you mean like this?
Code: [Select]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID][MATERIAL_VALUE:15]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID][MATERIAL_VALUE:15]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID][MATERIAL_VALUE:15]
edit:because sadly, that didn't work.
Logged
Pages: 1 ... 218 219 [220] 221 222 ... 544