Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 161 162 [163] 164 165 ... 544

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

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2430 on: August 19, 2012, 02:11:15 pm »

Something you could do would be to add [IGNITE_POINT:13000]. Then the contaminant itself should burst into flames as soon as it appears, resulting in flaming rain.
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.

Urist Da Vinci

  • Bay Watcher
  • [NATURAL_SKILL: ENGINEER:4]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2431 on: August 19, 2012, 04:56:05 pm »

Something you could do would be to add [IGNITE_POINT:13000]. Then the contaminant itself should burst into flames as soon as it appears, resulting in flaming rain.

Adding [IGNITE_POINT:13000] or [IGNITE_POINT:9000] didn't cause the contaminants to ignite.

Creeping vapor didn't have a temperature effect either.

Facekillz058

  • Bay Watcher
  • Personal Text!
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2432 on: August 19, 2012, 09:17:50 pm »

Could you just mod in a syndrome rain that has all the effects of burning?
I have no knowledge at all on this topic.
Logged
(づ◕◕)づ・。*。✧・゜゜・。✧。*・゜゜・✧。・­¬¬¬¬¬¬¬゜゜・。*。・゜*✧・。*。✧

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2433 on: August 19, 2012, 10:14:22 pm »

Yep.

If by chemical burns, you could have blistering, pain, etc.

If heat burns, just make it hot.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2434 on: August 19, 2012, 11:00:26 pm »

If heat burns, just make it hot.
Which is exactly our problem here, we have an extremely hot rain but it isn't making things take damage or burst into flames.
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.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2435 on: August 19, 2012, 11:07:48 pm »

Is it... hot hot? Like, with a high MAT_FIXED_TEMP?

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2436 on: August 19, 2012, 11:16:09 pm »

Could you post the raws for the material that you are using?

Code: [Select]
[INTERACTION:BURNING_RAIN]
   [I_SOURCE:REGION]
      [IS_REGION:ANY]
      [IS_FREQUENCY:100]
   [I_TARGET:B:MATERIAL]
      [IT_MATERIAL:MATERIAL:INORGANIC:FIRE_RAIN:WEATHER_FALLING_MATERIAL]
   [I_EFFECT:MATERIAL_EMISSION]
      [IE_TARGET:B]
      [IE_INTERMITTENT:WEEKLY]

[INORGANIC:FIRE_RAIN]
[USE_MATERIAL_TEMPLATE:FLAME_TEMPLATE]
It's the flame template. We've even tried setting an IGNITE_POINT below the fixed temp, but that didn't work either.
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.

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2437 on: August 20, 2012, 02:00:10 am »

A question regarding werebeasts.

If elf gets werebeast curse, will it attack other elves when transformed? Elves are AT_PEACE_WITH_NATURE, so mundane animals won't attack them.
Should I add OPPOSED_TO_LIFE to syndrome to make werebesats attack citizens?
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2438 on: August 20, 2012, 02:23:56 am »

1. They will attack.
2. You can't modify the werebeast interaction anyway.

peregarrett

  • Bay Watcher
  • Гномовержец Enjoyed throwing someone recently
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2439 on: August 20, 2012, 02:35:40 am »

1. They will attack.
2. You can't modify the werebeast interaction anyway.
1. Thanks!
2. But I can make my own, right? Actually it's not a deity curse, but contact syndrome.

EDIT.
I used Quetist's rawexport utility to get night creatures and werecurses. Will have to apply them manually in my mod, I think.
interaction:
Code: [Select]
[OBJECT:INTERACTION]
[INTERACTION:DEITY_CURSE_WEREBEAST_4]
[GENERATED]
[I_SOURCE:DEITY]
[IS_USAGE_HINT:MAJOR_CURSE]
[IS_HIST_STRING_1: cursed ]
[IS_HIST_STRING_2: to assume the form of a lizard-like monster every full moon]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:HAS_BLOOD]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:WERECURSE]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:NIGHT_CREATURE_24:DEFAULT]
[CE:PERIODIC:MOON_PHASE:27:0]
[CE_ADD_TAG:NO_AGING:START:0]

