Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 453 454 [455] 456 457 ... 544

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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6810 on: December 23, 2013, 03:59:09 am »

No. Interactions can only do what they say here.

Technically you can make fireproof creatures with interactions, but first you have to simulate with the interactions a version of Dwarf Fortress where it can be done.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6811 on: December 23, 2013, 07:23:51 am »

Also note that transformation makes them naked, keep that in mind.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Nahere

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6812 on: December 24, 2013, 03:50:16 pm »

2. Ah.
1. Environment being whether or not they're in water, magma, caves, etc.
You should be able to do caves by only activating when the CAVE_ADAPT counter trigger is above zero, but I thinks this relies on the creature already having [CAVE_ADAPT].
Logged

Mallos

  • Bay Watcher
  • sick and tired of being sick and tired
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6813 on: December 25, 2013, 06:45:46 pm »

I'm having some trouble getting stingers on my dread troll's tentacles. Here's the raws

Four stingers
Code: [Select]
[BODY:4STINGERS]
[BP:RUT1:stinger:STP][CON:tentacle][SMALL]
[REL_SIZE:500]
[BP:RUT2:stinger:STP][CON:tentacle][SMALL]
[REL_SIZE:500]
[BP:LUT1:stinger:STP][CON:tentacle][SMALL]
[REL_SIZE:500]
[BP:LUT2:stinger:STP][CON:tentacle][SMALL]
[REL_SIZE:500]


Body plan
Code: [Select]
[BODY:HUMANOID:FOUR_TENTACLES:2EYES:2EARS:NOSE:2LUNGS:HEART:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:SKULL:BRAIN:5FINGERS:5TOES:MOUTH:TONGUE:FACIAL_FEATURES:TEETH:RIBCAGE:2HEAD_HORN:2TUSKS:4STINGERS]
Logged
Gone. Departed. Headed off toward greener pastures.

Mallos

  • Bay Watcher
  • sick and tired of being sick and tired
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6814 on: December 25, 2013, 06:47:11 pm »

EDIT:Dammit,double-post  >:(
Logged
Gone. Departed. Headed off toward greener pastures.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6815 on: December 25, 2013, 06:55:12 pm »

I'm having some trouble getting stingers on my dread troll's tentacles. Here's the raws

Four stingers
Code: [Select]
[BODY:4STINGERS]
[BP:RUT1:stinger:STP][CON:tentacle][SMALL]
[REL_SIZE:500]
[BP:RUT2:stinger:STP][CON:tentacle][SMALL]
[REL_SIZE:500]
[BP:LUT1:stinger:STP][CON:tentacle][SMALL]
[REL_SIZE:500]
[BP:LUT2:stinger:STP][CON:tentacle][SMALL]
[REL_SIZE:500]


Body plan
Code: [Select]
[BODY:HUMANOID:FOUR_TENTACLES:2EYES:2EARS:NOSE:2LUNGS:HEART:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:SKULL:BRAIN:5FINGERS:5TOES:MOUTH:TONGUE:FACIAL_FEATURES:TEETH:RIBCAGE:2HEAD_HORN:2TUSKS:4STINGERS]

you are saying [CON:tentacle]
CON goes by BP token like how head is HD
CONTYPE goes by types HEAD, STANCE, GRASP, SIGHT, etc
CON_CAT goes by categories

so you might want [CON:RUT][CON:LUT][CON:RLT][CON:LLT]

or just make one stinger that connects to all tentacles

Code: [Select]
[BODY:TENTACLE_STINGERS]
[BP:TS:stinger:STP][CON_CAT:TENTACLE][SMALL]
[REL_SIZE:500]

above will connect to any bodypart that is categorized as TENTACLE which is in FOUR_TENTACLE
PS that body plan has claws on the Tentcles you could just use a bodygloss to rename the claws to stingers.

EDIT:
also with the category stinger they will show up in the body list as "monster's upper right tentacle's stinger"
« Last Edit: December 25, 2013, 06:56:51 pm by Hugo_The_Dwarf »
Logged

Roses

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6816 on: December 25, 2013, 07:11:04 pm »

Was just looking through the raws and noticed that the giant cave spider has

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Spray web]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_TOKEN:LB]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:SILK:WEB_SPRAY]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:5]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]

I thought the [WEBBER] tag let them make webs. Does one just have them make it where they are and the other shoot them?
Logged

Mallos

  • Bay Watcher
  • sick and tired of being sick and tired
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6817 on: December 25, 2013, 07:13:24 pm »

-snip-
Quote
-double snip-

Well thanks,but now when I stab them with the stinger this message pops up.

Quote from: dwarf fortress
the dread troll n/a splatters over the [insert body part here]

Well,here's the venom raws

