Update Readme
This commit is contained in:
parent
5528589527
commit
ad29248fae
|
@ -17,7 +17,7 @@ if (isNil "manned") then { manned = false };
|
|||
if (isNil "gridmode" ) then { gridmode = 0 };
|
||||
if (isNil "repeatbuild" ) then { repeatbuild = false };
|
||||
if (isNil "build_rotation" ) then { build_rotation = 0 };
|
||||
if (isNil "build_elevation" ) then { build_elevation = 0 };
|
||||
if (isNil "build_elevation" ) then { build_elevation = 0 };
|
||||
|
||||
waitUntil { sleep 0.2; !isNil "dobuild" };
|
||||
|
||||
|
@ -37,7 +37,7 @@ while { true } do {
|
|||
_price_f = ((build_lists select buildtype) select buildindex) select 3;
|
||||
|
||||
_nearfob = [] call F_getNearestFob;
|
||||
_storage_areas = [_nearfob nearobjects (GRLIB_fob_range * 2), {(_x getVariable ["KP_liberation_storage_type",-1]) == 0}] call BIS_fnc_conditionalSelect;
|
||||
_storage_areas = (_nearfob nearobjects (GRLIB_fob_range * 2)) select {(_x getVariable ["KP_liberation_storage_type",-1]) == 0};
|
||||
|
||||
[_price_s, _price_a, _price_f, _classname, buildtype, _storage_areas] remoteExec ["build_remote_call",2];
|
||||
};
|
||||
|
@ -145,7 +145,7 @@ while { true } do {
|
|||
} foreach GRLIB_preview_spheres;
|
||||
|
||||
_vehicle setdir _actualdir;
|
||||
|
||||
|
||||
_truepos = [_truepos select 0, _truepos select 1, (_truepos select 2) + build_elevation];
|
||||
|
||||
_near_objects = (_truepos nearobjects ["AllVehicles", _dist]) ;
|
||||
|
@ -260,7 +260,7 @@ while { true } do {
|
|||
_price_f = ((build_lists select buildtype) select buildindex) select 3;
|
||||
|
||||
_nearfob = [] call F_getNearestFob;
|
||||
_storage_areas = [_nearfob nearobjects (GRLIB_fob_range * 2), {(_x getVariable ["KP_liberation_storage_type",-1]) == 0}] call BIS_fnc_conditionalSelect;
|
||||
_storage_areas = (_nearfob nearobjects (GRLIB_fob_range * 2)) select {(_x getVariable ["KP_liberation_storage_type",-1]) == 0};
|
||||
|
||||
_supplyCrates = ceil (_price_s / 100);
|
||||
_ammoCrates = ceil (_price_a / 100);
|
||||
|
@ -378,7 +378,7 @@ while { true } do {
|
|||
player removeAction _idactplace;
|
||||
player removeAction _idactraise;
|
||||
player removeAction _idactlower;
|
||||
|
||||
|
||||
if(buildtype == 99) then {
|
||||
_new_fob = getpos player;
|
||||
[_new_fob, false] remoteExec ["build_fob_remote_call",2];
|
||||
|
|
|
@ -34,7 +34,7 @@ localize "STR_BUILD8"
|
|||
];
|
||||
|
||||
_nearfob = [] call F_getNearestFob;
|
||||
_actual_fob = [KP_liberation_fob_resources, {((_x select 0) distance _nearfob) < GRLIB_fob_range}] call BIS_fnc_conditionalSelect;
|
||||
_actual_fob = KP_liberation_fob_resources select {((_x select 0) distance _nearfob) < GRLIB_fob_range};
|
||||
|
||||
while {dialog && alive player && (dobuild == 0 || buildtype == 1)} do {
|
||||
_build_list = build_lists select buildtype;
|
||||
|
@ -49,7 +49,7 @@ while {dialog && alive player && (dobuild == 0 || buildtype == 1)} do {
|
|||
if (buildtype != 8) then {
|
||||
_classnamevar = (_x select 0);
|
||||
_entrytext = getText (_cfg >> _classnamevar >> "displayName");
|
||||
|
||||
|
||||
switch (_classnamevar) do {
|
||||
case FOB_box_typename: {_entrytext = localize "STR_FOBBOX";};
|
||||
case Arsenal_typename: {if (KP_liberation_mobilearsenal) then {_entrytext = localize "STR_ARSENAL_BOX";};};
|
||||
|
@ -138,7 +138,7 @@ while {dialog && alive player && (dobuild == 0 || buildtype == 1)} do {
|
|||
_affordable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
if ( buildtype != 8 ) then {
|
||||
{ if ( ( _build_item select 0 ) == ( _x select 0 ) ) exitWith { _base_link = _x select 1; _linked = true; } } foreach GRLIB_vehicle_to_military_base_links;
|
||||
|
@ -163,7 +163,7 @@ while {dialog && alive player && (dobuild == 0 || buildtype == 1)} do {
|
|||
ctrlSetText [131, format [ "%1 : %2" , localize "STR_MANPOWER", (floor KP_liberation_supplies)]] ;
|
||||
ctrlSetText [132, format [ "%1 : %2" , localize "STR_AMMO", (floor KP_liberation_ammo)]];
|
||||
ctrlSetText [133, format [ "%1 : %2" , localize "STR_FUEL", (floor KP_liberation_fuel)]];
|
||||
|
||||
|
||||
((findDisplay 5501) displayCtrl (134)) ctrlSetStructuredText formatText [
|
||||
"%1/%2 %3 - %4/%5 %6 - %7/%8 %9",
|
||||
unitcap,
|
||||
|
|
|
@ -176,6 +176,8 @@ class Missions
|
|||
* Tweaked: Renamed Huron marker.
|
||||
* Tweaked: If there isn't enough enemy territory left for a secondary mission to start, the player gets a small hint now.
|
||||
* Tweaked: BWMod item classnames in KP_liberation_allowed_items_extension. Thanks to [madpat3](https://github.com/madpat3)
|
||||
* Tweaked: Equalized all Eden attributes of the mission.sqm files.
|
||||
* Tweaked: Replaced deprecated `BIS_fnc_conditionalSelect` function calls with sensible select statements.
|
||||
* Fixed: Annoying popup since A3 1.90 concerning missing entry for `widthRailWay`.
|
||||
* Fixed: Blufor soldier losses weren't counted in statistics.
|
||||
|
||||
|
|
Loading…
Reference in New Issue