RSSy MYGO.pl Opublikowano Wrzesień 29, 2020 o 15:10 RSSy Udostępnij Opublikowano Wrzesień 29, 2020 o 15:10 Description With the L4D2 Last Update, some of the new things brought are new skins for weapons (e.g.: golden crowbar). This plugin applies randomly skins to spawned weapons. Features Applies a random skin to weapon entities on spawn. Allows equipping weapons with the same skin from the spawners entities. (e.g.: weapon_rifle_spawn) Preview Coming soon. Cvars A configuration file named "l4d_wskin_rng.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Enables/Disables the plugin. // 0 = Enable, 1 = Disable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_wskin_rng_enable "1" Admin Commands sm_print_cvars_l4d2_wskin_rng => Prints the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (29-September-2020) - Initial release. Known issues Probably the skin is being replaced on map changes. Notes The skin change was achieved by changing the weapon "m_nSkin" netprop value. When the weapon is already equiped (active) I had to apply the skin also to the "m_hViewModel" netprop, otherwise there is some delay on skins changes. Not all weapons have new skins and some aren't so different from the original one. The currently supported weapons are: Melees: Crowbar, Cricket Bat Pistols: Magnum SMGs: Silenced; Uzi Shotguns: Chrome; Pump; Auto Rifles: M16; AK47 Sniper: Hunting Rifle These weapons have 2 new skins: Magnum; M16; AK47. By now, 29-September-2020, there are no more skins available. The plugin may not work properly for clients that use addons to change the weapon appearance. I don't know if it conflicts with the "Golden Crowbar" achievement. To Do Fix the skin changes on map change. Create a config to select the % chance to apply a different skin. Thank you! Silvers - for helping me in some coding and all your knowledge base of shared plugins. Alex Alcalá - for testing in his server and reporting some bugs. Tonblader - for testing in his server and reporting some bugs. Related Plugins by Marttt Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d2_wskin_rng.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_wskin_rng.sp - 16.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi