Paul

Lockers on Namalsk

8 posts in this topic

Hi Guys

I've configured a Namalsk map, but there aren't any lockers on there.
I've tried to add some:

_objects =
[
	["land_seb_residental",[4972.45,8044.18,-0.192459],350.455,[[-0.165829,0.986154,0],[0,0,1]],false],
	["Exile_Sign_AircraftCustoms",[4987.06,8008.3,-0.285828],358.182,[[-0.0317271,0.999497,0],[0,0,1]],false],
	["Exile_Sign_Aircraft",[4993.16,8008.49,-0.35659],4.09091,[[0.0713392,0.997452,0],[0,0,1]],false],
	["Exile_Sign_Armory",[4972.58,8045.89,4.69194],80.3963,[[0.985985,0.166832,0],[0,0,1]],false],
	["Exile_Sign_Equipment",[4973.46,8048.57,0.256481],259.091,[[-0.981929,-0.18925,0],[-0,0,1]],false],
	["Exile_Sign_Food",[4971.97,8048.9,4.99253],103.212,[[0.973532,-0.228552,0],[0,-0,1]],false],
	["Exile_Sign_Hardware",[4978.98,8056.99,0.298199],291.364,[[-0.931287,0.364287,0],[0,0,1]],false],
	["Exile_Sign_Office",[5011.57,8022.79,0.170429],145.455,[[0.56706,-0.823677,0],[0,-0,1]],false],
	["Exile_Sign_SpecialOperations",[4967.71,8038.83,4.77552],170.455,[[0.165822,-0.986156,0],[0,-0,1]],false],
	["Exile_Sign_VehicleCustoms",[4979.81,8029.77,0],223.182,[[-0.684316,-0.729186,0],[-0,0,1]],false],
	["Exile_Sign_Vehicles",[4989.27,8026.7,0],182.273,[[-0.0396559,-0.999213,0],[-0,0,1]],false],
	["Exile_Sign_WasteDump",[5005.59,8062.67,0],84.5455,[[0.995472,0.0950556,0],[0,0,1]],false],
	["Exile_Sign_TraderCity",[4977.09,8082.22,0],202.273,[[-0.379015,-0.92539,0],[-0,0,1]],false],
	["Land_Misc_GContainer_Big",[5007.45,8060.39,0],310.909,[[-0.755749,0.654861,0],[0,0,1]],false],
	["Land_cargo_addon01_V1_F",[4988,8007.71,0.482025],0,[[0,1,0],[0,0,1]],false],
	["Land_cargo_addon01_V2_F",[4992.02,8007.71,0.64748],0,[[0,1,0],[0,0,1]],false],
	["Land_PaperBox_open_empty_F",[4972.69,8041.18,4.70987],346.818,[[-0.228045,0.973651,0],[0,0,1]],false],
	["Exile_Cosmetic_MG",[4966.37,8039.5,4.84768],173.182,[[0.118716,-0.992928,0],[0,-0,1]],false],
	["Exile_Cosmetic_UAV",[4968.37,8039.81,4.71871],36.8182,[[0.599278,0.800541,0],[0,0,1]],false],
	["Land_TableDesk_F",[5013.31,8011.31,4.12627],271.818,[[-0.999497,0.0317282,0],[0,0,1]],false],
	["Land_WaterCooler_01_old_F",[4968.42,8047.3,4.72985],167.727,[[0.212565,-0.977147,0],[0,-0,1]],false],
	["Land_ShelvesWooden_F",[5010.98,8010.87,4.12627],0,[[0,1,0],[0,0,1]],false],
	["Land_Metal_rack_F",[4969.41,8047.53,4.72985],168.182,[[0.204806,-0.978803,0],[0,-0,1]],false],
	["Land_Box_AmmoOld_F",[4971.42,8046.43,4.68838],310.455,[[-0.760916,0.648851,0],[0,0,1]],false],
	["Land_CratesShabby_F",[4971.71,8050.85,4.6806],350.455,[[-0.16583,0.986154,0],[0,0,1]],false],
	["Land_LuggageHeap_03_F",[4966.07,8040.06,0.479908],15,[[0.258819,0.965926,0],[0,0,1]],false],
	["Land_LuggageHeap_02_F",[4965.52,8042.85,0.55238],354.091,[[-0.102951,0.994686,0],[0,0,1]],false],
	["Land_LuggageHeap_01_F",[4965.5,8045.31,0.641945],0,[[0,1,0],[0,0,1]],false],
	["Campfire_burning_F",[4966.61,8036.96,0.53722],0,[[0,1,0],[0,0,1]],false],
	["land_mol_cr",[4367.94,4733.66,-2.67057],170,[[0.173647,-0.984808,0],[0,-0,1]],false],
	["land_lodenice",[4353.54,4726.54,-0.00206777],186.364,[[-0.110839,-0.993838,0],[-0.101666,0.0113383,0.994754]],false],
	["Land_PowerPoleWooden_L_off_F",[4367.56,4745.61,0],0,[[0,1,0],[0,0,1]],false],
	["Exile_Sign_Boat_Small",[4361.4,4741.69,0],184.545,[[-0.0994842,-0.965484,-0.240713],[0.0714839,-0.248223,0.966062]],false],
	["Land_RowBoat_V1_F",[4377.78,4732.28,0],32.7273,[[0.540641,0.841254,0],[0,0,1]],false],
	["Land_RowBoat_V2_F",[4328.54,4732.59,0],288.182,[[-0.950071,0.312034,0],[0,0,1]],false],
	["Land_RowBoat_V3_F",[4364.75,4745.36,0],13.6364,[[0.235759,0.971811,0],[0,0,1]],false],
	["Land_RowBoat_V2_F",[4351.05,4744.07,0],113.182,[[0.91926,-0.39365,0],[0,-0,1]],false],
	["Land_RowBoat_V1_F",[9127.52,10100,0],0,[[0,1,0],[0,0,1]],false],
	["Land_RowBoat_V2_F",[9116.47,10094.3,-0.349067],278.636,[[-0.988661,0.150163,0],[-0.0252604,-0.166312,0.98575]],false],
	["Land_RowBoat_V3_F",[9105.59,10070.7,0],286.818,[[-0.957228,0.289336,0],[0,0,1]],false],
	["Exile_Sign_Boat_Small",[9112.28,10088.4,0],122.727,[[0.841208,-0.536336,-0.0686432],[0.0295976,-0.081086,0.996267]],false],
	["Exile_Locker", [5016.86, 8010.92, 54.1264], [0.99947, -0.0325409, 5.94517e-005], [0, 0.00182698, 0.999998], false]
];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (_x select 2);
    _object setPosATL (_x select 1);
    _object allowDamage false;
    _object enableSimulationGlobal false; // :)
}
forEach _objects;

