Loot isn't spawning

2 posts in this topic

I've got a lot of experience in setting up loot tables and adding spawn points to buildings. I've done it successfully in the past.

Now I'm trying to set up loot on a new map that doesn't have the loot positions by default, so I created the positions. At fist, I did the same thing I did when I added new buildings to other servers. I created an .hpp file with the loot positions and in config.cpp, I added this inside of the class CfgBuildings: #include "alllootpositions.hpp". That loaded the file "alllootpositions.hpp" and loot spawned inside those buildings as expected. 

Now, I've done the same thing for this map and loot isn't spawning in any of the buildings specific to that map. It's spawning loot into buildings that are not specific to that map. There are no errors in my server log. Does a map need to have something special that would allow loot to spawn on it besides what I've described?

Share this post

Link to post
Share on other sites

I thought there was some pre defined code in the config.cpp for loot in maps? What map?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.