Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: First time modding anything, I have a simple question or two...  (Read 747 times)

PresidentFord

  • Bay Watcher
    • View Profile
First time modding anything, I have a simple question or two...
« on: November 02, 2016, 06:21:57 pm »

I just added a weapon mod and I gave the elves all the cool weapons but I want them to actually be effective so I've been looking into adding some spell type interactions to them. Specifically some of these I found on this thread http://www.bay12forums.com/smf/index.php?topic=146882.0. Will these still work? Where do I put them? What are some alternatives for making stronger elves?
Quote
Code: [Select]
[INTERACTION:SPELL_GROWTH]
[I_TARGET:A:CREATURE:ALL:ALL]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:CAN_SPEAK]
[IT_MANUAL_INPUT:friendly pets and war animals]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:+:+:+:START:0:END:1200]
-CE_DISPLAY_TILE:TILE:140:4:2:0:START:0:END:1200-
[CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:HEIGHT:250:START:0:END:1200]
[CE_PHYS_ATT_CHANGE:STRENGTH:200:1000:TOUGHNESS:200:1000:START:0:END:1200]
[CE_SPEED_CHANGE:SPEED_PERC:85:START:0:END:1200]
[CE_ADD_TAG:LIKES_FIGHTING:NOT_LIVING:NOEXERT:START:0:END:1200]


[INTERACTION:SPELL_RAGE]
[I_TARGET:A:CREATURE:ALL:ALL]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_MANUAL_INPUT:adds crazed to yourself]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_APPEARANCE_MODIFIER:APPEARANCE_MODIFIER:HEIGHT:110:START:0:END:300]
[CE_PHYS_ATT_CHANGE:STRENGTH:110:1000:TOUGHNESS:200:1000:START:0:END:300]
[CE_ADD_TAG:CRAZED:PROB:15:START:0:END:300]


[INTERACTION:SPELL_NATURE_CURSE]
[I_TARGET:A:CREATURE:ALL:ALL]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:creates a weakness to wood materials on the creature.]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:LOCAL_PLANT_MAT:WOOD:5:1:PROB:100:START:0:END:600]
[CE_SKILL_ROLL_ADJUST:PERC:70:PERC_ON:60:PROB:60:START:20:PEAK:100:END:600]


[INTERACTION:SPELL_NATURE_BLESS]
[I_TARGET:A:CREATURE:ALL:ALL]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:attempt to recieve the blessing of your force, increasing your abilities for a time.]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_SKILL_ROLL_ADJUST:PERC:130:PERC_ON:50:PROB:50:START:20:PEAK:100:END:400] [CE_SKILL_ROLL_ADJUST:PERC:130:PERC_ON:50:PROB:50:START:20:PEAK:100:END:400]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:INORGANIC:COPPER:3:4:PROB:30:START:20:PEAK:100:END:400] [CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:INORGANIC:COPPER:4:5:PROB:30:START:20:PEAK:100:END:400]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:INORGANIC:BRONZE:3:4:PROB:30:START:20:PEAK:100:END:400] [CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:INORGANIC:BRONZE:4:5:PROB:30:START:20:PEAK:100:END:400]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:INORGANIC:IRON:2:3:PROB:20:START:20:PEAK:100:END:400] [CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:INORGANIC:IRON:3:4:PROB:20:START:20:PEAK:100:END:400]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:INORGANIC:STEEL:2:3:PROB:20:START:20:PEAK:100:END:400] [CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:INORGANIC:STEEL:3:4:PROB:20:START:20:PEAK:100:END:400]


[INTERACTION:SPELL_COMMUNE]
[I_TARGET:A:CREATURE:ALL:ALL]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:CAN_SPEAK]
[IT_MANUAL_INPUT:make your pets talk]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_ADD_TAG:CAN_SPEAK:START:0:END:50]


[INTERACTION:TERRIFY]
[I_TARGET:A:CREATURE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IT_REQUIRES:CAN_LEARN]
[IT_FORBIDDEN:NOFEAR]
[IT_FORBIDDEN:NOEMOTION]
[IT_FORBIDDEN:NO_THOUGHT_CENTER_FOR_MOVEMENT]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:scare and sicken target.]
[SYNDROME]
[SYN_NAME:terrified
[CE_NUMBNESS:SEV:50:BP:BY_CATEGORY:LUNG:ALL:RESISTABLE:START:0:PEAK:5:END:20]
[CE_PAIN:SEV:60:BP:BY_CATEGORY:HEART:ALL:RESISTABLE:START:0:PEAK:5:END:20]
[CE_DIZZINESS:PROB:60:SEV:50:RESISTABLE:START:2:PEAK:10:END:100]
[CE_NAUSEA:PROB:60:SEV:50:RESISTABLE:START:2:PEAK:10:END:100]


Secondly, is there any way to make a weapon forgeable only through a strange mood or in adventure mode?

Thank you for any help or input. This is my first time doing anything like this so I may need explicit instruction.
Logged

Jerry The Hellbound

  • Bay Watcher
  • Professional "Knife-ear" torturer 1-800-elfgod
    • View Profile
    • This is also for my Custom Race: Solari!
Re: First time modding anything, I have a simple question or two...
« Reply #1 on: November 05, 2016, 03:05:22 am »

These aren't weapons per say, their more like natural habilities.
You must put those in an interaction file, however just putting it there, the race you want to put it in will need a special interaction that I might be able to help with this afternoon.
Right now I'm on my phone so I can't really post code
Logged
Jerry.
This is also for my Custom Race: Solari! (Currently outdated)
http://www.bay12forums.com/smf/index.php?topic=155455.0
Also made that awesome avatar. took me hours with Gimp: (also the two light & dark sprites are from Stardew Valley)
http://i.imgur.com/8x7aX7T.png

Jerry The Hellbound

  • Bay Watcher
  • Professional "Knife-ear" torturer 1-800-elfgod
    • View Profile
    • This is also for my Custom Race: Solari!
Re: First time modding anything, I have a simple question or two...
« Reply #2 on: November 05, 2016, 06:15:19 pm »

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Angelic Heal]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:HEALING_TEARS:LIQUID_GLOB]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:0]
This is an example of a self interaction.
Logged
Jerry.
This is also for my Custom Race: Solari! (Currently outdated)
http://www.bay12forums.com/smf/index.php?topic=155455.0
Also made that awesome avatar. took me hours with Gimp: (also the two light & dark sprites are from Stardew Valley)
http://i.imgur.com/8x7aX7T.png

Rydel

  • Bay Watcher
    • View Profile
Re: First time modding anything, I have a simple question or two...
« Reply #3 on: November 07, 2016, 09:21:57 am »

I'm pretty sure you can make a weapon type mood-only by creating the weapon but not putting in any reactions to make it.