Venom
Code: [Select]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:VENOM:LIQUID:100:100]
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
       [STATE_NAME:ALL_SOLID:frozen dread troll venom]
       [STATE_ADJ:ALL_SOLID:frozen dread troll venom]
       [STATE_NAME:LIQUID:dread troll venom]
       [STATE_ADJ:LIQUID:dread troll venom]
       [STATE_NAME:GAS:boiling dread troll venom]
       [STATE_ADJ:GAS:boiling dread troll venom]
       [PREFIX:NONE]
       [ENTERS_BLOOD]
       [SYNDROME]
           [SYN_NAME:dread troll sting]
           [SYN_AFFECTED_CLASS:GENERAL_POISON]
           [SYN_IMMUNE_CREATURE:TROLL_DREAD:ALL]
           [SYN_INJECTED]
           [CE_NECROSIS:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:900]
   [CE_IMPAIR_FUNCTION:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:900
Logged
Gone. Departed. Headed off toward greener pastures.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6818 on: December 25, 2013, 08:50:02 pm »

-snip-
Quote
-double snip-

Well thanks,but now when I stab them with the stinger this message pops up.

Quote from: dwarf fortress
the dread troll n/a splatters over the [insert body part here]

Well,here's the venom raws

Venom
Code: [Select]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:VENOM:LIQUID:100:100]
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
       [STATE_NAME:ALL_SOLID:frozen dread troll venom]
       [STATE_ADJ:ALL_SOLID:frozen dread troll venom]
       [STATE_NAME:LIQUID:dread troll venom]
       [STATE_ADJ:LIQUID:dread troll venom]
       [STATE_NAME:GAS:boiling dread troll venom]
       [STATE_ADJ:GAS:boiling dread troll venom]
       [PREFIX:NONE]
       [ENTERS_BLOOD]
       [SYNDROME]
           [SYN_NAME:dread troll sting]
           [SYN_AFFECTED_CLASS:GENERAL_POISON]
           [SYN_IMMUNE_CREATURE:TROLL_DREAD:ALL]
           [SYN_INJECTED]
           [CE_NECROSIS:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:900]
   [CE_IMPAIR_FUNCTION:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:900

Problem with this is you do the attack, then you define the material.
Order of Events. Do you wake up, goto work, come home, then get dressed (you went most of the day naked) no you get dressed then goto work.

Just remember this is like low level programming DF modding is, you should define all your variables first (materials, tissues) then you call them later on (body detail plans, attacks, interactions, etc.)

so move your USE_MATERIAL_TEMPLATE:POISON above the attack. PS the attack is using VENOM not POISON also in the syndrome you are missing a "]" on CE_IMPAIR_FUNCTION:
« Last Edit: December 25, 2013, 08:51:35 pm by Hugo_The_Dwarf »
Logged

nossr50

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6819 on: December 25, 2013, 10:42:29 pm »

Hello everyone, I'm modifying the Fear The Night creatures mod for Adventure mode, I want to change the vampire megabeasts in his raws to drop an edible item that starts [CE:INTERACTION:LESSER_VAMPIRE_CURSE] for example, basically an edible item that starts an interaction. I'm super new to dwarf fort modding but I've been reading the wiki and posts on this forum. How would I add something to a creatures drops? And how would I make it edible/poisoned?

I'm really just trying to tone down how OP vampires are in FTN and make it harder to become one (aka: actually slaying a vampire and then eating his.. heart or something to become one)
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6820 on: December 26, 2013, 02:14:31 pm »

Hello everyone, I'm modifying the Fear The Night creatures mod for Adventure mode, I want to change the vampire megabeasts in his raws to drop an edible item that starts [CE:INTERACTION:LESSER_VAMPIRE_CURSE] for example, basically an edible item that starts an interaction. I'm super new to dwarf fort modding but I've been reading the wiki and posts on this forum. How would I add something to a creatures drops? And how would I make it edible/poisoned?

I'm really just trying to tone down how OP vampires are in FTN and make it harder to become one (aka: actually slaying a vampire and then eating his.. heart or something to become one)
You can do this by adding ITEMCORPSE:PLANT:NONE:PLANT_MAT:VAMPIRE_PLANT_FTN:STRUCTURAL] to the vampire creature file. Then you only need to copy a plump helmet, call it VAMPIRE_PLANT_FTN, remove biomes and set frequency to 0 (to stop it appearing naturally), and add the syndrome that causes the vampire transformation to it. The dead vampire will only leave this edible plant, you eat it, become a vampire. You can also use meat instead of plants, but it needs a fake creature, and the plant might be easier to write. Ingame you will just see the name anyway, so you can call it "bloody vampire corpse" or whatever you like.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6821 on: December 26, 2013, 03:26:58 pm »

Was just looking through the raws and noticed that the giant cave spider has

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Spray web]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_TOKEN:LB]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:SILK:WEB_SPRAY]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:5]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]

I thought the [WEBBER] tag let them make webs. Does one just have them make it where they are and the other shoot them?
The first one is the spray of web interaction, the second one makes pre-spawned webs on maps they live on (like cave spider silk webs).

So you could have it only have 1st interaction, and then there wouldn't be giant cave spider silk webs all over the place in caves, and you could make it with only WEBBER, then it would not shoot but it would occasionally leave webs on surfaces (and there would be webs in caverns).
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6822 on: December 26, 2013, 03:30:33 pm »

Deon, would you know if the total amount of webs is raised, if the amount of WEBBER are higher? Could I spam 1000 WEBBER vermin with DEPTH:3:3 and embark on a mostly webbed cavern #3?
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6823 on: December 27, 2013, 12:58:30 pm »

I'm pretty sure it does. I can tell you that, when I started my vermin script, I accidentally left the CLUSTER_NUMBER in for all vermin, which among others caused the spider types (and others, of course) to appear in those clusters and web up large-ish chunks of the map.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

20firebird

  • Bay Watcher
  • how did i get here
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6824 on: December 27, 2013, 03:03:49 pm »

Why can't dwarves ride mounts and how do I fix it? I want war wyverns.
Logged
WHERE DO YOU EVEN GET ENOUGH BABY FOR A PICKAXE? THERE ISN'T ENOUGH BABY.
Pages: 1 ... 453 454 [455] 456 457 ... 544