vbawol Posted February 1, 2016 Report Share Posted February 1, 2016 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. Ghostrider-GRG and TheStainlessSteelRat 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now