Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Regarding Custom Map Spawns


SirCuddleboo

Recommended Posts

So, I've added quite a few maps, but I'm having difficulty adding their corresponding spawns. All of the maps are present in our world map now, but unfortunately we cannot spawn in any of them. I've tried some methods that I've collected from prior posts spanning back to 2015. Currently, my spawn regions file is as follows:

function SpawnRegions()
    return {
        { name = "Muldraugh, KY", file = "media/maps/Muldraugh, KY/spawnpoints.lua" },
        { name = "Riverside, KY", file = "media/maps/Riverside, KY/spawnpoints.lua" },
        { name = "Rosewood, KY", file = "media/maps/Rosewood, KY/spawnpoints.lua" },
        { name = "West Point, KY", file = "media/maps/West Point, KY/spawnpoints.lua" },
        { name = "Bedford Falls, KY", file = "media/maps/BedfordFalls, KY/spawnpoints.lua" },
        { name = "Blackwood", file = "media/maps/Blackwood, spawnpoints.lua" },
        { name = "Chinatown", file = "media/maps/Chinatown, spawnpoints.lua" },
        { name = "Fort Benning", file = "media/maps/Fort Benning, spawnpoints.lua" },
        { name = "Grapeseed", file = "media/maps/Grapeseed, spawnpoints.lua" },
        { name = "RavenCreek", file = "media/maps/RavenCreek, spawnpoints.lua" },
        { name = "Otr", file = "media/maps/Otr, spawnpoints.lua" },
        { name = "OtrSR", file = "media/maps/OtrSR, spawnpoints.lua" },
    }
end

I have tried adding SpawnRegions=servername_spawnregions.lua to the .ini, but I've still had issues with or without this entry. Does anyone have any particular solutions in mind? Furthermore, where should I install the custom maps to begin with in the server files? Currently, the custom maps are in the /media/maps directory.

Share this post


Link to post
Share on other sites

  • 1 year later...

Hi Mate,

I really hope you get notified when someone replies (if you've not figured it out already) but i've spent the last 2 days with the same issue, and i think my fix will work with yours. It's just a few errors in the code - amended below, if you C/P it should work:

 

function SpawnRegions()
    return {
        { name = "Muldraugh, KY", file = "media/maps/Muldraugh, KY/spawnpoints.lua" },
        { name = "Riverside, KY", file = "media/maps/Riverside, KY/spawnpoints.lua" },
        { name = "Rosewood, KY", file = "media/maps/Rosewood, KY/spawnpoints.lua" },
        { name = "West Point, KY", file = "media/maps/West Point, KY/spawnpoints.lua" },
        { name = "Bedford Falls, KY", file = "media/maps/BedfordFalls/spawnpoints.lua" },
        { name = "Blackwood", file = "media/maps/Blackwood/spawnpoints.lua" },
        { name = "Chinatown", file = "media/maps/Chinatown/spawnpoints.lua" },
        { name = "Fort Benning", file = "media/maps/Fort Benning/spawnpoints.lua" },
        { name = "Grapeseed", file = "media/maps/Grapeseed/spawnpoints.lua" },
        { name = "RavenCreek", file = "media/maps/RavenCreek/spawnpoints.lua" },
        { name = "Otr", file = "media/maps/Otr/spawnpoints.lua" },
        { name = "OtrSR", file = "media/maps/OtrSR/spawnpoints.lua" },
    }
end

 

That being said, Grapeseed still won't work for me but reading the mod post on Steam it looks like they removed the spawn points as it was causing server issues.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...