But, they dont appear. Has anyone else added lockers on Namalsk who would care to share their config with me?

Thanks
Paul

Share this post


Link to post
Share on other sites

They should be in the "private _vehicles" section of initserver.sqf. For example, here's the initserver.sqf I made for Exile Reborn Esseker:

// 2 Vehicles
		private _vehicles = [
		["Exile_Locker", [8079.33, 6425.85, 116.207], [0.990296, 0.138968, 0.00138659], [-0.00129187, -0.000771824, 0.999999], true], //Equipment
		["Exile_Locker", [2729.93, 11279.2, 134.855], [0.40943, -0.910571, 0.056808], [-0.0591438, 0.0356448, 0.997613], true], //Armory
		["Exile_Locker", [11167.6, 9103.77, 65.2057], [0, 1, 0], [0, 0, 1], true], //Waste Dump
		["Exile_Locker", [6639.36, 3712.12, 238.694], [0, 1, 0], [0.00182698, 0, 0.999998], true], //Spec Ops
		["Exile_Locker", [3978.02, 9290.03, 150.585], [0.61273, 0.790292, -0.000518203], [0.000845728, 0, 1], true], //Hardware
		["Exile_Locker", [3109.28, 4492.94, 113.815], [0.12027, 0.992741, -0.000740717], [0.00212837, 0.00048828, 0.999998], true], //Vehicles
		["Exile_Locker", [10046.7, 4844.48, 17.0556], [0.999429, -0.0337743, -0.00119505], [0.00119573, 0, 0.999999], true], //Aircraft
		["Exile_ConcreteMixer", [7371.42, 5318.19, 42.5831], [0, 0.99998, -0.0063944], [0.012415, 0.00639391, 0.999902], true],
		["Exile_ConcreteMixer", [9000.82, 7925.87, 168.994], [0, 1, 0], [0.00195312, 0, 0.999998], true],
		["Exile_ConcreteMixer", [3106.34, 5991.98, 122.227], [0, 1, -0.000488281], [-0.00234171, 0.00048828, 0.999997], true]
		];

		{
			private _vehicle = (_x select 0) createVehicle (_x select 1);
			_vehicle allowDamage false;
			_vehicle setPosWorld (_x select 1);
			_vehicle setVectorDirAndUp [_x select 2, _x select 3];
			_vehicle enableSimulationGlobal (_x select 4);
			_vehicle setVariable ["ExileIsLocked", -1, true];
			
			if (_vehicle isKindOf "Exile_RussianRouletteChair") then
			{
				ExileRouletteChairs pushBack _vehicle;
				ExileRouletteChairPositions pushBack [_x select 1, getDir _vehicle];
			};
		}
forEach _vehicles;

 

Share this post


Link to post
Share on other sites
Advertisement

I don't have a vehicles section in my initServer.sqf file. What I posted was my who file :-|

EDIT: Have added the vehicles section in now and will try it tomorrow :)

Edited by Paul

Share this post


Link to post
Share on other sites

 

On 08/09/2016 at 4:24 AM, BetterDeadThanZed said:

They should be in the "private _vehicles" section of initserver.sqf. For example, here's the initserver.sqf I made for Exile Reborn Esseker:

That's not correct, the initServer.sqf for Namalsk, Tanoa and Altis are all configured differently, you need to match the configuration of the code.
Putting a new vehicles section in could work who knows

Tanoa is "private _vehicles", Altis and Namalsk are both "private _objects"

On top of that, check the actual differences in how the code i layed out.
I'm actually doing this at the moment that's how I've figured it out, I'll probably update you when I finish


 

1 person likes this

Share this post


Link to post
Share on other sites

Here it is for you Paul, I had to do it myself so thought I'd give this to you.
Add this to initServer.sqf
 

	["Exile_Locker", [4997.43,8013.94,0],270,[[-0.999999,0.00127412,0],[0,0,1]], true],
	["Exile_Sign_Locker", [4997.44,8016.0,0],270,[[-0.999949,-0.0100659,0],[0,0,1]], false]


I've placed the lockers on the same building as the Vehicle Traders, in the gap between buildings (shouldnt be hard to find)
 

Share this post


Link to post
Share on other sites

Is  the Namalsk map running okay with Exile version 1.0.1? I'm thinking of putting up a Namalsk server and run around in the snow for awhile. Also, are the Namalsk server files incorporated in the Exile server download now? Meaning no separate downloads. Thanks ...

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.