Jump to content
  • 0

Help with the construction of bridges


frankcadilack

Question

3 answers to this question

Recommended Posts

  • 0

Here is a easy way, this will save you some time.

This is a Killzonekid Script.

//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;

};

You only need to change the 2nd from the bottom line, the line above is the indtructions =)

This is a bridge to Skalisky Island 1.1km long.

 

Go to the editor and place the first part of the bridge down. This will give you location and objectclass. You just have to work out how many repeats it needs.

Check out Sandbirds Epoch simulator for the editor works like magic for this kind of stuff.

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

×
×
  • Create New...