Jump to content


I've been working on a United Sahrani map and have a question about where the server pulls the buildings and trader positions for the spawn areas from. I would have thought it was from the map.h file in the @epochhive\addons\a3_epoch_server_settings\configs\maps


    Author: Aaron Clark - EpochMod.com


    Epoch gamemode server Side map specific configs for Sahrani.

    Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike

class Sara_dbe1 : Default
    worldSize = 0; // 0 = default to worldSize command
    plantLimit = 10;
    vehicleSpawnTypes[] = {
    traderBlds[] = {};
    containerPos[] = {};
    telePos[] = {
        // N [-0.286865,8.17383,-10.3098]
        // S [-0.415527,-7.05298,-10.3098]
        // E [13.5127,0.410156,-10.3098]
        // W [-14.4316,0.112793,-10.3098]
            { "Transport_N_EPOCH", { -0.286865, 8.17383, -10.3098 }, "", "north" },
            { "Transport_W_EPOCH", { -14.4316, 0.112793, -10.3098 }, "", "west" },
            { "Transport_E_EPOCH", { 13.5127,0.410156,-10.3098 }, "", "east" }
            //{ "Transport_C_EPOCH", { 13.5127, 0.410156, -10.3098 }, "", "south" }
    propsPos[] = {
    staticNpcPos[] = {

but this file is empty of anything in the propPos or staticNpcPos. where is the server finding the building and trader postions for the spawn areas, I would like to remove these objects.


Share this post

Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0
9 minutes ago, He-Man said:

telePos are the defines of the teleporter and spawn positions

Are there other files that contain the building classnames and traders postions for the spawn areas other than the map.h file?

Share this post

Link to post
Share on other sites
  • 0
2 hours ago, axeman said:

They should all be in there as standard. If no static traders are specified then dynamic traders are spawned up to the maximum trader limit.

If it is a map object (House) try: https://community.bistudio.com/wiki/hideObjectGlobal


These spawn/trader buildings are not in the base map. There is a circle of garage buildings with an ATM and several traders at each spawn point, if they are not being pulled from the map.h file, where is the server finding these objects? 


Share this post

Link to post
Share on other sites
  • 0
1 minute ago, axeman said:

Is this on your own server ?

If so, what addons do you have that could be spawning those objects ? Doesn't look like a normal creation..

I have a local test server setup on my PC. I have Epoch, CUP terrains Core and Maps, CBA_A3, CUP units, weapons and vehicles running. I'm using the epoch.Sara_dbe1 mission pbo.

Share this post

Link to post
Share on other sites
  • 0
1 minute ago, He-Man said:

Hmm, I have no idea, where these buildings can come from.

As axeman said, the standard buildings created by Epoch should be in this file.

Thanks He-Man and Axeman for helping. I'm at a loss also. I have no idea where these spawn bases are coming from if the map.h file is empty. 

Share this post

Link to post
Share on other sites
  • 0

These are actually from a new feature that makes adding bases and support for new maps easier. 

The templates are located here: 

You can use them by creating a marker with the same name as the templates. For example on Napf we use the (north, east, and west) city templates: https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server_settings/configs/templates/CfgPropTemplate.h 

These are then referenced in the <mapName>.h file by giving the marker/template name for the 4th array element instead of the xyz position: 
as compared to Altis that uses the "old" way: https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server_settings/configs/maps/Napf.h#L39-L41



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.

Answer this question...

×   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.


  • Similar Content

    • By THAC0_Gewch
      Updated for 1.0.6.x
    • By THAC0_Gewch
      Many years ago, I made a Humanity Loadout script for 1.0.5.x. The script is basic, it checks your players' humanity and grants a pre-set loadout when they spawn depending on their humanity level.
      I've now updated and optimized this script for 1.0.6.x:
    • By JakeQue
      Is there anyway to add a disable footsteps for admins?
      Also I would love to be able to spawn a mission in from the admin menu, I tried some code but it just breaks Infistar, it would seem it is executing it automatically.
      Thank you!
    • By JakeQue
      Hi, me again.
      For some reason when i spawn in and collect coins or loadout the next time i disconnect and come back it puts me back into spawn and money is all disappeared. 

      There's no hive errors.
      The only error in the Server RPT is :
      And I have 2 errors in my client RPT. Looks like they relate to zsc but I have reinstalled it from scratch and still the same.
      Sorry to be such a noob with this one!!
    • By Tricks
      Hello community,
      I am working on a custom mission that takes place over the waters of Chernarus. Its actually an Aircraft Carrier mission I had on my server in 2014. However I can't seem to get loot to spawn on the ship.
      Has anyone had any success in spawning custom loot boxes over water or on the carrier?
  • Advertisement
  • Supporters
  • Discord

  • Create New...