DayZ
IRP-Land-Rover-Defender-110
Bl4ck_bird 2019 年 12 月 11 日 上午 9:59
Need help with XML files
Hello I would like the LandRover spawn more how to change the values ​​please
< >
正在显示第 1 - 15 条,共 23 条留言
XxFri3ndlyxX 2019 年 12 月 11 日 上午 10:32 
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>

XxFri3ndlyxX 2019 年 12 月 11 日 上午 10:33 
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 编辑于; 2019 年 12 月 11 日 上午 10:36
XxFri3ndlyxX 2019 年 12 月 11 日 上午 10:48 
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.
Bl4ck_bird 2019 年 12 月 11 日 下午 3:35 
Thank you, I'm going to watch her tomorrow. Thank you so much. If I have any other questions, can you help me?
XxFri3ndlyxX 2019 年 12 月 11 日 下午 5:15 
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.
Bl4ck_bird 2019 年 12 月 13 日 上午 8:46 
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
XxFri3ndlyxX 2019 年 12 月 13 日 上午 9:42 
Show me via pastebin your files you edited.
Bl4ck_bird 2019 年 12 月 13 日 下午 3:41 
<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>
XxFri3ndlyxX 2019 年 12 月 13 日 下午 4:43 
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.
XxFri3ndlyxX 2019 年 12 月 13 日 下午 4:44 
The file provided by the mod makes it so the vehicle has its own spawn point.
XxFri3ndlyxX 2019 年 12 月 13 日 下午 4:45 
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.
Bl4ck_bird 2019 年 12 月 14 日 上午 1:49 
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>
XxFri3ndlyxX 2019 年 12 月 14 日 上午 9:58 
Are you playing on Livonia or Chernarus?
Bl4ck_bird 2019 年 12 月 14 日 上午 9:59 
chernarus
XxFri3ndlyxX 2019 年 12 月 14 日 上午 10:02 
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