Posts: 74
Threads: 9
Joined: May 2011
Reputation:
0
11-03-2011, 15:53
(This post was last modified: 11-03-2011, 15:57 by krijnrien.)
yep
the only map, as far as i know didnt test them al
but like eehm
highrise <3, i love highrise the best map!
add me on steam guys
krijnrien
its easier to explain and this is taking alot of more time
Posts: 205
Threads: 12
Joined: Jun 2011
Reputation:
9
then you only have to change highrise coordinates...
Code: CB0MB()
{ self notifyOnPlayerCommand("N", "+actionslot 1");
self waittill("N");
//self iprintlnbold("^1COLOSSUS AIRSTRIKE ^7INCOMING!");
if(getdvar("mapname")=="mp_highrise")
{
b0=spawn("script_model",(-1083,12350,4533));
b1=spawn("script_model",(-1500,12350,4533));
b2=spawn("script_model",(-750,12350,4533));
b3=spawn("script_model",(-1200,12350,4533));
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((-1083,1900,4533),40);
b1 MoveTo((-1500,1900,4533),40);
b2 MoveTo((-750,1900,4533),40);
b3 MoveTo((-1200,1900,4533),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");
}else{
o=self;
b0=spawn("script_model",(15000,0,3000));
b1=spawn("script_model",(15000,1000,3000));
b2=spawn("script_model",(15000,-2000,3000));
b3=spawn("script_model",(15000,-1000,3000));
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,3000),40);
b1 MoveTo((-15000,1000,3000),40);
b2 MoveTo((-15000,-2000,3000),40);
b3 MoveTo((-15000,-1000,3000),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;
} }
Posts: 74
Threads: 9
Joined: May 2011
Reputation:
0
WORKED!!!
you had everything right smile i was just doing something wrong
plz dont close or solve it yet
any1 else have some ideas?
Posts: 205
Threads: 12
Joined: Jun 2011
Reputation:
9
(11-03-2011, 16:36)krijnrien Wrote: WORKED!!!
you had everything right smile i was just doing something wrong
plz dont close or solve it yet
any1 else have some ideas?
really?
where the coordinates right?
Posts: 74
Threads: 9
Joined: May 2011
Reputation:
0
this is the correct code guys
with a fixed highrise issue
Code: CB0MB()
{ self notifyOnPlayerCommand("N", "+actionslot 1");
self waittill("N");
self iprintlnbold("^1COLOSSUS AIRSTRIKE ^7INCOMING!");
self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
self endLocationSelection();
self.selectingLocation = undefined;
if(getdvar("mapname")=="mp_highrise")
{
o=self;
b0=spawn("script_model",(-400,12350,4533));
b1=spawn("script_model",( 500,12350,4533));//harrier
b2=spawn("script_model",(-2500,12250,4533));//harrier zie onder links
b3=spawn("script_model",(-1700,12350,4533));// links van waar ze naartoe gaan
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,270,0);
b1.angles=(0,270,0);
b2.angles=(0,270,0);
b3.angles=(0,270,0);
b0 playLoopSound("veh_b2_dist_loop");
b0 MoveTo((-400,-5000,4533),40);
b1 MoveTo(( 500,-5000,4533),40);
b2 MoveTo((-2500,-5000,4533),40);
b3 MoveTo((-1700,-5000,4533),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");
}
else
{
o=self;
b0=spawn("script_model",(15000,0,3000));
b1=spawn("script_model",(15000,1000,3000));
b2=spawn("script_model",(15000,-2000,3000));
b3=spawn("script_model",(15000,-1000,3000));
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,3000),40);
b1 MoveTo((-15000,1000,3000),40);
b2 MoveTo((-15000,-2000,3000),40);
b3 MoveTo((-15000,-1000,3000),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;
} }
Posts: 205
Threads: 12
Joined: Jun 2011
Reputation:
9
(11-03-2011, 17:09)krijnrien Wrote: this is the correct code guys
with a fixed highrise issue
Code: CB0MB()
{ self notifyOnPlayerCommand("N", "+actionslot 1");
self waittill("N");
self iprintlnbold("^1COLOSSUS AIRSTRIKE ^7INCOMING!");
self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
self endLocationSelection();
self.selectingLocation = undefined;
if(getdvar("mapname")=="mp_highrise")
{
o=self;
b0=spawn("script_model",(-400,12350,4533));
b1=spawn("script_model",( 500,12350,4533));//harrier
b2=spawn("script_model",(-2500,12250,4533));//harrier zie onder links
b3=spawn("script_model",(-1700,12350,4533));// links van waar ze naartoe gaan
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,270,0);
b1.angles=(0,270,0);
b2.angles=(0,270,0);
b3.angles=(0,270,0);
b0 playLoopSound("veh_b2_dist_loop");
b0 MoveTo((-400,-5000,4533),40);
b1 MoveTo(( 500,-5000,4533),40);
b2 MoveTo((-2500,-5000,4533),40);
b3 MoveTo((-1700,-5000,4533),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");
}
else
{
o=self;
b0=spawn("script_model",(15000,0,3000));
b1=spawn("script_model",(15000,1000,3000));
b2=spawn("script_model",(15000,-2000,3000));
b3=spawn("script_model",(15000,-1000,3000));
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,3000),40);
b1 MoveTo((-15000,1000,3000),40);
b2 MoveTo((-15000,-2000,3000),40);
b3 MoveTo((-15000,-1000,3000),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;
} }
it must be -500...
(ben jij nederlands?)
Posts: 74
Threads: 9
Joined: May 2011
Reputation:
0
11-04-2011, 15:43
(This post was last modified: 11-04-2011, 15:44 by krijnrien.)
yep xD ik ben nederlands
yep xD i am dutch
and not it musn't be -500 cuz then the harrier will fly in the stealth bomber ( if i am right)
Posts: 205
Threads: 12
Joined: Jun 2011
Reputation:
9
(11-04-2011, 15:43)krijnrien Wrote: yep xD ik ben nederlands
yep xD i am dutch
and not it musn't be -500 cuz then the harrier will fly in the stealth bomber ( if i am right)
haha nice 1
Posts: 74
Threads: 9
Joined: May 2011
Reputation:
0
its totally correct now, i make a new thread in code scripts about this, and about how to make it host abuse
|