Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Poison Wolf - Questions  (Read 1512 times)

AnotherDwarvernDeath

  • Bay Watcher
    • View Profile
Poison Wolf - Questions
« on: April 18, 2010, 09:55:10 am »

Okay, so I've made my first mod for the newest version, and I came out with this:

Code: [Select]
creature_wolf_poison

[OBJECT:CREATURE]

[CREATURE:WOLF_POISON]
[DESCRIPTION:A larger-than-average wolf with greenish fur. It breathes poisonous vapors that cause your eyes to rot out.]
[NAME:poison wolf:poison wolves:poison wolf]
[CASTE_NAME:poison wolf:poison wolves:poison wolf]
[CHILD:1][GENERAL_CHILD_NAME:poison wolf pup:poison wolf pups]
[CREATURE_TILE:'w'][COLOR:2:0:1]
[LARGE_PREDATOR][MEANDERER]
[LARGE_ROAMING][FREQUENCY:1]
[BIOME:TUNDRA]
[BIOME:FOREST_TAIGA]
[BIOME:ANY_TEMPERATE_FOREST]
[BIOME:SHRUBLAND_TEMPERATE]
[POPULATION_NUMBER:10:20]
[CLUSTER_NUMBER:1:4]
[GRASSTRAMPLE:0][NATURAL]
[PETVALUE:50]
[PET_EXOTIC]
[BONECARN]
[PREFSTRING:cunning]
[BODY:QUADRUPED:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:4TOES_FQ:4TOES_RQ:MOUTH:GENERIC_TEETH_WITH_LARGE_EYE_TEETH:RIBCAGE]
[BODYGLOSS:PAW]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[SELECT_TISSUE:HAIR]
[INSULATION:200]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR]
[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
[BODY_SIZE:0:0:120000]
[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:400:500]
[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_CANLATCH]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:POISON_WOLF_VENOM:LIQUID:100:100]
[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:scratch:scratches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]
[USE_MATERIAL_TEMPLATE:POISON_WOLF_VENOM:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen poison wolf venom]
[STATE_ADJ:ALL_SOLID:frozen poison wolf venom]
[STATE_NAME:LIQUID:poison wolf venom]
[STATE_ADJ:LIQUID:poison wolf venom]
[STATE_NAME:GAS:boiling poison wolf venom]
[STATE_ADJ:GAS:boiling poison wolf venom]
[PREFIX:NONE]
[SYNDROME]
[SYN_NAME:poison wolf extreme rot]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:WOLF_POISON:ALL]
[SYN_INJECTED]
[ENTERS_BLOOD]
[CE_NECROSIS:SEV:450:PROB:100:RESISTABLE:SIZE_DILUTES:BP:BY_CATEGORY:EYE:ALL:START:20:PEAK:300:END:600]
[CE_NAUSEA:SEV:100:PROB:95:RESISTABLE:SIZE_DILUTES:START:40:PEAK:400:END:700]
[CE_DIZZINESS:SEV:50:PROB:80:RESISTABLE:SIZE_DILUTES:START:40:PEAK:500:END:700]
[CE_PAIN:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:LOCALIZED:VASCULAR_ONLY:START:70:PEAK:500:END:700]
[USE_MATERIAL_TEMPLATE:POISON_WOLF_GAS:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen poison wolf venom]
[STATE_ADJ:ALL_SOLID:frozen poison wolf venom]
[STATE_NAME:LIQUID:poison wolf venom]
[STATE_ADJ:LIQUID:poison wolf venom]
[STATE_NAME:GAS:boiling poison wolf venom]
[STATE_ADJ:GAS:boiling poison wolf venom]
[PREFIX:NONE]
[SYNDROME]
[SYN_NAME:poison wolf rot]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:WOLF_POISON:ALL]
[SYN_CONTACT]
[CE_NECROSIS:SEV:450:PROB:100:RESISTABLE:SIZE_DILUTES:BP:BY_CATEGORY:EYE:ALL:START:20:PEAK:300:END:600]
[MATERIAL_BREATH_ATTACK:LOCAL_CREATURE_MAT:POISON_WOLF_GAS:TRAILING_VAPOR_FLOW]
[DIURNAL]
[HOMEOTHERM:10070]
[SWIMS_INNATE][SWIM_SPEED:2500]
[MUNDANE]
[CASTE:FEMALE]
[FEMALE]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:HAIR]
[TL_COLOR_MODIFIER:GREEN:1]
[TLCM_NOUN:hair:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:BROWN:1:BURNT_UMBER:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_PEACH:1:DARK_TAN:1:ECRU:1:PALE_BROWN:1:PALE_CHESTNUT:1:PALE_PINK:1:PEACH:1:PINK:1:RAW_UMBER:1:SEPIA:1:TAN:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:skin:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:IRIS_EYE_ORANGE:1]
[TLCM_NOUN:eyes:PLURAL]
[SELECT_MATERIAL:ALL]
[MULTIPLY_VALUE:2]

This, for the most part, works. The new size system frankly confuses the heck out of me, so I just copied in the size from werewolf.

Code: [Select]
[BODY_SIZE:0:0:120000]

Compare that with the body size from a regular wolf:
Code: [Select]
[BODY_SIZE:0:0:4000]
[BODY_SIZE:1:0:20000]
[BODY_SIZE:2:0:40000]

Why are the numbers so different? Also, I've tried to make the poison work faster by decreasing the START, PEAK, and END values, but it doesn't have much effect. Anyone know how to make that work? Any help would be most appreciated. ;D

