Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Can you get rid of the knife?Also how to make the balistic knife a two stab kill?
#1
TitleAngel
Reply

#2
(06-30-2011, 07:50)clxyeah Wrote: TitleAngel

Make someone have more hp = two stab kill.
Reply

#3
Code:
self takeWeapon( "knife_mp" );

This should remove the knife completely.
(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

#4
(06-30-2011, 09:29)surtek Wrote:
(06-30-2011, 07:50)clxyeah Wrote: TitleAngel

Make someone have more hp = two stab kill.
How would i do that?
Reply

#5
setDvar( "scr_player_maxhealth", "200" );


change it to 200 to w/e, 100 is standard.
Reply

#6
open _callbacksetup.gsc and search for this:

Code:
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
{
    self endon("disconnect");
    [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
}

replace it with this:

Code:
CodeCallback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset)
{
    self endon("disconnect");
    
    if( sMeansOfDeath == "mod_melee" )
        iDamage = iDamage/2;
    
    [[level.callbackPlayerDamage]](eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, timeOffset);
}

now Knife damage will be half

iDamage = iDamage/10 will make it 0.1 times as big so if the damage is 100 normally then it would be 10
(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

#7
self.health = 200;
self. maxhealth = 200;
Add it to your mod
[Image: lQDUjba.jpg]
Reply

#8
(06-30-2011, 12:12)OrangePL Wrote: self.health = 200;
self. maxhealth = 200;
Add it to your mod

The problem with this is that it will make someone harder to kill even with guns.
(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

#9
Thanks iaegle so how do I do that change damage for weapons would it be mod_name of weapon?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Sentry Gun kill = Player kill Snake 8 5,868 11-07-2013, 13:41
Last Post: Nekochan
  Make area detect. flag Teleport lewisbibo 4 4,995 10-12-2013, 18:10
Last Post: EnVi Sweden Rocks
Wink Make Platforme lewisbibo 5 4,993 10-08-2013, 14:35
Last Post: 8q4s8
  Make obj MW3.by lewisbibo lewisbibo 3 3,702 10-05-2013, 20:16
Last Post: Nekochan
  Make obj MW3.by lewisbibo lewisbibo 0 2,333 10-03-2013, 20:19
Last Post: lewisbibo
  !kill Plugin Hallla 1 2,588 09-07-2013, 22:30
Last Post: axel-le-meilleur
  Help need help?how to make plugins code hXnarutoXone 12 8,552 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help About kill cam Howl3r 3 2,722 08-03-2013, 03:57
Last Post: Howl3r
  Help Make ac130 shoot custom bullets Ra3shed 0 2,732 07-23-2013, 13:02
Last Post: Ra3shed
  Melee knife removal kerm007 2 2,962 07-21-2013, 17:45
Last Post: kerm007

Forum Jump:


Users browsing this thread:
1 Guest(s)

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