DayZ
IRP-Land-Rover-Defender-110
Need help with XML files
Hello I would like the LandRover spawn more how to change the values ​​please
< >
Εμφάνιση 1-15 από 23 σχόλια
To change how many landrover should spawn you have to go to your event.xml
You can either make it's own config or add it to an already vanilla made config like the offroad.

<event name="VehicleOffroadHatchback"> <nominal>10</nominal> <min>7</min> <max>13</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>
add in the children part the vehicle
<child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110"/> <child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110_Green"/> <child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110_UN"/>

So it would basically become

<event name="VehicleOffroadHatchback"> <nominal>10</nominal> <min>7</min> <max>13</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"/> <child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110"/> <child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110_Green"/> <child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110_UN"/> </children> </event>

You can then edit the max and min of each vehicle in the children and the max and min and nominal of the event globally :) I hope this help you understand how it works.
Τελευταία επεξεργασία από XxFri3ndlyxX; 11 Δεκ 2019, 10:36
Ahhh i just downloaded the vehicle and all files are provided.
<event name="LandRoverDefender"> <waves>0</waves> <nominal>25</nominal> <min>20</min> <max>25</max> <lifetime>300</lifetime> <restock>0</restock> <saferadius>500</saferadius> <distanceradius>500</distanceradius> <cleanupradius>200</cleanupradius>a <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="15" min="10" type="CrSk_Land_Rover_Defender_110"/> <child lootmax="0" lootmin="0" max="15" min="10" type="CrSk_Land_Rover_Defender_110_Green"/> <child lootmax="0" lootmin="0" max="15" min="10" type="CrSk_Land_Rover_Defender_110_UN"/> </children> </event>
As we can see there is already a lot spawning 25 is the nominal and the max and the min is 20 for the globally. Then each seperate vehicle has max of 15 and min of 10.
In the cfgeventspawns.xml then is about 100 spawn point so you can increase the max and min no problem.
Thank you, I'm going to watch her tomorrow. Thank you so much. If I have any other questions, can you help me?
Your welcome. Yes i don't mind as long as your patient. I have final exam coming up so i wont be able to answer quickly.
I modified the values ​​and look everywhere, looking mainly for the truck point but not found in LandRover could you give me an XML code with values ​​or the LandRover spawn a lot please
Show me via pastebin your files you edited.
<event name="LandRoverDefender">
<waves>0</waves>
<nominal>100</nominal>
<min>90</min>
<max>100</max>
<lifetime>388800</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"/>
<child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110"/>
<child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110_Green"/>
<child lootmax="0" lootmin="0" max="5" min="3" type="CrSk_Land_Rover_Defender_110_UN"/>
</children>
</event>
ahhh that is why. You use the first code i said. But then i said oh they gave the code. So you better use the code they provided.
The file provided by the mod makes it so the vehicle has its own spawn point.
Otherwise in the provided code above you only upped the global max and min and you did not up the child max and min so basically no more than 5 rover of each will spawn.
Ok so we put his spawn much more?

<event name="LandRoverDefender">
<waves>0</waves>
<nominal>100</nominal>
<min>90</min>
<max>100</max>
<lifetime>388800</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="10" min="9" type="OffroadHatchback"/>
<child lootmax="0" lootmin="0" max="20" min="19" type="OffroadHatchback_Blue"/>
<child lootmax="0" lootmin="0" max="20" min="19" type="OffroadHatchback_White"/>
<child lootmax="0" lootmin="0" max="20" min="19" type="CrSk_Land_Rover_Defender_110"/>
<child lootmax="0" lootmin="0" max="20" min="19" type="CrSk_Land_Rover_Defender_110_Green"/>
<child lootmax="0" lootmin="0" max="20" min="19" type="CrSk_Land_Rover_Defender_110_UN"/>
</children>
</event>
Are you playing on Livonia or Chernarus?
Then use all the provided file from the mods then edit like you did above. The provided file has there own spawn point for the land rover.
< >
Εμφάνιση 1-15 από 23 σχόλια
Ανά σελίδα: 1530 50