Results 1 to 5 of 5
  1. #1
    CainFool's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    313
    Reputation
    11
    Thanks
    143
    My Mood
    Angelic

    Heli Mod v2 - Changing stuff..

    Code:
    spawnAttackLittleBird( owner, pathStart, pathGoal, coord )
    {
    	self endon( "death" );
    	owner endon("disconnect");
    	owner endon("death");
    	forward = vectorToAngles( pathGoal - pathStart );
    	lb = spawnHelicopter( owner, pathStart/2, forward, "littlebird_mp" , 
    
    "vehicle_little_bird_armed" );
    	lb endon( "death" );
    	lb endon( "gone" );
    
    	if ( !isDefined( lb ) )
    		return;
    	lb.speed = 400;
    	lb.health = 1000000; 
    	lb setCanDamage( false );
    	lb.owner = owner;
    	lb.team = owner.team;
    	lb SetMaxPitchRoll( 45, 45 );	
    	lb Vehicle_SetSpeed( lb.speed, 60 );
    	lb.damageCallback = ::Callback_VehicleDamage;
    	lb.mgTurret1 = spawnTurret( "misc_turret", lb.origin, 
    
    "pavelow_minigun_mp" );
    	lb.mgTurret1 linkTo( lb, "tag_minigun_attach_right", (0,0,0), (12,0,0) );
    	lb.mgTurret1 setModel( "vehicle_little_bird_minigun_right" );
    	lb.mgTurret1.angles = lb.angles; 
    	lb.mgTurret1.owner = lb.owner;
    	lb.mgTurret1.team = lb.mgTurret1.owner.team;
    	lb.mgTurret1 LaserOn();
    	lb.mgTurret1 SetPlayerSpread( .65 );
    	lb.mgTurret1 makeTurretInoperable();
    	lb.mgTurret1 = lb.mgTurret1;  
    	lb.mgTurret1 SetDefaultDropPitch( 0 );
    	lb.mgTurret2 = spawnTurret( "misc_turret", lb.origin, 
    
    "pavelow_minigun_mp" );
    	lb.mgTurret2 linkTo( lb, "tag_minigun_attach_left", (0,0,0), (12,0,0) );
    	lb.mgTurret2 setModel( "vehicle_little_bird_minigun_right" );
    	lb.mgTurret2 SetPlayerSpread( .65 );
    	lb.mgTurret2.angles = lb.angles; 
    	lb.mgTurret2.owner = lb.owner;
    	lb.mgTurret2.team = lb.mgTurret2.owner.team;
    	lb.mgTurret2 LaserOn();
    	lb.mgTurret2 makeTurretInoperable();
    	lb.mgTurret2 = lb.mgTurret2; 
    	lb.mgTurret2 SetDefaultDropPitch( 0 );
    	
    	level.littlebird_flyable[level.littlebird_flyable.size] = lb;
    	
    	return lb;
    }
    I've changed the code around a little and nothing is changing in that ^^.

    I'd appreciate it if somebody downloaded it and tried to work it out for me, as whenever I use it in Online Matches my Team always shoots it down.

  2. #2
    Shucker's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    442
    Reputation
    16
    Thanks
    295
    My Mood
    Fine
    Use private match to test >.<

  3. #3
    CainFool's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    313
    Reputation
    11
    Thanks
    143
    My Mood
    Angelic
    I have >.<

    Typed this in on Console
    fs_game mods/heliv2;vid_restart;devmap mp_terminal

  4. #4
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    Quote Originally Posted by CainFool View Post
    I have >.<

    Typed this in on Console
    fs_game mods/heliv2;vid_restart;devmap mp_terminal
    Then what's your problem?
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  5. #5
    CainFool's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    313
    Reputation
    11
    Thanks
    143
    My Mood
    Angelic
    I want to change the Health of the Heli to 1,000,000. I changed but it didn't take effect, it stayed at 1000.
    Last edited by CainFool; 08-26-2010 at 01:55 AM.