Jump to content
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×