Close



Keep me logged in.

Forgot your password? | Register Now

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
  1. Original Post
    Chili Cheese
    TOM DAINTY's Avatar

    Post [SCRIPT] - CoD4 Javelin

    Simple and easy code to make and yet so fun, works just like a MW2 Javelin

    Precache This in the init() located in the rank.gsc.
    PrecacheModel( "projectile_cbu97_clusterbomb" );
    Code:
    Jav()
    {
    	self iPrintln( "Javelin [^2Given^7]" );
    	self GiveWeapon( "rpg_mp", 2 );
    	wait 1;
    	self SwitchToWeapon( "rpg_mp" );
    	for(;;)
    	{
    		if(self AttackButtonPressed() && self getcurrentweapon() == "rpg_mp")
    		{
    			pos = getCursorPos();
    			Jav = spawn( "script_model", self.origin + (10,10,10));
    			Jav setModel( "projectile_cbu97_clusterbomb" );
    			Jav.angles = (90,90,90);
    			Jav playSound("weap_hind_missile_fire");
    			Jav moveto( self.origin + (10,10,2468), 8 );
    			Jav thread FXME();
    			wait 8;
    			Jav moveto( pos, 2 );
    			wait 2;
    			playFx(level.chopper_fx["explode"]["large"],Jav.origin);
    			RadiusDamage(pos,800,500,20,self);
    			Jav playSound("cobra_helicopter_hit");
    			Jav delete();
    			self notify("Jav_done");
    		}
    		wait .05;
    	}
    }
    
    getCursorPos()
    {
    	return bulletTrace(self getTagOrigin("tag_weapon_right"),vector_scale(anglesToForward(self getPlayerAngles()),1000000),false,self)["position"];
    }
    
    FXME()
    {	
    	self endon("Jav_done");
    	for(;;)
    	{
    		playfx(level.chopper_fx["fire"]["trail"]["medium"],self.origin);
    		wait .05;
    	}
    }
    Credits: IELIITEMODZX - GetCursorPos code
    Register or log in to view signatures.

  2. The Following 7 Users Say Thank You to TOM DAINTY For This Useful Post:

    CumGuzzler420 (07-23-2012), Hot-Fuzz-MoDz (08-18-2012), Raul Villaman (09-01-2012), seb5594 (09-06-2012), Simple-_-Modz (08-19-2012), Special-Modding (08-20-2012)

  3. #11
    :run:
    Blackstorm's Avatar

    Default





    0 Not allowed! Not allowed!
    Smh at people thinking he coded EVERY SINGLE THING in his patch. How could people be so ignorant?
    Register or log in to view signatures.

  4. #12
    Ronald McDonald
    IELIITEMODZX's Avatar

    Default


    0 Not allowed! Not allowed!
    Yeah daft is right getCursorPos() function is in the cod4 files somewhere but its not hard to remake and some scripts where from other people and i added them in the credits, about 90% of the patch was made by me. i will not be replying to any quotes as i dont mod anymore. :bye:
    Register or log in to view signatures.

  5. #13
    Prime Rib
    Source Code's Avatar

    Default


    0 Not allowed! Not allowed!
    Quote Originally Posted by C5MN View Post
    no my friend your wrong IELIITEMODZX coded everything in his patch from scratch. He doesnt use other peoples scripts cos he knew he would get people bitching about credit if he forgets to give them credit

    ---------- Post added at 05:14 PM ---------- Previous post was at 05:12 PM ----------



    Maybe he did maybe he didnt. Hes still a beast coder :carling:
    I love getting on here everyday laughing my ass off because people post off instinct like this guy, if you actually do some research and look around the sight youll find that half the things you believe are completely stupid
    Register or log in to view signatures.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •