Fixed Rope Lengths

This commit is contained in:
mrpvtdagger 2021-03-02 15:28:06 -04:00
parent c9c9595914
commit d39998ac14
2 changed files with 14 additions and 7 deletions

View File

@ -15,13 +15,14 @@ _ccargo = [
];
*/
_ccargo = [
];
/* Here you can change blacklisted entities which will be added at the start of a mission. */
_acargo = entities [[], ["Air","Man","Tank","Logic","House"], true];;
// ====================== Don't Touch Anything Below this line ======================
_acargo = entities [[], ["Air","Man","Tank","Logic","Car"], true];; // Maybe Better way of Doing This????
_acargo append _ccargo;
{
_action = [

View File

@ -36,11 +36,17 @@
_rearCorner2 = [(_centerOfMass select 0) - _widthOffset, (_centerOfMass select 1) - _lengthOffset, (_centerOfMass select 2)+_heightOffset];
_frontCorner = [(_centerOfMass select 0) + _widthOffset, (_centerOfMass select 1) + _lengthOffset, (_centerOfMass select 2)+_heightOffset];
_frontCorner2 = [(_centerOfMass select 0) - _widthOffset, (_centerOfMass select 1) + _lengthOffset, (_centerOfMass select 2)+_heightOffset];
_Rope1 = ropeCreate [_nObject, [0,1.1,-2], 5];
_Rope2 = ropeCreate [_nObject, [0,1.1,-2], 5];
_Rope3 = ropeCreate [_nObject, [0,1.1,-2], 5];
_Rope4 = ropeCreate [_nObject, [0,1.1,-2], 5];
_cargodistance = _nObject distance _cargo;
_Rope1length = _lengthOffset + 4.8;
_Rope2length = _lengthOffset + 4.8;
_Rope3length = _lengthOffset + 4.8;
_Rope4length = _lengthOffset + 4.8;
_Rope1 = ropeCreate [_nObject, [0,1.1,-2], _Rope1length];
_Rope2 = ropeCreate [_nObject, [0,1.1,-2], _Rope2length];
_Rope3 = ropeCreate [_nObject, [0,1.1,-2], _Rope3length];
_Rope4 = ropeCreate [_nObject, [0,1.1,-2], _Rope4length];
[_cargo , _rearCorner, [0,0,-1]] ropeAttachTo (_Rope1);
[_cargo , _rearCorner2, [0,0,-1]] ropeAttachTo (_Rope2);