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

Sign in to follow this  
morgan32

Box with every item in the game?

Recommended Posts

Hey, so I'm helping my friend out with a server, which currently has an admin base and in that base there are lots of weapon / ammo crates spawned by the 3D editor (which is a bad way to do it because a ton of stuff is missing), so I'm wondering if anyone could tell me how to script my own box full of the weaponIDs I'd like to add, and if anybody has a list of all the weaponIDs (including Overwatch, which is the server's mod right now.)

Thanks in advance.

Share this post


Link to post
Share on other sites

I think you best go to the Bohemia forums to discuss use of the editor, people there are more experienced and I'm sure if you did some searching you could easily find out how to make an ammo crate with all the items in the game, that is how I found out how to do it.

Share this post


Link to post
Share on other sites

A better way is to spawn in the ammo crates through the database, add them to the instance_deployable table and add the contents through the inventory in the same table :)

The only snag is the stock levels always reset on server restart, you add 10 guns and 5 are removed, next restart there will be 10 again.

 

Let me know if you need more help, I had them on our old server.

  • Like 2

Share this post


Link to post
Share on other sites

Thanks for the suggestion, guys. I'm just looking for something simple to script, I'm sure I'll find something at the bohemia forums if I look.

Share this post


Link to post
Share on other sites

Thanks for the suggestion, guys. I'm just looking for something simple to script, I'm sure I'll find something at the bohemia forums if I look.

I gave you the easiest solution :huh: you won't find a quicker or easier way

Share this post


Link to post
Share on other sites
Sign in to follow this  

×