Jump to content
  • 0

Sahrani map config


MassAsster

Question

Looking to do up a map config for United Sahrani -  Does anyone have a config for this map already? and if not what exactly is required to correctly enable spawns?

I note some of the configs have teleport locations listed and i've seen some discussion about respawn markers.. wondering what is current method to the madness

 

How is the correct map config (mapname).h  selected on the server?

How is world size figured?

 

I have spawned into the box on the map, but there were no "man hole tops" to teleport into the map. Also not sure how to figure out "worldsize"

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

The map config (map.h) you define in the config.cpp of a3_epoch_server_settings.pbo:


	class CfgEpoch

	{

	    class Default

	    {

	        worldSize = 12000;

	        traderBlds[] = {};

	        containerPos[] = {};

	        telePos[] = {};

	        propsPos[] = {};

	        staticNpcPos[] = {};

	    };

	    #include "configs\maps\yourmapname.h"

	};

 

How you can get the worldsize?
2 ways:
Look in the config.bin of the map file. I think Sahrani is an element of AllInArmaTerrainPack? Then you have to look in these files.

Second way would be a bit inaccurate, but will do the job also:
Open your arma 3 3D map editor with Sahrani, place your player to the absolute bottom-right corner, start preview and mark at ingame map the absolute bottom-left corner of the map. The distance which is shown should be the worldsize.
But this is only a way for maps without water at the corners and at all inaccurate like i said.
Go through the files and look for the needed data in the config.bin, u will also find the mapcenter there.

cheers

Link to comment
Share on other sites

  • 0

*edit*

classnames, not sure how complete it is

    Rocks[] = {
    "rocks_02.p3d",
    "rocks_01.p3d",
    "stone3.p3d",
    "stone4_invert.p3d",
    "stone4.p3d",
    "stone3a.p3d",
    "stone4a.p3d",
    "rockn_02.p3d",
    "rockn_01.p3d"
    };
    ATM[] = {
    "phone_box_south.p3d"
    };
    Water[] = {
    "water_tank.p3d",
    "kasna_new.p3d"
    };
    Trash[] = {
    "odpadkovy_kos.p3d",
    "smd_dumpster_trash.p3d",
    "garbage_paleta.p3d",
    "garbage_misc.p3d",
    "popelnice.p3d",
    "paletyc.p3d",
    "smd_dumpster_plastic.p3d",
    "smd_dumpster_paper.p3d",
    "smd_dumpster_glass.p3d"
    };
    Trees[] = {
    "str_fikovnik.p3d",
    "str_fikovnik2.p3d",
    "str_fikovnik_ker.p3d",
    "str_pinie.p3d",
    "palm_01.p3d",
    "palm_03.p3d",
    "palm_02.p3d",
    "palm_04.p3d",
    "jablon.p3d",
    "palm_10.p3d",
    "str krovisko vysoke.p3d",
    "oliva.p3d",
    "krovi2.p3d",
    "palm_09.p3d",
    "str lipa.p3d",
    "t_salix2s.p3d",
    "t_picea2s.p3d",
    "t_pinusn1s.p3d",
    "t_pinuss2f.p3d",
    "str habr.p3d",
    "str buk.p3d",
    "str briza.p3d",
    "misc_stub1.p3d",
    "t_picea1s.p3d",
    "akat02s.p3d",
    "hrusen2.p3d"
    };
    Bushes[] = {
    "ker deravej.p3d",
    "ker s bobulema.p3d",
    "str trnka.p3d",
    "krovi_bigest.p3d",
    "krovi.p3d",
    "palm_08small.p3d",
    "b_amygdalusn1s_ep1.p3d",
    "krovi_long.p3d",
    "str_liskac.p3d",
    "dd_bush01.p3d",
    "dd_bush02.p3d"
    };
    Wrecks[] = {
    "datsun02t.p3d",
    "datsun01t.p3d"};

 

 

 

 

 

Link to comment
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
  • Discord

×
×
  • Create New...