n00b question: how make enemies fly back -1 reply

Please wait...

Avenger85

Galactic Emperor

50 XP

30th April 2006

0 Uploads

326 Posts

0 Threads

#1 14 years ago

Hi there. To make it short: I´d like to make a little fun mod called "Fist of Mars", a little tribute to "Fist of the North Star". Well, I know how to change the damage, clipsize, rate of fire and spread of the weapons. As you can see I can only do the really easy things. But I´d like to make the enemies fly back several meters when they´re hit, just like when you hit them with the shotgun in short range and maybe a bit more. Can anyone please tell me which values in which file I have to change to get what I want? I compared the shotgun def file and the shotgun script with every other def file and script, but didn´t find what I was looking for. Please, someone help me. And please excuse my mistakes, but I´m from germany and my english isn´t the best.




S7ATiC

Offworld Dev

50 XP

7th September 2004

0 Uploads

41 Posts

0 Threads

#2 14 years ago

pak000.pk4\def\weapon_shotgun.def entityDef damage_shotgun { ... "knockback" "32" "push" "32" ... }




hoontergoose

I don't spend enough time here

50 XP

12th August 2004

0 Uploads

17 Posts

0 Threads

#3 14 years ago

What's the difference between Push and Knockback? I've always wondered that, and I can't quite tell the difference, or even if they make a difference on some weapons. I wanted the fists to be able to knockback a zombie or even an imp about ten feet but not do too much damage. It really isn't working too well right now.