DayZ
IRP-Land-Rover-Defender-110
Tusbru 6 Mar, 2020 @ 8:31am
Land rover spawn then closed or destroyed
Hi guys.
Thank you for those vehicles, it's really nice to drive with on chernarus.
I'm getting a problem, vehicles on trader working great ( changed setlive,...)
But on my vehicle log i get this:

17:16:16 | Land Rover Defender 110 (CrSk_Land_Rover_Defender_110<9046c0d0> - pos <12506.249023, 141.340225, 12510.891602>) initialized
17:16:16 | Land Rover Defender 110 (Green) (CrSk_Land_Rover_Defender_110<904684e0> - pos <12877.297852, 6.301685, 8603.619141>) initialized
17:22:15 | Land Rover Defender 110 (CrSk_Land_Rover_Defender_110<9046c0d0> - pos <12505.778320, 141.885193, 12511.083008>) closed or destroyed
17:22:15 | Land Rover Defender 110 (Red) (CrSk_Land_Rover_Defender_110<9046c960> - pos <6558.565918, 6.897303, 2496.088867>) closed or destroyed

As you can see i guess all my land rover spawn keep despawning.
I modified Type, Events, pawnabletype file correectly but it keep despawning.

Any clue to help?

PS: Events block
<event name="VehicleLandRoverDefender">
<nominal>25</nominal>
<min>20</min>
<max>25</max>
<lifetime>3888000</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_Red"/>
</children>
</event>

Types block:
<type name="CrSk_Land_Rover_Defender_110_Green">
<nominal>15</nominal>
<lifetime>3888000</lifetime>
<restock>0</restock>
<min>5</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>

Spawnabletype block:
<type name="CrSk_Land_Rover_Defender_110_Red">
<attachments chance="1.00">
<item name="Defender110_koleso" chance="0.60" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_koleso" chance="0.60" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_koleso" chance="0.40" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_koleso" chance="0.40" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_dver_1_1_Red" chance="0.40" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_dver_2_1_Red" chance="0.40" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_dver_1_2_Red" chance="0.40" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_dver_2_2_Red" chance="0.40" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_kapot_Red" chance="0.30" />
</attachments>
<attachments chance="1.00">
<item name="Defender110_bagazhnik_Red" chance="0.10" />
</attachments>
<attachments chance="1.00">
<item name="CarRadiator" chance="0.10" />
</attachments>
<attachments chance="1.00">
<item name="CarBattery" chance="0.30" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.40" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="0.40" />
</attachments>
<attachments chance="1.00">
<item name="SparkPlug" chance="0.10" />
</attachments>
</type>
< >
Showing 1-4 of 4 comments
Prison Mike 30 Oct, 2021 @ 9:49am 
19:45:14 [DynEvent] "LandRoverDefender" will be ignored :: failed to determine spawner type!
19:45:14 valid types are:
19:45:14 01 - Vehicle
19:45:14 02 - Static
19:45:14 03 - Loot
19:45:14 04 - Infected
19:45:14 05 - Animal
19:45:14 06 - Ambient
19:45:14 07 - Item
19:45:14 08 - Trajectory
Minuzed 30 Oct, 2021 @ 10:06am 
@Tusbru
Did you copy the spawn positions from the ada police car as mentioned in some post? Because I think it's possible they collide when spawning on the exact same location. I'm not sure though but I used what's in cfgeventspawns.xml included with the mod and I haven't seen those problems that you describe.

@FlyingMachineGun
I think you have forgotten to change <event name="LandRoverDefender"> to "VehicleLandRoverDefender" in your cfgeventspawns.xml. See my post in the topic "not spawning" for the necessary changes.
Tusbru 30 Oct, 2021 @ 10:30am 
Originally posted by Minuzed:
@Tusbru
Did you copy the spawn positions from the ada police car as mentioned in some post? Because I think it's possible they collide when spawning on the exact same location. I'm not sure though but I used what's in cfgeventspawns.xml included with the mod and I haven't seen those problems that you describe.

@FlyingMachineGun
I think you have forgotten to change <event name="LandRoverDefender"> to "VehicleLandRoverDefender" in your cfgeventspawns.xml. See my post in the topic "not spawning" for the necessary changes.


The problem was coming from the Types.
<nominal>15</nominal>
Nominal must always be 0 for vehicule or server will consider it as a loot and will spawn it on wreck police car, helicrash, house etc
Minuzed 30 Oct, 2021 @ 10:40am 
Oh mine were already set to that I see. I don't remember changing it though so it might already be in the example-files included with the mod. Good to hear you found the solution! :)
< >
Showing 1-4 of 4 comments
Per page: 1530 50