Results 1 to 4 of 4
  1. #1
    ndirishassassin's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    1

    colossus airstrike error in my zombies patch

    i have this code for the colossus airstrike and the mega attack air force (they are similar) and i put them in my patch then i get an error.
    Code:
    CB0MB()
    {
    	//self thread maps\mp\gametypes\_hud_message::hintMessage("COLOSSUS AIRSTRIKE FLYING IN!");
    	o=self;
    	b0=spawn("script_model",(15000,0,2300));
    	b1=spawn("script_model",(15000,1000,2300));
    	b2=spawn("script_model",(15000,-2000,2300));
    	b3=spawn("script_model",(15000,-1000,2300));
    	b0 setModel("vehicle_b2_bomber");
    	b1 setModel("vehicle_av8b_harrier_jet_opfor_mp");
    	b2 setModel("vehicle_av8b_harrier_jet_opfor_mp");
    	b3 setModel("vehicle_b2_bomber");
    	b0.angles=(0,180,0);
    	b1.angles=(0,180,0);
    	b2.angles=(0,180,0);
    	b3.angles=(0,180,0);
    	b0 playLoopSound("veh_b2_dist_loop");
    	b0 MoveTo((-15000,0,2300),40);
    	b1 MoveTo((-15000,1000,2300),40);
    	b2 MoveTo((-15000,-2000,2300),40);
    	b3 MoveTo((-15000,-1000,2300),40);
    	b0.owner=o;
    	b1.owner=o;
    	b2.owner=o;
    	b3.owner=o;
    	b0.killCamEnt=o;
    	b1.killCamEnt=o;
    	b2.killCamEnt=o;
    	b3.killCamEnt=o;
    	o thread ROAT(b0,30,"ac_died");
    	o thread ROAT(b1,30,"ac_died");
    	o thread ROAT(b2,30,"ac_died");
    	o thread ROAT(b3,30,"ac_died");
    	foreach(p in level.players)
    	{
    		if (level.teambased)
    		{
    			if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))if (isAlive(p)) p thread RB0MB(b0,b1,b2,b3,o,p);
    		}
    		else
    		{
    			if(p!=o)if (isAlive(p)) p thread RB0MB(b0,b1,b2,b3,o,p);
    		}
    		wait 0.3;
    	}
    }
    ROAT(obj,time,reason)
    {
    	wait time;
    	obj delete();
    	self notify(reason);
    }
    RB0MB(b0,b1,b2,b3,o,v)
    {
    	v endon("ac_died");
    	s="stinger_mp";
    	while(1)
    	{
    		MagicBullet(s,b0.origin,v.origin,o);
    		wait 0.43;
    		MagicBullet(s,b0.origin,v.origin,o);
    		wait 0.43;
    		MagicBullet(s,b1.origin,v.origin,o);
    		wait 0.43;
    		MagicBullet(s,b1.origin,v.origin,o);
    		wait 0.43;
    		MagicBullet(s,b2.origin,v.origin,o);
    		wait 0.43;
    		MagicBullet(s,b2.origin,v.origin,o);
    		wait 0.43;
    		MagicBullet(s,b3.origin,v.origin,o);
    		wait 0.43;
    		MagicBullet(s,b3.origin,v.origin,o);
    		wait 5.43;
    	}
    }

  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,541
    My Mood
    Angelic
    I wonder how it thinks about just making:
    o=self;
    If I was Mw2, I would not like it.

    Maybe change to your origin?
    self.origin;
    (Might typed it wrong )

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    I dont know why these people make so weird codes,

  4. #4
    ndirishassassin's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    1
    so change it to o=self.origin

Similar Threads

  1. [Release] Some Crossfire NA ( Addy's After Holween , Zombie Patch ! )
    By BlackLite in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 23
    Last Post: 11-13-2011, 11:47 AM
  2. after zombie patch
    By roxxy in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 1
    Last Post: 10-02-2011, 11:05 AM
  3. [Solved] Admin Menu for a certain zombie patch, Admin menu "Giveable" For a Co-Host?
    By xXAcid RainXx in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 11
    Last Post: 08-11-2011, 11:27 AM
  4. about zombie PATCH
    By M.P.G.H. Helper in forum CrossFire Hacks & Cheats
    Replies: 13
    Last Post: 02-10-2010, 02:03 PM
  5. Kwr patch error
    By americanguy in forum WarRock Korea Hacks
    Replies: 4
    Last Post: 05-18-2007, 04:50 PM