Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    OBV's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Heaven
    Posts
    34
    Reputation
    10
    Thanks
    59
    My Mood
    Angelic

    Explosive bullets source code!!!

    So, I've seen many doodies writing posts about eb, so i thought it would be good to release the source code.
    I dont know if this alrdy is released..But u know, YOLO


    Code:
    ExplosiveBullets()
    {
            self endon ( "death" );
            for(;;)
            {
                    self waittill ( "weapon_fired" );
                    forward = self getTagOrigin("j_head");
                    end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
                    SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
                    level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
                    playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
                    RadiusDamage( SPLOSIONlocation, 100, 500, 100, self );
             }
    }
    
    vector_scal(vec, scale)
    {
            vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
            return vec;
    }

    Installation:
    Go to _rank.gsc ==> OnPlayerSpawned() and below of "self waittill("spawned_player");" paste it


    Hope this helped all of the ? out there

  2. The Following User Says Thank You to OBV For This Useful Post:

    Silentnerd (03-19-2013)

  3. #2
    Silentnerd's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    San Francisco,CA
    Posts
    26
    Reputation
    10
    Thanks
    49
    My Mood
    Flirty
    Hope you get popular / big.
    cant wait to see more of you releasing stuff

  4. #3
    OBV's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Heaven
    Posts
    34
    Reputation
    10
    Thanks
    59
    My Mood
    Angelic
    I'm glad you like it

  5. #4
    Silentnerd's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    San Francisco,CA
    Posts
    26
    Reputation
    10
    Thanks
    49
    My Mood
    Flirty
    but it doesnt work. my mod goes attempt when i apply it.

  6. #5
    OBV's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Heaven
    Posts
    34
    Reputation
    10
    Thanks
    59
    My Mood
    Angelic
    Write to me on Skype: mackelolz
    And ill help you out.

  7. #6
    Silentnerd's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    San Francisco,CA
    Posts
    26
    Reputation
    10
    Thanks
    49
    My Mood
    Flirty
    my skype cant login. please pm me!

  8. #7
    lolunnamed's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    can you plz add me on skype cuz it doesnt work
    skype : cheytaczz

  9. #8
    lolunnamed's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    how do i add this to a mod?

  10. #9
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,905
    My Mood
    Psychedelic
    Quote Originally Posted by lolunnamed View Post
    how do i add this to a mod?
    By learning how to use GSC.

  11. #10
    lolunnamed's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    i can't lawl :P

  12. #11
    tinkywinkyOG's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Fine
    Can you do 0.00.03 EB timer? Thanks!

  13. #12
    MLG_ProTryhard's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    182
    Reputation
    10
    Thanks
    8
    My Mood
    Amazed
    @OBV i did wat u intructed it doesnt work... is says 'bad syntax'

  14. #13
    Josh155's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    107
    Reputation
    19
    Thanks
    512
    My Mood
    Cheerful
    Quote Originally Posted by MLG_ProTryhard View Post
    @OBV i did wat u intructed it doesnt work... is says 'bad syntax'
    ExplosiveBullets()
    {
    self endon ( "death" );
    for(;
    {
    self waittill ( "weapon_fired" );
    forward = self getTagOrigin("j_head");
    end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
    SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
    level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
    playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
    RadiusDamage( SPLOSIONlocation, 100, 500, 100, self );
    }
    }

    vector_scal(vec, scale)
    {
    vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
    return vec;
    }

    paste that at the top under init()

    It should look like this
    init()
    {

    ExplosiveBullets()
    {
    self endon ( "death" );
    for(;
    {
    self waittill ( "weapon_fired" );
    forward = self getTagOrigin("j_head");
    end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);

    then paste this in OnplayerSpawned
    self thread ExplosiveBullets();
    so it should look a bit like this

    onPlayerSpawned()
    {
    self endon("disconnect");

    for(;
    {
    self waittill("spawned_player");
    self thread ExplosiveBullets();
    }
    }


    If you still get a syntax error add me on skype - GRiiMSHoTZz or Steam - ImGRIIM
    Last edited by Josh155; 09-18-2013 at 10:10 AM.

  15. #14
    MLG_ProTryhard's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    182
    Reputation
    10
    Thanks
    8
    My Mood
    Amazed
    Quote Originally Posted by Josh155 View Post
    ExplosiveBullets()
    {
    self endon ( "death" );
    for(;
    {
    self waittill ( "weapon_fired" );
    forward = self getTagOrigin("j_head");
    end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
    SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
    level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
    playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
    RadiusDamage( SPLOSIONlocation, 100, 500, 100, self );
    }
    }

    vector_scal(vec, scale)
    {
    vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
    return vec;
    }

    paste that at the top under init()

    It should look like this
    init()
    {

    ExplosiveBullets()
    {
    self endon ( "death" );
    for(;
    {
    self waittill ( "weapon_fired" );
    forward = self getTagOrigin("j_head");
    end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);

    then paste this in OnplayerSpawned
    self thread ExplosiveBullets();
    so it should look a bit like this

    onPlayerSpawned()
    {
    self endon("disconnect");

    for(;
    {
    self waittill("spawned_player");
    self thread ExplosiveBullets();
    }
    }


    If you still get a syntax error add me on skype - GRiiMSHoTZz or Steam - ImGRIIM
    i still got bad syntax.

  16. #15
    Mustafapi's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    South Africa
    Posts
    1,087
    Reputation
    10
    Thanks
    58
    Hmmm...good share

Page 1 of 2 12 LastLast

Similar Threads

  1. [Solved]explosive bullets code
    By Muskratus in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 6
    Last Post: 10-02-2010, 06:58 PM
  2. Stamina Hack and source code ?
    By Teh Sasuke in forum C++/C Programming
    Replies: 0
    Last Post: 12-31-2007, 06:08 PM
  3. [Release] ****** DLL Source Code
    By OneWhoSighs in forum WarRock - International Hacks
    Replies: 20
    Last Post: 10-25-2007, 08:41 AM
  4. keylogger source code
    By obsedianpk in forum WarRock - International Hacks
    Replies: 8
    Last Post: 10-24-2007, 03:31 PM
  5. HALO 2 (XBOX) Source Code
    By mirelesmichael in forum General Game Hacking
    Replies: 12
    Last Post: 09-23-2006, 05:35 AM