装備をカテゴリ毎に作成可能なCategorized Crate Fillerスクリプトが公開

Arma 3で弾薬箱や車両などにカテゴリを指定して装備を詰められる Categorized Crate Fillerスクリプト がBIフォーラム上で公開されました。

使用方法として、"CrateFiller.sqf"をミッションのフォルダへ配置し、適用させたいものへ下記の構文を記述。

nul = [this] execVM "CrateFiller.sqf";
そして、sqf内でカテゴリを指定します。また作成される確立も指定可能です。

例えば40mmのてき弾、フラグ手榴弾とミニ手榴弾を20個ずつ、更に10個追加される可能性に加え70%の確立で作成させたいならば。

_he_nades = [20,10,70];

CrateFiller.sqf :
//WEAPONS
_B_rifles = [0,0,100];
_B_rifles_black = [0,0,100];
_B_lmg = [0,0,100];
_B_m_rifles = [0,0,100];
_B_pdw = [0,0,100];

_O_rifles = [0,0,100];
_O_lmg = [0,0,100];
_O_m_rifles = [0,0,100];
_O_pdw = [0,0,100];

_I_rifles = [0,0,100];
_I_lmg = [0,0,100];
_I_m_rifles = [0,0,100];
_I_pdw = [0,0,100];

_sp_rifles = [0,0,100];

//AMMO
_ammo = [0,0,100];
_tracer = [0,0,100];
_lmg_ammo = [0,0,100];
_lmg_tracer = [0,0,100];
_m_ammo = [0,0,100];
_sp_ammo = [0,0,100];
_pdw_ammo = [0,0,100];

//LAUNCHERS
_NLAW_launcher = [0,0,100];
_RPG_launcher = [0,0,100];
_Titan_launcher = [0,0,100];
_AA_launcher = [0,0,100];
_launch_ammo = [0,0,100];
_aa_ammo = [0,0,100];

//NADES
_he_nades = [0,0,100];
_3rnd_he_nades = [0,0,100];
_smoke = [0,0,100];
_3rnd_smoke = [0,0,100];
_B_ir_nades = [0,0,100];
_O_ir_nades = [0,0,100];
_I_ir_nades = [0,0,100];

//EXPLOSIVES
_at_mines = [0,0,100];
_ap_mines = [0,0,100];
_exp_charges = [0,0,100];
_satch_charges = [0,0,100];

//ATTACHMENTS
_optics = [0,0,100];
_sp_optics = [0,0,100];
_suprs = [0,0,100];
_attach = [0,0,100];

//OTHER ITEMS
_items = [0,0,100];
_basic_items = [0,0,100];
_kits = [0,0,100];
_firstaid = [0,0,100];
_rngfinder = [0,0,100];
_ldesignator = [0,0,100];
_B_uav_term = [0,0,100];
_O_uav_term = [0,0,100];
_I_uav_term = [0,0,100];

//BACKPACKS
_B_backpack_160 = [0,0,100];
_B_backpack_200 = [0,0,100];
_B_backpack_320 = [0,0,100];

_O_backpack_240 = [0,0,100];
_O_backpack_320 = [0,0,100];

_I_backpack_240 = [0,0,100];
_I_backpack_320 = [0,0,100];

_parachute = [0,0,100];

//HEADGEAR
_B_ech_headgear = [0,0,100];
_B_ech_light_headgear = [0,0,100];
_B_sf_headgear = [0,0,100];
_B_crew_headgear = [0,0,100];
_B_heli_pilot_headgear = [0,0,100];
_B_pilot_headgear = [0,0,100];
_B_cap_headgear = [0,0,100];

_O_protector_headgear = [0,0,100];
_O_crew_headgear = [0,0,100];
_O_heli_pilot_headgear = [0,0,100];
_O_pilot_headgear = [0,0,100];
_O_cap_headgear = [0,0,100];

_I_mich_headgear = [0,0,100];
_I_crew_headgear = [0,0,100];
_I_heli_pilot_headgear = [0,0,100];
_I_pilot_headgear = [0,0,100];
_I_cap_headgear = [0,0,100];

//UNIFORM
_B_uniform = [0,0,100];
_B_tshirt_uniform = [0,0,100];
_B_recon_uniform = [0,0,100];
_B_ghillie_uniform = [0,0,100];
_B_wetsuit_uniform = [0,0,100];
_B_heli_pilot_uniform = [0,0,100];
_B_pilot_uniform = [0,0,100];

_O_uniform = [0,0,100];
_O_ghillie_uniform = [0,0,100];
_O_wetsuit_uniform = [0,0,100];
_O_heli_pilot_uniform = [0,0,100];
_O_pilot_uniform = [0,0,100];

_I_uniform = [0,0,100];
_I_tshirt_uniform = [0,0,100];
_I_ghillie_uniform = [0,0,100];
_I_wetsuit_uniform = [0,0,100];
_I_heli_pilot_uniform = [0,0,100];
_I_pilot_uniform = [0,0,100];

//VESTS
_B_vest_60 = [0,0,100];
_B_vest_100 = [0,0,100];
_B_vest_120 = [0,0,100];

_O_vest_60 = [0,0,100];
_O_vest_100 = [0,0,100];
_O_vest_120 = [0,0,100];

_I_vest_60 = [0,0,100];
_I_vest_100 = [0,0,100];
_I_vest_120 = [0,0,100];  

Categorized Crate Filler Script - BI forum

0 コメント:

コメントを投稿