Arma 3
Ravage
Jason Nov 1, 2018 @ 7:20pm
Custom weapon list not working
Ive been trying to make a custom mission to put out that would revolve around a Fallout like universe and whenever i put in the custon arry of weapons i get a error code and the ai spawns in with no cloths and vannila weapons only. looking for anyone that could help me with this problem.


1=common
2=military
3=rare
4=launchers
1
["bnae_mk1_virtual","bnae_m97_virtual","bnae_mk1_short_virtual”, "bnae_m97_s_virtual","bnae_spr220_virtual”, "bnae_spr220_so_virtual”, "MadArmA_Wrenchgun”, "rhs_weap_Izh18”, "rhs_weap_kar98k”, "rhs_weap_m1garand_sa43”, "rhs_weap_m3a1”, "rhs_weap_m38”, "fow_w_sten_mk2”, “fow_w_sten_mk5”, “fow_w_m1_thompson”,”fow_w_m1903a1”,“RH_ar10”, “RH_sbr9”, “bnae_r1_virtual”, “bnae_saa_c_virtual”, “bnae_saa_virtual”, “MadArmA_Execution”, “rhs_weap_rsp30_red”, “rhs_weap_m1911a1”]
2
["bnae_mk1_t_virtual","bnae_l35_virtual","bnae_m97_camo1_virtual","rhs_weap_M590_8RD”, "rhs_weap_m3a1_specops”, "rhs_weap_m38_rail”, "rhs_weap_savz61”, "rhs_weap_scorpion”, "fow_w_mp40”, "fow_w_type99”, "fow_w_type100”, “RH_ar10”,“RH_m16a1”,“RH_m16a2”, “rhs_weap_rsp30_green”, “rhs_weap_savz61_folded”]
3
["rhs_weap_vhsd2_ct15x”, "rhs_weap_g36c”, "rhs_weap_m82a1”,“RH_m16a4”, “rhs_weap_m24sws”, “rhs_weap_m27iar_grip”, “rhs_weap_m4a1_carryhandle_mstock”, “rhs_weap_ak74”, “rhs_weap_akm”, “rhs_weap_pkm”, “Rusty_srifle_EBR_F”, “rhs_weap_m4a1_carryhandle_m203”, “bnae_falkor_blk_virtual”, “rhs_weap_glock17g4”, “rhs_weap_m9”, “rhs_weap_rsp30_white”]
4
[“MCC_TentA”, “rhs_weap_m72a7”]

Just RHS
4
[“rhs_weap_m72a7”]
3
["rhs_weap_vhsd2_ct15x”, "rhs_weap_g36c”, "rhs_weap_m82a1”, “rhs_weap_m24sws”, “rhs_weap_m27iar_grip”, “rhs_weap_m4a1_carryhandle_mstock”, “rhs_weap_ak74”, “rhs_weap_akm”, “rhs_weap_pkm”, “Rusty_srifle_EBR_F”, “rhs_weap_m4a1_carryhandle_m203”, “rhs_weap_glock17g4”, “rhs_weap_m9”, “rhs_weap_rsp30_white”]
2
["rhs_weap_M590_8RD”, "rhs_weap_m3a1_specops”, “rhs_weap_rsp30_green”, “rhs_weap_savz61_folded”,"rhs_weap_m38_rail”, "rhs_weap_savz61”, "rhs_weap_scorpion”]
1
["rhs_weap_Izh18”, "rhs_weap_kar98k”, "rhs_weap_m1garand_sa43”, “rhs_weap_rsp30_red”, “rhs_weap_m1911a1”,"rhs_weap_m3a1”, "rhs_weap_m38]


PS- if anyone would like to help make this mission mod that would be great. need people to test it as well.
< >
Showing 1-5 of 5 comments
insane Nov 22, 2018 @ 5:30am 
I encountered problems with quotations marks. make sure you have these ones "" and not these ones ““ in your array.
SpeedKiller.txt Nov 24, 2018 @ 2:16am 
Hi ive also been trying to do something with this mod, so first i would try to remove all the spacer's

*["rhs_weap_Izh18”,*this*> <*one*"rhs_weap_kar98k”, ...*

secondary! im not a coder myself but when you look at this code from the gearpool.sqf it almost looks like you can only add 4 custom weapons(or maybe those are the 4 custom weapon categories?)

if (_activated) then { _preset = _logic getVariable ["g_presets_m", 1]; _mil_uniforms = _logic getVariable ["hi_uniforms_m", 15]; _zed_gear = _logic getVariable ["zed_g_preset_m", false]; _rhs = _logic getVariable ["rhs_m", 0]; _cup = _logic getVariable ["cup_m", 0]; _thai = _logic getVariable ["thai_m", 0]; _ifa3 = _logic getVariable ["ifa3_m", 0]; _frith = _logic getVariable ["frith_m", 0]; _stock = _logic getVariable ["stock_m", true]; _customWpn1 = call compile (_logic getVariable "custom_weap1_list_m"); _customWpn2 = call compile (_logic getVariable "custom_weap2_list_m"); _customWpn3 = call compile (_logic getVariable "custom_weap3_list_m"); _customWpn4 = call compile (_logic getVariable "custom_weap4_list_m"); rvg_lv1uniformsChance = _mil_uniforms; if !(_stock) then {rvg_vanillaLimited = true}; if !(count (_customWpn1 + _customWpn2 + _customWpn3 + _customWpn4) isEqualTo 0) then {rvg_customWpnLists = [_customWpn1, _customWpn2, _customWpn3, _customWpn4]}; [[_preset, _zed_gear, _rhs, _cup, _thai, _ifa3, _frith], "\ravage\code\scripts\system\gear\gearPool.sqf"] remoteExec ["execVM", 2]; };
SpeedKiller.txt Nov 24, 2018 @ 2:22am 
i put it in like this

["av_toz34","ARMST_OBREZ_FULL","ARMST_SKS","arifle_av_aksu","ARMST_MP153","av_obrez"]

and it worked
zeeb Nov 28, 2018 @ 3:25pm 
In your code, you are using both " and ”, try using only ".
Jason Nov 28, 2018 @ 6:35pm 
got it to work, it was that
< >
Showing 1-5 of 5 comments
Per page: 1530 50