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
Vazilin

Как урезать спавн машин в dayz?

Помогите урезать спавн машин, пробовал через файл types.xml не помогало, все равно 6 - 12 тачек одного (разных цветов) типа спавниться. 

Edited by Vazilin (see edit history)

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Количество машин в тайпсе должно быть равно НУЛЮ. Вот просто-НУЛЮ. И минимальное количество тоже-НУЛЮ.....А вот время жизни-максимальное.

Количество тачек регулируется в другом файле - events.xml

Share this post


Link to post
Share on other sites



  • 0

   

 <event name="VehicleCivilianSedan">
        <nominal>8</nominal>
        <min>5</min>
        <max>11</max>
        <lifetime>300</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="5" min="3" type="CivilianSedan"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="CivilianSedan_Black"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="CivilianSedan_Wine"/>
        </children>
    </event>
    <event name="VehicleHatchback02">
        <nominal>8</nominal>
        <min>5</min>
        <max>11</max>
        <lifetime>300</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Hatchback_02"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Hatchback_02_Black"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Hatchback_02_Blue"/>
        </children>
    </event>
    <event name="VehicleOffroad02">
        <nominal>3</nominal>
        <min>2</min>
        <max>3</max>
        <lifetime>300</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="3" min="2" type="Offroad_02"/>
        </children>
    </event>
    <event name="VehicleOffroadHatchback">
        <nominal>8</nominal>
        <min>5</min>
        <max>11</max>
        <lifetime>300</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="5" min="3" type="OffroadHatchback"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="OffroadHatchback_Blue"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="OffroadHatchback_White"/>
        </children>
    </event>
    <event name="VehicleSedan02">
        <nominal>8</nominal>
        <min>5</min>
        <max>11</max>
        <lifetime>300</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Sedan_02"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Sedan_02_Grey"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Sedan_02_Red"/>
        </children>
    </event>
    <event name="VehicleTruck01">
        <nominal>8</nominal>
        <min>5</min>
        <max>11</max>
        <lifetime>300</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Truck_01_Covered"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Truck_01_Covered_Blue"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Truck_01_Covered_Orange"/>
        </children>
    </event>

 

min 2 - очевидно минимум спавнов, который может произойти на сервере

max - максимальное количество спавнов этого типа на сервере, которое происходит (или вероятность его появления) на сервере

Share this post


Link to post
Share on other sites
  • 0

А файле events значение lifetime менять или нет?
И что вообще означает restock?

 

Share this post


Link to post
Share on other sites
  • 0
28.02.2023 в 12:08, Vazilin сказал:

А файле events значение lifetime менять или нет?
И что вообще означает restock?

 

Обозначает только то, что не форуме есть поиск и соответствующие темы, например: 

 

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

×
×
  • 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.