Skip to content

Commit

Permalink
Building box (#309)
Browse files Browse the repository at this point in the history
* Buildabls fix/update

* Buildable fix/update

* buildables update/fix

* updated build boxes to fit scale

* updated signs

* updated build box

* removed unused content
  • Loading branch information
UAC-MaxxLite authored Sep 15, 2024
1 parent 91bf0a3 commit ede762d
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 5 deletions.
41 changes: 41 additions & 0 deletions A3A/addons/core/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,45 @@ class CfgVehicles
{
armor = 2000;
};

class NATO_Box_Base;

class A3AU_Build_Box_base: NATO_Box_Base
{
author = AUTHOR;
hiddenSelections[] =
{
"Camo_Signs",
"Camo"
};
hiddenSelectionsTextures[] =
{
QPATHTOFOLDER(Pictures\items\AmmoBox_signs_CA.paa),
QPATHTOFOLDER(Pictures\items\AmmoBox_black_CO.paa)
};
};

class A3AU_Build_Box_Large_1: A3AU_Build_Box_base
{
mapSize = 2.3399999;
class SimpleObject
{
eden = 1;
animate[] = {};
hide[] = {};
verticalOffset = 0.15000001;
verticalOffsetWorld = 0;
init = "''";
};
editorPreview = QPATHTOFOLDER(Pictures\items\A3AU_Build_Box_Large_1.jpg);
_generalMacro = "Box_NATO_WpsLaunch_F";
scope = 2;
displayName = "Build Box (Large)";
model = "\A3\weapons_F\AmmoBoxes\WpnsBox_long_F";
icon = "iconCrateLong";
class TransportMagazines{};
class TransportWeapons{};
class TransportItems{};
class TransportBackpacks{};
};
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions A3A/addons/core/functions/init/fn_initUtilityItems.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ _items append [
[_ammoStation#0, _ammoStation#1, localize "STR_A3AP_buyvehdialog_ammo_station", "rearm", ["cmmdr", "place", "move", "rotate", "save"]],
[_repairStation#0, _repairStation#1, localize "STR_A3AP_buyvehdialog_repair_station", "repair", ["cmmdr", "place", "move", "rotate", "pack", "save"]],
[_lightSource#0, _lightSource#1, localize "STR_A3AP_buyvehdialog_light", "", ["move"]],
["Land_PlasticCase_01_medium_F", 100, "buildboxsmall", "", ["place", "move", "build"]],
["Land_PlasticCase_01_large_F", 500, "buildboxlarge", "", ["place", "move", "build"]],
["Land_PlasticCase_01_medium_black_F", 1000, "buildboxhuge", "", ["place", "move", "build"]],
["Land_PlasticCase_01_large_black_F", 5000, "buildboxgigantic", "", ["place", "move", "build"]]
["Land_PlasticCase_01_small_black_F", 250, "Build Box (Extra Small)", "", ["place", "move", "build"]],
["Land_PlasticCase_01_medium_black_F", 500, "Build Box (Small)", "", ["place", "move", "build"]],
["A3AU_Build_Box_Large_1", 2500, "Build Box (Medium)", "", ["place", "move", "build"]],
["Land_PlasticCase_01_large_black_F", 5000, "Build Box (Large)", "", ["place", "move", "build"]]
// TODO: get larger box from somewhere
];

Expand Down
2 changes: 1 addition & 1 deletion A3A/addons/maps/BuildObjectsList.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#define BUILDABLES_HISTORIC {"Land_Tyres_F", 20}, {"Land_Barricade_01_10m_F", 50}, {"Land_Barricade_01_4m_F", 30}, {"Land_DeerStand_01_F", 100}

#define BUILDABLES_SCIFI {"Land_Cargo_Patrol_V2_F", 450}, {"Land_Cargo_Tower_V2_F", 1000}, {"Land_Cargo_HQ_V2_F", 500}, {"Land_Cargo_House_V2_F", 350}
#define BUILDABLES_SCIFI {"Land_Cargo_Patrol_V2_F", 1000}, {"Land_Cargo_Tower_V2_F", 2000}, {"Land_Cargo_HQ_V2_F", 1500}, {"Land_Cargo_House_V2_F", 500}

//Map Climate Modifiers (What type of terrain is the biggest area of the map)
#define BUILDABLES_ARID {"Land_BagFence_Corner_F", 10}, {"Land_BagFence_End_F", 10}, {"Land_BagFence_Long_F", 30}, {"Land_BagFence_Round_F", 30}, {"Land_BagFence_Short_F", 20}
Expand Down

0 comments on commit ede762d

Please sign in to comment.