Skip to content

Commit

Permalink
smissbot update
Browse files Browse the repository at this point in the history
  • Loading branch information
higps committed Dec 17, 2024
1 parent 834091d commit b0aff45
Show file tree
Hide file tree
Showing 10 changed files with 94 additions and 153 deletions.
2 changes: 1 addition & 1 deletion ability_free_disruptor_heavy_hoovy_ability.sp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public Action HoovyBoom(Handle timer, any data)
GetClientAbsOrigin(victim, pos22);

int particle = CreateEntityByName("info_particle_system");
DispatchKeyValue(particle, "effect_name", "ExplosionCore_Wall");
DispatchKeyValue(particle, "effect_name", "fluidSmokeExpl_ring_mvm");
AcceptEntityInput(particle, "Start");
TeleportEntity(particle, pos22, NULL_VECTOR, NULL_VECTOR);
DispatchSpawn(particle);
Expand Down
4 changes: 2 additions & 2 deletions ability_free_tank_heavy_terminator_ability.sp
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3
int aimtarget = GetClientAimTarget(client);
if (IsValidClient(aimtarget) && aimtarget == g_target)
{
TF2_AddCondition(client, TFCond_SpeedBuffAlly, 0.33);
TF2_AddCondition(client, TFCond_CritCola, 0.33);
TF2_AddCondition(client, TFCond_SpeedBuffAlly, 0.7);
TF2_AddCondition(client, TFCond_CritCola, 0.7);
}

//Manually Finding New Target
Expand Down
28 changes: 25 additions & 3 deletions berobot_dmg_handler.sp
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,32 @@ public void OnPluginStart()

