RSSy MYGO.pl Opublikowano Styczeń 7, 2021 o 22:47 RSSy Udostępnij Opublikowano Styczeń 7, 2021 o 22:47 Description This plugin increases the damage received from tank hittables to instant incap a survivor. I did this because sometimes feels weird hitting a survivor with a dumpster and not incappacitating it, while with a bumper car, it always incappacitate. Also helps tanks to be more powerful in hardcore modes. FeaturesConfiguring which teams should be affected by the new damage. Configuring the minimum damage necessary to fulfil the conditions. Configuring the new damage applied. Here below I made a table to understand the average damage x model that some props do to a survivor when a tank punch it into them. Values (rounded down) obtained from OnTakeDamage hook. Spoiler 100 => models/props_fairgrounds/bumpercar.mdl 100 => models/props_foliage/tree_trunk_fallen.mdl 100 => models/props_unique/airport/atlas_break_ball.mdl 100 => models/props_vehicles/car004b.mdl 100 => models/props_vehicles/cara_69sedan.mdl 100 => models/props_vehicles/cara_82hatchback.mdl 100 => models/props_vehicles/cara_82hatchback_wrecked.mdl 100 => models/props_vehicles/cara_84sedan.mdl 100 => models/props_vehicles/cara_95sedan.mdl 100 => models/props_vehicles/cara_95sedan_wrecked.mdl 100 => models/props_vehicles/police_car.mdl 100 => models/props_vehicles/police_car_city.mdl 100 => models/props_vehicles/police_car_rural.mdl 100 => models/props_vehicles/racecar.mdl (weird physics) 100 => models/props_vehicles/suv_2001.mdl 100 => models/props_vehicles/taxi_cab.mdl 100 => models/props_vehicles/taxi_city.mdl 100 => models/props_vehicles/taxi_rural.mdl 100 => models/props_vehicles/van.mdl 100 => models/props_vehicles/van001a_physics.mdl (heavy physics) 100 => models/props_vehicles/zapastl.mdl 79 => models/props/cs_assault/forklift.mdl 79 => models/props_junk/dumpster.mdl 79 => models/props_junk/dumpster_2.mdl 48 => models/props_foliage/swamp_fallentree01_bare.mdl 48 => models/props_unique/haybails_single.mdl 48 => models/props_vehicles/airport_baggage_cart2.mdl 48 => models/props_vehicles/car002a_physics.mdl 48 => models/props_vehicles/car002b_physics.mdl 48 => models/props_vehicles/car003a_physics.mdl 48 => models/props_vehicles/car003b_physics.mdl 48 => models/props_vehicles/car004a_physics.mdl 48 => models/props_vehicles/car004b_physics.mdl 48 => models/props_vehicles/car005a_physics.mdl 48 => models/props_vehicles/car005b_physics.mdl 23 => models/props_vehicles/boat_smash.mdl 13 => models/props_industrial/brickpallets.mdl Cvars A configuration file named "l4d_deadly_tank_hittables.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Damage applied when fulfils all conditions. // - // Default: "100.0" // Minimum: "0.000000" l4d_deadly_tank_hittables_damage "100.0" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_deadly_tank_hittables_enable "1" // Minimum damage necessary received from a prop_physics to apply a deadly damage. // - // Default: "13.0" // Minimum: "0.000000" l4d_deadly_tank_hittables_mindamage "13.0" // Plugin behaviour enabled for these teams. // 0 = OFF, 1 = SURVIVOR, 2 = INFECTED. // Add numbers greater than 0 for multiple options. // Example: "3", enables for SURVIVOR and INFECTED. // - // Default: "1" // Minimum: "0.000000" // Maximum: "3.000000" l4d_deadly_tank_hittables_team "1" Admin Commands sm_print_cvars_l4d_deadly_tank_hittables => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (07-January-2021) - Initial release. Notes This plugin doesn't affect the damage received from greater props (e.g. dumpster) unless you increase the minimum damage cvar to a value too high. Related Plugins To Do Find a proper way to detect the physics mass instead of checking the damage. Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_deadly_tank_hittables.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_deadly_tank_hittables.sp - 11.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi