Post: kinda cool script
02-13-2011, 09:34 AM #1
Karoolus
I'm the W@W Menu Guy !
(adsbygoogle = window.adsbygoogle || []).push({}); i wrote this a while back & i've tried it in S&Awesome face online, AWESOME Happy

what it does is it cycles all players in the level, all players that are NOT on your team will be marked as target
after that, you'll teleport in front of the player (he'll see a fire first where you'll spawn & he'll be frozen) and blow his brains out..
then the next, & the next & so on until the entire team is dead Happy

    Massacre()
{
//select who to kill
self.awaiting = true;
self waittill("start_massacre");
for(p = 0; p < level.players.size; p++)
{
player = level.players[p];
if((player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || (!isAlive(player)) || (player getEntityNumber() == 0))
{
self.players[p] = "spare";
}
else
{
self.players[p] = "kill";
}
}
wait 1;

//start actual massacre
self freezecontrols( true );
self thread doGod();
//cycle all players
for(p = 0; p < level.players.size; p++)
{
player = level.players[p];
if(self.players[p] == "kill")
{
//create fire where i'll spawn
NewOrigin = player.origin + (130, 0, 0);
player freezecontrols( true );
self.fire = maps/mp/_utility::createLoopEffect( "mp_fire_large" );
self.fire.v[ "origin" ] = NewOrigin;
self.fire.v[ "angles" ] = ( 270, 0, 0 );
self.fire.v[ "fxid" ] = "mp_fire_large";
self.fire.v[ "delay" ] = -15;
wait 1.5;
wait .2;
//spawn in the fire in FRONT of the player, him being unable to move
self SetOrigin(player.origin + (130, 0, 0));
self setplayerangles( VectorToAngles( ( player getTagOrigin( "j_spine" ) ) - ( self getTagOrigin( "j_spine" ) ) ) );
player setplayerangles( VectorToAngles( ( self getTagOrigin( "j_spine" ) ) - ( player getTagOrigin( "j_spine" ) ) ) );
wait .3;
//aim for his head
self setplayerangles( VectorToAngles( ( player getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
wait .1;
//finish him
player thread [[level.callbackPlayerDamage]](self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0);
player freezecontrols( false );
wait .7;
self.fire destroy();
}
}
self notify("stop_god");
self freezecontrols( false );
}


i'll provide a patch later Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Karoolus for this useful post:

Ada Wong, Correy, xRapiiD-sHoT2xX
02-13-2011, 01:39 PM #2
FM|T xR3PMz
French Modding | Team
Hi, do you release this in one patch soon?
Salut Karoolus, tu vas sortir un patch avec ceci à l'interieur?
02-13-2011, 09:19 PM #3
XeNoNx
You talkin to me?
very nice and could u tell us the release date for the zombie menu?
02-14-2011, 04:39 AM #4
Karoolus when i put the kode on the patch it givme a error msg
kould not find script 'mapsmp_utility'
what u think that kan be?
02-14-2011, 01:00 PM #5
Originally posted by noctwrnyA View Post
Karoolus when i put the kode on the patch it givme a error msg
kould not find script 'mapsmp_utility'
what u think that kan be?


Are you going to update your thread? Happy
02-14-2011, 10:51 PM #6
Karoolus
I'm the W@W Menu Guy !
for some reason the php thing doesn't show the \ :s
when i clicked edit, they were there but when i saved they weren't :p
so i just made it / Winky Winky
02-15-2011, 09:47 AM #7
Originally posted by Karoolus View Post
i wrote this a while back & i've tried it in S&Awesome face online, AWESOME Happy


That looks absolutely sensational! I'd love to see that in action, but not actually against me in a game!

Years ago I used to dream about being able to just auto-kill a single person in glitching games of RFOM (Resistance 1). Someone who sets the points to max, gets into the glitch, and then just rockets the hell out of everyone else who tries to enter. Eventually everyone quits because the guy wont let anyone else in, and then he just waits until someone else joins the game and does it again and again and again.

With you, at least on another game, my dream is possible. I tip my hat to you!
02-15-2011, 11:06 AM #8
Originally posted by Karoolus View Post
for some reason the php thing doesn't show the \ :s
when i clicked edit, they were there but when i saved they weren't :p
so i just made it / Winky Winky


so should i change \ for / or what?
02-15-2011, 04:45 PM #9
Karoolus
I'm the W@W Menu Guy !
Originally posted by noctwrnyA View Post
so should i change \ for / or what?


idk.. it should be \ but i think / will work as well Smile
02-16-2011, 09:50 PM #10
IRiSe_GodFather
Was GodFatherIV
Originally posted by Karoolus View Post
i wrote this a while back & i've tried it in S&Awesome face online, AWESOME Happy

what it does is it cycles all players in the level, all players that are NOT on your team will be marked as target
after that, you'll teleport in front of the player (he'll see a fire first where you'll spawn & he'll be frozen) and blow his brains out..
then the next, & the next & so on until the entire team is dead Happy

    Massacre()
{
//select who to kill
self.awaiting = true;
self waittill("start_massacre");
for(p = 0; p < level.players.size; p++)
{
player = level.players[p];
if((player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || (!isAlive(player)) || (player getEntityNumber() == 0))
{
self.players[p] = "spare";
}
else
{
self.players[p] = "kill";
}
}
wait 1;

//start actual massacre
self freezecontrols( true );
self thread doGod();
//cycle all players
for(p = 0; p < level.players.size; p++)
{
player = level.players[p];
if(self.players[p] == "kill")
{
//create fire where i'll spawn
NewOrigin = player.origin + (130, 0, 0);
player freezecontrols( true );
self.fire = maps/mp/_utility::createLoopEffect( "mp_fire_large" );
self.fire.v[ "origin" ] = NewOrigin;
self.fire.v[ "angles" ] = ( 270, 0, 0 );
self.fire.v[ "fxid" ] = "mp_fire_large";
self.fire.v[ "delay" ] = -15;
wait 1.5;
wait .2;
//spawn in the fire in FRONT of the player, him being unable to move
self SetOrigin(player.origin + (130, 0, 0));
self setplayerangles( VectorToAngles( ( player getTagOrigin( "j_spine" ) ) - ( self getTagOrigin( "j_spine" ) ) ) );
player setplayerangles( VectorToAngles( ( self getTagOrigin( "j_spine" ) ) - ( player getTagOrigin( "j_spine" ) ) ) );
wait .3;
//aim for his head
self setplayerangles( VectorToAngles( ( player getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
wait .1;
//finish him
player thread [[level.callbackPlayerDamage]](self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0);
player freezecontrols( false );
wait .7;
self.fire destroy();
}
}
self notify("stop_god");
self freezecontrols( false );
}


i'll provide a patch later Winky Winky


Sexy

Btw the final kill cam is harder then i though

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo