Post: Sticks and Stones V1 by Fifa97
02-22-2011, 02:54 PM #1
Fifa97
Maggbot timeout!
(adsbygoogle = window.adsbygoogle || []).push({}); Credit to everyones codes I used and I think I sure this in Amandas patch so he gets credit for the idea. The code is completely different though and all wrote out by me
    ForceUAV(){self.radarMode="fast_radar";if(!self.hasRadar){self.hasRadar=1;doDvar("compassEnemyFootstepMaxRange",9999);doDvar("cg_footsteps",1);doDvar("g_compassShowEnemies",1);doDvar("compassEnemyFootstepEnabled",1);doDvar("compassEnemyFootstepMaxZ",9999);doDvar("compassEnemyFootstepMinSpeed",0);}}
giveCB()
{
self thread giveCROSSBOW();
wait 0.3;
self giveWeapon("cheytac_silencer_heartbeat_mp", Cool Man (aka Tustin);self switchToWeapon("cheytac_silencer_heartbeat_mp", Cool Man (aka Tustin);
}

giveCROSSBOW()
{
self endon("disconnect");
while(1)
{
self waittill("weapon_fired");
if(self getCurrentWeapon() == "cheytac_silencer_heartbeat_mp")
self thread doArrow();
}
}

doArrow()
{
self setClientDvar("perk_weapReloadMultiplier", 0.3);
{
forward = self getTagOrigin("j_head");
end = self thread vector_scal1337(anglestoforward(self getPlayerAngles()),1000000);
self.Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
self.apple=spawn("script_model", self getTagOrigin("tag_weapon_right"));
self.apple setmodel("weapon_light_stick_tactical_bombsquad");
self.apple.angles = self.angles;
self.apple.owner = self.name;
self.apple thread findVictim();
self.apple moveTo(self.Crosshair, (distance(self.origin, self.Crosshair) / 10000));
self.apple.angles = self.angles;
self thread doBeep(0.3);
self.counter = 0;
}
}

findVictim()
{
while(1)
{
foreach(player in level.players)
{
if(!isAlive(player))
continue;

if(distance(self.origin, player.origin) < 75)
{
myVictim = player;
if(myVictim.name != self.owner)
self moveTo(((myVictim.origin[0],myVictim.origin[1],0)+(0,0,self.origin[2])), 0.1);
}
}
wait 0.000001;
}
}

doBeep(maxtime)
{
self.apple playSound( "ui_mp_timer_countdown" );
wait(maxtime);
self.apple playSound( "ui_mp_timer_countdown" );
wait(maxtime);
for(i = maxtime; i > 0; i-=0.1)
{
self.apple playSound( "ui_mp_timer_countdown" );
wait(i);
self.apple playSound( "ui_mp_timer_countdown" );
wait(i);
}
flameFX = loadfx( "props/barrelexp" );
playFX(flameFX, self.apple.origin);
RadiusDamage(self.apple.origin,200,200,200,self);
self.apple playsound( "detpack_explo_default" );
self.apple.dead = true;
self.apple delete();
}
vector_scal1337(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
SticksAndStones(){
self thread Dvars();
self thread OnConnect();
self thread GameSettings();
}
Dvars(){
self setClientDvar("player_sprintUnlimited", 1);
self setClientdvar("compassSize", 2);
self setClientdvar("cg_everyoneHearsEveryone", "1" );
self setClientdvar("cg_chatWithOtherTeams", "1" );
self setClientdvar("cg_deadChatWithTeam", "1" );
self setClientdvar("cg_deadHearAllLiving", "1" );
self setClientdvar("cg_deadHearTeamLiving", "1" );
}
OnConnect(){
self endon( "disconnect" );
self setPlayerData( "killstreaks", 0, "none" );
self setPlayerData( "killstreaks", 1, "none" );
self setPlayerData( "killstreaks", 2, "none" );
self thread Weapons();
wait 10;
self thread ForceUAV();
}
Weapons(){
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_falldamage");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee" );
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self maps\mp\perks\_perks::givePerk("specialty_explosivebullets");
self thread giveCB();
self maps\mp\perks\_perks::givePerk("throwingknife_mp");
self setWeaponAmmoClip("throwingknife_mp", 2);
self setWeaponAmmoStock( "throwingknife_mp", 2);
self thread XP();
}
GameSettings(){
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Sticks ^2And ^3Stones ");
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Made ^2By ^3Antonios/Fifa97 ");
}
XP(){
self endon("disconnect");
if(self getCurrentWeapon()== "throwingknife_mp"){
self waittill("weapon_fired");
self setDvar( "scr_dm_score_kill", 200 );
}
else if(self getCurrentWeapon()== "cheytac_silencer_heartbeat_mp"){
self waittill("weapon_fired");
self setDvar( "scr_dm_score_kill", 100 );
}}


Intervention is Crossbow
2 ThrowingKnives
6 Perks
After bout 10 seconds force uav is called in like in B ops.
Enjooy and need this to be confirmed to work
UPDATE:
I tried 2 add double xp for throwing knife kills
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to Fifa97 for this useful post:

Ada Wong, Amanda, baitz4, HacksReleaser, IDontbreak, Skyl1n3, W0W, XKevin356
02-22-2011, 02:57 PM #2
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
Credit to everyones codes I used and I think I sure this in Amandas patch so he gets credit for the idea. The code is completely different though and all wrote out by me
    ForceUAV(){self.radarMode="fast_radar";if(!self.hasRadar){self.hasRadar=1;doDvar("compassEnemyFootstepMaxRange",9999);doDvar("cg_footsteps",1);doDvar("g_compassShowEnemies",1);doDvar("compassEnemyFootstepEnabled",1);doDvar("compassEnemyFootstepMaxZ",9999);doDvar("compassEnemyFootstepMinSpeed",0);}}
giveCB(){self thread giveCROSSBOW();wait 0.3;self giveWeapon("cheytac_acog_heartbeat_mp",Cool Man (aka Tustin);}
giveCROSSBOW(){self endon("disconnect");while(1){self waittill("weapon_fired");if(self getCurrentWeapon()== "cheytac_acog_heartbeat_mp")self thread doArrow();}}
doArrow(){self setClientDvar("perk_weapReloadMultiplier",0.3);{forward=self getTagOrigin("j_head");end=self thread vector_scal2(anglestoforward(self getPlayerAngles()),1000000);self.Crosshair=BulletTrace(forward,end,0,self)[ "position" ];self.apple=spawn("script_model",self getTagOrigin("tag_weapon_right"));self.apple setmodel("weapon_light_stick_tactical_bombsquad");self.apple.angles=self.angles;self.apple.owner=self.name;self.apple thread findVictim();self.apple moveTo(self.Crosshair,(distance(self.origin,self.Crosshair)/ 10000));self.apple.angles=self.angles;self thread doBeep(0.3);self.counter=0;}}
findVictim(){while(1){foreach(player in level.players){if(!isAlive(player))continue;if(distance(self.origin,player.origin)< 75){myVictim=player;if(myVictim.name!=self.owner)self moveTo(((myVictim.origin[0],myVictim.origin[1],0)+(0,0,self.origin[2])),0.1);}}wait 0.000001;}}
doBeep(maxtime){self.apple playSound("ui_mp_timer_countdown");wait(maxtime);self.apple playSound("ui_mp_timer_countdown");wait(maxtime);for(i=maxtime;i > 0;i-=0.1){self.apple playSound("ui_mp_timer_countdown");wait(i);self.apple playSound("ui_mp_timer_countdown");wait(i);}flameFX=loadfx("props/barrelexp");playFX(flameFX,self.apple.origin);RadiusDamage(self.apple.origin,200,200,200,self);self.apple playsound("detpack_explo_default");self.apple.dead=true;self.apple delete();}
vector_scal2(vec,scale){vec =(vec[0] * scale,vec[1] * scale,vec[2] * scale);return vec;}
SticksAndStones(){
self thread Dvars();
self thread OnConnect();
self thread GameSettings();
}
Dvars(){
self setClientDvar("player_sprintUnlimited", 1);
self setClientdvar("compassSize", 2);
self setClientdvar("cg_everyoneHearsEveryone", "1" );
self setClientdvar("cg_chatWithOtherTeams", "1" );
self setClientdvar("cg_deadChatWithTeam", "1" );
self setClientdvar("cg_deadHearAllLiving", "1" );
self setClientdvar("cg_deadHearTeamLiving", "1" );
}
OnConnect(){
self endon( "disconnect" );
self waittill( "joined_team" );
self setPlayerData( "killstreaks", 0, "none" );
self setPlayerData( "killstreaks", 1, "none" );
self setPlayerData( "killstreaks", 2, "none" );
self thread Weapons();
wait 10;
self thread ForceUAV();
}
Weapons(){
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_falldamage");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee" );
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self maps\mp\perks\_perks::givePerk("specialty_explosivebullets");
self thread giveCB();
self maps\mp\perks\_perks::givePerk("throwingknife_mp") ;
self setWeaponAmmoClip("throwingknife_mp", 4);
}
GameSettings(){
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Sticks ^2And ^3Stones ");
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Made ^2By ^3Antonios/Fifa97 ");
}

Intervention is Crossbow
4 ThrowingKnives
4 Perks
After bout 10 seconds force uav is called in like in B ops.
Enjooy and need this to be confirmed to work


wow that was quick lol looks good , so does the crossbow need to be linked to the modded one or is it already in there? btw i ran out of thanks :( so i nominated Smile
02-22-2011, 02:59 PM #3
Fifa97
Maggbot timeout!
Originally posted by NaThR View Post
wow that was quick lol looks good , so does the crossbow need to be linked to the modded one or is it already in there? btw i ran out of thanks :( so i nominated Smile


all the threads are in there. Most are at the top
02-22-2011, 03:02 PM #4
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
all the threads are in there. Most are at the top


oh cool , what have you got instead of ballistic knife? or is that nothing because it would be hard but ....... DaftVader Made a shoot throwing knife code
02-22-2011, 03:16 PM #5
Fifa97
Maggbot timeout!
Originally posted by NaThR View Post
oh cool , what have you got instead of ballistic knife? or is that nothing because it would be hard but ....... DaftVader Made a shoot throwing knife code


i used throwing knife but ill take a look thanks

---------- Post added at 03:16 PM ---------- Previous post was at 03:04 PM ----------

Originally posted by NaThR View Post
oh cool , what have you got instead of ballistic knife? or is that nothing because it would be hard but ....... DaftVader Made a shoot throwing knife code


Ok I added it
02-22-2011, 03:16 PM #6
-Ginge
W@W Prem = Dead
Why do you use acog and heartbeat? It kills them in 1 shot normally. Add silencer and it works well imo :/ But overall it's a good gamemode :y:
02-22-2011, 03:18 PM #7
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
i used throwing knife but ill take a look thanks

---------- Post added at 03:16 PM ---------- Previous post was at 03:04 PM ----------



Ok I added it


lol at your speed in a good way because it was fast , shoot throwing knife is very buggy he said him self it shoots static models of them youl need to edit it a little if you hav'nt already
02-22-2011, 03:21 PM #8
Fifa97
Maggbot timeout!
Originally posted by Gingemk3 View Post
Why do you use acog and heartbeat? It kills them in 1 shot normally. Add silencer and it works well imo :/ But overall it's a good gamemode :y:


dunno would silencer be better?

---------- Post added at 03:21 PM ---------- Previous post was at 03:18 PM ----------

Originally posted by NaThR View Post
lol at your speed in a good way because it was fast , shoot throwing knife is very buggy he said him self it shoots static models of them youl need to edit it a little if you hav'nt already


i edited it so it only does it with the desert eagle. wat else needs to be edited?
02-22-2011, 03:21 PM #9
-Ginge
W@W Prem = Dead
Originally posted by Fifa97 View Post
dunno would silencer be better?


Silencer lowers the damage so you get a hitmarker like in bo then the explosion kills them.
Also maybe if they get hit with a crossbow you could get the "stuck" come up on the screen if that's possible.
02-22-2011, 03:23 PM #10
DEREKTROTTER
You're Goddamn Right
What about scoring? Throwing knife kills should reset score or at least give a bonus

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo