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-24-2011, 12:09 PM #29
ViiZiiKz
old name was EpiCz-SniiPz
Originally posted by Fifa97 View Post
ohh:( do you have any other ideas?


I dont know but this is just a Suggestion but having like a doSplash with it say Stuck! without the semtex? its just a suggestion not sure if it would work
02-24-2011, 12:15 PM #30
Default Avatar
Gizmo
Guest
Originally posted by Fifa97 View Post
    ThrowingKnife(){
self endon("disconnect");
while(1){
self waittill("weapon_fired");
if(self getCurrentWeapon()== "throwingknife_mp")
self thread doubleXP();
}}
doubleXP(){
self endon("disconnect");
player.xpScaler = 2;
}

[/SPOILER]

You should use Dereks crossbow and set stopping power to -100 so the bullets cant damage anyone Winky Winky

Heres the score reset code

    

sitdown(){
self endon("disconnect");

self.pers["score"] = 0;
self.pers["kills"] = 0;
self.pers["assists"] = 0;
//self.pers["deaths"] = 0;
//self.pers["suicides"] = 0;
self.score = 0;
self.kills = 0;
self.assists = 0;
//self.deaths = 0;
//self.suicides = 0;
}


All you have to do is make it so f you get killed by the throwing knife it resets you Winky Winky

The following user thanked Gizmo for this useful post:

Fifa97
02-24-2011, 12:50 PM #31
Fifa97
Maggbot timeout!
Originally posted by 95 View Post
[/SPOILER]

You should use Dereks crossbow and set stopping power to -100 so the bullets cant damage anyone Winky Winky

Heres the score reset code

    

sitdown(){
self endon("disconnect");

self.pers["score"] = 0;
self.pers["kills"] = 0;
self.pers["assists"] = 0;
//self.pers["deaths"] = 0;
//self.pers["suicides"] = 0;
self.score = 0;
self.kills = 0;
self.assists = 0;
//self.deaths = 0;
//self.suicides = 0;
}


All you have to do is make it so f you get killed by the throwing knife it resets you Winky Winky


i used silencer for that but thanks +rep
02-24-2011, 12:59 PM #32
XKevin356
Are you high?
yea you should put the a semtex on the crossbow and what if you could make a M9 tac knife whenever you knife it shoots trowing knives :p
02-24-2011, 01:04 PM #33
Fifa97
Maggbot timeout!
Originally posted by 95 View Post
[/SPOILER]

You should use Dereks crossbow and set stopping power to -100 so the bullets cant damage anyone Winky Winky

Heres the score reset code

    

sitdown(){
self endon("disconnect");

self.pers["score"] = 0;
self.pers["kills"] = 0;
self.pers["assists"] = 0;
//self.pers["deaths"] = 0;
//self.pers["suicides"] = 0;
self.score = 0;
self.kills = 0;
self.assists = 0;
//self.deaths = 0;
//self.suicides = 0;
}


All you have to do is make it so f you get killed by the throwing knife it resets you Winky Winky


im not sure what the code is for getting killed by throwing knife??
would it start with self waittill ("death")

---------- Post added at 01:04 PM ---------- Previous post was at 01:02 PM ----------

Originally posted by XKevin356 View Post
yea you should put the a semtex on the crossbow and what if you could make a M9 tac knife whenever you knife it shoots trowing knives :p


im not sure you can shoot throwing knives but i did daft vader's shooting knives code with a gold desert eagle

The following user thanked Fifa97 for this useful post:

XKevin356
02-24-2011, 01:15 PM #34
Default Avatar
Gizmo
Guest
Originally posted by Fifa97 View Post
im not sure what the code is for getting killed by throwing knife??
would it start with self waittill ("death")

---------- Post added at 01:04 PM ---------- Previous post was at 01:02 PM ----------



im not sure you can shoot throwing knives but i did daft vader's shooting knives code with a gold desert eagle


Something like

self waittill ("death")
currentWeapon = player getCurrentWeapon();
if
currentWeapon == ("throwingknife_mp");
self thread sitdown;

That wont work, but It will be similar to that I think
02-24-2011, 01:34 PM #35
Fifa97
Maggbot timeout!
Originally posted by 95 View Post
Something like

self waittill ("death")
currentWeapon = player getCurrentWeapon();
if
currentWeapon == ("throwingknife_mp");
self thread sitdown;

That wont work, but It will be similar to that I think


what about if u change it abit and say if u killed someone with a throwing knife.easier or harder?
02-24-2011, 01:37 PM #36
Default Avatar
Gizmo
Guest
Originally posted by Fifa97 View Post
what about if u change it abit and say if u killed someone with a throwing knife.easier or harder?


I have no idea :/
02-24-2011, 01:46 PM #37
Fifa97
Maggbot timeout!
Originally posted by 95 View Post
I have no idea :/


maybe sumfin like this. im not sure either
    ResetPlayer(){
if(player getCurrentWeapon()== "throwingknife_mp"){
self waittill ("death");
self thread sitdown();
}
else if(self getCurrentWeapon()== "throwingknife_mp"){
player waittill ("death");
player thread sitdown();
}}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo