diff --git a/ability_free_engineer_zonical_ability.sp b/ability_free_engineer_zonical_ability.sp index 93308e31..1201a5e2 100644 --- a/ability_free_engineer_zonical_ability.sp +++ b/ability_free_engineer_zonical_ability.sp @@ -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); } diff --git a/berobot_bugged_plugin_reloader.sp b/berobot_bugged_plugin_reloader.sp index d52565b5..59859806 100644 --- a/berobot_bugged_plugin_reloader.sp +++ b/berobot_bugged_plugin_reloader.sp @@ -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"); + +// } \ No newline at end of file diff --git a/berobot_config_reader.sp b/berobot_config_reader.sp index 7a993ff8..da615d6d 100644 --- a/berobot_config_reader.sp +++ b/berobot_config_reader.sp @@ -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); @@ -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() diff --git a/cfg/robots/free_damage_melee_heavy_boxing_champ.cfg b/cfg/robots/free_damage_melee_heavy_boxing_champ.cfg index 97e583bb..3009f5db 100644 --- a/cfg/robots/free_damage_melee_heavy_boxing_champ.cfg +++ b/cfg/robots/free_damage_melee_heavy_boxing_champ.cfg @@ -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" } } diff --git a/cfg/robots/free_engineer_barricade.cfg b/cfg/robots/free_engineer_barricade.cfg index 29541925..04cbcd8a 100644 --- a/cfg/robots/free_engineer_barricade.cfg +++ b/cfg/robots/free_engineer_barricade.cfg @@ -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" } @@ -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" { diff --git a/cfg/robots/free_engineer_dane.cfg b/cfg/robots/free_engineer_dane.cfg index d96a0718..c830c42e 100644 --- a/cfg/robots/free_engineer_dane.cfg +++ b/cfg/robots/free_engineer_dane.cfg @@ -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" } @@ -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" @@ -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" diff --git a/cfg/robots/free_engineer_wranglerbill.cfg b/cfg/robots/free_engineer_wranglerbill.cfg index 0fcd71c7..afdedabd 100644 --- a/cfg/robots/free_engineer_wranglerbill.cfg +++ b/cfg/robots/free_engineer_wranglerbill.cfg @@ -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" @@ -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" @@ -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" { diff --git a/cfg/robots/free_engineer_zonical.cfg b/cfg/robots/free_engineer_zonical.cfg index 4b7f5f5d..fb59be3f 100644 --- a/cfg/robots/free_engineer_zonical.cfg +++ b/cfg/robots/free_engineer_zonical.cfg @@ -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" } @@ -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" } @@ -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" { diff --git a/cfg/robots/paid_engineer_brainiac.cfg b/cfg/robots/paid_engineer_brainiac.cfg index a20d8d59..a246d8be 100644 --- a/cfg/robots/paid_engineer_brainiac.cfg +++ b/cfg/robots/paid_engineer_brainiac.cfg @@ -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" @@ -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" { diff --git a/cfg/robots/paid_engineer_gnome.cfg b/cfg/robots/paid_engineer_gnome.cfg index d751e1f1..bb9374b7 100644 --- a/cfg/robots/paid_engineer_gnome.cfg +++ b/cfg/robots/paid_engineer_gnome.cfg @@ -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" @@ -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" { diff --git a/cfg/robots/paid_engineer_nofungineer.cfg b/cfg/robots/paid_engineer_nofungineer.cfg index 9d01af50..debc4301 100644 --- a/cfg/robots/paid_engineer_nofungineer.cfg +++ b/cfg/robots/paid_engineer_nofungineer.cfg @@ -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" @@ -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" { diff --git a/cfg/robots/paid_spy_trickster.cfg b/cfg/robots/paid_spy_trickster.cfg index c835357c..f9c4c4a2 100644 --- a/cfg/robots/paid_spy_trickster.cfg +++ b/cfg/robots/paid_spy_trickster.cfg @@ -11,7 +11,7 @@ "health" "750" "health_bonus_per_player" "50" "difficulty" "2" - "scale" "1.2" + "scale" "1.15" "rc_cost" "15.0" "sounds" { diff --git a/cfg/robots/free_healer_medic_death_negator.cfg b/cfg/scrapped/free_healer_medic_death_negator.cfg similarity index 100% rename from cfg/robots/free_healer_medic_death_negator.cfg rename to cfg/scrapped/free_healer_medic_death_negator.cfg diff --git a/mm_attribute_teamporter.sp b/mm_attribute_teamporter.sp index 1acf54e0..8cd19e41 100644 --- a/mm_attribute_teamporter.sp +++ b/mm_attribute_teamporter.sp @@ -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 diff --git a/ability_free_healer_medic_death_negator.sp b/z_dont_compile_ability_free_healer_medic_death_negator.sp similarity index 100% rename from ability_free_healer_medic_death_negator.sp rename to z_dont_compile_ability_free_healer_medic_death_negator.sp