Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 180 181 [182] 183 184 ... 544

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

GuardianTempest

  • Bay Watcher
  • Forum Daydreamer
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2715 on: September 26, 2012, 09:44:25 am »

It's not working, errorlog says so. But I believe I followed the proper syntax.

The syndrome is part of a gas, which works.
Code: [Select]
   [SYNDROME]
      [SYN_NAME:experimental shenanigans]
      [SYN_AFFECTED_CLASS:GENERAL_POISON]
      [SYN_IMMUNE_CREATURE:MATCHSTICK:ALL]
      [SYN_INHALED]
      [CE_SWELLING:SEV:550:PROB:100:BP:BY_TYPE:HEAD:ALL:START:1:PEAK:20:END:1000]
Logged

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2716 on: September 26, 2012, 09:58:57 am »

Was looking around but how could i allow bones and certant types of limbs to heal faster then others?
Logged

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2717 on: September 26, 2012, 10:29:07 am »

How would I create a working body detail plan and define it in the raws? I used the wiki extensively for other purposes but I don't get how the body detail plans work.

Akjosch

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2718 on: September 26, 2012, 11:08:42 am »

How would I create a working body detail plan and define it in the raws? I used the wiki extensively for other purposes but I don't get how the body detail plans work.

There are (at least) five types of those; which exactly do you mean?

* Material-Defining: [ADD_MATERIAL] tags, assign a name (for example "MUSCLE") to a specific material template (for example "MUSCLE_TEMPLATE")

* Tissue-Defining: [ADD_TISSUE] tags, assign a name (for example "MUSCLE") to a specific tissue template (for example "MUSCLE_TEMPLATE") using the material names assigned so far.

It's worth noting that - despite the same names! - the material template "MUSCLE_TEMPLATE" is not the same as the tissue template "MUSCLE_TEMPLATE", and neither is the material named "MUSCLE" the same as the tissue named "MUSCLE".

* Layer-Defining: [BP_LAYERS] tags, assigns tissue layers defined above to body parts chosen by either category (BY_CATEGORY), type (BY_TYPE) or specific name (BY_TOKEN).

* Position-Defining: [BP_POSITION] and [BP_RELATION] tags, define where in relation to each other the body parts are on a creature, chosen as above

* Size-Defining/Modifying: [BP_RELSIZE] tags, modify the body parts' [DEFAULT_RELSIZE] values, chosen as above

As for writing them down, you start a new text file (file extension: "txt") in the "raws/objects" directory, then start it with the following lines:

Code: [Select]
b_detail_plan_elf_collaborator

[OBJECT:BODY_DETAIL_PLAN]

Compare raws/objects/b_detail_plan_default.txt
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2719 on: September 26, 2012, 01:50:08 pm »

Was looking around but how could i allow bones and certant types of limbs to heal faster then others?
Add [HEALING_RATE:X] to the tissues that the limbs are made out of. Lower numbers are faster, with 100 being the vanilla skin healing rate and 1000 being the vanilla bone healing rate.
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.

Ari Lazarus

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2720 on: September 29, 2012, 08:12:03 am »

I'm trying to make a fake plant as a mixed drink from two forms of alcohol, this is what I've got at the moment:
Spoiler: plant (click to show/hide)

However, the reaction to make it uses up my reagents but doesn't output anything. Here's the reaction:
Spoiler: reaction (click to show/hide)

I've added the required buildings, reactions to entity_default. Is there more to the plant that I need to add? I'm thinking if I add PLANT_STRUCTURAL_TEMPLATE I might run into the awkward position where dwarves might like eating a non-existent solid 'plant' version of the cocktail.
Logged
Modest Bodies - Fixes joints for all creatures.

werty892

  • Bay Watcher
  • Neat.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2721 on: September 29, 2012, 08:28:22 am »

How do I change the age that children turn into adults? And do I need to gen a new world for this to work or does it work automatically?

Ari Lazarus

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2722 on: September 29, 2012, 09:02:12 am »

How do I change the age that children turn into adults? And do I need to gen a new world for this to work or does it work automatically?

creature_standard.txt

Under the entry for dwarves, edit this:
[CHILD:12]

That entry determines how many years the dwarf is a child, so change it to something lower, I think. Like 1 or 2.
Logged
Modest Bodies - Fixes joints for all creatures.

werty892

  • Bay Watcher
  • Neat.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2723 on: September 29, 2012, 09:03:55 am »

How do I change the age that children turn into adults? And do I need to gen a new world for this to work or does it work automatically?

creature_standard.txt

Under the entry for dwarves, edit this:
[CHILD:12]

That entry determines how many years the dwarf is a child, so change it to something lower, I think. Like 1 or 2.

Thanks! But does it break my game if I use it on a world that I'm already playing on?

Ari Lazarus

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2724 on: September 29, 2012, 11:10:48 am »

