Jump to content
Sign in to follow this  
Pje91

Somehow Police Cars spawn inside Police Stations

Recommended Posts

Hello. First time posting here, need a little help.

First of all, its the first time i own a DayZ Sa Server (started 16th Sep).

Guess i changed a value of the type.xml file that now spawns Police Cars inside of the Police Stations. I tried using ESP to figure out what their name could be inside the xml file, but they dont have a name.

Mods i use on my Server @Base Furniture Mods 3.0;@BaseBuildingPlus;@BuilderItems;@CF;@CheckIdentity;@Cl0ud's Military Gear;@Code Lock;@CPBWeapons;@Durable Suppressors;@Mass'sManyItemOverhaul;@MosinScope;@SchanaModGlobalChat;@SchanaModParty;@Server_Information_Panel;@Specialist Weapon Pack;@Unlimited Stamina;@UnlimitedRun;@VanillaPlusPlusMap;@KillFeed;@Community-Online-Tools

Share this post


Link to post
Share on other sites
39 minutes ago, Pje91 said:

Guess i changed a value of the type.xml file that now spawns Police Cars inside of the Police Stations. I tried using ESP to figure out what their name could be inside the xml file, but they dont have a name.

yj8aJYG.png

Share this post


Link to post
Share on other sites

you will need to check your types.xml file and make sure they look like this 

    <type name="Land_Wreck_Volha_Police">
        <nominal>0</nominal>
        <lifetime>86400</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <usage name="Police"/>
    </type>
    <type name="Land_Wreck_hb01_aban1_police">
        <nominal>0</nominal>
        <lifetime>86400</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>
    <type name="Land_Wreck_hb01_aban2_police">
        <nominal>0</nominal>
        <lifetime>86400</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>
    <type name="Land_Wreck_sed01_aban1_police">
        <nominal>0</nominal>
        <lifetime>86400</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>
    <type name="Land_Wreck_sed01_aban2_police">
        <nominal>0</nominal>
        <lifetime>86400</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>

 

Share this post


Link to post
Share on other sites

then make sure your events.xml   (found in the mission db folder) looks like

 

    <event name="StaticPoliceCar">
        <nominal>15</nominal>
        <min>0</min>
        <max>0</max>
        <lifetime>2500</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="1" init_random="0" remove_damaged="0" />
        <position>fixed</position>
        <limit>child</limit>
        <active>1</active>
        <children>
            <child lootmax="5" lootmin="3" max="5" min="5" type="Land_Wreck_sed01_aban1_police"/>
            <child lootmax="5" lootmin="3" max="5" min="5" type="Land_Wreck_sed01_aban2_police"/>
        </children>
    </event>

 

if not they will spawn in police stations.   make sure these are correct and you should be fine

 

 

Edited by mother1977

Share this post


Link to post
Share on other sites

its might have been the problem. i only had the Land_Wreck_Volha_Police in my file.

but another questiuon. how do i delet the spawned Police Cars inside of the Police Stations? they are still there.

 

Thank you

Share this post


Link to post
Share on other sites

if you have admin tools, such as zomberry or vppadmintools you can delete it.

but if you don't i really don't know.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×