public Action Event_PlayerDeath(Event event, char[] name, bool dontBroadcast){

int client = GetClientOfUserId(event.GetInt("userid"));
if (IsValidClient(client)){
DeleteParticle(0.1, ParticleStorage[client]);
int attacker = GetClientOfUserId(GetEventInt(event, "attacker"));
int victim = GetClientOfUserId(GetEventInt(event, "userid"));
int assister = GetClientOfUserId(GetEventInt(event, "assister"));
if (IsValidClient(victim)){
DeleteParticle(0.1, ParticleStorage[victim]);

int decapitations = GetEntProp(victim, Prop_Send, "m_iDecapitations");

if (decapitations != 0)
{
if(!IsAnyRobot(victim) && IsAnyRobot(attacker) || IsAnyRobot(assister))
{
// PrintToChatAll("Decaps %i for %N", decapitations, victim);
if(decapitations >= 8) decapitations = 8;
TF2_AddCondition(attacker, TFCond_CritCola, float(decapitations));
TF2_AddCondition(attacker, TFCond_SpeedBuffAlly, float(decapitations));
TF2_AddCondition(attacker, TFCond_DefenseBuffed, float(decapitations));
TF2_AddCondition(assister, TFCond_CritCola, float(decapitations));
TF2_AddCondition(assister, TFCond_DefenseBuffed, float(decapitations));
TF2_AddCondition(assister, TFCond_SpeedBuffAlly, float(decapitations));
}
}

}


return Plugin_Continue;
}

Expand Down
68 changes: 0 additions & 68 deletions cfg/robots/free_damage_melee_heavy_balaclava.cfg

This file was deleted.

13 changes: 8 additions & 5 deletions cfg/robots/free_disruptor_demoman_samureye.cfg
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
"Robot"
{
"model" "models/bots/demo_boss/bot_demo_boss.mdl"
"model" "models/bots/demo/bot_demo.mdl"
"class" "Demoman"
"shortdescription" "Half-Zatoichi, Splendid Screen"
"name" "Samureye"
"deathtip" "Samureye. can still be one-shot by the Half Zatoichi"
"role" "Disruptor"
"subclass" "Disruptor"
"tips" "Samurai Anti Mann\nCharge refill on hit"
"health" "2175"
"health_bonus_per_player" "50"
"health" "650"
"health_bonus_per_player" "15"
"scale" "1.5"
"difficulty" "2"
"sounds"
{
Expand All @@ -21,7 +22,7 @@
"player_attributes"
{
"damage force reduction" "1.25"
"move speed penalty" "0.6"
"move speed penalty" "0.9"
"airblast vulnerability multiplier" "1.15"
"cancel falling damage" "1.0"
"rage giving scale" "0.75"
Expand Down Expand Up @@ -62,10 +63,12 @@
"slot" "1"
"attributes"
{
"major increased jump height" "1.65"
"major increased jump height" "2.3"
"lose demo charge on damage when charging" "0.0"
"dmg taken from fire reduced" "1.0"
"dmg taken from blast reduced" "1.0"
"Attack not cancel charge" "1.0"
"bot custom jump particle" "1.0"
}
}
}
Expand Down
32 changes: 16 additions & 16 deletions cfg/robots/free_disruptor_heavy_hoovy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,27 @@
}
"cosmetics"
{
"Toque"
{
"itemindex" "97"
"paint" "0.0"
"style" "-1.0"
"scale" "1.0"
}
// "BMOC"
// {
// "itemindex" "666"
// "paint" "0.0"
// "style" "-1.0"
// "scale" "1.0"
// }
// "GIFTBRINGER"
// "Toque"
// {
// "itemindex" "30747"
// "itemindex" "97"
// "paint" "0.0"
// "style" "-1.0"
// "scale" "1.0"
// }
"BMOC"
{
"itemindex" "666"
"paint" "0.0"
"style" "-1.0"
"scale" "1.0"
}
"GIFTBRINGER"
{
"itemindex" "30747"
"paint" "0.0"
"style" "-1.0"
"scale" "1.0"
}
"ALLFATHER"
{
"itemindex" "647"
Expand Down
4 changes: 2 additions & 2 deletions cfg/robots/free_sniper_skeeter.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"sniper charge per sec" "3.0"
"sniper fires tracer HIDDEN" "1.0"
"lunchbox adds minicrits" "3.0"
"apply z velocity on damage" "750.0"
"faster reload rate" "0.8"
"apply z velocity on damage" "1000.0"
"damage penalty on bodyshot" "1.0"
}
}
"tf_weapon_smg"
Expand Down
89 changes: 37 additions & 52 deletions cfg/robots/free_tank_heavy_burglar.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,66 +2,57 @@
{
"model" "models/bots/heavy/bot_heavy.mdl"
"class" "Heavy"
"shortdescription" "Gain buffs on class punch. Immune to tickle and Uberchain"
"shortdescription" "Gain class buffs on enemy hit. Counter uber chains. Immune to tickles"
"name" "Burglar"
"deathtip" "GP cannot be tickled or Uberchained\nTanks can be stunned by shields and stomps\nTanks take double melee damage"
"deathtip" "Do not let Burglar hit you"
"role" "Tank"
"subclass" "Tank"
"tips" "Immune to tickles\nBecomes ubered briefly when hit by an ubercharged medic's ubersaw\nYou can't contest objectives"
"tips" "Punch classes and get buffs based on class hit. You are immune to tickles"
"health" "5000"
"health_bonus_per_player" "75"
"difficulty" "2"
"scale" "1.75"
"difficulty" "2"
"sounds"
{
"death" "mvm/sentrybuster/mvm_sentrybuster_explode.wav"
"loop" "mvm/mvm_tank_loop.wav"
"spawn" "mvm/mvm_tank_horn.wav"
"loop" "mvm/giant_heavy/giant_heavy_loop.wav"
"spawn" "#mvm/giant_heavy/giant_heavy_entrance.wav"
}

"player_attributes"
{
"airblast vulnerability multiplier" "0.1"
"move speed penalty" "1.15"
"damage force reduction" "0.5"
"airblast vulnerability multiplier" "0.5"
"aiming movespeed increased" "2.0"
"ammo regen" "100.0"
"cancel falling damage" "1.0"
"rage giving scale" "0.75"
"cannot pick up intelligence" "1.0"
"increase player capture value" "-1.0"
"head scale" "0.95"
"damage force reduction" "0.0"
"dmg from melee increased" "2.0"
"attach particle effect" "35.0"
}

"remove_weapon_slots"
{
"slot" "0"
"slot" "1"
"slot" "2"
}
{
"slot" "0"
"slot" "1"
"slot" "2"
}

"weapons"
{
"tf_weapon_fists"
{
"itemindex" "5"
"quality" "6"
"level" "2"
"slot" "2"
"skin" "0"
"attributes"
{
"killstreak tier" "1.0"
"damage bonus" "1.15"
"fire rate bonus" "1.2"
"melee range multiplier" "1.35"
"move speed penalty" "0.9"
"dmg penalty vs buildings" "0.35"
}
"custom_attributes_weapon"
{
"shake on step" "amplitude=2.5 frequency=1.0 range=400.0"
"shake on hit" "amplitude=10.0 frequency=2.0 duration=0.5"
}
"level" "1"
"slot" "0"
"attributes"
{
"killstreak tier" "1.0"
"dmg penalty vs players" "1.15"
"dmg penalty vs buildings" "0.25"
}
}

}

"cosmetics"
Expand All @@ -72,25 +63,19 @@
"style" "-1.0"
"scale" "1.0"
}
// "Warmth"
// {
// "itemindex" "30364"
// "style" "-1.0"
// "scale" "1.0"
// }
// "BendoinBanda"
// {
// "itemindex" "30768"
// "style" "-1.0"
// "scale" "1.0"
// }

"111"
"GoneCommando"
{
"itemindex" "30343"
"style" "-1.0"
"scale" "1.0"
}

"HunterHeavy"
{
"itemindex" "111"
"paint" "0.0"
"style" "1.0"
"itemindex" "30557"
"style" "-1.0"
"scale" "1.0"
}

}
}
2 changes: 1 addition & 1 deletion cfg/robots/free_tank_heavy_terminator.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"subclass" "Tank"
"tips" "HiNet: Terminate your target"
"health" "1500"
"health_bonus_per_player" "75"
"health_bonus_per_player" "125"
"difficulty" "2"
"scale" "1.15"
"sounds"
Expand Down
5 changes: 2 additions & 3 deletions cfg/robots/paid_disruptor_scout_fanscout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"role" "Disruptor"
"subclass" "Disruptor"
"tips" "Use the crazy knockback to knock enemies away or into things"
"health" "2150"
"health_bonus_per_player" "80"
"health" "1250"
"health_bonus_per_player" "150"
"difficulty" "2"
"rc_cost" "10"
"sounds"
Expand Down Expand Up @@ -50,7 +50,6 @@
{
"bullets per shot bonus" "2.0"
"fire rate bonus" "0.5"
"reload time increased" "0.5"
"scattergun knockback mult" "6.0"
"damage penalty" "0.5"
"weapon spread bonus" "0.3"
Expand Down

0 comments on commit b0aff45

Please sign in to comment.