RSSy MYGO.pl Opublikowano Wrzesień 11, 2021 o 21:03 RSSy Udostępnij Opublikowano Wrzesień 11, 2021 o 21:03 Made possible with Psykotikism's Library of L4Ds Signatures! Description Individually control weapons's reserve counts independent of the "ammo_*" cvars. For weapon stat modders so setting reserve counts do not need fighting with ammo types. (CSS Snipers :wink:) Customization Edit the "/addons/sourcemod/data/l4d_reservecontrol.cfg" file after installing it. Data File PHP Code: "ReserveControl" { // Excepting the weapons with pistol ammo type, the following are the only weapons that work with edited reserves // ++ L4D1 Weapons ++ // ------------------------ //// Standard // "weapon_pistol" 999 "weapon_smg" 500 "weapon_pumpshotgun" 72 "weapon_rifle" 360 "weapon_autoshotgun" 90 "weapon_hunting_rifle" 150 // ++ L4D2 Weapons ++ // ------------------------ //// Standard "weapon_smg_silenced" 500 "weapon_shotgun_chrome" 72 "weapon_rifle_desert" 360 "weapon_rifle_ak47" 200 "weapon_shotgun_spas" 90 "weapon_sniper_military" 150 //// CS:S Weapons "weapon_smg_mp5" 650 "weapon_sniper_scout" 120 "weapon_sniper_awp" 120 //// Specials // "weapon_grenade_launcher" 30 // "weapon_pistol_magnum" 999 // "weapon_rifle_m60" 0 } Commands Spoiler PHP Code: // Resets the reserve ammo data, then reload the config. sm_rc_reload // Alias of 'sm_rc_reload' sm_reversecontrol_reload BugsWeapons from the give command won't start with the correct reserve count, until ammo is refilled. (at least on Listen servers) Changelog Spoiler Code: 1.0a (12-Sep-2021) - Released on AlliedModders. RequirementsDHooks (Dynamic Detours) extension. Installing Extract the .7z file's folders, and put them all in /addons/sourcemod. Attached Files l4d_reservecontrol_v1.0a.zip (11.4 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi