Skip to content

Instantly share code, notes, and snippets.

@Rumrusher
Created March 25, 2014 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rumrusher/9755815 to your computer and use it in GitHub Desktop.
Save Rumrusher/9755815 to your computer and use it in GitHub Desktop.
Goomba stomp + this = stomp fest with rocket bootz
if (player.class == CLASS_MEDIC || player.class == CLASS_ENGINEER || player.class == CLASS_SPY) && taunting{
if tauntindex == 0 or tauntindex == tauntlength {
//Nwith(SentryTurret) team = 3;
effect = noone;
vspeed = 15;
moveStatus = 1;
}
}
if (player.class == CLASS_SOLDIER || player.class == CLASS_DEMOMAN || player.class == CLASS_SNIPER || player.class == CLASS_MEDIC||player.class == CLASS_PYRO ){
with(Rocket) team = 3
with(Mine) team = 3
with(Rifle) team = 3
with(Needle) team = 3
with(Flame) team = 3
}
if (player.class == CLASS_SCOUT) {runPower = 20 jumpStrength = 16 knockback = 60;
if taunting { if tauntindex == 0 or tauntindex == tauntlength {
effect = noone;
vspeed = -15;
moveStatus = 1;
}
if killStreak > 5{ with(Scattergun){ refireTime = 5;
reloadTime = 5;
}
refireTime = 2;
flameLife = 1500;
hitDamage = 55;
burnIncrease = 100;
reloadTime = 15;
reloadBuffer = 2;
durationIncrease = 5;
afterburnFalloff = false;
}
}
}
if (player.class == CLASS_PYRO) {
if taunting
{ if tauntindex == 0 or tauntindex == tauntlength
{
effect = noone;
vspeed = -10;
moveStatus = 1;
if (aimDirection > 90 && aimDirection < 270 ) {hspeed = -10;
}else if (aimDirection < 90 || aimDirection > 270) {hspeed = 10;
}
}
}
}
if (player.class == CLASS_HEAVY || player.class == CLASS_SNIPER || player.class == CLASS_QUOTE ) {
canEat = true;
eatCooldown = 1;
if (aimDirection > 90 && aimDirection < 270 ) {hspeed = -10;
moveStatus = 1;
}else if (aimDirection < 90 || aimDirection > 270) {hspeed = 10;
moveStatus = 1;
}
if taunting { if (tauntindex == 0 or tauntindex == tauntlength){
if (aimDirection > 180 ) {vspeed = 20;
}else if (aimDirection < 360) {vspeed = -20;
}
}
}
}
if (player.class == CLASS_MEDIC && team != player.team){
if (ubering == true){
healAmount = 3/3;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment