Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Question about Limb Modding  (Read 1234 times)

Korgoth

  • Bay Watcher
    • View Profile
Re: Question about Limb Modding
« Reply #15 on: May 06, 2019, 03:02:36 pm »

Thank you for your replay!
Oooohhh Now I see!
Gonna try to tweak with the creatures texts
Logged

Roses

  • Bay Watcher
    • View Profile
Re: Question about Limb Modding
« Reply #16 on: May 06, 2019, 04:10:02 pm »

I'm not sure how you can get actual vomit, but if you take the spit interaction you can change the ADV_NAME and the VERB to get it to say you vomited. You could also change SPIT to BLOOD or PUS, LIQUID_GLOB can also be SOLID_GLOB or SPATTER_LIQUID

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Spit]
[CDI:USAGE_HINT:NEGATIVE_SOCIAL_RESPONSE]
[CDI:USAGE_HINT:TORMENT]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:SPIT:LIQUID_GLOB]
[CDI:VERB:spit:spits:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
Logged

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Question about Limb Modding
« Reply #17 on: May 06, 2019, 04:40:15 pm »

I couldn't get normal vomiting working and I don't really have time to continue today, but projectile vomiting is much easier. Copy this into any creature that you want to be able to do it. The Thrower skill controls the accuracy of your vomit.

Code: [Select]
[USE_MATERIAL_TEMPLATE:KORGVOMIT:CREATURE_EXTRACT_TEMPLATE]
[DISPLAY_COLOR:2:0:1]
[STATE_COLOR:ALL_SOLID:DARK_GREEN]

[STATE_NAME:ALL_SOLID:frozen vomit]
[STATE_ADJ:ALL_SOLID:frozen vomit]
[STATE_NAME:LIQUID:vomit]
[STATE_ADJ:LIQUID:vomit
[STATE_NAME:GAS:boiling vomit]
[STATE_ADJ:GAS:boiling vomit]
[PREFIX:NONE]



     [CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Projectile vomit]
[CDI:USAGE_HINT:NEGATIVE_SOCIAL_RESPONSE]
[CDI:USAGE_HINT:TORMENT]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:KORGVOMIT:LIQUID_GLOB]
[CDI:VERB:vomit:vomits:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]

Put this in a material template file.

Code: [Select]
[MATERIAL_TEMPLATE:KORGVOMIT] - reconstructed from data extracted from memory -copied from wiki by Enemy Post.
[STATE_COLOR:ALL:DARK_GREEN]
[STATE_NAME_ADJ:ALL_SOLID:vomit]
[STATE_NAME_ADJ:SOLID_PRESSED:pressed vomit]
[BASIC_COLOR:2:0]
[BUILD_COLOR:2:0:0]
[TILE_COLOR:2:0:1]
[SPEC_HEAT:4181]
[HEATDAM_POINT:10180]
[SOLID_DENSITY:1200]

I also wanted to add that if you really want to, you can induce vomiting in gameplay by eating too much.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Korgoth

  • Bay Watcher
    • View Profile
Re: Question about Limb Modding
« Reply #18 on: May 07, 2019, 01:03:44 pm »

Thank you for all your efforts with the reply, friends! The comunity of dwarf fortress is one of the most caring and friendly communitys on the internet!
I made a natural abilities to burp and barf, its great!!!
I know that a said that the last one wold be my last quaestion, but i got another one hahaha surprise haha...
How can a create a  [CAN_DO_INTERACTION:MATERIAL_EMISSION] for the animal persons?
Where and how do i have to put on the c_variation_default?
gonna try to edit the [CREATURE_VARIATION:NAIL_MATERIALS] for the tissue template of the vomit, that a made with the spatter_liquid interaction token and all the shenigans for the tissue template.
But since they dont have the can do interaction variation for the animal persons on the files, do you guys know how can i do that?
   
Logged

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Question about Limb Modding
« Reply #19 on: May 07, 2019, 01:23:09 pm »

I'm not sure what you mean by the second half of your post, are you trying to turn fingernails into vomit for some reason?

I assume the material emission that you want to give the animal men is the projectile vomit? If so, copy this into their creature variations.

Code: [Select]
[CV_NEW_TAG:USE_MATERIAL_TEMPLATE:KORGVOMIT:CREATURE_EXTRACT_TEMPLATE]
[CV_NEW_TAG:DISPLAY_COLOR:2:0:1]
        [CV_NEW_TAG:STATE_COLOR:ALL_SOLID:DARK_GREEN]
[CV_NEW_TAG:STATE_COLOR:LIQUID:DARK_GREEN]
[CV_NEW_TAG:STATE_COLOR:GAS:DARK_GREEN]

[CV_NEW_TAG:STATE_NAME:ALL_SOLID:frozen vomit]
[CV_NEW_TAG:STATE_ADJ:ALL_SOLID:frozen vomit]
[CV_NEW_TAG:STATE_NAME:LIQUID:vomit]
[CV_NEW_TAG:STATE_ADJ:LIQUID:vomit
[CV_NEW_TAG:STATE_NAME:GAS:boiling vomit]
[CV_NEW_TAG:STATE_ADJ:GAS:boiling vomit]
[CV_NEW_TAG:PREFIX:NONE]
[CV_NEW_TAG:CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CV_NEW_TAG:CDI:ADV_NAME:Projectile vomit]
[CV_NEW_TAG:CDI:USAGE_HINT:NEGATIVE_SOCIAL_RESPONSE]
[CV_NEW_TAG:CDI:USAGE_HINT:TORMENT]
[CV_NEW_TAG:CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CV_NEW_TAG:CDI:MATERIAL:LOCAL_CREATURE_MAT:KORGVOMIT:LIQUID_GLOB]
[CV_NEW_TAG:CDI:VERB:vomit:vomits:NA]
[CV_NEW_TAG:CDI:TARGET:C:LINE_OF_SIGHT]
[CV_NEW_TAG:CDI:TARGET_RANGE:C:15]
[CV_NEW_TAG:CDI:MAX_TARGET_NUMBER:C:1]
[CV_NEW_TAG:CDI:WAIT_PERIOD:50]

Were you still interested in having a way to become nauseous at will, or is projectile vomiting enough?

*Also, Roses reminded me that it's possible to emit splatters instead of liquid globs. Would you prefer that? It gives you more control over where you vomit, and also allows for you to pick up the vomit off the ground and use it as a (weak) weapon. It does have the downside of preventing you from directly hitting anyone with the initial attack, however. If you try, you just vomit on the floor underneath them. In any case, I tweaked the material to fix an oversight from before. Here's the new version.

Code: [Select]
[USE_MATERIAL_TEMPLATE:KORGVOMIT:CREATURE_EXTRACT_TEMPLATE]
[DISPLAY_COLOR:2:0:1]
[STATE_COLOR:ALL_SOLID:DARK_GREEN]
[STATE_COLOR:LIQUID:DARK_GREEN]
[STATE_COLOR:GAS:DARK_GREEN]

[STATE_NAME:ALL_SOLID:frozen vomit]
[STATE_ADJ:ALL_SOLID:frozen vomit]
[STATE_NAME:LIQUID:vomit]
[STATE_ADJ:LIQUID:vomit
[STATE_NAME:GAS:boiling vomit]
[STATE_ADJ:GAS:boiling vomit]
[PREFIX:NONE]
« Last Edit: May 07, 2019, 01:36:04 pm by Enemy post »
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Korgoth

  • Bay Watcher
    • View Profile
Re: Question about Limb Modding
« Reply #20 on: May 07, 2019, 03:53:56 pm »

It is enough, sir!
Already got it!
Just were triyng to give all the creatures the same ability :D
Thank you for your patience and effort!
My dwarfs shall sing your name whm they barf at the local tavern ;D
"Long live the enemy" hahaha
Logged

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Question about Limb Modding
« Reply #21 on: May 07, 2019, 06:13:45 pm »

Glad I could help!
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!
Pages: 1 [2]