674324a0e1cf6

674324a0e2d68
1 Guest is here.
 

Topic: Altering weapon damage Read 2037 times  

674324a0e515aSilversharp

674324a0e51d7
Is it possible to change weapon damage via DML mod?

674324a0e53e4ZylonBane

674324a0e5442
Weapon damage is defined in the gamesys.

DMLs change the gamesys.

So... no.

674324a0e55bcSilversharp

674324a0e561a
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 »

674324a0e576dvoodoo47

674324a0e57c4
the link id can be checked in the editor.
Acknowledged by: Silversharp

674324a0e588cSilversharp

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

674324a0e5a2evoodoo47

674324a0e5a87
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.

674324a0e5b71Silversharp

674324a0e5bc9
All clear now, thanx much.



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

674324a0e5c81voodoo47

674324a0e5cd7
the second one is for the overhead swing (the Smasher OS upgrade), check the details of the prop.
1 Guest is here.
"In France, I'm an auteur; in Germany, a filmmaker; in Britain; a genre film director; and, in the USA, a bum."- John Carpenter
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
674324a0e6ed8