Skip to content

Commit

Permalink
remove death negator, buff robo engineers
Browse files Browse the repository at this point in the history
  • Loading branch information
higps committed Nov 7, 2024
1 parent a54c10c commit 98b7a88
Show file tree
Hide file tree
Showing 15 changed files with 49 additions and 22 deletions.
2 changes: 1 addition & 1 deletion ability_free_engineer_zonical_ability.sp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void OnWeaponSwitch(int client, int weapon)
//PrintToChatAll("Weapon was %i", weapon);
if (IsPistol(weapon))
{
TF2_AddCondition(client, TFCond_CritHype, 1.0);
TF2_AddCondition(client, TFCond_CritHype, 3.0);
// // TF2Attrib_AddCustomPlayerAttribute(client, "faster reload rate", 0.5, 1.5);
// // TF2Attrib_AddCustomPlayerAttribute(client, "fire rate bonus", 0.5, 1.5);
}
Expand Down
10 changes: 9 additions & 1 deletion berobot_bugged_plugin_reloader.sp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,17 @@ public Action Event_teamplay_round_start(Event event, char[] name, bool dontBroa
ServerCommand("sm_plugins reload /mm_cast_spell/");
ServerCommand("sm_plugins reload /owned_building_phasing/");
ServerCommand("sm_plugins reload /ability/");
ServerCommand("sm_reload_robot_config");
ServerCommand("sm_reload_robot_configs");
// CreateTimer(1.0, ReloadConfig);


g_bool_loaded = true;
}

}

// public Action ReloadConfig(Handle timer)
// {
// PrintToChatAll("Reloading Configs");

// }
15 changes: 13 additions & 2 deletions berobot_config_reader.sp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ char paintNames[MAX_PAINTS][64];
int paintValues1[MAX_PAINTS];
int paintValues2[MAX_PAINTS];
int numPaints = 0;

g_b_reload = false;
public void AddPaint(char[] name, int value1)
{
_InternalAddPaint(name, value1, 0);
Expand Down Expand Up @@ -70,11 +70,22 @@ public void OnPluginStart()

//Debug function to print the robot path
//PrintConfigPathForRobotName("A-Robot");
HookEvent("player_spawn", Event_PlayerSpawn, EventHookMode_Post);
}

public Action Event_PlayerSpawn(Event event, const char[] name, bool dontBroadcast)
{
if(!g_b_reload)
{
Initialize();
g_b_reload = true;
}
}

public void OnMapStart()
{
Initialize();
g_b_reload = false;

}

public Action Initialize()
Expand Down
1 change: 1 addition & 0 deletions cfg/robots/free_damage_melee_heavy_boxing_champ.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"dmg penalty vs players" "1.43"
"critboost on kill" "6.0"
"dmg penalty vs buildings" "0.25"
"fire rate penalty" "1.2"
}
}

Expand Down
5 changes: 3 additions & 2 deletions cfg/robots/free_engineer_barricade.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"cancel falling damage" "1.0"
"override footstep sound set" "2.0"
"ammo regen" "100.0"
"metal regen" "65.0"
"metal regen" "100.0"
"major increased jump height" "1.25"
"rage giving scale" "0.75"
}
Expand Down Expand Up @@ -85,7 +85,8 @@
"engy building health bonus" "5.6"
"upgrade rate decrease" "2.0"
"maxammo metal increased" "1.25"
"mod teleporter cost" "8.0"
"mod teleporter cost" "5.5"
"building cost reduction" "0.65"
}
"custom_attributes_weapon"
{
Expand Down
6 changes: 4 additions & 2 deletions cfg/robots/free_engineer_dane.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"airblast vulnerability multiplier" "0.3"
"cancel falling damage" "1.0"
"override footstep sound set" "2.0"
"metal regen" "65.0"
"metal regen" "100.0"
"major increased jump height" "1.25"
"rage giving scale" "0.75"
}
Expand Down Expand Up @@ -55,6 +55,7 @@
"mod ammo per shot" "30.0"
"engineer building teleporting pickup" "10.0"
"dmg penalty vs buildings" "0.5"
"add onhit addammo" "250"
}
}
"tf_weapon_wrench"
Expand All @@ -77,7 +78,8 @@
"engy dispenser radius increased" "6.0"
"upgrade rate decrease" "2.0"
"maxammo metal increased" "1.25"
"mod teleporter cost" "8.0"
"mod teleporter cost" "5.5"
"building cost reduction" "0.65"

}
"custom_attributes_weapon"
Expand Down
6 changes: 3 additions & 3 deletions cfg/robots/free_engineer_wranglerbill.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"cancel falling damage" "1.0"
"override footstep sound set" "2.0"

"metal regen" "65.0"
"metal regen" "100.0"
"major increased jump height" "1.25"
"rage giving scale" "0.75"
"deploy time decreased" "0.25"
Expand Down Expand Up @@ -59,7 +59,6 @@
"skin" "0"
"attributes"
{
"fire rate bonus" "0.85"
"damage bonus" "1.5"
"Construction rate increased" "10.0"
"killstreak tier" "1.0"
Expand All @@ -73,7 +72,8 @@
"upgrade rate decrease" "8.0"
"engy sentry fire rate increased" "0.6"
"maxammo metal increased" "1.25"
"mod teleporter cost" "8.0"
"mod teleporter cost" "5.5"
"building cost reduction" "0.65"
}
"custom_attributes_weapon"
{
Expand Down
7 changes: 4 additions & 3 deletions cfg/robots/free_engineer_zonical.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"cancel falling damage" "1.0"
"override footstep sound set" "2.0"
"ammo regen" "100.0"
"metal regen" "65.0"
"metal regen" "100.0"
"major increased jump height" "1.25"
"rage giving scale" "0.75"
}
Expand All @@ -54,7 +54,7 @@
"skin" "0"
"attributes"
{
"damage bonus" "1.25"
"damage bonus" "1.10"
"killstreak tier" "1.0"
"engineer building teleporting pickup" "10.0"
}
Expand All @@ -77,7 +77,8 @@
"engy building health bonus" "1.6"
"upgrade rate decrease" "8.0"
"maxammo metal increased" "1.25"
"mod teleporter cost" "8.0"
"mod teleporter cost" "5.5"
"building cost reduction" "0.65"
}
"custom_attributes_weapon"
{
Expand Down
5 changes: 3 additions & 2 deletions cfg/robots/paid_engineer_brainiac.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"airblast vulnerability multiplier" "0.3"
"cancel falling damage" "1.0"
"override footstep sound set" "2.0"
"metal regen" "65.0"
"metal regen" "100.0"
"ammo regen" "100.0"
"major increased jump height" "1.25"
"rage giving scale" "0.75"
Expand Down Expand Up @@ -81,7 +81,8 @@
"engy dispenser radius increased" "3.0"
"upgrade rate decrease" "4.0"
"maxammo metal increased" "1.25"
"mod teleporter cost" "8.0"
"mod teleporter cost" "4.0"
"building cost reduction" "0.65"
}
"custom_attributes_weapon"
{
Expand Down
5 changes: 3 additions & 2 deletions cfg/robots/paid_engineer_gnome.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"airblast vulnerability multiplier" "0.3"
"cancel falling damage" "1.0"
"override footstep sound set" "2.0"
"metal regen" "65.0"
"metal regen" "100.0"
"major increased jump height" "1.25"
"rage giving scale" "0.75"
"head scale" "0.85"
Expand Down Expand Up @@ -78,7 +78,8 @@
"engy building health bonus" "2.32"
"upgrade rate decrease" "4.0"
"maxammo metal increased" "1.25"
"mod teleporter cost" "8.0"
"mod teleporter cost" "4.0"
"building cost reduction" "0.65"
}
"custom_attributes_weapon"
{
Expand Down
5 changes: 3 additions & 2 deletions cfg/robots/paid_engineer_nofungineer.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"airblast vulnerability multiplier" "0.3"
"cancel falling damage" "1.0"
"override footstep sound set" "2.0"
"metal regen" "65.0"
"metal regen" "100.0"
"major increased jump height" "1.25"
"rage giving scale" "0.75"
"head scale" "0.85"
Expand Down Expand Up @@ -92,7 +92,8 @@
"upgrade rate decrease" "4.0"
"engineer sentry build rate multiplier" "10.0"
"maxammo metal increased" "1.25"
"mod teleporter cost" "8.0"
"mod teleporter cost" "4.0"
"building cost reduction" "0.65"
}
"custom_attributes_weapon"
{
Expand Down
2 changes: 1 addition & 1 deletion cfg/robots/paid_spy_trickster.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"health" "750"
"health_bonus_per_player" "50"
"difficulty" "2"
"scale" "1.2"
"scale" "1.15"
"rc_cost" "15.0"
"sounds"
{
Expand Down
2 changes: 1 addition & 1 deletion mm_attribute_teamporter.sp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ char g_szOffsetStartProp[64];
int g_iOffsetMatchingTeleporter = -1;
float g_drawtime[MAXPLAYERS + 1] = 0.0;
int g_Recharge[MAXPLAYERS + 1] = 0;
int g_RechargeCap = 500;
int g_RechargeCap = 300;

bool g_TouchHooked[MAXPLAYERS + 1] = false;
enum //Teleporter states
Expand Down
File renamed without changes.

0 comments on commit 98b7a88

Please sign in to comment.