Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to edit direct impact damage?
#1
Hello again. I have a Ray Gun and Mustang & Sally on my mod. Spalsh damage works on them fine, but direct impact is always instant kill.

How do I modify direct impact dmg?

Also I've changed all custom weapons in callbacksetup onPlayerDamage by doing:

if(sWeapon == "ray_gun_zm")
iDamage = 150;

etc. for all SP weapons that I use. I've tried editing the damages and ammo quantities etc. straight from the weapon file, but they never seem to have any effect.

Tips?
[Image: enjin-103434-13169654251028747231-blue.png]
Reply

#2
Well u made the damage 150 so it will be a one hit kill, i dont think u can alter the splash dakage anyway only the ditect damage or maybe just increase the health of the players so they can with stand more damage

Im not sure but arnt u meant to have { } between the if statement?
Reply

#3
lol I am aware of a normal player having 100 health. The problem arises when the enemy (a zombie) has 500 hp.

The iDamage seems to ONLY affect the splash damage as for both guns the splash dmg is not insta kill, only a direct hit is.

[Image: enjin-103434-13169654251028747231-blue.png]
Reply

#4
if( sMeansOfDeath == "MOD_IMPACT" )
iDamage = 500;

I think this will work
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#5
Will try that thanks. But I have a slight doubt about that as the kill in the killfeed is not the same as a normal direct impact kill. (Doesn't have that icon when a noobtube impact kills someone)

Will try anyway :p
OWMAIGAWD it did work! TYVM!
[Image: enjin-103434-13169654251028747231-blue.png]
Reply

#6
Remember to set the weapon too...

If you're doing what I think you're doing.
Reply

#7
(11-29-2011, 17:44)Rendflex Wrote: Remember to set the weapon too...

If you're doing what I think you're doing.

Yea added the means of death code and dmg first and normal weapon dmg below. Worked like a charm.

[Image: enjin-103434-13169654251028747231-blue.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Mep Edit coordinance raminr63 2 3,069 10-22-2013, 15:02
Last Post: Yamato
  [Release] CS addon for MW2(Sounds,show damage) Fl0w_.JACKDAN 1 4,690 09-29-2013, 19:46
Last Post: Nekochan
Question Help Team DAMAGE offhand E-losev 0 2,427 09-17-2013, 12:03
Last Post: E-losev
Information Help How to edit new derived entry? (Solved) SSonic70 1 2,734 08-20-2013, 15:29
Last Post: Nekochan
  [Release] MOSSY v9.12 Re-edit by BloKK187 BloKK187 24 35,480 08-05-2013, 23:44
Last Post: TheWraith10219
  [Request] Edit BOloader 0.8 Bot settings IgnaBmx 2 3,480 06-30-2013, 02:35
Last Post: IgnaBmx
Question Help what program, open and edit plugins ??? lexa__33 1 2,808 06-24-2013, 09:36
Last Post: EnVi Sweden Rocks
Question Help damage [HARD] Tony. 2 2,655 05-16-2013, 19:42
Last Post: Nekochan
Information How to change text messages in MP (.ff edit) giofrida 5 4,821 05-02-2013, 20:05
Last Post: Pozzuh
Question is there anything i can edit in .iwd files ? jd1378 1 2,836 03-25-2013, 09:43
Last Post: JariZ

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.