What's new

Discussion [RELEASE] Raining Panzerschrek's

  • Thread starter Su AriZonaa
  • Start date
  • Views 1,738
Su AriZonaa

Su AriZonaa

Getting There
Seasoned Veteran Grizzled Veteran Experienced Veteran
Messages
1,450
Reaction score
663
Points
230
Sin$
0
This only works on first map for now, didnt make a toggle out of it either but can easily be made into one. If you were wondering what this does it randomly shoots Panzerschreks from the sky and kills the zombies. Whoever activates it gets the points too :lol:

Add This To OnPlayerSpawned
Code:
self thread RainHax();

Add This Somewhere to the gsc.
Code:
RainHax()
{
self endon("disconnect");
self.barraging = 0;
for(;;)
{
wait 0.5;
if(self UseButtonPressed() && self.barraging == 0)
{
for(;;)
{

i = self.origin;
self.barraging = 1;
x = randomIntRange(-3000,10000);
y = randomIntRange(-3000,10000);
z = randomIntRange(3000,10000);
MagicBullet( "panzerschrek", (x,y,z), (x,y,0), self );
wait 0.05;
}
}
}
}

What it looks like :biggrin:
1179t77.jpg
 
Andrew74

Andrew74

Enthusiast
Messages
824
Reaction score
219
Points
165
Sin$
7
Lol real hard to convert, change the weapon name and remove self. =) I was messing with this like 3 weeks ago but never released was saving if I made another mod pack.
 
Su AriZonaa

Su AriZonaa

Getting There
Seasoned Veteran Grizzled Veteran Experienced Veteran
Messages
1,450
Reaction score
663
Points
230
Sin$
0
Never said it was hard, Im only releasing cause it lags real bad when activated.
 
IBeChanChanDooo

IBeChanChanDooo

Enthusiast
Messages
190
Reaction score
20
Points
70
Sin$
0
Yes I posted the Mw2 code a few days agao Thank YOU!!!!!!!!! I Love this! Also I LOVE ANDREWS PATCH!

BTW does this need a toggle? or does it turn on when spawned?
 
Su AriZonaa

Su AriZonaa

Getting There
Seasoned Veteran Grizzled Veteran Experienced Veteran
Messages
1,450
Reaction score
663
Points
230
Sin$
0
if u are using andrews patch i advise just making it host only and making it a different button toggle
 
IBeChanChanDooo

IBeChanChanDooo

Enthusiast
Messages
190
Reaction score
20
Points
70
Sin$
0
So I would make it above the use button pressed leke Getstance crouch and than change use buttong pressed to fragbuttonpressed? so then when i crouch and press rb it will let me turn it off/on?

Like this:
Code:
{
self endon("disconnect");
barraging = 0;
for(;;)
{
wait 0.5;
if( self GetStance() == "prone" ) 
if(self FragButtonPressed() && barraging == 0)
{
for(;;)
{

barraging = 1;
x = randomIntRange(-3000,10000);
y = randomIntRange(-3000,10000);
z = randomIntRange(3000,10000);
MagicBullet( "panzerschrek", (x,y,z), (x,y,0), self );
wait 0.05;
}
}
}
}

Or do I need to remove all of the selfs as in on the frag button pressed & get stance? BTW Im noob at coding so tell me what you think

Anybody?
 
Su AriZonaa

Su AriZonaa

Getting There
Seasoned Veteran Grizzled Veteran Experienced Veteran
Messages
1,450
Reaction score
663
Points
230
Sin$
0
So I would make it above the use button pressed leke Getstance crouch and than change use buttong pressed to fragbuttonpressed? so then when i crouch and press rb it will let me turn it off/on?

Like this:
Code:
{
self endon("disconnect");
barraging = 0;
for(;;)
{
wait 0.5;
if( self GetStance() == "prone" ) 
if(self FragButtonPressed() && barraging == 0)
{
for(;;)
{

barraging = 1;
x = randomIntRange(-3000,10000);
y = randomIntRange(-3000,10000);
z = randomIntRange(3000,10000);
MagicBullet( "panzerschrek", (x,y,z), (x,y,0), self );
wait 0.05;
}
}
}
}

Or do I need to remove all of the selfs as in on the frag button pressed & get stance? BTW Im noob at coding so tell me what you think

Anybody?

It doesnt have a toggle atm, can be made easily i will make onoe later on today.

not a patch :smile: haha jk

I like calling it a patch so :tongue:
 
Top Bottom
Login
Register