Skip to content

Commit

Permalink
Nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeno69 committed Nov 18, 2020
1 parent 3701636 commit ecbd8e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions co30_Domination.Altis/client/fn_buildaddrespoints.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ if !(d_additional_respawn_points_orig isEqualTo []) then {
} else {
private _dadao = missionNamespace getVariable (_x # 1);
_x set [1, getPos _dadao];
_dadao addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_533"], {_this call d_fnc_teleportx}];
_dadao addAction [format ["<t color='#FF0000' size='1.5'>%1</t>", localize "STR_DOM_MISSIONSTRING_533"], {_this call d_fnc_teleportx}];
if (d_ParaAtBase == 0) then {
_dadao setVariable ["d_jf_id", _dadao addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 0]];
_dadao setVariable ["d_jf_id", _dadao addAction [format ["<t color='#D64C30' size='1.2'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 0]];
};
if (count _x > 4 && {_x # 4}) then {
_dadao addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_1816"], {[0, 0, 0, [d_create_bike # 0, 1]] spawn d_fnc_bike}];
Expand All @@ -60,11 +60,11 @@ if !(d_additional_respawn_points_orig isEqualTo []) then {
private _dadao = missionNamespace getVariable (_x # 1);
_x set [1, getPos _dadao];
if (isNil {_dadao getVariable "d_teleidx"}) then {
_dadao setVariable ["d_teleidx", _dadao addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_533"], {_this call d_fnc_teleportx}]];
_dadao setVariable ["d_teleidx", _dadao addAction [format ["<t color='#FF0000' size='1.5'>%1</t>", localize "STR_DOM_MISSIONSTRING_533"], {_this call d_fnc_teleportx}]];
};
if (d_ParaAtBase == 0) then {
if (isNil {_dadao getVariable "d_jf_id"}) then {
_dadao setVariable ["d_jf_id", _dadao addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 0]];
_dadao setVariable ["d_jf_id", _dadao addAction [format ["<t color='#D64C30' size='1.2'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 0]];
};
};
if (count _x > 4 && {_x # 4}) then {
Expand Down
2 changes: 1 addition & 1 deletion co30_Domination.Altis/client/fn_newflagclient.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ private _flag = _this;
player reveal _flag;

if (d_jumpflag_vec == "") then {
_flag setVariable ["d_jf_id", _flag addAction [format ["<t color='#AAD9EF'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 1]];
_flag setVariable ["d_jf_id", _flag addAction [format ["<t color='#D64C30' size='1.2'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 1]];
} else {
_flag setVariable ["d_jf_id", _flag addAction [format ["<t color='#AAD9EF'>%1</t>", format [localize "STR_DOM_MISSIONSTRING_297", [d_jumpflag_vec, "CfgVehicles"] call d_fnc_GetDisplayName]], {_this spawn d_fnc_bike}, [d_jumpflag_vec, 1]]];
};
10 changes: 5 additions & 5 deletions co30_Domination.Altis/client/x_setupplayer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,12 @@ if (d_MissionType != 2) then {
if (d_ParaAtBase == 0) then {
#ifndef __TT__
if (isNil {d_FLAG_BASE getVariable "d_jf_id"}) then {
d_FLAG_BASE setVariable ["d_jf_id", d_FLAG_BASE addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 0]];
d_FLAG_BASE setVariable ["d_jf_id", d_FLAG_BASE addAction [format ["<t color='#D64C30' size='1.2'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 0]];
};
#else
private _base_flag = [d_EFLAG_BASE, d_WFLAG_BASE] select (d_player_side == blufor);
if (isNil {_base_flag getVariable "d_jf_id"}) then {
_base_flag setVariable ["d_jf_id", _base_flag addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 0]];
_base_flag setVariable ["d_jf_id", _base_flag addAction [format ["<t color='#D64C30' size='1.2'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 0]];
};
#endif
};
Expand All @@ -282,7 +282,7 @@ if (d_ParaAtBase == 0) then {
if (d_MissionType != 2) then {
{
if (d_jumpflag_vec == "") then {
_x setVariable ["d_jf_id", _x addAction [format ["<t color='#AAD9EF'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 1]];
_x setVariable ["d_jf_id", _x addAction [format ["<t color='#D64C30' size='1.2'>%1</t>", localize "STR_DOM_MISSIONSTRING_296"], {_this spawn d_fnc_paraj}, 1]];
} else {
_x setVariable ["d_jf_id", _x addAction [format ["<t color='#AAD9EF'>%1</t>", format [localize "STR_DOM_MISSIONSTRING_297", [d_jumpflag_vec, "CfgVehicles"] call d_fnc_GetDisplayName]], {_this spawn d_fnc_bike},[d_jumpflag_vec,1]]];
};
Expand Down Expand Up @@ -559,10 +559,10 @@ if (player getUnitTrait "Medic") then {
d_x_loop_end = false;
if (d_WithMHQTeleport == 0) then {
#ifndef __TT__
d_FLAG_BASE addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_533"], {_this call d_fnc_teleportx}];
d_FLAG_BASE addAction [format ["<t color='#FF0000' size='1.5'>%1</t>", localize "STR_DOM_MISSIONSTRING_533"], {_this call d_fnc_teleportx}];
#else
private _base_flag = [d_EFLAG_BASE, d_WFLAG_BASE] select (d_player_side == blufor);
_base_flag addAction [format ["<t color='#7F7F7F'>%1</t>", localize "STR_DOM_MISSIONSTRING_533"], {_this call d_fnc_teleportx}];
_base_flag addAction [format ["<t color='#FF0000' size='1.5'>%1</t>", localize "STR_DOM_MISSIONSTRING_533"], {_this call d_fnc_teleportx}];
#endif
};

Expand Down

0 comments on commit ecbd8e5

Please sign in to comment.