Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 172 173 [174] 175 176 ... 247

Author Topic: [MODDING] 0.40.x QUESTIONS THREAD  (Read 335236 times)

King_Crimson

  • Escaped Lunatic
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2595 on: May 19, 2015, 09:04:14 pm »

Thanks for the help earlier, but I'm still a bit clueless about the way attacks work. I tried modifying preexisting attacks, and made this:
Code: [Select]
[ATTACK:SLAM:BODYPART:BY_CATEGORY:ALL:VINE]
[ATTACK_VERB:slam:slams]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_INDEPENDANT_MULTIATTACK]
[ATTACK_FLAG_CANLATCH]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:STAB:BODYPART:BY_CATEGORY:ALL:VINE]
[ATTACK_FLAG_INDEPENDANT_MULTIATTACK]
[ATTACK_PRIORITY:SECOND]
[ATTACK_SKILL:SPEAR]
[ATTACK_CONTACT_PERC:75]
[ATTACK_VERB:stabs:stabs at]
[ATTACK_FLAG_EDGE]
[ATTACK_FLAG_WITH]
[ATTACK_PENETRATION_PERC:100]
[SPECIALATTACK_INJECT_EXCRACT:LOCAL_CREATURE_MAT:POISON:LIQUID:100:100]
[ATTACK_PREPARE_AND_RECOVER:5:5]

However, neither attack is ever used (only a "pushes" message is displayed whenever I try to attack things in the arena.) Is there something blatantly wrong I'm doing?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2596 on: May 19, 2015, 09:07:56 pm »

It's just BY_CATEGORY:VINE

King_Crimson

  • Escaped Lunatic
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2597 on: May 19, 2015, 09:19:28 pm »

It's just BY_CATEGORY:VINE

I tried that first, but it didn't work.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2598 on: May 19, 2015, 09:29:28 pm »

Do you have a vine body part?

King_Crimson

  • Escaped Lunatic
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2599 on: May 20, 2015, 06:01:44 pm »

Do you have a vine body part?

Yes, here:
Code: [Select]
[BODY:TWELVE_NO_CLAW_VINES]
    [BP:RUT:first right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:30000]
    [BP:LUT:first left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:30000]
    [BP:RUT:second right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:LUT:second left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:third right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:LUT:third left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:fourth right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:LUT:fourth left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:fifth right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:LUT:fifth left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:sixth right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:LUT:sixth left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:seventh right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:1000]
    [BP:LUT:seventh left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:eigth right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:LUT:eigth left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:ninth right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:1000]
    [BP:LUT:ninth left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:tenth right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:1000]
    [BP:LUT:tenth left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:eleventh right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:LUT:eleventh left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:10000]
    [BP:RUT:twelfth right vine:STP][CONTYPE:UPPERBODY][LIMB]--RIGHT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:5000]
    [BP:LUT:twelfth left vine:STP][CONTYPE:UPPERBODY][LIMB]--LEFT][CATEGORY:VINE]
      [DEFAULT_RELSIZE:5000]
« Last Edit: May 20, 2015, 06:12:35 pm by King_Crimson »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2600 on: May 20, 2015, 08:45:49 pm »

Misspelling "independent" may be causing problems too.

Usul

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2601 on: May 20, 2015, 09:17:49 pm »

Quote
However, neither attack is ever used (only a "pushes" message is displayed whenever I try to attack things in the arena.) Is there something blatantly wrong I'm doing?

If you are using a creature lacking a THOUGHT part, you need [NO_THOUGHT_CENTER_FOR_MOVEMENT] for it to actually be able to do something.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2602 on: May 20, 2015, 09:34:26 pm »

Quote
However, neither attack is ever used (only a "pushes" message is displayed whenever I try to attack things in the arena.) Is there something blatantly wrong I'm doing?

If you are using a creature lacking a THOUGHT part, you need [NO_THOUGHT_CENTER_FOR_MOVEMENT] for it to actually be able to do something.
By a quirk of the combat system, the "push" attack seems to happen when a creature has no other valid choices.  You most often see it on IMMOBILE creatures and those who need a thought center to move but don't have one.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2603 on: May 21, 2015, 07:41:35 am »

Is it possible to remove the gelding and the "gelding strikes" out of the game completely by simply deleting
[SET_BP_GROUP:BY_TYPE:LOWERBODY][BP_ADD_TYPE:GELDABLE]

from every creatures that has it or is there something else you need to remove ?
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2604 on: May 21, 2015, 10:16:43 am »

Nah, that's got it all.
Logged

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2605 on: May 21, 2015, 12:05:24 pm »

Thanks, i was unsure if there were more references to remove.
Logged

Usul

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2606 on: May 21, 2015, 04:14:19 pm »

I am not sure to understand what is exactly needed for an underground civilization to be placed.
I have these entities, and I can't see them in my worlds. All three are from the legends of forlorn realms mod.

entity_grum
Spoiler (click to show/hide)

entity_moroii
Spoiler (click to show/hide)

entity_shedim_underground
Spoiler (click to show/hide)

Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2607 on: May 21, 2015, 04:16:28 pm »

Where are you looking?

Usul

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2608 on: May 21, 2015, 04:23:29 pm »

Legends Viewer.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2609 on: May 22, 2015, 04:05:41 pm »

Fun fact:

[CREATURE_CLASS:THIS_IS_a test of the CrEaTuReClaSs_ system /\}{)_!@#$%^&*]

Is a perfectly valid token, no errors. Using DFHack to get how the game actually loads the creature class gets you:

THIS_IS_a test of the CrEaTuReClaSs_ system /\}{)_!@#$%^&*

So that's cool.
Pages: 1 ... 172 173 [174] 175 176 ... 247