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-23-2011, 10:37 AM #20
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
yh i added silencer

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



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


cool , how do i make it so after so many kills you get a mod? do you know?
could i steal part of the gun games code and instead of getting a weapon you get a mod?
02-23-2011, 10:46 AM #21
Fifa97
Maggbot timeout!
Originally posted by NaThR View Post
cool , how do i make it so after so many kills you get a mod? do you know?
could i steal part of the gun games code and instead of getting a weapon you get a mod?


    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;
}
02-23-2011, 10:48 AM #22
The InvadeR
Who’s Jim Erased?
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;
}


so a thats the code for throwing knife reseting your kills?
02-23-2011, 10:50 AM #23
Fifa97
Maggbot timeout!
Originally posted by DEREKTROTTER View Post
What about scoring? Throwing knife kills should reset score or at least give a bonus


i think i did it 2 give double xp if u threw the throwing knife and got a kill but im not 100%. it was abit difficult lol

---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------

Originally posted by NaThR View Post
so a thats the code for throwing knife reseting your kills?


no double xp. reset i have no idea..
02-23-2011, 11:01 AM #24
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
i think i did it 2 give double xp if u threw the throwing knife and got a kill but im not 100%. it was abit difficult lol

---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------



no double xp. reset i have no idea..


Off tipoic question mate , whats the default jump height number ? 1
02-23-2011, 11:18 AM #25
Fifa97
Maggbot timeout!
Originally posted by NaThR View Post
Off tipoic question mate , whats the default jump height number ? 1


you should look at a toggle for super jump and the off function is the default 1. im not 100% i dont think its 1 but..

---------- Post added at 11:18 AM ---------- Previous post was at 11:12 AM ----------

Originally posted by NaThR View Post
Off tipoic question mate , whats the default jump height number ? 1


its bout 40
02-24-2011, 11:43 AM #26
Fifa97
Maggbot timeout!
Originally posted by DEREKTROTTER View Post
What about scoring? Throwing knife kills should reset score or at least give a bonus


idea: if i change crossbow bullet to semtex if it sticks to some1 it will display stuck message on screen! what do you think?
02-24-2011, 11:54 AM #27
DEREKTROTTER
You're Goddamn Right
Originally posted by Fifa97 View Post
idea: if i change crossbow bullet to semtex if it sticks to some1 it will display stuck message on screen! what do you think?


you cant shoot semtex
02-24-2011, 11:56 AM #28
Fifa97
Maggbot timeout!
Originally posted by DEREKTROTTER View Post
you cant shoot semtex


ohh:( do you have any other ideas?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo