Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
ShepardRussian

Спавн модовых зомби/мутантов

Posted (edited)

Прошу, помогите, я уже в полнейшем отчаянии. Я прошерстил все темы по спавну на форуме, полностью их прочитал и перепробовал все, что понял, но, вполне возможно, я что-то недопонял и ввиду этого у меня ничего не получается.

Есть зона, где я хочу добавить модового мутанта(Krovos). Есть файлы cfgeventspawns, events и zombie_territories.

Что стоит сейчас в zombie_territories:

    <territory color="4290351729">
        <zone name="InfectedVillage" smin="0" smax="0" dmin="7" dmax="13" x="4653" z="1584" r="120"/>
        <zone name="Krovos" smin="0" smax="0" dmin="5" dmax="10" x="4700" z="1800" r="80"/>
      ...

В events:

...
<event name="InfectedVillage">
        <waves>0</waves>
        <nominal>50</nominal>
        <min>2</min>
        <max>3</max>
        <lifetime>3</lifetime>
        <restock>0</restock>
        <saferadius>100</saferadius>
        <distanceradius>50</distanceradius>
        <cleanupradius>100</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>player</position>
        <limit>custom</limit>
        <active>1</active>
        <children>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbF_JoggerSkinny_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbF_JoggerSkinny_Brown"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbF_JoggerSkinny_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbF_JoggerSkinny_Red"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_MilkMaidOld_Beige"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_MilkMaidOld_Black"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_MilkMaidOld_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_MilkMaidOld_Grey"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_VillagerOld_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_VillagerOld_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_VillagerOld_Red"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_VillagerOld_White"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_FarmerFat_Beige"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_FarmerFat_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_FarmerFat_Brown"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_FarmerFat_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_beige"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_black"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_blue"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_bluechecks"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_brown"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_greenchecks"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_grey"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_khaki"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_magenta"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_stripes"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_JoggerSkinny_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_JoggerSkinny_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_JoggerSkinny_Red"/>
            <child lootmax="5" lootmin="0" max="0" min="8" type="ZmbM_VillagerOld_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="8" type="ZmbM_VillagerOld_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="8" type="ZmbM_VillagerOld_White"/>
        </children>
    </event>
    <event name="Krovos">
        <waves>0</waves>
        <nominal>50</nominal>
        <min>2</min>
        <max>3</max>
        <lifetime>3</lifetime>
        <restock>0</restock>
        <saferadius>100</saferadius>
        <distanceradius>50</distanceradius>
        <cleanupradius>100</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>player</position>
        <limit>custom</limit>
        <active>1</active>
        <children>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbF_JoggerSkinny_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbF_JoggerSkinny_Brown"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbF_JoggerSkinny_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbF_JoggerSkinny_Red"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_MilkMaidOld_Beige"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_MilkMaidOld_Black"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_MilkMaidOld_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_MilkMaidOld_Grey"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_VillagerOld_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_VillagerOld_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_VillagerOld_Red"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbF_VillagerOld_White"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_FarmerFat_Beige"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_FarmerFat_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_FarmerFat_Brown"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_FarmerFat_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_beige"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_black"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_blue"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_bluechecks"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_brown"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_greenchecks"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_grey"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_khaki"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_magenta"/>
            <child lootmax="5" lootmin="0" max="0" min="5" type="ZmbM_Jacket_stripes"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_JoggerSkinny_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_JoggerSkinny_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="6" type="ZmbM_JoggerSkinny_Red"/>
            <child lootmax="5" lootmin="0" max="0" min="8" type="ZmbM_VillagerOld_Blue"/>
            <child lootmax="5" lootmin="0" max="0" min="8" type="ZmbM_VillagerOld_Green"/>
            <child lootmax="5" lootmin="0" max="0" min="8" type="ZmbM_VillagerOld_White"/>
        </children>
    </event>
...

В cfgeventspawns:

...
    <event name="Krovos" />
    <event name="InfectedVillage" />
...

Специально сделал абсолютно идентичными ивенты в events, кроме самого названия. То есть проблема именно в названии, хотя оно, вроде, прописано везде, где нужно.

Если ставлю на вторые координаты zone name="InfectedVillage", то зомби спавнятся без проблем.

Глобальный вайп не забываю делать каждый раз.

В одной из тем была проблема именно с классом модового мутанта, где вместо "ZmbM_..." ставили модового, специально проверил с волками, спавнятся без проблем:

    <event name="AnimalWolf">
        <waves>0</waves>
        <nominal>50</nominal>
        <min>2</min>
        <max>4</max>
        <lifetime>180</lifetime>
        <restock>0</restock>
        <saferadius>200</saferadius>
        <distanceradius>0</distanceradius>
        <cleanupradius>0</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>child</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="6" min="2" type="SFP_RatDog"/>
        </children>
    </event>

Прошу, подскажите, что я упускаю и что нужно сделать.

Edited by ShepardRussian (see edit history)

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts








  • 0
1 час назад, akklin сказал:

Поменяй "Krovos" на "InfectedKrovos" 🙂

Я не могу поверить, что это так работает, но без тебя я бы точно не разобрался) Огромное спасибо! Надеюсь, потом поиск с этим вопросом кому-то еще поможет.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.