Jump to content

Skalisty Bridge


Tricks

Recommended Posts

Hey guys,

I have been searching and searching for a Skalisty Island bridge I have seen on a couple servers. It's an awesome curved bridge with supports that looks like it's part of the map. It's made in map editior not with buildables. If anyone can link it that would be great, thanks!

Link to comment
Share on other sites

  • 2 months later...

I have this bridge, dont rememmber from where i get it

 

if (isServer) then {

		_bldObj = objNull;
		if (true) then
		
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13718.973, 3368.9934, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir 3.3463643;
		  _bldObj setPos [13718.973, 3368.9934, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13717.181, 3344.4163, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir 5.0739827;
		  _bldObj setPos [13717.181, 3344.4163, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13714.58, 3320.1558, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -172.91692;
		  _bldObj setPos [13714.58, 3320.1558, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13710.959, 3296.1443, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir 9.9466639;
		  _bldObj setPos [13710.959, 3296.1443, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13708.3, 3273.7942, -0.652], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir 20.276444;
		  _bldObj setPos [13708.3, 3273.7942, -0.652];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13535.238, 3876.2686, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -0.89266175;
		  _bldObj setPos [13535.238, 3876.2686, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13535.563, 3852.2295, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setPos [13535.563, 3852.2295, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13536.438, 3828.1692, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -3.9450908;
		  _bldObj setPos [13536.438, 3828.1692, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13539.563, 3804.8772, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -11.258271;
		  _bldObj setPos [13539.563, 3804.8772, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13545.68, 3781.7183, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -18.445009;
		  _bldObj setPos [13545.68, 3781.7183, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13554.436, 3758.9407, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -23.64596;
		  _bldObj setPos [13554.436, 3758.9407, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13565.128, 3737.2363, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -28.878498;
		  _bldObj setPos [13565.128, 3737.2363, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13577.157, 3715.4272, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -29.006411;
		  _bldObj setPos [13577.157, 3715.4272, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13589.325, 3693.7878, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -209.83965;
		  _bldObj setPos [13589.325, 3693.7878, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13601.692, 3672.23, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -29.814951;
		  _bldObj setPos [13601.692, 3672.23, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13614.522, 3651.9612, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -34.625931;
		  _bldObj setPos [13614.522, 3651.9612, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13629.11, 3632.3455, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -38.668156;
		  _bldObj setPos [13629.11, 3632.3455, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13644.771, 3612.9971, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -39.296799;
		  _bldObj setPos [13644.771, 3612.9971, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13660.49, 3593.8728, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -39.518562;
		  _bldObj setPos [13660.49, 3593.8728, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13676.41, 3574.6606, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -39.86631;
		  _bldObj setPos [13676.41, 3574.6606, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13692.482, 3555.677, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -40.694519;
		  _bldObj setPos [13692.482, 3555.677, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13705.514, 3536.6353, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -27.351328;
		  _bldObj setPos [13705.514, 3536.6353, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13714.066, 3514.7532, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -15.730154;
		  _bldObj setPos [13714.066, 3514.7532, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13719.165, 3491.0972, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -8.9279337;
		  _bldObj setPos [13719.165, 3491.0972, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.553, 3467.2986, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir -2.5554588;
		  _bldObj setPos [13721.553, 3467.2986, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.82, 3443.2573, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir 1.2040678;
		  _bldObj setPos [13721.82, 3443.2573, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.238, 3418.2808, 2.0], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir 1.4159043;
		  _bldObj setPos [13721.238, 3418.2808, 2.0];
		  _bldObj setVectorUp [0, 0, 1];
		};

		_bldObj = objNull;
		if (true) then
		{
		  _bldObj = createVehicle ["MAP_bridge_asf1_25", [13720.31, 3393.7627, 2.01], [], 0, "CAN_COLLIDE"];
		  _bldObj setDir 2.904952;
		  _bldObj setPos [13720.31, 3393.7627, 2.01];
		  _bldObj setVectorUp [0, 0, 1];
		};
		
		};

Link to comment
Share on other sites

I have 2 bridges to that island.

//START//

if (isNil "oneTime") then {

oneTime = true;


fnc_bridgeA2 = {
private ["_start","_obj"];
_start = createVehicle [
_this select 2,
_this select 0,
[],
0, "
CAN_COLLIDE"
];
_start setVectorUp [0,0,1];
_start setDir (_this select 1);
_start setPosATL (_this select 0);
for "_i" from 1 to (_this select 3) do {
_obj = createVehicle [
_this select 2,
_this select 0,
[],
0,
"CAN_COLLIDE"
];
_obj attachTo [_start, [
_i*(_this select 4),
_i*(_this select 5),
_i*(_this select 6)
]];
};
};

//END//



//Placement of objects//
//[startingPosition, direction, objectClass, repeats, offsetX, offsetY, offsetZ]


[ [13287.128, 2786.3577, -0.3], 222.15, "Land_nav_pier_m_2", 27, 40, 0, 0 ] call fnc_bridgeA2;

};

code for this one (I have a bit more going on there)

 

008x34t.jpg

 

Other code  - Pm me if your interested =)

RLpxrc7.jpg

 

 

2nd bridge

 

pcMsQcr.jpg

Link to comment
Share on other sites

2nd bridge is nice

Do you have that code?



//START//

if (isNil "oneTime") then { 

oneTime = true; 


fnc_bridgeA3 = { 
	private ["_start","_obj"]; 
	_start = createVehicle [ 
			_this select 2, 
			_this select 0, 
			[], 
			0, "
			CAN_COLLIDE" 
	]; 
	_start setVectorUp [0,0,1]; 
	_start setDir (_this select 1); 
	_start setPosATL (_this select 0); 
	for "_i" from 1 to (_this select 3) do { 
	_obj = createVehicle [ 
			_this select 2, 
			_this select 0, 
			[], 
			0, 
			"CAN_COLLIDE" 
		]; 
		_obj attachTo [_start, [ 
			_i*(_this select 4), 
			_i*(_this select 5), 
			_i*(_this select 6) 
		]]; 
	}; 
};

//END//



//Placement of objects//
//[startingPosition, direction, objectClass, repeats, offsetX, offsetY, offsetZ]

[ [13640.5,3862.64,-1], 105, "Land_nav_pier_m_2", 11, 40, 0, 0 ] call fnc_bridgeA3;

[ [13556,3836,2.5], 192, "Land_Nav_Boathouse_PierT", 11, 3.5, 30.65, 0 ] call fnc_bridgeA3;

[ [13057.858,3764.8315,-3.7], 70, "Land_nav_pier_m_2", 11, 40, 0, 0 ] call fnc_bridgeA3;

[ [12402.359,3503.8438,-4.3], 180, "Land_Nav_Boathouse_PierT", 5, 3.5, 30.65, 0 ] call fnc_bridgeA3;

[ [12333.089,3254.707,-2], -127.72684, "Land_Nav_Boathouse_PierT", 3, 3.5, 30.65, 0 ] call fnc_bridgeA3;

[ [11946.711,3096.6877,-2], -69.292145, "Land_Nav_Boathouse_PierT", 5, 3.5, 30.65, 0 ] call fnc_bridgeA3;

[ [11497.502,3197.7043,-2], -24.819931, "Land_Nav_Boathouse_PierT", 4, 3.5, 30.65, 0 ] call fnc_bridgeA3;

};
Link to comment
Share on other sites

I have 2 bridges to that island.

//START//

if (isNil "oneTime") then {

oneTime = true;


fnc_bridgeA2 = {
private ["_start","_obj"];
_start = createVehicle [
_this select 2,
_this select 0,
[],
0, "
CAN_COLLIDE"
];
_start setVectorUp [0,0,1];
_start setDir (_this select 1);
_start setPosATL (_this select 0);
for "_i" from 1 to (_this select 3) do {
_obj = createVehicle [
_this select 2,
_this select 0,
[],
0,
"CAN_COLLIDE"
];
_obj attachTo [_start, [
_i*(_this select 4),
_i*(_this select 5),
_i*(_this select 6)
]];
};
};

//END//



//Placement of objects//
//[startingPosition, direction, objectClass, repeats, offsetX, offsetY, offsetZ]


[ [13287.128, 2786.3577, -0.3], 222.15, "Land_nav_pier_m_2", 27, 40, 0, 0 ] call fnc_bridgeA2;

};

code for this one (I have a bit more going on there)

 

008x34t.jpg

 

Other code  - Pm me if your interested =)

RLpxrc7.jpg

 

 

2nd bridge

 

pcMsQcr.jpg

 
where to insert this code??
Link to comment
Share on other sites

Just wondering why on some occasions the bridge spawns in after restart all distorted and messed up. Its broken into pieces and are all turned in different directions....?

Does anyone have an answer for this?

I would also like the code for that 2nd bridge.

Link to comment
Share on other sites

 

 
where to insert this code??

 

 

I save it as Skalisty.sqf

I put this in my Mappaddons folder inside the dayz_server.pbo

 

like this

 

q0Ht4lb.jpg

 

 

Then I open server_monitor.sqf that is in this location on my server

C:\Epoch\@DayZ_Epoch_Server\addons\dayz_server\system\server_monitor.sqf

 

then call it like this

call compile preProcessFileLineNumbers "\z\addons\dayz_server\mapaddons\Skalisty.sqf";

here is a pretty to show you =)

 

Ffll7MM.jpg

 

 

@bFe  = Pm me =)

 

I have never seen the bridge messed up when called server side.

I have seen it not being then when it first installed, and might take a couple of resets to show up. This the only issue I have seen.

Link to comment
Share on other sites

  • 3 weeks later...

The 2nd Bridge is from post.

Scipt is this;

if (isServer) then {

        _bldObj = objNull;
        if (true) then
        
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13718.973, 3368.9934, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir 3.3463643;
          _bldObj setPos [13718.973, 3368.9934, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13717.181, 3344.4163, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir 5.0739827;
          _bldObj setPos [13717.181, 3344.4163, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13714.58, 3320.1558, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -172.91692;
          _bldObj setPos [13714.58, 3320.1558, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13710.959, 3296.1443, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir 9.9466639;
          _bldObj setPos [13710.959, 3296.1443, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13708.3, 3273.7942, -0.652], [], 0, "CAN_COLLIDE"];
          _bldObj setDir 20.276444;
          _bldObj setPos [13708.3, 3273.7942, -0.652];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13535.238, 3876.2686, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -0.89266175;
          _bldObj setPos [13535.238, 3876.2686, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13535.563, 3852.2295, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setPos [13535.563, 3852.2295, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13536.438, 3828.1692, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -3.9450908;
          _bldObj setPos [13536.438, 3828.1692, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13539.563, 3804.8772, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -11.258271;
          _bldObj setPos [13539.563, 3804.8772, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13545.68, 3781.7183, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -18.445009;
          _bldObj setPos [13545.68, 3781.7183, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13554.436, 3758.9407, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -23.64596;
          _bldObj setPos [13554.436, 3758.9407, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13565.128, 3737.2363, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -28.878498;
          _bldObj setPos [13565.128, 3737.2363, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13577.157, 3715.4272, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -29.006411;
          _bldObj setPos [13577.157, 3715.4272, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13589.325, 3693.7878, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -209.83965;
          _bldObj setPos [13589.325, 3693.7878, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13601.692, 3672.23, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -29.814951;
          _bldObj setPos [13601.692, 3672.23, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13614.522, 3651.9612, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -34.625931;
          _bldObj setPos [13614.522, 3651.9612, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13629.11, 3632.3455, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -38.668156;
          _bldObj setPos [13629.11, 3632.3455, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13644.771, 3612.9971, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -39.296799;
          _bldObj setPos [13644.771, 3612.9971, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13660.49, 3593.8728, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -39.518562;
          _bldObj setPos [13660.49, 3593.8728, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13676.41, 3574.6606, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -39.86631;
          _bldObj setPos [13676.41, 3574.6606, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13692.482, 3555.677, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -40.694519;
          _bldObj setPos [13692.482, 3555.677, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13705.514, 3536.6353, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -27.351328;
          _bldObj setPos [13705.514, 3536.6353, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13714.066, 3514.7532, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -15.730154;
          _bldObj setPos [13714.066, 3514.7532, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13719.165, 3491.0972, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -8.9279337;
          _bldObj setPos [13719.165, 3491.0972, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.553, 3467.2986, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir -2.5554588;
          _bldObj setPos [13721.553, 3467.2986, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.82, 3443.2573, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir 1.2040678;
          _bldObj setPos [13721.82, 3443.2573, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13721.238, 3418.2808, 2.0], [], 0, "CAN_COLLIDE"];
          _bldObj setDir 1.4159043;
          _bldObj setPos [13721.238, 3418.2808, 2.0];
          _bldObj setVectorUp [0, 0, 1];
        };

        _bldObj = objNull;
        if (true) then
        {
          _bldObj = createVehicle ["MAP_bridge_asf1_25", [13720.31, 3393.7627, 2.01], [], 0, "CAN_COLLIDE"];
          _bldObj setDir 2.904952;
          _bldObj setPos [13720.31, 3393.7627, 2.01];
          _bldObj setVectorUp [0, 0, 1];
        };
        
        };

Its from 'Thug', he made a static mission on the island and the bridge is one of the structures he made for it.

The bridge is pretty awsome although it comes to a sharp end so im using the road aswell!

 

 

2nd bridge is nice

Do you have that code?



//START//

if (isNil "oneTime") then { 

oneTime = true; 


fnc_bridgeA3 = { 
	private ["_start","_obj"]; 
	_start = createVehicle [ 
			_this select 2, 
			_this select 0, 
			[], 
			0, "
			CAN_COLLIDE" 
	]; 
	_start setVectorUp [0,0,1]; 
	_start setDir (_this select 1); 
	_start setPosATL (_this select 0); 
	for "_i" from 1 to (_this select 3) do { 
	_obj = createVehicle [ 
			_this select 2, 
			_this select 0, 
			[], 
			0, 
			"CAN_COLLIDE" 
		]; 
		_obj attachTo [_start, [ 
			_i*(_this select 4), 
			_i*(_this select 5), 
			_i*(_this select 6) 
		]]; 
	}; 
};

//END//



//Placement of objects//
//[startingPosition, direction, objectClass, repeats, offsetX, offsetY, offsetZ]

[ [13640.5,3862.64,-1], 105, "Land_nav_pier_m_2", 11, 40, 0, 0 ] call fnc_bridgeA3;

[ [13556,3836,2.5], 192, "Land_Nav_Boathouse_PierT", 11, 3.5, 30.65, 0 ] call fnc_bridgeA3;

[ [13057.858,3764.8315,-3.7], 70, "Land_nav_pier_m_2", 11, 40, 0, 0 ] call fnc_bridgeA3;

[ [12402.359,3503.8438,-4.3], 180, "Land_Nav_Boathouse_PierT", 5, 3.5, 30.65, 0 ] call fnc_bridgeA3;

[ [12333.089,3254.707,-2], -127.72684, "Land_Nav_Boathouse_PierT", 3, 3.5, 30.65, 0 ] call fnc_bridgeA3;

[ [11946.711,3096.6877,-2], -69.292145, "Land_Nav_Boathouse_PierT", 5, 3.5, 30.65, 0 ] call fnc_bridgeA3;

[ [11497.502,3197.7043,-2], -24.819931, "Land_Nav_Boathouse_PierT", 4, 3.5, 30.65, 0 ] call fnc_bridgeA3;

};

 

 

Yes that second one is very nice, I like curves  :wub:

 

 

 

 
where to insert this code??

 

 

 

Hey Fully :) I'd love your code for the 2nd bridge, looks so much better than the straight repeating bridge.

 

 

Does anyone have an answer for this?
I would also like the code for that 2nd bridge.

 

:)

Link to comment
Share on other sites

  • 3 weeks later...

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
  • Advertisement
  • Discord

×
×
  • Create New...