Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help need damage code
#1
hey i am looking for a code to edit the damage of players weapons
Reply

#2
in _damage.gsc
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
Or edit the weps in the asset manager. or callbacksetup.gsc
[Image: ctoc.jpg]
Reply

#4
(10-02-2011, 18:55)Se7en Wrote: in _damage.gsc

Wrong, _damage.gsc doesn't exist in Black Ops. :3

In maps\mp\gametypes\_callbacksetup.gsc:
Code:
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
{
    self endon("disconnect");
    if(sWeapon == "mp_weaponHere")
        iDamage = 1337;

    [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
}
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#5
(10-03-2011, 01:04)master131 Wrote:
(10-02-2011, 18:55)Se7en Wrote: in _damage.gsc

Wrong, _damage.gsc doesn't exist in Black Ops. :3

In maps\mp\gametypes\_callbacksetup.gsc:
Code:
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
{
    self endon("disconnect");
    if(sWeapon == "mp_weaponHere")
        iDamage = 1337;

    [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
}

thread was in mw2 lol
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#6
but now it isnt Troll
[Image: ctoc.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Code color crosshairs koren30 3 4,037 10-02-2013, 19:26
Last Post: koren30
  [Release] CS addon for MW2(Sounds,show damage) Fl0w_.JACKDAN 1 4,721 09-29-2013, 19:46
Last Post: Nekochan
Question Help Team DAMAGE offhand E-losev 0 2,449 09-17-2013, 12:03
Last Post: E-losev
  Help need help?how to make plugins code hXnarutoXone 12 8,630 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 3,335 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 4,170 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 9,764 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 5,684 07-28-2013, 01:52
Last Post: First_Semyon
  Code of vector Bloodfocus 1 2,427 06-23-2013, 11:54
Last Post: Yamato
Question Help damage [HARD] Tony. 2 2,680 05-16-2013, 19:42
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
2 Guest(s)

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