Search the Community
Showing results for tags 'randomization'.
Found 5 results
-
Problem with gear and units randomization
Focisz posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
So I am making a small addon for my group that is just a simple config file using assets from other mods from our modline (mainly 4 rhs, 3cb factions and dhi uniforms) I`ve already done 1 faction (USMC early 00s) and everything works as intended. I copied those files to create new faction (rgfc). I changed all required pathings and names of files, however it doesn't seem to be working properly. 1) Problem with randomizer script. 2) Problem with gear.hpp and weapons.hpp -
Help with coding of gear randomization
FoxFort posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hey everyone ! I'm stuck I just can't seem to figure out why my soldiers's head and face gear randomization is not working. I have been following manual here, but I'm missing something, could someone please assist ? https://community.bistudio.com/wiki/Arma_3_Characters_And_Gear_Encoding_Guide#FIA_headgear_and_facewear_randomization No errors are reported, nothing happens to units in eden. Example of code: class spu_Soldier_base: I_Soldier_F { class EventHandlers: EventHandlers { init="if (local (_this select 0)) then {[(_this select 0), [], []] call BIS_fnc_unitHeadgear;};"; }; headgearList[] = { "SPU_PatrolCap_blue", 0.33, "spu_helmet_blk", 0.33, "H_Watchcap_blk", 0.33 }; allowedFacewear[] = { "G_Balaclava_blk", 0,33, "G_Bandanna_blk", 0.33, "G_Shades_Black", 0,33 }; }; class spu_soldier_SL: spu_Soldier_base { author="FoxFort"; scope=2; faction="spu_battalion"; editorSubcategory="spu_men"; displayName="Squad Leader"; nakedUniform="U_BasicBody"; uniformClass="spu_uniform_01"; icon="iconManLeader"; role="Grenadier"; hiddenSelectionsTextures[]= { "\spu_data\Data\spu_uniform_01_co.paa" }; hiddenSelections[]= { "Camo", "insignia" }; weapons[]= { "arifle_TRG21_GL_MRCO_F", "hgun_Rook40_F", "Throw", "Put", "Laserdesignator" }; respawnWeapons[]= { "arifle_TRG21_GL_MRCO_F", "hgun_Rook40_F", "Throw", "Put", "Laserdesignator" }; Items[]= { "FirstAidKit", "FirstAidKit" }; RespawnItems[]= { "FirstAidKit", "FirstAidKit" }; magazines[]= { "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "16Rnd_9x21_Mag", "16Rnd_9x21_Mag", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_SmokeBlue_Grenade_shell", "1Rnd_SmokeOrange_Grenade_shell", "Laserbatteries", "SmokeShell" }; respawnMagazines[]= { "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "16Rnd_9x21_Mag", "16Rnd_9x21_Mag", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_HE_Grenade_shell", "1Rnd_SmokeBlue_Grenade_shell", "1Rnd_SmokeOrange_Grenade_shell", "Laserbatteries", "SmokeShell" }; cost=300000; threat[]={1,0.69999999,0.30000001}; linkedItems[]= { "SPU_PatrolCap_blue", "spu_spcs_black", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS" }; respawnLinkedItems[]= { "SPU_PatrolCap_blue", "spu_spcs_black", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS" }; }; -
i tried to stop the headgear randomization directly on the config file in the cgfvehicles section but i have a error "scope" in that line like the example (obvoiusly i put eventhandlers like external class reference) https://community.bistudio.com/wiki/Arma_3_Characters_And_Gear_Encoding_Guide#Headgear_configuration class O_Soldier_Wdl_pants_f: O_G_Soldier_SL_F { author = "$STR_A3_Bohemia_Interactive"; scope = 2; scopeCurator = 2; // 2 = class is available in Zeus; 0 = class is unavailable in Zeus. scopeArsenal = 0; model = "\A3\Characters_F_EPB\Guerrilla\ig_guerrilla5_1.p3d"; uniformClass = "U_O_Kerry_Uniform_wdl_pants"; hiddenSelections[] = {"Camo","insignia"}; hiddenSelectionsTextures[] = {"\A3\Characters_F_EPB\Guerrilla\Data\ig_guerrilla5_1_co.paa"}; linkedItems[] = {V_PlateCarrierk_nflg, H_MilCap_gry, ItemMap, ItemCompass, ItemWatch, ItemRadio, }; respawnLinkedItems[] = {V_PlateCarrierk_nflg, H_MilCap_gry, ItemMap, ItemCompass, ItemWatch, ItemRadio,}; }; class EventHandlers: EventHandlers {init = "";};
-
texture randomization no longer works on dedicated
dlegion posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
hello, since tanks DLC seems that usual vehicle randomization no longer works on dedicated server! if i run the same mission from editor, it randomize correctly, but on dedicated, it does not! all offroads are red, all hatchbacks are white, all trucks are white ecc... any idea whats wrong and how fix it ? thanks!- 1 reply
-
- dedicated
- randomization
-
(and 1 more)
Tagged with:
-
hello, since tanks DLC seems that usual randomization no longer works on dedicated server! if i run the same mission from editor, it randomize correctly, but on dedicated, it does not! all offroads are red, all hatchbacks are white ecc... any idea whats wrong and how fix it ? thanks!
-
- server
- randomization
-
(and 1 more)
Tagged with: