Jump to content
Sign in to follow this  
vbawol

Trader City Templates Explained (CfgPropTemplate)

Recommended Posts

For some of the newly supported CUP terrain maps I have added a new feature that allows for dynamically placed trader cites and NPC traders. 

The server will attempt to load a template from 'CfgPropTemplate' when the 4th 'telePos' array element is a string.

For example Sahrani uses 3 trader city templates (north,east,west) 
https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server_settings/configs/maps/Sara.h#L38

The initial seed location for these are pulled from Marker locations with the same names. https://github.com/EpochModTeam/Epoch/blob/master/Sources/mpmissions/epoch.Sara/mission.sqm#L2077-L2094

The CfgPropTemplate template data (the actual templates) are contained in the server settings pbo here: https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server_settings/configs/templates/CfgPropTemplate.h

You can customize these templates. The script needed to generate the configs and was made to work with the new 3d "eden editor" can be found here. https://github.com/EpochModTeam/Epoch/blob/8bbec6258a45345080832212299f3aed223a8452/Tools/SQF/saveTraderCityTemplate.sqf

Currently the 4 existing templates (north,east,west,south) are the same exact layouts and will likely made more unique in future patches.

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...
Sign in to follow this  

  • Similar Content

    • By calinova22
      How would I go about adding custom vehicles to my server? I want to have an F35B with no weapons. I know how to remove the weapons, just cant find the file for the jet itself to edit.
    • By Cyrus
      I have placed a fuel pump in starry using a custom script. The fuel pump is there and accessible but i would like to know how i can make it work with out the need of having to place a generator or a running fuel ural. by default it acts the same way a placeable fuel pump works picked up in the world. 
      Here is the code that use to spawn the fuel pump. 
      _vehicle_344 = objNull; if (true) then { _this = createVehicle ["Land_A_FuelStation_Feed", [6325.166, 7715.0869, 0.15837258], [], 0, "CAN_COLLIDE"]; _vehicle_344 = _this; _this setDir -52.000465; _this setPos [6325.166, 7715.0869, 0.15837258]; }; Any help will be appreciated.
    • By Cyrus
      Hi,
      I have successfully set up an Arma 3 Epoch altis server (private for now) with a bunch of server side mods running. One of them is the Black Market Trader found elsewhere in the forums. My question is how do i add weapons and gear from the DLC expansions (MARK, HELI) etc. more specifically gear and weapons. I have seen on the BMS server they have gear specific to APEX and helis specific to HELI DLC. My black market trader does not have any of the DLC gear and weapons but only some of the heli's like the Huron and Taru. I own all of the DLC's and they are all present on the server folder structure. I cannot spawn them either using the builtin Anti Hack admin menu as they aren't present.
       
      I there any way that i can make them visible th AH menu and black market trader?
       
      Thanks in advance
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...