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, 03:25 PM #11
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
dunno would silencer be better?

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



i edited it so it only does it with the desert eagle. wat else needs to be edited?


no because it shoots static models you need to make the knives kill them chrome playa tried it but it ended up killing everyone so it might be a tough job
02-22-2011, 03:25 PM #12
Fifa97
Maggbot timeout!
Originally posted by DEREKTROTTER View Post
What about scoring? Throwing knife kills should reset score or at least give a bonus


omg i forgot about that! what would be the code for that?
02-22-2011, 03:47 PM #13
The InvadeR
Who’s Jim Erased?
Originally posted by DEREKTROTTER View Post
What about scoring? Throwing knife kills should reset score or at least give a bonus


that sound tricky

---------- Post added at 06:47 PM ---------- Previous post was at 06:32 PM ----------

Originally posted by Fifa97 View Post
omg i forgot about that! what would be the code for that?


how do you get your ideas because i find it hard
02-22-2011, 03:51 PM #14
Fifa97
Maggbot timeout!
Originally posted by NaThR View Post
that sound tricky

---------- Post added at 06:47 PM ---------- Previous post was at 06:32 PM ----------



how do you get your ideas because i find it hard


i got the xpscaler but what is the code for if killed by throwing knife?
02-22-2011, 03:53 PM #15
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
i got the xpscaler but what is the code for if killed by throwing knife?


im the wrong guy to ask , ask someone with more experiance , oh btw do you want it tested _nutty_ said he can test things for me:p
02-23-2011, 06:41 AM #16
Can we not add the crossbow Barrett 50. Caliber? Its Barrett that shoots invisible tactical insertions that blow up in 3 seconds. If possible add a silencer to it so if the stick them with the tac. they wont die from the bullet.
02-23-2011, 07:40 AM #17
Beta-
< ^ > < ^ >
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_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_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;}
BallisticKnife(){
self thread ThisIsABitCrap();
wait 0.3;
self giveWeapon("deserteaglegold_mp",0);}
ThisIsABitCrap()
{
self endon("death");
while(1) { self waittill ( "weapon_fired" );
if(self getCurrentWeapon()== "deserteaglegold_mp")
vec = anglestoforward(self getPlayerAngles()); end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
Sloc = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self )[ "position" ];
start=self gettagorigin("tag_eye");
sentry = spawn("script_model", start ); sentry setModel( "weapon_parabolic_knife");
sentry MoveTo(Sloc,0.9);
}}

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 thread BallisticKnife();
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
6 Perks
After bout 10 seconds force uav is called in like in B ops.
Enjooy and need this to be confirmed to work
Added Ballistic Gold Desert Eagle Knife LOL


I can see why DEREKTROTTER Voted You For Premium,

Good Job :y: I Nominated
02-23-2011, 09:55 AM #18
The InvadeR
Who’s Jim Erased?
Originally posted by srk74 View Post
I can see why DEREKTROTTER Voted You For Premium,

Good Job :y: I Nominated


Is that why his rep went up by lol he was like omg my works getting appreciated!
02-23-2011, 10:33 AM #19
Fifa97
Maggbot timeout!
Originally posted by TasteTheRainBow View Post
Can we not add the crossbow Barrett 50. Caliber? Its Barrett that shoots invisible tactical insertions that blow up in 3 seconds. If possible add a silencer to it so if the stick them with the tac. they wont die from the bullet.


yh i added silencer

---------- Post added at 10:33 AM ---------- Previous post was at 10:29 AM ----------

Originally posted by NaThR View Post
no because it shoots static models you need to make the knives kill them chrome playa tried it but it ended up killing everyone so it might be a tough job


i think i worked out a way to double xp throwing knife

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo