Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

carpei87

DayZ Vehicle spawn for events

Recommended Posts

Hello everyone, I have a query regarding vehicles on my server.

What happens if I spawn a vehicle for an event on my server using admin tools, do I have to make any changes to any XLM files?

Share this post


Link to post
Share on other sites
3 minutes ago, carpei87 said:

Hello everyone, I have a query regarding vehicles on my server.

What happens if I spawn a vehicle for an event on my server using admin tools, do I have to make any changes to any XLM files?

In types.xml - change the lifetime value of the base car (not the various parts such as doors and wheels) to 3888000. Default is 3 seconds, since vehicles are handled by events and don't need a lifetime. But if you spawn it with admin tools the server uses the lifetime in types.xml, so the car will despawn as soon as no player is within sight of the car...

Share this post


Link to post
Share on other sites
5 minutes ago, Derleth said:

In types.xml - change the lifetime value of the base car (not the various parts such as doors and wheels) to 3888000. Default is 3 seconds, since vehicles are handled by events and don't need a lifetime. But if you spawn it with admin tools the server uses the lifetime in types.xml, so the car will despawn as soon as no player is within sight of the car...

Perfect, thank you, I´ll try it!

Share this post


Link to post
Share on other sites

×