Skip to content

Commit 317eae6

Browse files
committed
mm
1 parent 08536e4 commit 317eae6

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed

co30_Domination.Altis/mission.sqm

0 Bytes
Binary file not shown.

co30_Domination.Altis/revive/fn_no_spectating.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if (!_withresp) then {
4343
};
4444

4545
showCinemaBorder false;
46-
private _nposvis = ASLToATL (visiblePositionASL (vehicle player));
46+
private _nposvis = ASLToAGL (visiblePositionASL (vehicle player));
4747
xr_no_spect_campos = [(_nposvis # 0) - 1 + random 2, (_nposvis # 1) - 1 + random 2, 3];
4848
xr_spectcam = "camera" camCreate xr_no_spect_campos;
4949
xr_spectcamtarget = player;

co30_Domination.Altis/revive/fn_spect_oneframe.sqf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ if ((isNil "_spectdisp" || {!ctrlShown (_spectdisp displayCtrl 1002)}) && {!xr_s
196196
_ret
197197
};
198198
if (isNull _visobj) then {_visobj = player};
199-
private _nposvis = ASLToATL (visiblePositionASL (vehicle _visobj));
199+
private _nposvis = ASLToAGL (visiblePositionASL (vehicle _visobj));
200200
private _campos = [(_nposvis # 0) - 1 + random 2, (_nposvis # 1) - 1 + random 2, 2];
201201
xr_spectcam = "camera" camCreate _campos;
202202
xr_spectcamtarget = _visobj;
@@ -211,7 +211,7 @@ if ((isNil "_spectdisp" || {!ctrlShown (_spectdisp displayCtrl 1002)}) && {!xr_s
211211
"xr_revtxt" cutText ["","BLACK IN", 1];
212212
};
213213
if (isNull xr_spectcamtarget) then { // player disconnect !?!
214-
//private _nposvis = ASLToATL (visiblePositionASL (vehicle player));
214+
//private _nposvis = ASLToAGL (visiblePositionASL (vehicle player));
215215
//private _campos = [(_nposvis # 0) - 1 + random 2, (_nposvis # 1) - 1 + random 2, 2];
216216
xr_spectcamtarget = player;
217217
xr_spectcamtargetstr = getPlayerUID player;
@@ -227,7 +227,7 @@ private _l = ((_bb # 1) # 1) - ((_bb # 0) # 1);
227227
if (isNil "xr_hhx") then {xr_hhx = 2};
228228
xr_hhx = ((((_bb # 1) # 2) - ((_bb # 0) # 2)) * __hstr) + (xr_hhx * (1 - __hstr));
229229

230-
private _vpmtw = ASLToATL (visiblePositionASL (vehicle xr_spectcamtarget));
230+
private _vpmtw = ASLToAGL (visiblePositionASL (vehicle xr_spectcamtarget));
231231
xr_spectcam camSetTarget (_vpmtw vectorAdd [0, 0, xr_hhx * 0.6]);
232232
xr_spectcam camSetFov xr_szoom;
233233

co30_Domination.Altis/revive/fn_spectating.sqf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ _aaa = lbSize _lbctr;
136136
//__TRACE_1("","xr_pl_no_lifes")
137137
showCinemaBorder false;
138138
if (!xr_pl_no_lifes) then {
139-
private _nposvis = ASLToATL (visiblePositionASL (vehicle player));
139+
private _nposvis = ASLToAGL (visiblePositionASL (vehicle player));
140140
xr_spectcam = "camera" camCreate [(_nposvis # 0) - 1 + random 2, (_nposvis # 1) - 1 + random 2, 2];
141141
xr_spectcamtarget = player;
142142
xr_spectcamtargetstr = getPlayerUID player;
@@ -162,7 +162,7 @@ if (!xr_pl_no_lifes) then {
162162
_ret
163163
};
164164
if (isNull _visobj) then {_visobj = player};
165-
private _nposvis = ASLToATL (visiblePositionASL (vehicle _visobj));
165+
private _nposvis = ASLToAGL (visiblePositionASL (vehicle _visobj));
166166
xr_spectcam = "camera" camCreate [(_nposvis # 0) - 1 + random 2, (_nposvis # 1) - 1 + random 2, 2];
167167
xr_spectcamtarget = _visobj;
168168
xr_spectcamtargetstr = getPlayerUID _visobj;

co30_Domination.Altis/revive/fn_targetsslbchange.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (isNil "_unit" || {isNull _unit}) exitWith {};
1717
//__TRACE_1("","_unit")
1818
xr_spectcamtargetstr = _data;
1919
xr_spectcamtarget = _unit;
20-
private _posunit = ASLToATL (visiblePositionASL (vehicle _unit));
20+
private _posunit = ASLToAGL (visiblePositionASL (vehicle _unit));
2121
_posunit set [2, 2];
2222
xr_spectcam camSetTarget xr_spectcamtarget;
2323
xr_spectcam camSetPos _posunit;

co30_Domination.Altis/server/fn_getwreck.sqf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
//#define __DEBUG__
33
#include "..\x_setup.sqf"
44

5-
//params ["_rep_station", "_types"];
65
params ["_rep_station"];
76
__TRACE_1("","_this")
8-
//private _no = nearestObjects [_rep_station, _types, 10, false];
9-
private _no = nearestObjects [_rep_station, ["Air", "Car", "Tank", "Ship"], 10, false];
7+
private _no = nearestObjects [_rep_station, ["Air", "Car", "Tank", "Ship"], 15, false];
108
__TRACE_1("","_no")
119
if (_no isEqualTo []) exitWith {objNull};
1210
if (damage (_no # 0) < 1) exitWith {objNull};

0 commit comments

Comments
 (0)