On the upside I managed to make its fur green without any confusion.
Logged

Urist McCyrilin

  • Bay Watcher
  • Oh, the dwarfity!
    • View Profile
    • CyCom! Writing&PnP!
Re: Poison Wolf - Questions
« Reply #1 on: April 18, 2010, 10:01:10 am »

[BODY_SIZE:0:0:4000]
[BODY_SIZE:1:0:20000]
[BODY_SIZE:2:0:40000]
Decpits how big the average wolf is at which age. At age 0, i.e. newborn he'll have a size of 4000. After 1 year, he has size 2000. At age 2, which means he is adult he has age 40000.
Can't help you with the poison though, sorry.
Logged

AnotherDwarvernDeath

  • Bay Watcher
    • View Profile
Re: Poison Wolf - Questions
« Reply #2 on: April 18, 2010, 10:08:09 am »

[BODY_SIZE:0:0:4000]
[BODY_SIZE:1:0:20000]
[BODY_SIZE:2:0:40000]
Decpits how big the average wolf is at which age. At age 0, i.e. newborn he'll have a size of 4000. After 1 year, he has size 2000. At age 2, which means he is adult he has age 40000.
Can't help you with the poison though, sorry.

But doesn't that mean that a werewolf is huge from the time it's born? Now I need some way to breed things in arena mode...
Logged

Urist McCyrilin

  • Bay Watcher
  • Oh, the dwarfity!
    • View Profile
    • CyCom! Writing&PnP!
Re: Poison Wolf - Questions
« Reply #3 on: April 18, 2010, 10:22:49 am »

[BODY_SIZE:0:0:4000]
[BODY_SIZE:1:0:20000]
[BODY_SIZE:2:0:40000]
Decpits how big the average wolf is at which age. At age 0, i.e. newborn he'll have a size of 4000. After 1 year, he has size 2000. At age 2, which means he is adult he has age 40000.
Can't help you with the poison though, sorry.

But doesn't that mean that a werewolf is huge from the time it's born? Now I need some way to breed things in arena mode...
Yes, it does mean he is born huge. One thing I would suggest is checking out creature_standard.txt. Toady included SOME documentation there, including what certain raws do and also a bit about poison if I am correct.
Logged

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Poison Wolf - Questions
« Reply #4 on: April 18, 2010, 05:10:42 pm »

Im pretty sure werewolves dont actualy breed. Last version at least they were all placed at the beginning of worldgen, and never reproduced.

Hence they would only need 1 number, as it wouldnt spawn werewolf infants.

As for poisons, I havnt ran into any documentation about it, so im just speculating here.

The start,peak,end values could represent how and when the poisons effect increases and deminishes. START:5 would make it start 5 (seconds?) after injection, PEAK:10 would make the effect reach its peak 10 seconds after injection, and END:20 would make the poisons effect be gone after 20 seconds.

If this is so, then decreasing end would make it less effective. Try something like START:0:PEAK:1:END:200 and see what happens. That should allmost instantly make the effect reach its maximum, and deminish only very slowly.

SEV looks promising, it could mean severity. Try setting it to 900. Though it might not work if it is a percentage capped at 100.

If none of that works, try to find another value for RESISTABLE, or leave it out entirely.

Also: just found this
Quote from: raws
[CE_DIZZINESS:SEV:10:PROB:100:RESISTABLE:START:5:PEAK:100]  never ends!

Seems like you can make it endless. Eye rottage guaranteed.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

AnotherDwarvernDeath

  • Bay Watcher
    • View Profile
Re: Poison Wolf - Questions
« Reply #5 on: April 19, 2010, 04:06:12 pm »

Thanks for the help. So I changed START to 1, PEAK to 2, and END to 3.

EDIT: Aaaand I would like to revise my earlier testing, since I changed the values for the poison wolf bite, not vapor. :-X

With the correct syndrome changed, it causes instant, albeit slight, eye rotting on contact with the vapor. Now I just need to tweak it so it doesn't just make your eyes explode on contact.
« Last Edit: April 19, 2010, 04:19:43 pm by AnotherDwarvernDeath »
Logged

Evil One

  • Bay Watcher
  • [Champion Elfslayer]
    • View Profile
Re: Poison Wolf - Questions
« Reply #6 on: April 19, 2010, 04:22:44 pm »

SEV is severity this means the maximum effect level reached at PEAK.
START is how many turns elapse before the disease/poison starts taking effect
END is when is finally stops.
PROB is the percentage of how often the poison/disease takes effect.
for the greatest lethality in a poison set the SEV to 1000 and the START and PEAK to 0 the end is how many turns you want it to last, remember it's possible that if you're playing a fortress your dwarves could run into one or more poison wolves so I wouldn't advise making them too deadly.
Logged
Dwarf!  Indeed, a devious delight fond of drink and industry deceived as both do-gooder and devil by the delusions of deities.  This demander, no daft demeanor, is a driving force of the deadly diocese, now disappointed, delirious from goblin deception.  However, this delicious derangement of a demolished diamond stands determined!

AnotherDwarvernDeath

  • Bay Watcher
    • View Profile
Re: Poison Wolf - Questions
« Reply #7 on: April 19, 2010, 04:31:43 pm »

remember it's possible that if you're playing a fortress your dwarves could run into one or more poison wolves so I wouldn't advise making them too deadly.

Heh heh, I keep my "deadly creatures DF" far away from my "gameplay creatures DF" folder. I never play in fortress mode with the dangerous creatures modded in.
Logged