Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 149 150 [151] 152 153 ... 544

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

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2250 on: July 20, 2012, 02:59:05 pm »

Is the token for sensory nerves just [SENSORY_NERVES]? There is nothing on them on the wiki
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2251 on: July 20, 2012, 03:10:51 pm »

HAS_NERVES

you can't pick and choose which of the two nerve types you can have.

Either both or none. Just something fancy in MUSCULAR tissue layers is all.

Well not just fancy, we all know it has effects.
Logged

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2252 on: July 20, 2012, 03:17:12 pm »

But for things like syndromes I can differentiate between the two, right?  Or do I just have to target the skin to get the sensory nerves?
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2253 on: July 20, 2012, 03:32:50 pm »

Only a edged attack on a MUSCULAR tissue can damage nerves (sever them)

You can NUMB a bodypart with a syndrome, Which I believe can damage sensory nerves. So that wiki States

CE_NUMBNESS  Causes numbness in the affected body part, blocking pain. Extreme numbness may lead to sensory nerve damage
Logged

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2254 on: July 20, 2012, 03:38:48 pm »

Only a edged attack on a MUSCULAR tissue can damage nerves (sever them)

You can NUMB a bodypart with a syndrome, Which I believe can damage sensory nerves. So that wiki States

CE_NUMBNESS  Causes numbness in the affected body part, blocking pain. Extreme numbness may lead to sensory nerve damage
Rotting the skin off would achieve the same thing right? Dwarves don't need skin.
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2255 on: July 20, 2012, 05:23:43 pm »

Well... Skin is not the only tissue that has [PAIN_RECEPTORS:5]

SKIN, FAT, MUSCLE, BONE, pretty much all tissues can feel pain.
Rotting skin off will just have FAT be the top tissue or whatever is under skin.

Delve into the "tissue_template_default.txt"

also from the wiki:

HAS_NERVES  Caste   This makes the creature susceptible to severed motor and sensory nerves when muscles are torn in limb, grasp and stance parts. Some butchering yields nervous tissue.

Now muscles are really just a tissue that has a MUSCULAR tissue, skin lacks that. So no sensory nerves there.
Also the "Some butchering yields nervous tissue." part is wrong, it's the SPINE that yields "nervous tissue" on butchering, because that is a Tissue Layer in the spine.
Logged

LordRandomness

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2256 on: July 21, 2012, 01:47:32 am »

Okay, new question: I'm guessing the [SPECIALATTACK_INTERACTION] token flags an attack as applying an interaction...what's the exact syntax?

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2257 on: July 21, 2012, 09:29:31 am »

I'm trying to get this vampire cure to work. It's supposed to be able to appear in Arena mode as a 'cured vampire' with all of the good things and none of the evil things. I can't get it to show. Help?

Code: [Select]
INTERACTION:VAMPIRE_CURSE_CURE]

[I_SOURCE:SECRET]
[IS_HIST_STRING_1: was cured of vampirism by ]

[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_FORBIDDEN:HAS_BLOOD]
[IT_REQUIRES:NOT_LIVING]
[IT_REQUIRES:SUPERNATURAL]

[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Cured Vampire]
[SYNDROME]
[SYN_CLASS:VAMPCURE]
[CE_DISPLAY_NAME:NAME:cured vampire:cured vampires:NA:START:0:END:10000]
[CE_REMOVE_TAG:BLOODSUCKER:NO_AGING:STERILE:NOT_LIVING:NOBREATHE:NONAUSEA:NO_DIZZINESS:NO_FEVERS:PARALYZEIMMUNE:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Cure Vampirism]
[CDI:INTERACTION:VAMPIRE_CURSE_CURE]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]
[CDI:TARGET_VERB:shudder and become less pale :shudders and becomes less pale]
[CDI:WAIT_PERIOD:10]

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2258 on: July 21, 2012, 11:09:19 am »

So your cure can only be used by cured vampires? How does one become cured?

Okay, new question: I'm guessing the [SPECIALATTACK_INTERACTION] token flags an attack as applying an interaction...what's the exact syntax?

[SPECIALATTACK_INTERACTION:<interaction id>]
^^Note only interactions that have I_SOURCE:ATTACK work for this^^
Logged

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2259 on: July 21, 2012, 02:38:07 pm »

Is it possible for an interaction to work where you just select your opponents from long range and apply a syndrome to them without shooting any gunk out at them?
Logged
It's FEF, not FEOF

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2260 on: July 21, 2012, 03:37:29 pm »

Yes, that's what ADD_SYNDROME is for. See mummy interaction.

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2261 on: July 21, 2012, 04:35:13 pm »

Kay thanks.

Also could um you tell me what's wrong with this interaction? The attached syndrome isn't working as intended.


Code: [Select]
[CAN_DO_INTERACTION:PSIONIC_PAIN]
[CDI:ADV_NAME:Cause pain]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HEAD]
[CDI:VERB:cause pain:causes pain]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:3000]
Code: [Select]
[INTERACTION:PSIONIC_PAIN]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:opponent]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:In pain]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_PAIN:SEV:1500:PROB:90:RESISTABLE:START:1:PEAK:1500:END:3000]

      
Logged
It's FEF, not FEOF

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2262 on: July 21, 2012, 04:45:41 pm »

The pain has no tissue. You probably want [CE_PAIN:SEV:1500:PROB:90:BP:BY_CATEGORY:ALL:ALL:RESISTABLE:START:1:PEAK:1500:END:3000]

Monk321654

  • Bay Watcher
  • [COMPUTER_DEPENDENT]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2263 on: July 21, 2012, 05:22:22 pm »

Here's a bit of an interesting one...
Is it possible to make a custom Body Appearance Modifier?
Like, instead of a part have variance between small and large, you could have "it's horns are twisted." or, "it's horns are straight."
Something like that, or is it hard coded?
Logged
This is a side-effect of dwarven animal training (hit animal with hammer until it forgets that it hates you, then lovingly cuddle it).

I'm not your average Bay12er. I care about my drunken midgets.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2264 on: July 21, 2012, 05:25:09 pm »

Make a custom color?

[COLOR:TWISTED]
   [NAME:twisted]
   [WORD:TWIST]
   [RGB:255:191:0]

then make horns that color/sets of color

THen you can have "It's horns are twisted, It's horns are long"
etc.
etc.
Logged
Pages: 1 ... 149 150 [151] 152 153 ... 544