I am uncertain - but I think you need to regen
Logged
Modest Bodies - Fixes joints for all creatures.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2725 on: September 29, 2012, 11:10:56 am »

Was looking around but how could i allow bones and certant types of limbs to heal faster then others?

You would have to make a custom BDP and many BONE tissues and place the faster healing BONE tissues in the desired limbs

Remember it is the Tissues that heal, so you must make your desired parts be assembled with different tissues.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2726 on: September 29, 2012, 07:45:12 pm »

I am uncertain - but I think you need to regen

You don't, it shouldn't mess you up.

Sorcerer

  • Bay Watcher
  • [magical]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2727 on: September 29, 2012, 07:57:08 pm »

Greetings again fellow modding gurus!

I seem to finally have found a solution to my pants issue, having  the upper body also be a lower body, and the lower body be a limb means the LBSTEP on armor now works, the only issue now is that it is technically possible to have your entire back end lopped off with not much ill effect... Does anyone have any ideas on how i can make losing a body part a bit more lethal?
Another problem this particular body structure has is the mouth grasp, and the fact that whenever someone is knocked unconscious enemies seem to prefer to stab them in the mouth instead of trying to brain them, to not much effect... Any ideas how to solve that particular conundrum?

Code: [Select]
[BODY:QUADRUPED_PONY]

[BP:UB:torso:torsoes][UPPERBODY][LOWERBODY][CATEGORY:BODY_UPPER]
[DEFAULT_RELSIZE:1750]
[BP:LB:flank:flanks][CON:UB][CATEGORY:BODY_LOWER][LIMB][LOWERBODY]
[DEFAULT_RELSIZE:250]
[BP:NK:neck:STP][CON:UB][CATEGORY:NECK]
[DEFAULT_RELSIZE:300]
[BP:HD:head:STP][CON:NK][HEAD][CATEGORY:HEAD]
[DEFAULT_RELSIZE:300]
[BP:RUFL:right upper foreleg:STP][CON:UB][LIMB][RIGHT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:500]
[BP:RLFL:right lower foreleg:STP][CON:RUFL][LIMB][RIGHT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:400]
[BP:RFF:front right hoof:front right hooves][CON:RLFL][STANCE][RIGHT][GRASP][LIMB][EMBEDDED][CATEGORY:HOOF_FRONT]
[DEFAULT_RELSIZE:80]
[BP:LUFL:left upper foreleg:STP][CON:UB][LIMB][LEFT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:500]
[BP:LLFL:left lower foreleg:STP][CON:LUFL][LIMB][LEFT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:400]
[BP:LFF:front left hoof:front right hooves][CON:LLFL][STANCE][LEFT][GRASP][LIMB][EMBEDDED][CATEGORY:HOOF_FRONT]
[DEFAULT_RELSIZE:80]
[BP:RUHL:right upper hindleg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:150]
[BP:RLHL:right lower hindleg:STP][CON:RUHL][LIMB][RIGHT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:100]
[BP:RFH:rear right hoof:rear right hooves][CON:RLHL][STANCE][RIGHT][LIMB][EMBEDDED][CATEGORY:HOOF_REAR]
[DEFAULT_RELSIZE:20]
[BP:LUHL:left upper hindleg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:120]
[BP:LLHL:left lower hindleg:STP][CON:LUHL][LIMB][LEFT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:100]
[BP:LFH:rear left hoof:rear right hooves][CON:LLHL][STANCE][LEFT][LIMB][EMBEDDED][CATEGORY:HOOF_REAR]
[DEFAULT_RELSIZE:20]

[BODY:PONY_MOUTH]
[BP:MOUTH:mouth:STP][CONTYPE:HEAD][MOUTH][GRASP][SMALL][EMBEDDED][APERTURE][CATEGORY:MOUTH]
[DEFAULT_RELSIZE:20]

edit:
there we go, that should fix it
« Last Edit: September 30, 2012, 05:38:48 am by Sorcerer »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2728 on: September 29, 2012, 11:33:47 pm »

LEFT and RIGHT are valid BBcode tags. Use the code tag instead of spoiler tags for bodies.

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2729 on: September 30, 2012, 08:16:42 pm »

Best way to tell when you have duplicate raws:

Entities
-------
Dwarves
humans
goblins
Kobolds
Wild Boars <--- The hell
gremlins <--- The hell
Elves

Well i know exactly where to look...
Logged
Quote from: Discord
Suika, Drinker of Sake - Today at 9:11 PM
"...I really don't know why Cu chulainn made that last promise because he is physically incapable of keeping it in his pants, it is like his junk is some kind of unruly seamonster or moray eel telescoping out of its holster and harpooning ladies left and right"
Johnny Jokotaru sent Kars down under
Pages: 1 ... 180 181 [182] 183 184 ... 544