Skip to content

Commit

Permalink
updated build boxes to fit scale
Browse files Browse the repository at this point in the history
  • Loading branch information
UAC-MaxxLite committed Aug 31, 2024
1 parent 38fb507 commit 7ddf396
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 4 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 = "\A3\EditorPreviews_F\Data\CfgVehicles\Box_NATO_WpsLaunch_F.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{};
};
};
Binary file not shown.
Binary file not shown.
11 changes: 7 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,13 @@ _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"]],
["A3AU_Storage_Small", 500, "Storage (Small)", "", ["place", "move"]],
["A3AU_Storage_Medium", 1000, "Storage (Medium)", "", ["place", "move"]],
["A3AU_Storage_Large", 2000, "Storage (Large)", "", []]
// TODO: get larger box from somewhere
];

Expand Down

0 comments on commit 7ddf396

Please sign in to comment.