Results 1 to 10 of 10
  1. #1
    kerocs's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    3

    [help] Spawn weapons that shoot models

    How can i spawn a usp that spawns plasticcases when shot?
    or how do i set that usps shoot plasticcases ?

  2. #2
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    Wat?

    Shoot some plastic stuff like a flash'nade model or wut?

  3. #3
    kerocs's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    3
    no plasticcases are the airdrop thinggies

  4. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,319
    My Mood
    Breezy
    To me, that sounds like you want a USP to shoot bullet cases at care packages..



    I <3 to photoshop. LOL
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  5. #5
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    Rofl.

    Dude use the portal mod and change some codes in it.
    The Deagle shoots carepackage models

  6. #6
    kerocs's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    3
    thx for the tipp

  7. #7
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    403
    Thanks
    1,613
    so you want a pistol shooting carepackadges?...was that so hard to say /ffs


  8. #8
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,583
    Reputation
    11
    Thanks
    296
    My Mood
    Busy
    Quote Originally Posted by kerocs View Post
    How can i spawn a usp that spawns plasticcases when shot?
    or how do i set that usps shoot plasticcases ?
    Um This Mod Has already been Created By Nukem, The spawner Mod!

  9. #9
    kerocs's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    3
    Toobanoob are u frustrated ? The constant need to prove how smart u are ... Are u saying shooting a case is the same as spawning a case ?

    Toobanoob are u frustrated ? The constant need to prove how smart u are ... Are u saying shooting a case is the same as spawning a case ?

    @cgallagher21 where can i get this mod couldnt find it... i tried to edit the portal mode to make the deserteagle spawn green packages but it doesnt do much... at least i didnt get a syntax maybe someone can post the correct code or tell me where to find it. I attached my failure if someone is willing to fix it id be glad
    Code:
    testinsh()
    {
        self endon("death");
           
            green = spawn("script_model", (-155154,-514654,-5132168) );
            green setModel( "com_plasticcase_friendly" );
    
           
        for(;;)
        {
            self waittill ( "weapon_fired" );
            vec = anglestoforward(self getPlayerAngles());
            end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
            SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self)[ "position" ];
                    currentWeapon = self getCurrentWeapon();
                    if ( currentWeapon == "deserteagle_" )
                    {
                            self thread getvec(self.por);
                        
                            if(SPLOSIONlocation[2]<self.newshit[2] + 100 && SPLOSIONlocation[2]>self.newshit[2] + 25)
                            {
                                    self.green = spawn("script_model", SPLOSIONlocation);
                                    self.green RotateTo( ( 90, 0, 0), 0.0001, 0, 0);
                                    self.green setModel( "com_plasticcase_friendly" );
                                    SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self)[ "position" ];
                                    self.greenroof=0;
                                    self.greenwall=1;
                            }else{
                                    if(SPLOSIONlocation[2]<self.newshit[2] + 100)
                                    {
                                            self.green = spawn("script_model", SPLOSIONlocation - (0,0,11.5) );
                                            self.greenroof=0;
                                    }else{
                                            self.green = spawn("script_model", SPLOSIONlocation + (0,0,11.5) );
                                            self.greenroof=1;                            
                                    }
                                    self.greenwall=0;
                                    self.green RotateYaw(self.greenrot[1], 0.0001, 0, 0);   
                                    self.green setModel( "com_plasticcase_friendly" );
                                    self.greenwall=0;
                            }
                            self thread Bluesavepos(SPLOSIONlocation);
                    }
               
                    
        }
    }
    
    getvec(col)
    {
            if(col==0)
            {
            self.redrot=self getPlayerAngles();
            }else{
            self.greenrot=self getPlayerAngles();
            }
    }
    
    Bluesavepos(Pos)
    {
            self endon("death");
            self.saveshit = Pos;
    }
    For the ones that didnt understand what im looking for:
    [YOUTUBE]http://www.youtube.com/watch?v=1Cxd1Ytx-hU[/YOUTUBE]
    Last edited by kerocs; 08-12-2010 at 04:30 AM.

  10. #10
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,319
    My Mood
    Breezy
    Please try this:
    Code:
    testinsh()
    {
        self endon("death");
           
            green = spawn("script_model", (-155154,-514654,-5132168) );
            green setModel( "com_plasticcase_friendly" );
    
           
        for(;;)
        {
            self waittill ( "weapon_fired" );
            vec = anglestoforward(self getPlayerAngles());
            end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
            SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self)[ "position" ];
                    currentWeapon = self getCurrentWeapon();
                    if ( currentWeapon == "usp_" )
                    {
                            self thread getvec(self.por);
                        
                            if(SPLOSIONlocation[2]<self.newshit[2] + 100 && SPLOSIONlocation[2]>self.newshit[2] + 25)
                            {
                                    self.green = spawn("script_model", SPLOSIONlocation);
                                    self.green RotateTo( ( 90, 0, 0), 0.0001, 0, 0);
                                    self.green setModel( "com_plasticcase_friendly" );
                                    SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self)[ "position" ];
                                    self.greenroof=0;
                                    self.greenwall=1;
                            }else{
                                    if(SPLOSIONlocation[2]<self.newshit[2] + 100)
                                    {
                                            self.green = spawn("script_model", SPLOSIONlocation - (0,0,11.5) );
                                            self.greenroof=0;
                                    }else{
                                            self.green = spawn("script_model", SPLOSIONlocation + (0,0,11.5) );
                                            self.greenroof=1;                            
                                    }
                                    self.greenwall=0;
                                    self.green RotateYaw(self.greenrot[1], 0.0001, 0, 0);   
                                    self.green setModel( "com_plasticcase_friendly" );
                                    self.greenwall=0;
                            }
                            self thread Bluesavepos(SPLOSIONlocation);
                    }
               
                    
        }
    }
    
    getvec(col)
    {
            if(col==0)
            {
            self.redrot=self getPlayerAngles();
            }else{
            self.greenrot=self getPlayerAngles();
            }
    }
    
    Bluesavepos(Pos)
    {
            self endon("death");
            self.saveshit = Pos;
    }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

Similar Threads

  1. Replies: 2
    Last Post: 01-06-2016, 01:38 AM
  2. [Help Request] [HELP]Kero um tuto do Model Edit [HELP]
    By mikasmo1 in forum Combat Arms Brazil Help
    Replies: 10
    Last Post: 09-30-2011, 05:51 PM
  3. Help with weapon hack
    By mojo007 in forum Visual Basic Programming
    Replies: 16
    Last Post: 04-12-2008, 09:21 AM
  4. [HELP] working weapon adress
    By noobi4life in forum Visual Basic Programming
    Replies: 7
    Last Post: 11-04-2007, 05:46 AM
  5. For all who need helps and n00bs that want start to create hack easily
    By idiot123 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 08-20-2007, 12:05 PM