Jump to content
Sign in to follow this  
Smoerble

Best method to place objects exactly on the map?

Recommended Posts

Hi all,

I am now working on the fine tuning of a mission. When I try to create a wall of sand bags or want to create the interieur of a room, it's very difficult to get everything aligned with the editor.

How do you guys do this please?

I tried this: I place objects in Zeus and then access the save file to find the positions. As all objects, not only the new created ones, are in the save file, this is not really a practiable solution. Hope, some of you have better ideas.

Thanks, bye

Smo

Share this post


Link to post
Share on other sites

One method I used included MCC. Only for placing the objects (using Zeus) and exporting an array with them.

I then create them from a script, also helpful if you want to delete/modify these objects at some point, since it stores them in an array.

private ["_savedobjs","_counter","_objarray"];

//_savedobjs is equal to the array of saved vehicles from the MCC output

_savedobjs = 
[
["EMPTY","Land_CncBarrier_F",[11321.7,12177.2,-0.000518799],280.993,""],
["EMPTY","Land_CncBarrier_F",[11321.2,12174.6,-0.000537872],281.001,""],
["EMPTY","Land_CncBarrier_F",[11323,12179.3,-0.000196457],324.928,""],
];

_counter = -1;
_objarray = [];

_count = count _savedobjs;
for "_i" from 0 to (_count - 1) do
{
private "_obj";

_counter = _counter + 1;
_obj = createvehicle [(_savedobjs select _counter) select 1, (_savedobjs select _counter) select 2, [], 0, "CAN_COLLIDE"]; sleep 0.1;
_obj setdir ((_savedobjs select _counter) select 3);
_obj setVectorUp (surfacenormal (getPosATL _obj));
_obj enableSimulation false;
_objarray = _objarray + [_obj];
};

Share this post


Link to post
Share on other sites
One method I used included MCC. Only for placing the objects (using Zeus) and exporting an array with them.

Hello,

thanks for this, unfortunately thhis rised some questions ;):

1) what is MCC please?

2) How do you export the array of objects?

Share this post


Link to post
Share on other sites
Hello,

thanks for this, unfortunately thhis rised some questions ;):

1) what is MCC please?

2) How do you export the array of objects?

Share this post


Link to post
Share on other sites

Addon objects should all be available in the MCC editor, afaik.

Share this post


Link to post
Share on other sites

I use MCC to build and save Maps with Zeus, but no Objects from Addons are shown in the Editor.

Share this post


Link to post
Share on other sites

Try the MCC editor, if you don't find em in Zeus.

Share this post


Link to post
Share on other sites

If it helps: This is the config.cpp, but according to my knowledge only "scope = 2" is relevant for appearance in Editor:

class CfgPatches {

class bwi_a3_railtracks {
	units[] = {"bwi_land_rails_bridge_40", "bwi_rail_semafor", "bwi_rail_zavora", "bwi_rail_50km", "bwi_rail_o25m_Priecestie", "bwi_rail_najazdovarampa", "bwi_rail_Priecestie", "bwi_Rail_Platform_Cross", "bwi_rails_25", "bwi_rails_curve_L25_10", "bwi_rails_curve_R25_10", "bwi_rails_down_25", "bwi_rails_down_40", "bwi_rails_linebreak_concrete", "bwi_rails_linebreak_iron", "bwi_rails_passing_10", "bwi_rails_passing_25", "bwi_rails_turnout_L", "bwi_rails_turnout_R", "bwi_rails_up_25", "bwi_rails_up_40", "bwi_rails_v_LB_RE", "bwi_rails_v_LE_RB", "bwi_rails_v_SP", "bwi_railsN_25", "bwi_railsN_40", "bwi_railsN_curve_L25_5", "bwi_railsN_curve_L25_10", "bwi_railsN_curve_L30_20", "bwi_railsN_curve_R25_5", "bwi_railsN_curve_R25_10", "bwi_railsN_curve_R30_20", "bwi_Rail_Platform_Segment", "bwi_Rail_Platform_Start"};
	weapons[] = {};
	requiredVersion = 0.100000;
	requiredAddons[] = {};
};
};

class CfgVehicleClasses {

class BWI_BUILD_R {
	displayName = "BWI: Railway Objects";
};
};

class CfgVehicles {
/*extern*/ class House;

class bwi_land_rails_bridge_40: House {
	model = "\bwi_a3_railtracks\bwi_rails_bridge_40";
	displayName = "Rail Bridge (40M Straight)";
	vehicleClass = "BWI_BUILD_R";
	scope = 2;
	armor = 150;
	author = "nzdfcrash";

	class Destruction {
		animations[] = {};
	};
};

class bwi_rail_semafor: House {
	scope = 2;
	displayName = "Railway Lights";
	vehicleClass = "BWI_BUILD_R";
	model = "\bwi_a3_railtracks\bwi_rail_Semafor";
	author = "nzdfcrash";
	keepHorizontalPlacement = 1;
	destrType = "DestructTree";

	class MarkerLights {

		class GreenStill {
			name = "zeleny pozicni";
			color[] = {0.004200, 0.032000, 0.003000, 1.000000};
			ambient[] = {0.010000, 0.100000, 0.010000, 1.000000};
			brightness = 0.010000;
			blinking = 0;
		};
	};
};

class bwi_rail_zavora: House {
	scope = 2;
	displayName = "Railway Traffic Arm";
	vehicleClass = "BWI_BUILD_R";
	model = "\bwi_a3_railtracks\bwi_rail_Zavora";
	author = "nzdfcrash";
	keepHorizontalPlacement = 1;
	destrType = "DestructTree";

	class MarkerLights {

		class WhiteBlinking {
			name = "bily pozicni blik";
			color[] = {0.010000, 0.010000, 0.030000, 1.000000};
			ambient[] = {0.010000, 0.010000, 0.005600, 1.000000};
			brightness = 0.010000;
			blinking = 1;
		};
	};
};

class bwi_rail_50km: House {
	scope = 2;
	displayName = "Railway Sign";
	keepHorizontalPlacement = 1;
	model = "\bwi_a3_railtracks\bwi_rail_50km";
	vehicleClass = "BWI_BUILD_R";
	destrType = "DestructTree";
	author = "nzdfcrash";
};

class bwi_rail_o25m_Priecestie: House {
	scope = 2;
	displayName = "Railway Sign 1";
	keepHorizontalPlacement = 1;
	model = "\bwi_a3_railtracks\bwi_rail_o25m_Priecestie";
	vehicleClass = "BWI_BUILD_R";
	destrType = "DestructTree";
	author = "nzdfcrash";
};

class bwi_rail_Priecestie: House {
	scope = 2;
	displayName = "Railway Sign 2";
	keepHorizontalPlacement = 1;
	model = "\bwi_a3_railtracks\bwi_rail_Priecestie";
	vehicleClass = "BWI_BUILD_R";
	destrType = "DestructTree";
	author = "nzdfcrash";
};

class bwi_rail_najazdovarampa: House {
	scope = 2;
	displayName = "Large Platform";
	keepHorizontalPlacement = 1;
	model = "\bwi_a3_railtracks\bwi_rail_najazdovarampa";
	vehicleClass = "BWI_BUILD_R";
	destrType = "DestructTree";
	author = "nzdfcrash";
};

class bwi_Rail_Platform_Cross: House {
	scope = 2;
	displayName = "Rail Platform Cross";
	keepHorizontalPlacement = 1;
	model = "\bwi_a3_railtracks\bwi_Rail_Platform_Cross";
	vehicleClass = "BWI_BUILD_R";
	destrType = "DestructTree";
	author = "nzdfcrash";
};

class bwi_Rail_Platform_Segment: House {
	scope = 2;
	displayName = "Rail Platform Segment";
	keepHorizontalPlacement = 1;
	model = "\bwi_a3_railtracks\bwi_Rail_Platform_Segment";
	vehicleClass = "BWI_BUILD_R";
	destrType = "DestructTree";
	author = "nzdfcrash";
};

class bwi_Rail_Platform_Start: House {
	scope = 2;
	displayName = "Rail Platform Start";
	keepHorizontalPlacement = 1;
	model = "\bwi_a3_railtracks\bwi_Rail_Platform_Start";
	vehicleClass = "BWI_BUILD_R";
	destrType = "DestructTree";
	author = "nzdfcrash";
};
/*extern*/ class Strategic;

class bwi_rails_25: Strategic {
	scope = 2;
	displayName = "Rail Track (25M Straight Flat)";
	model = "\bwi_a3_railtracks\bwi_rails_25.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_curve_L25_10: Strategic {
	scope = 2;
	displayName = "Rail Track (25M Left Curve Flat)";
	model = "\bwi_a3_railtracks\bwi_rails_curve_L25_10.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_curve_R25_10: Strategic {
	scope = 2;
	displayName = "Rail Track (25M Right Curve Flat)";
	model = "\bwi_a3_railtracks\bwi_rails_curve_R25_10.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_down_25: Strategic {
	scope = 2;
	displayName = "Rail Track (25M Straight Down Angle Raised)";
	model = "\bwi_a3_railtracks\bwi_rails_down_25.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_down_40: Strategic {
	scope = 2;
	displayName = "Rail Track (40M Straight Down Angle Raised)";
	model = "\bwi_a3_railtracks\bwi_rails_down_40.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_linebreak_concrete: Strategic {
	scope = 2;
	displayName = "Rail Concrete Break";
	model = "\bwi_a3_railtracks\bwi_rails_linebreak_concrete.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_linebreak_iron: Strategic {
	scope = 2;
	displayName = "Rail Iron Break";
	model = "\bwi_a3_railtracks\bwi_rails_linebreak_iron.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_passing_10: Strategic {
	scope = 2;
	displayName = "Rail Passing (10M)";
	model = "\bwi_a3_railtracks\bwi_rails_passing_10.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_passing_25: Strategic {
	scope = 2;
	displayName = "Rail Passing (25M)";
	model = "\bwi_a3_railtracks\bwi_rails_passing_25.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_turnout_L: Strategic {
	scope = 2;
	displayName = "Rail Track Turnout (Left)";
	model = "\bwi_a3_railtracks\bwi_rails_turnout_L.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_turnout_R: Strategic {
	scope = 2;
	displayName = "Rail Track Turnout (Right)";
	model = "\bwi_a3_railtracks\bwi_rails_turnout_R.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_up_25: Strategic {
	scope = 2;
	displayName = "Rail Track (25M Straight Up Angle)";
	model = "\bwi_a3_railtracks\bwi_rails_up_25.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_up_40: Strategic {
	scope = 2;
	displayName = "Rail Track (40M Straight Up Angle)";
	model = "\bwi_a3_railtracks\bwi_rails_up_40.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_v_LB_RE: Strategic {
	scope = 2;
	displayName = "Rail Track (Left Broken)";
	model = "\bwi_a3_railtracks\bwi_rails_v_LB_RE.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_v_LE_RB: Strategic {
	scope = 2;
	displayName = "Rail Track (Right Broken)";
	model = "\bwi_a3_railtracks\bwi_rails_v_LE_RB.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_rails_v_SP: Strategic {
	scope = 2;
	displayName = "Rail Track (Small Straight)";
	model = "\bwi_a3_railtracks\bwi_rails_v_SP.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_25: Strategic {
	scope = 2;
	displayName = "Rail Track (25M Raised Straight)";
	model = "\bwi_a3_railtracks\bwi_railsN_25.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_40: Strategic {
	scope = 2;
	displayName = "Rail Track (40M Raised Straight)";
	model = "\bwi_a3_railtracks\bwi_railsN_40.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_curve_L25_5: Strategic {
	scope = 2;
	displayName = "Rail Track (25M Raised Left Curve)";
	model = "\bwi_a3_railtracks\bwi_railsN_curve_L25_5.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_curve_L25_10: Strategic {
	scope = 2;
	displayName = "Rail Track 1 (25M Raised Left Curve)";
	model = "\bwi_a3_railtracks\bwi_railsN_curve_L25_10.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_curve_L30_20: Strategic {
	scope = 2;
	displayName = "Rail Track  (30M Raised Left Curve)";
	model = "\bwi_a3_railtracks\bwi_railsN_curve_L30_20.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_curve_R25_5: Strategic {
	scope = 2;
	displayName = "Rail Track (25M Raised Right Curve)";
	model = "\bwi_a3_railtracks\bwi_railsN_curve_R25_5.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_curve_R25_10: Strategic {
	scope = 2;
	displayName = "Rail Track 1 (25M Raised Right Curve)";
	model = "\bwi_a3_railtracks\bwi_railsN_curve_R25_10.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_curve_R30_20: Strategic {
	scope = 2;
	displayName = "Rail Track (30M Raised Right Curve)";
	model = "\bwi_a3_railtracks\bwi_railsN_curve_R30_20.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_turnout_L: Strategic {
	scope = 2;
	displayName = "Rail Track (Raised Left Turnout)";
	model = "\bwi_a3_railtracks\bwi_railsN_turnout_L.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};

class bwi_railsN_turnout_R: Strategic {
	scope = 2;
	displayName = "Rail Track (Raised Right Turnout)";
	model = "\bwi_a3_railtracks\bwi_railsN_turnout_R.p3d";
	keepHorizontalPlacement = 1;
	vehicleClass = "BWI_BUILD_R";
	author = "nzdfcrash";
};
};

I only want to place the objects with MCC :/

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×