Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1
    A$$ Eater
    No condoms
    VAGINITIS's Avatar
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
    Gamer IDs

    Gamertag: Predination

    Default Is this script idea possible ?

    Is it possible to make a script to modify gun kills? like say i want 7000 kills with my L96A1, is it possible to make a script for that?

    0 Not allowed! Not allowed!

    Me as Admin

  2. #2
    Active Member andrew96's Avatar
    Join Date
    Jun 2012
    Location
    Owen Sound Ontario Canada
    Posts
    697
    Points
    1,169
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    Owen Sound Ontario Canada
    Posts
    697
    Points
    1,169

    Default

    You probably could since there is a stat editor in most menus. You just have to figure out how to make it edit the kills stat on whatever gun you want instead of your overall kills. Sorry I don't know much about modding or coding. Hopefully an experienced modder can answer your question.

    0 Not allowed! Not allowed!

  3. #3
    Nooblet
    Join Date
    Aug 2012
    Posts
    42
    Points
    119
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Posts
    42
    Points
    119

    Default

    Yep. A code could be configured too. It needs to be seperate for every gun though.

    0 Not allowed! Not allowed!
    Dat Relationship Trauma

  4. #4
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default

    Check it you get a kill with the l11, then self.pers["kills"] += 700;

    0 Not allowed! Not allowed!

  5. #5
    A$$ Eater
    No condoms
    VAGINITIS's Avatar
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
    Gamer IDs

    Gamertag: Predination

    Default

    where would i put that script?

    0 Not allowed! Not allowed!

    Me as Admin

  6. #6
    A$$ Eater
    No condoms
    VAGINITIS's Avatar
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
    Gamer IDs

    Gamertag: Predination

    Default

    onPlayerSpawned() ???

    0 Not allowed! Not allowed!

    Me as Admin

  7. #7
    silenthitman7
    Zombie Modder
    BaTMaN's Avatar
    Join Date
    Feb 2012
    Posts
    235
    Points
    520
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    235
    Points
    520

    Default

    You might have to add the onPlayerkilled() script, and put it in there...

    Maybe this might work?
    Code:
    // This goes in init()
    level.onPlayerKilled = ::onPlayerKilled;
    
    onPlayerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
    {
    	if( sWeapon == "l96a1_mp" ) // make sure your weapon matches exactly
    	{
    		attacker.pers["kills"] += 700;
    	}
    }

    0 Not allowed! Not allowed!
    Last edited by BaTMaN; 08-07-2012 at 02:52 PM.

  8. #8
    A$$ Eater
    No condoms
    VAGINITIS's Avatar
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
    Gamer IDs

    Gamertag: Predination

    Default

    Whats your teamviewer i need u to help me install it, cause i havent modded in 3 weeks and ive lost my knowledge

    0 Not allowed! Not allowed!

    Me as Admin

  9. #9
    silenthitman7
    Zombie Modder
    BaTMaN's Avatar
    Join Date
    Feb 2012
    Posts
    235
    Points
    520
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    235
    Points
    520

    Default

    I also have another idea that might work!

    I found this function in the score gsc... It seems legit...
    Just add it to the onPlayerKilled Thread, and change the kill quantity..
    Code:
    attacker maps\mp\gametypes\_globallogic_score::threadedSetWeaponStatByName( sWeapon, 1, "kills" );
    PM me your info for TeamViewer, if you really need the help..

    0 Not allowed! Not allowed!

  10. #10
    ✝ Pursuit of Happiness ✝ Sh0x's Avatar

    Badge

    Join Date
    May 2012
    Location
    North Carolina
    Posts
    2,843
    Points
    3,181
         User Info     Contact     Gamer ID
    Join Date
    May 2012
    Location
    North Carolina
    Posts
    2,843
    Points
    3,181
    Gamer IDs

    Gamertag: iiSh0x

    Contact info:

    Youtube Channel: http://www.youtube.com/zSh0x

    Default

    Here

    Everytime the L96 is your starting weapon, it adds 10000 kills.
    Code:
    SetWeaponKills()
    {
    	getCurrentWeapon()
    	if ( currentWeapon == "l96a1_mp" )
    	{
    		self.pers["kills"] += 10000;
    	}
    }

    0 Not allowed! Not allowed!





Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 02:24 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.