6667f5af07c48

6667f5af082e6
1 Guest is here.
 

Topic: Altering weapon damage Read 858 times  

6667f5af08749Silversharp

6667f5af087aa
Is it possible to change weapon damage via DML mod?

6667f5af08933ZylonBane

6667f5af08982
Weapon damage is defined in the gamesys.

DMLs change the gamesys.

So... no.

6667f5af08aadSilversharp

6667f5af08afd
Found similar topic: link

OK, so this liitle code seems to work fine:
Code: [Select]
DML1

StimSource "Standard Bullet" "Standard Impact" 00900003
{
Intensity 2
}
StimSource "AP Bullet" "Armor Piercing Impact" 00900002
{
Intensity 2
}
StimSource "HE Bullet" "High Explosive" 0090000E
{
Intensity 3
}

But please explain to me, how do I know the ID values (00900003, etc.)  if I also wanted to change for example shotgun damage?
« Last Edit: 14. November 2018, 05:54:20 by Silversharp »

6667f5af08c3avoodoo47

6667f5af08c8c
the link id can be checked in the editor.
Acknowledged by: Silversharp

6667f5af08d3aSilversharp

6667f5af08d87
Thanks voodoo, I figured, but I couldn't find it anywhere. Please hint me.

6667f5af08e91voodoo47

6667f5af08eda
well, you need to acquire some basic Shocked editor knowledge - in this case, you need to know that weapon damage is governed by Act/React -> Sources prop on the projectile linked to the weapon (the source id can be viewed there, among other things).

if you have a SS2tool patched install of SS2 and you have also installed the editor when patching up, everything should be ready to go, just run Shocked.exe, open any map, and start looking around. you should also check the dml sticky, and all the dml related stuff found in the docs folder.

6667f5af08f8fSilversharp

6667f5af08fd8
All clear now, thanx much.



Why does wrench have doubled WeaponBash? Does it work like a min/max damage variable?

6667f5af0906cvoodoo47

6667f5af090ba
the second one is for the overhead swing (the Smasher OS upgrade), check the details of the prop.
1 Guest is here.
xdiesp_: Today I decoded that I live in a perfect world where every bug is a feature.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
6667f5af0966b