Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[INS] Flamethrower (2021-06-03)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
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
Installation Guide
To use this plugin you need to modify the original theater and create your own insurgency mod.
  1. Subscribe the required mod for your server or download it and edit it to your own mod
  2. 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"
            }
        }
    }

  3. Add "flame" to your mod ammo theater file
    Code:

    "theater"
    {
        "ammo"
        {
            "flame"
            {
                "flags_clear"    "AMMO_USE_MAGAZINES"
                "carry"          "500"
                "tracer_type"    "none"
            }
        }
    }

  4. 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"
                    ...
                }
            }
        }
    }

  5. Install Plugin
    Put FlameThrower_public.smx and WeaponAttachmentAPI.smx to "insurgency\addons\sourcemod\plugins\"

  6. 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.


Link

Attached Files
File Type: smx FlameThrower_public.smx (15.0 KB)
File Type: smx WeaponAttachmentAPI.smx (7.8 KB)
File Type: zip Flamethrower_Particles.zip (4.40 MB)
File Type: sp Get Plugin or Get Source (FlameThrower_public.sp - 38.5 KB)
File Type: sp Get Plugin or Get Source (WeaponAttachmentAPI.sp - 12.3 KB)
File Type: inc WeaponAttachmentAPI.inc (1.7 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...