RSSy MYGO.pl Opublikowano Czerwiec 6, 2021 o 16:20 RSSy Udostępnij Opublikowano Czerwiec 6, 2021 o 16:20 Description This plugin turns the camera into selfie mode. When the character moves, the camera is turned off. Based on the L4D2 Workshop Addon Selfie Camera by Sw1ft. Features Allow configuring a default distance of the selfie camera. Allow configuring a maximum distance of the selfie camera. Allow clients manually set their camera distance. (through sm_selfie [distance] command) Preview Cvars A configuration file named "l4d_selfie_camera.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder. PHP Code: // Default distance from client when enable the selfie camera. // - // Default: "50" // Minimum: "0.000000" l4d_selfie_camera_distance "50" // Max distance from client when enable the selfie camera. // 0 = Unlimited. // - // Default: "0" // Minimum: "0.000000" l4d_selfie_camera_distance_max "0" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_selfie_camera_enable "1" Public Commands sm_selfie [distance] => Change the camera to the selfie mode. Admin Commands sm_print_cvars_l4d_selfie_camera => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (06-June-2021) - Initial release. Notes When the character moves, the camera is turned off. Thank you! foxhound27 - for testing and helping me. Sw1ft - for the Selfie Camera addon. Related Plugins [L4D2] Survivor Thirdperson by Silvers [L4D1 & L4D2] Survivor Eyes by Marttt Related Workshop Addons Selfie Camera by Sw1ft Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_selfie_camera.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d_selfie_camera.sp - 13.0 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi