Skip to content

Commit

Permalink
added gunslinger
Browse files Browse the repository at this point in the history
  • Loading branch information
higps committed Feb 7, 2024
1 parent 0b96f2d commit 0d9b713
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 2 deletions.
2 changes: 1 addition & 1 deletion berobot_dmg_handler.sp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public Action TF2_OnTakeDamage(int victim, int &attacker, int &inflictor, float
// PrintToChatAll("PLASMA");
if(TF2_GetPlayerClass(attacker) == TFClass_Heavy || TF2_GetPlayerClass(attacker) == TFClass_Medic){
// PrintToChatAll("For heavy or medic TF_CUSTOM_PLASMA dmg was %f", damage);
damage = 0.0;
damage = 1.0;

// PrintToChatAll("%f", GetEntPropFloat(attacker, Prop_Send, "m_flRageMeter"));
return Plugin_Changed;
Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/free_damage_flames_pyro_lister.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"extinguish restores health" "175.0"
"maxammo primary increased" "2.5"
"afterburn duration bonus" "2.0"
"dmg penalty vs buildings" "0.8"
"dmg penalty vs buildings" "0.5"
"killstreak tier" "1.0"
"airblast pushback scale" "1.5"
"airblast cost increased" "5.25"
Expand Down
106 changes: 106 additions & 0 deletions cfg/robots/paid_damage_rockets_soldier_gunslinger.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
"Robot"
{
"model" "models/bots/soldier_boss/bot_soldier_boss.mdl"
"class" "Soldier"
"shortdescription" "Instant Weapon Switch"
"name" "Cloaker"
"deathtip" "This robot crazy yo"
"role" "Damage"
"subclass" "Rockets"
"tips" "Mash weapon switch for max DPS"
"health" "3800"
"difficulty" "3"
"rc_cost" "1.5"
"sounds"
{
"death" "mvm/giant_soldier/giant_soldier_explode.wav"
"loop" "mvm/giant_soldier/giant_soldier_loop.wav"
"spawn" "#mvm/giant_heavy/giant_heavy_entrance.wav"
}
"player_attributes"
{
"ammo regen" "100.0"
"move speed penalty" "0.5"
"airblast vulnerability multiplier" "1.0"
"damage force reduction" "0.4"
"increased air control" "2.0"
"self dmg push force increased" "2.0"
"cancel falling damage" "1.0"
"rage giving scale" "0.75"
}
"custom_attributes_player"
{
"start-with-charge" "amount=100.0"
}
"remove_weapon_slots"
{
"slot" "0"
"slot" "1"
"slot" "2"
}

"weapons"
{
"tf_weapon_rocketlauncher"
{
"itemindex" "205"
"quality" "6"
"level" "1"
"slot" "2"
"warpaint_id" "215"
"attributes"
{
"maxammo primary increased" "2.5"
"killstreak tier" "1.0"
"clip size upgrade atomic" "5.0"
"fire rate bonus" "0.7"
"faster reload rate" "2.0"
"dmg penalty vs buildings" "0.5"
}
"custom_attributes_weapon"
{
"reload full clip at once" "1.0"
}
}
"tf_weapon_buff_item"
{
"itemindex" "226"
"quality" "6"
"level" "1"
"slot" "2"
"skin" "0"
"attributes"
{
"increase buff duration" "2.5"
}
"custom_attributes_weapon"
{
"custom buff type" "mm-cloak"
}
}
}
"cosmetics"
{
"Close Quarters Cover"
{
"itemindex" "31378"
"paint" "A Distinctive Lack of Hue"
"style" "3.0"
"scale" "1.0"
}
"Close Quarters Cover"
{
"itemindex" "31378"
"paint" "Ye Olde Rustic Colour"
"style" "2.0"
"scale" "1.0"
}
"Dead Of Night"
{
"itemindex" "30309"
"paint" "Ye Olde Rustic Colour"
"style" "1.0"
"scale" "1.0"
}
}
}

0 comments on commit 0d9b713

Please sign in to comment.