RSSy MYGO.pl Opublikowano Październik 19, 2018 o 15:21 RSSy Udostępnij Opublikowano Październik 19, 2018 o 15:21 Map Weapon Randomizer This plugin automatically replaces all weapon spawns on any map with random weapons. Grenades are excluded. The list of weapons can be changed by modifying the WEAPONS_LIST array at the start of the script. By default all primary weapons are included.How it works At the start of the map, this plugin will find all weapon spawns by searching for weapon_* entities, saves their locations, and deletes them. Then, at the start of every round, the plugin will spawn a weapon into the saved locations. Note that since creating weapons directly using weapon_* entities does not work anymore, this plugin spawns weapons using the fake client method, where it spawns a fake client, gives a weapon to it, and teleports it to the desired location on the map. This likely means that there has to be at least 1 free slot on the server for the plugin to work.Features Code: - Randomize weapon spawns either at the start of the map or every round. - Snap spawned weapons' angles to 90 degrees for a better look CVAR list Code: mwr_randomize_every_round 0 Randomize weapons every round if enabled, otherwise randomize once at the start of the map. mwr_snap_spawn_angles 1 Round spawned weapons' angles to the nearest 90 degrees for a more uniform look. Takes effect after a map change. mwr_debug 0 Enable debug console messages. Changelog Code: 19.10.2018 (v1.0) * Initial release. Attached Files Get Plugin or Get Source (map_weapon_randomizer.sp - 5.4 KB) 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ę