creature:
Code: [Select]
creature_layer
[OBJECT:CREATURE]
[CREATURE:NIGHT_CREATURE_24]
[NAME:werelizard:werelizards:werelizard]
[CASTE_NAME:werelizard:werelizards:werelizard]
[GENERATED]
[ATTACK_TRIGGER:20:0:0]
[NIGHT_CREATURE_HUNTER]
[CAN_LEARN][CAN_SPEAK]
[NO_GENDER]
[BONECARN]
[CRAZED]
[PHYS_ATT_RANGE:STRENGTH:1000:1150:1250:1500:2000:2250:2500]
[PHYS_ATT_RANGE:AGILITY:1000:1150:1250:1500:2000:2250:2500]
[PHYS_ATT_RANGE:TOUGHNESS:850:900:950:1000:1050:1100:1150]
[PHYS_ATT_RANGE:ENDURANCE:850:900:950:1000:1050:1100:1150]
[SPEED:850]
[PHYS_ATT_RANGE:RECUPERATION:450:1050:1150:1250:1350:1550:2250]
[PHYS_ATT_RANGE:DISEASE_RESISTANCE:700:1300:1400:1500:1600:1800:2500]
[MENT_ATT_RANGE:ANALYTICAL_ABILITY:1250:1500:1750:2000:2500:3000:5000]
[MENT_ATT_RANGE:FOCUS:1250:1500:1750:2000:2500:3000:5000]
[MENT_ATT_RANGE:WILLPOWER:1250:1500:1750:2000:2500:3000:5000]
[MENT_ATT_RANGE:PATIENCE:0:333:666:1000:2333:3666:5000]
[MENT_ATT_RANGE:MEMORY:1250:1500:1750:2000:2500:3000:5000]
[MENT_ATT_RANGE:LINGUISTIC_ABILITY:450:1050:1150:1250:1350:1550:2250]
[MENT_ATT_RANGE:MUSICALITY:0:333:666:1000:2333:3666:5000]
[MENT_ATT_RANGE:SOCIAL_AWARENESS:700:1300:1400:1500:1600:1800:2500]
[PERSONALITY:SELF_CONSCIOUSNESS:0:0:0]
[PERSONALITY:VULNERABILITY:0:0:0]
[PERSONALITY:FRIENDLINESS:0:0:0]
[PERSONALITY:CHEERFULNESS:0:0:0]
[PERSONALITY:TRUST:0:0:0]
[PERSONALITY:ALTRUISM:0:0:0]
[PERSONALITY:COOPERATION:0:0:0]
[PERSONALITY:SYMPATHY:0:0:0]
[NATURAL_SKILL:WRESTLING:6]
[NATURAL_SKILL:BITE:6]
[NATURAL_SKILL:GRASP_STRIKE:6]
[NATURAL_SKILL:STANCE_STRIKE:6]
[NATURAL_SKILL:MELEE_COMBAT:6]
[NATURAL_SKILL:DODGING:6]
[NATURAL_SKILL:SITUATIONAL_AWARENESS:6]
[NATURAL_SKILL:SNEAK:20]
[DIFFICULTY:1]
[LAIR:SIMPLE_BURROW:50]
[NO_DRINK][NO_EAT] [NO_SLEEP]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[LARGE_PREDATOR]
[LIKES_FIGHTING]
[EVIL]
[SUPERNATURAL]
[FANCIFUL]
[AMPHIBIOUS]
[PETVALUE:2000]
[GRASSTRAMPLE:20]
[BUILDINGDESTROYER:2]
[ALL_ACTIVE]
[SWIMS_INNATE]
[SWIM_SPEED:2500]
[TRAPAVOID][NOPAIN][NOSTUN][NONAUSEA][NOFEAR][NOEXERT][NO_DIZZINESS][NO_FEVERS]
[MATERIAL_FORCE_MULTIPLIER:INORGANIC:COPPER:10:1]
[GENERAL_MATERIAL_FORCE_MULTIPLIER:1:2]
[SPHERE:ANIMALS]
[SPHERE:CHAOS]
[SPHERE:MOON]
[SPHERE:NIGHT]
[BODY_SIZE:0:0:80000]
[CREATURE_TILE:165]
[BODY:RCP_UPPER_BODY:RCP_LOWER_BODY:RCP_HEAD:RCP_TWO_PART_ARMS:RCP_TWO_PART_LEGS:RCP_TAIL:RCP_4_FINGERS:RCP_4_TOES:RCP_2_EYES:RCP_LUNGS:RCP_HEART:RCP_GUTS:RCP_THROAT:RCP_SPINE:RCP_NECK:RCP_BRAIN:RCP_SKULL:RCP_MOUTH:RCP_TONGUE:RCP_TEETH:RCP_RIBS:RCP_2_EYELIDS]
[CANOPENDOORS]
[EQUIPS]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[REMOVE_MATERIAL:SKIN]
[REMOVE_MATERIAL:HAIR]
[USE_MATERIAL_TEMPLATE:SCALE:SCALE_TEMPLATE]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:SKIN]
[REMOVE_TISSUE:HAIR]
[USE_TISSUE_TEMPLATE:SCALE:SCALE_TEMPLATE]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SCALE:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[NOBREATHE]
[HOMEOTHERM:10040]
[SELECT_MATERIAL:SCALE]
[STATE_COLOR:ALL_SOLID:CINNAMON]
[NO_UNIT_TYPE_COLOR]
[COLOR:6:0:0]
[SELECT_MATERIAL:EYE]
[STATE_COLOR:ALL_SOLID:SCARLET]
[GLOWTILE:'"']
[GLOWCOLOR:4:0:1]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SCALE:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[USE_MATERIAL_TEMPLATE:CLAW:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:CLAW:CLAW_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:CLAW:FRONT]
[TISSUE_LAYER:BY_CATEGORY:TOE:CLAW:FRONT]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[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_INTERACTION:DEITY_CURSE_WEREBEAST_4_BITE]
[ATTACK:FSCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:GRASP:BY_CATEGORY:ALL:CLAW]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:scratch:scratches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]
[ATTACK:TSCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:CLAW]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:scratch:scratches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]
[DESCRIPTION:A large lizard twisted into humanoid form.  It is crazed for blood and flesh.  Its eyes glow scarlet.  Its cinnamon scales are round and overlapping.  Now you will know why you fear the night.]

Need time to analyze this stuff...

EDIT2.
I think it's CRAZED token what I'm looking for... well, well, well, let's introduce some madeness here... 8)
« Last Edit: August 20, 2012, 07:40:58 am by peregarrett »
Logged
Did you know that the Russian word for "sock" is "no sock"?
I just saw a guy with two broken legs push a minecart with a corpse in it. Yeah.

The_Jester

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2440 on: August 20, 2012, 10:06:14 am »

Hey new modder here with a quick question. Is there any way to make a certain skill level required for a custom building reaction? Basically I am trying to make a skill level be a requirement for a creature to create an item at my custom workshop. Thanks for the help!
Logged

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2441 on: August 20, 2012, 11:12:26 am »

Hey new modder here with a quick question. Is there any way to make a certain skill level required for a custom building reaction? Basically I am trying to make a skill level be a requirement for a creature to create an item at my custom workshop. Thanks for the help!

Unfortunately, no.  I wish this were possible, though.

The_Jester

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2442 on: August 20, 2012, 11:33:38 am »

Thanks for the quick response. What about a workaround like having a certain quality of reagent be required allowing for skill to be factored into the crafting of the reagent? Probably not, but I'm grasping at straws here. Lol
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2443 on: August 20, 2012, 12:43:11 pm »

Thanks for the quick response. What about a workaround like having a certain quality of reagent be required allowing for skill to be factored into the crafting of the reagent? Probably not, but I'm grasping at straws here. Lol
Sadly, also no. The best work around we have right now is to make any reaction take multiple steps. So like if you were blessing wood it would go:
wood -> blessed wood (10%)
blessed wood (10%) -> blessed wood (20%)
etc.
So that even though any dwarf can perform the reaction, only dwarves with a high level of skill can perform it with anything approaching a decent speed. Adding the [AUTOMATIC] token to all of the reactions but the first will minimize micromanagement as well, so the player still only needs to queue one reaction for it all to work.
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.

The_Jester

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2444 on: August 20, 2012, 12:52:05 pm »

Well for being the best thing we have available, that is actually a pretty good workaround. Thanks.
Logged
Pages: 1 ... 161 162 [163] 164 165 ... 544