RSSy MYGO.pl Opublikowano Czerwiec 2, 2021 o 19:59 RSSy Udostępnij Opublikowano Czerwiec 2, 2021 o 19:59 A Flamethrower plugin made of "Day of Infamy" model and particles for insurgency(2014) This plugin uses a modified version of Mitchell's plugin [CS:GO] Weapon Attachment API (Just for the credits, don't need to download his version) Convar Code: "sm_flamethrower_range" - Flamethrower fire range (Default value: 700.0) "sm_flamethrower_angle" - Flamethrower fire angle (Default value: 36.0) "sm_flamethrower_burn_time" - Burn duration (Default value: 5.0) Required Mod其他 Extra | 喷火器 Flamethrower (steam workshop id=2392887647) Installation GuideTo use this plugin you need to modify the original theater and create your own insurgency mod.Subscribe the required mod for your server or download it and edit it to your own mod Add "#base", "sounds" and "localize" to your mod main theater file Code: "#base" "base/gandor233_flamethrower.theater" ... "theater" { "core" { "precache" { ... "sounds" "scripts/gandor233_flamethrower_sounds.txt" "localize" "resource/gandor233_flamethrower_%language%.txt" } } } Add "flame" to your mod ammo theater file Code: "theater" { "ammo" { "flame" { "flags_clear" "AMMO_USE_MAGAZINES" "carry" "500" "tracer_type" "none" } } } Add "weapon_flamethrower_***" to player templates allowed items Code: "theater" { "player_templates" { "template_security_1" { "team" "security" "models" { ... } "buy_order" { ... } "allowed_items" { "weapon" "weapon_flamethrower_british" "weapon" "weapon_flamethrower_american" "weapon" "weapon_flamethrower_german" ... } } } } Install Plugin Put FlameThrower_public.smx and WeaponAttachmentAPI.smx to "insurgency\addons\sourcemod\plugins\" Custom Particles File Download Flamethrower_Particles.zip or clone from github. put Flamethrower_Particles_dir.vpk and Flamethrower_Particles_000.vpk to your fastdl folder, and make sure player is forced to download these two vpk files to them insurgency/custom/ folder when they join your server. If you don't have a fastdl server, player also need to subscribe the required mod by themself, otherwise the flamethrower fire particles effect won't show up if player didn't reconnect to your server when they first join your server erverytime after they restart the game program. LinkGithub Required Mod Attached Files FlameThrower_public.smx (15.0 KB) WeaponAttachmentAPI.smx (7.8 KB) Flamethrower_Particles.zip (4.40 MB) Get Plugin or Get Source (FlameThrower_public.sp - 38.5 KB) Get Plugin or Get Source (WeaponAttachmentAPI.sp - 12.3 KB) WeaponAttachmentAPI.inc (1.7 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi