RSSy MYGO.pl Opublikowano Grudzień 2, 2019 o 22:54 RSSy Udostępnij Opublikowano Grudzień 2, 2019 o 22:54 Related Plugins:[L4D & L4D2] Christmas Tree WeaponHandling_API Thanks:Lux for the WeaponHandling_API plugin and reward suggestion. About:It's holiday time and servers are spawning Valves Christmas gifts, but they have no reward... This rewards players when picking up gifts: Health: Restores full health. Ammo: Refills full ammo. Speed: Increases shooting and reloading speed. Requires the WeaponHandling_API plugin. Rewards are chance based using a weighted selection. Only one will trigger per gift. Note: game cvar "z_holiday_gift_drop_chance". Gifts expire after 30 seconds. Game default. Admin Commands: (requires "z" flag) PHP Code: sm_gift // Spawns a gift at where you're looking. sm_gifter // Gives yourself a reward. For testing. CVars: Saved to l4d2_gift_rewards.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // 0=Plugin off, 1=Plugin on. l4d2_gift_rewards_allow "1" // Chance to completely refill a players ammo. l4d2_gift_rewards_chance_ammo "100" // Chance to restore a players health to full. l4d2_gift_rewards_chance_heal "100" // Chance to reward increased speed for: shooting, reloading and deploying. Requires WeaponHandling API plugin. l4d2_gift_rewards_chance_speed "100" // 0.0=Off. Reduces the size of gifts over this many seconds. l4d2_gift_rewards_size "20.0" // Duration the increased speed affects a player. l4d2_gift_rewards_speed "20.0" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d2_gift_rewards_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d2_gift_rewards_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d2_gift_rewards_modes_tog "0" // Gift Rewards plugin version. l4d2_gift_rewards_version Changes: Code: 1.0 (03-Dec-2019) - Initial release.Optional PluginWeapon speed features require the WeaponHandling_API plugin. InstallationClick "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder. Optionally download "l4d2_gift_rewards.txt" and save to your servers \addons\sourcemod\gamedata\ folder. This is for the sm_gift command. Attached Files Get Plugin or Get Source (l4d2_gift_rewards.sp - 17.5 KB) l4d2_gift_rewards.txt (638 Bytes) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się