Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with silver vs weres  (Read 1186 times)

Thunderforge

  • Bay Watcher
    • View Profile
Help with silver vs weres
« on: August 25, 2020, 01:19:48 pm »

Hi all,

Is there a simple way I can make were-creatures more vulnerable to silver weapons?

I thought it should be easy, but then, the weapon isn’t ingested...

Any ideas?

Thanks in advance,
Thunderforge
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

Matrim_Cauthon

  • Bay Watcher
    • View Profile
Re: Help with silver vs weres
« Reply #1 on: August 25, 2020, 04:06:20 pm »

Were creatures already have material based weaknesses built it, and take more or less force from certain materials.

Trouble is which material is randomly chosen, just like the creature.

So in order to make sure Were beasts are affected by Silver, you'll need to set night creatures to 0 in world gen, and provide custom interactions for your werebeasts.

The degree that it effects them can be changed as well, and you can adjust their resistance to other materials.

The code that handles this are the lines:

Code: [Select]
[MATERIAL_FORCE_MULTIPLIER:INORGANIC:SILVER:5:1]
[GENERAL_MATERIAL_FORCE_MULTIPLIER:1:8]

The first line allows you to specify a material, while the second line affects all materials.

The example code makes any silver object hit the creature with 5 times as much force, while any other material hits with 1/8 the normal force.

Here is the example code from the wiki on were creatures, outlining the creature and interaction that needs to be made to replace random generation. Note you'll need to make one of these for each were creature type you make.
Spoiler (click to show/hide)
« Last Edit: August 25, 2020, 04:24:15 pm by Matrim_Cauthon »
Logged

Thunderforge

  • Bay Watcher
    • View Profile
Re: Help with silver vs weres
« Reply #2 on: August 27, 2020, 06:15:22 am »

Thanks Matrim Cauthon!

I'll have a play with this on the weekend :-)

Also, I never knew this:
Were creatures already have material based weaknesses built it, and take more or less force from certain materials.

Trouble is which material is randomly chosen, just like the creature.

Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else