Skip to content

Commit

Permalink
removing repair fnc from socom veh, displayname marker, disco params
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed Jan 21, 2019
1 parent 149654d commit e52b3ca
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
3 changes: 2 additions & 1 deletion BC_buyables/factions/usa.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class USA {
description = "1 GPS\nNO Thermals\nNO Benches";
price = 10;
stock = 2;
code = "(_this select 0) addItemCargoGlobal ['ACE_NVG_Wide',2];(_this select 0) addItemCargoGlobal ['ItemGPS',1];[(_this select 0)] call ace_fastroping_fnc_equipFRIES;(_this select 0) disableTIEquipment true;";
code = "(_this select 0) addItemCargoGlobal ['ACE_NVG_Wide',2];(_this select 0) addItemCargoGlobal ['ItemGPS',1];(_this select 0) disableTIEquipment true;";
spawnEmpty = 1;
vehicleInit = "[[],[]]";
};
Expand Down Expand Up @@ -99,6 +99,7 @@ class USA {
wheelCargo = 3;
condition = "BC_IS_WOODLAND";
vehicleInit = "[['rhs_woodland',1],['hide_spare',0]]";
code = "(_this select 0) setVariable ['ace_rearm_isSupplyVehicle', false, true]; (_this select 0) setVariable ['ACE_isRepairVehicle', false, true];";
};

class rhsusf_M1078A1R_SOV_M2_D_fmtv_socom: rhsusf_M1078A1R_SOV_M2_WD_fmtv_socom {
Expand Down
2 changes: 1 addition & 1 deletion BC_buymenu/functions/fn_buyComplete.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (!isServer) exitWith {};
// systemChat str "buycomplete";

private _spawnPos = (getPos _startVehicle);
private _roadArray = _spawnPos nearRoads 500;
private _roadArray = _spawnPos nearRoads 750;
private _closestRoads = [_roadArray, [_spawnPos], { _input0 distance _x }, "ASCEND"] call BIS_fnc_sortBy;


Expand Down
4 changes: 1 addition & 3 deletions BC_buymenu/functions/fn_vehicleMarker.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ params ["_vehicle", "_baseConfigName", "_categoryConfigName", "_itemConfigName"]

if (!hasInterface) exitWith {};

_displayName = [(missionConfigFile >> "CfgGradBuymenu" >> _baseConfigName >> _categoryConfigName >> _itemConfigName >> "displayName"), "text", "Vehicle"] call CBA_fnc_getConfigEntry;


private _displayName = getText (configFile >> "CfgVehicles" >> _itemConfigName >> "displayName");

_function = {
params ["_args", "_handle"];
Expand Down
2 changes: 1 addition & 1 deletion initserver.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publicVariable "DEBUG_MODE";


addMissionEventHandler ["HandleDisconnect",{
params ["", "", "", "_name"];
params ["_unit", "_id", "_uid", "_name"];

if (_unit getVariable ["BC_spawnSelector", false] && !OPFOR_TELEPORTED) then {
private _spawnSelector = [east, _unit] call BC_setup_fnc_getHighestRankOfSide;
Expand Down
10 changes: 5 additions & 5 deletions mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ class EditorData
};
class Camera
{
pos[]={1611.7966,9.5712538,5313.6001};
dir[]={-0.47132915,-0.31366354,0.82444853};
up[]={-0.15572304,0.94949061,0.2723898};
aside[]={0.86825103,-2.0944572e-006,0.49636275};
pos[]={1600.5537,33.294987,5276.7852};
dir[]={0.4062908,-0.29414397,0.86525154};
up[]={0.12506503,0.95571905,0.26634428};
aside[]={0.90528005,-2.1953601e-006,-0.42509413};
};
};
binarizationWanted=0;
Expand Down Expand Up @@ -118,7 +118,7 @@ class ScenarioData
};
class CustomAttributes
{
class Category1
class Category0
{
name="Scenario";
class Attribute0
Expand Down

0 comments on commit e52b3ca

Please sign in to comment.