I've been a fan of BE Warfare since early Arma 2, and have managed to find BE Warfare in Arma 3. However, I would like to make some changes to the Vehicles and Weapons within it, but am unsure of the structure.
Specifically, I am trying to add the Hatchback Sport to buildable vehicles. (C_Hatchback_01_sport_F)
- I started by changing
Benny_Warfare_0_9_0_.Altis\Common\Config\Units\Units_West.sqf
Which looks like this : (Changes in [b] tags)
- Code: Select all
_c = []; //--- Classname
_p = []; //--- Picture. '' = auto generated.
_n = []; //--- Name. '' = auto generated.
_o = []; //--- Price.
_t = []; //--- Build time.
_u = []; //--- Upgrade level needed. 0 1 2 3...
_f = []; //--- Built from Factory.
_s = []; //--- Script
_c = _c + ['B_Quadbike_01_F'];
_p = _p + [''];
_n = _n + [''];
_o = _o + [75];
_t = _t + [10];
_u = _u + [0];
_f = _f + [CTI_FACTORY_LIGHT];
_s = _s + [""];
[b]_c = _c + ['C_Hatchback_01_sport_F'];
_p = _p + [''];
_n = _n + [''];
_o = _o + [400];
_t = _t + [10];
_u = _u + [0];
_f = _f + [CTI_FACTORY_LIGHT];
_s = _s + [""];[/b]
Simple change right? I'm not sure if the classnames are being referenced from somewhere else, therefore it being more complicated then this? But I noticed that "Benny_Warfare_0_9_0_.Altis\Common\Config\Factories\Factory_West" has some namespace declarations : (Changes in [b] tags)
- Code: Select all
//--- Units - Barracks
_u = ["B_soldier_AR_F"];
_u = _u + ["B_Soldier_A_F"];
_u = _u + ["B_soldier_exp_F"];
_u = _u + ["B_Soldier_GL_F"];
_u = _u + ["B_soldier_M_F"];
_u = _u + ["B_medic_F"];
_u = _u + ["B_Soldier_F"];
_u = _u + ["B_soldier_PG_F"];
_u = _u + ["B_engineer_F"];
_u = _u + ["B_sniper_F"];
_u = _u + ["B_soldier_repair_F"];
_u = _u + ["B_soldier_LAT_F"];
_u = _u + ["B_soldier_AA_F"];
_u = _u + ["B_soldier_AT_F"];
_u = _u + ["B_spotter_F"];
_u = _u + ["B_Helipilot_F"];
_u = _u + ["B_crew_F"];
missionNamespace setVariable [format ["CTI_%1_%2Units", _side, CTI_BARRACKS], _u];
_u = ["B_Quadbike_01_F"];
[b]_u = ["C_Hatchback_01_sport_F"];[/b]
_u = _u + ["B_Truck_01_transport_F"];
_u = _u + ["B_MRAP_01_F"];
_u = _u + ["B_MRAP_01_hmg_F"];
_u = _u + ["B_MRAP_01_gmg_F"];
_u = _u + ["B_UGV_01_F"];
_u = _u + ["B_UGV_01_rcws_F"];
missionNamespace setVariable [format ["CTI_%1_%2Units", _side, CTI_LIGHT], _u];
_u = ["B_APC_Wheeled_01_cannon_F"];
_u = _u + ["B_APC_Tracked_01_rcws_F"];
_u = _u + ["B_APC_Tracked_01_AA_F"];
_u = _u + ["B_MBT_01_cannon_F"];
_u = _u + ["B_MBT_01_arty_F"];
_u = _u + ["B_MBT_01_mlrs_F"];
missionNamespace setVariable [format ["CTI_%1_%2Units", _side, CTI_HEAVY], _u];
- Will I be needing to add the Hatchback Sport classname to these? My issue is I don't understand the use of _u.
So as it stands, my issue is that adding the Hatchback Sport to the Units_West as well as Factory_West results in the server freezing at the loading screen. And unless it is the result of something else OTHER then my changes, I have reason to believe it is because of me.
Its also worth noting that when I load the original file onto the server, it loads fine.
On an unrelated note, if you have a bug tracker for the Arma 3 BE, I'd love a link to it. Already my friend and I have played a solid 50 hours since the Arma 3 full release, and will be able to point out a few bugs.
And on that note, thanks so much for reading my issues!
Warfare Forever!
- Jacob