Jump to content
Sign in to follow this  
tophe

Universal Crate Filler

Recommended Posts

Did anyone ever get this working with this script?

_box addAction ["Save gear layout" call d_fnc_BlueText, "x_client\x_savelayout.sqf"];
_box addAction ["Clear gear layout" call d_fnc_BlueText, "x_client\x_clearlayout.sqf"];

Would be good to get it thanks.

Share this post


Link to post
Share on other sites

FUTURE PLANS

================

Backpacks

ACE support

Scrips is grate and used a lot in MP but mine question is can you deliver on this old promise. I would like to see ACE support of course.

I am using this line and all i see is standard guns and ammo but no ACE stuff.

nul = [this,"all","all",true,30,75,30] execVM "crateFiller.sqf"

But i have seen some videos on google and crates that was using your script for sure and there was ACE weapons and items in it.

Did you already make this? Last version i have find is 2.01.

Share this post


Link to post
Share on other sites

I don't know if Tophe is still working on this, but you can use kylania's suggestion above, or use the ACE "Magic Box":

ACE "Magic Box"

Here you can find list for weapons crate generator:

weapons crate generator

I have looked at Tophe's script, and it would take a bit of tweaking to use properly with ACE. He does have some arrays and scripting in place for ACE, but not complete.

Share this post


Link to post
Share on other sites

I have looked at Tophe's script, and it would take a bit of tweaking to use properly with ACE. He does have some arrays and scripting in place for ACE, but not complete.

I think he left job half done. And it is a time we push him to finish it, coz promise is promise ;). Magic box is not working for me coz i am using

this on MP game and need much more weapons and ammo, bigger number in MBox is 12 and guns 2.

Currently using user Defined Array for some guns but would like to put all ACE guns, ammo and items. And this take time to put in.

I was working all afternoon today and almost have all classnames except ammo and i can post them here if it would help Tophe to finish this script.

This is a little preview, i have made it this way so it is ease to copy and paste or with few deletes to make a big chain just es it is in script.

ACE with ACEX 1.13: Hotfix2
--------------------------------
Rifles_WEST
--------------------------------

"ACE_G36A1_AG36_UP_F",
"ACE_G36A1_AG36A1",
"ACE_G36A1_AG36A1_D",
"ACE_G36A1_AG36A1_D_F",
"ACE_G36A1_AG36A1_D_UP",
"ACE_G36A1_AG36A1_D_UP_F",
"ACE_G36A1_AG36A1_F",
"ACE_G36A1_AG36A1_UP",
"ACE_G36A2",
"ACE_G36A2_AG36A2",
"ACE_G36A2_AG36A2_F",
"ACE_G36A2_AG36A2_UP",
"ACE_G36A2_AG36A2_UP_F",
"ACE_G36A2_Bipod",
"ACE_G36A2_Bipod_D",
"ACE_G36A2_D",
"ACE_G36A2_D_F",
"ACE_G36A2_F",
"ACE_G36K_EOTech",
"ACE_G36K_EOTech_D",
"ACE_G36K_iron",
"ACE_G36K_iron_D",
"ACE_G3A3",
"ACE_G3A3_RSAS",
"ACE_G3A3_RSAS_F",
"ACE_G3SG1",
"ACE_HK416_D10",
"ACE_HK416_D10_AIM",
"ACE_HK416_D10_COMPM3",
"ACE_HK416_D10_COMPM3_SD",
"ACE_HK416_D10_Holo",
"ACE_HK416_D10_M320",
"ACE_HK416_D10_M320_UP",
"ACE_HK416_D10_SD",
"ACE_HK416_D14",
"ACE_HK416_D14_ACOG_PVS14",
"ACE_HK416_D14_COMPM3",
"ACE_HK416_D14_COMPM3_M320",
"ACE_HK416_D14_COMPM3_M320_UP",
"ACE_HK416_D14_SD",
"ACE_HK416_D14_TWS",
"ACE_HK417_Eotech_4x",
"ACE_HK417_leupold",
"ACE_HK417_micro",
"ACE_HK417_Shortdot",
"ACE_KAC_PDW",
"ACE_M1014_Eotech",
"ACE_M14_ACOG",
"ACE_m16a2_scope",
"ACE_m16a2gl_scope",
"ACE_m16a2gl_scope_UP",
"ACE_M16A2GL_UP",
"ACE_M16A4_ACG_GL_UP",
"ACE_M16A4_CCO_GL",
"ACE_M16A4_CCO_GL_UP",
"ACE_M16A4_EOT",
"ACE_M16A4_EOT_GL",
"ACE_M16A4_EOT_GL_UP",
"ACE_M16A4_GL_UP",
"ACE_M16A4_Iron",
"ACE_M27_IAR",
"ACE_M27_IAR_ACOG",
"ACE_M27_IAR_CCO",
"ACE_M3A1",
"ACE_M4",
"ACE_M4_ACOG",
"ACE_M4_ACOG_F",
"ACE_M4_ACOG_PVS14",
"ACE_M4_ACOG_PVS14_F",
"ACE_M4_Aim",
"ACE_M4_Aim_F",
"ACE_M4_AIM_GL",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L",
"ACE_M4A1_RCO2_GL_F",
"ACE_M4A1_RCO2_GL_UP",
"ACE_M4A1_RCO2_GL_UP_F",
"ACE_M4A1_RCO_GL",
"ACE_M4SPR_SD",
"ACE_Minedetector_US",
"ACE_Mk12mod1",
"ACE_Mk12mod1_SD",
"ACE_MP5A4",
"ACE_MP5A5",
"ACE_MP5SD",
"ACE_MP7",
"ACE_MP7_RSAS",
"ACE_SCAR_H_STD_Spect",
"ACE_SOC_M4A1",
"ACE_SOC_M4A1_Aim",
"ACE_SOC_M4A1_AIM_SD",
"ACE_SOC_M4A1_EOT_SD",
"ACE_SOC_M4A1_EOT_SD_F",
"ACE_SOC_M4A1_Eotech",
"ACE_SOC_M4A1_Eotech_4x",
"ACE_SOC_M4A1_Eotech_4x_F",
"ACE_SOC_M4A1_Eotech_F",
"ACE_SOC_M4A1_GL",
"ACE_SOC_M4A1_GL_13",
"ACE_SOC_M4A1_GL_AIMPOINT",
"ACE_SOC_M4A1_GL_EOTECH",
"ACE_SOC_M4A1_GL_SD",
"ACE_SOC_M4A1_GL_SD_F",
"ACE_SOC_M4A1_GL_SD_UP",
"ACE_SOC_M4A1_GL_SD_UP_F",
"ACE_SOC_M4A1_GL_UP",
"ACE_SOC_M4A1_RCO_GL",
"ACE_SOC_M4A1_RCO_GL_F",
"ACE_SOC_M4A1_RCO_GL_UP",
"ACE_SOC_M4A1_RCO_GL_UP_F",
"ACE_SOC_M4A1_SD_9",
"ACE_SOC_M4A1_SHORTDOT",
"ACE_SOC_M4A1_SHORTDOT_F",
"ACE_SOC_M4A1_SHORTDOT_SD",
"ACE_SOC_M4A1_SHORTDOT_SD_F",
"ACE_SOC_M4A1_TWS",
"ACE_SOC_M4A1_TWS_F",
"ACE_SPAS12",
"ACE_UMP45",
"ACE_UMP45_AIM",
"ACE_UMP45_AIM_SD",
"ACE_UMP45_SD",

this is taken from =weap_type&options[custom_type]=Rifle&options[faction]="]http://browser.six-projects.net/cfg_weapons/classlist?utf8=%E2%9C%93&version=60&commit=Change&options[group_by]=weap_type&options[custom_type]=Rifle&options[faction]=

When i finish today i am putting this in user array and hope that will work coz there are hundreds of ACE stuff.

And waiting for Tophe to finish his work.

Edited by Ivan911

Share this post


Link to post
Share on other sites
So Ivan911, did you get it working as intended?

Yas it is working perfectly. :)

But my pc is not working any more. It crashed after i wrote this thread.

http://forums.bistudio.com/showthread.php?138491-Arma2-OA-potentially-malicious

So i writing this on PS3 and pc is waiting for service.

I suspect it was virus or some malicious script. But it was Arma for sure.

Edited by Ivan911

Share this post


Link to post
Share on other sites

Hello, first at all thank you very much for this awesome Script.

I hope you can help me.

I did what you said to put nul = [this] execVM "crateFiller.sqf" at the start of the scrip.I think its seems like this? :

nul = [this] execVM "crateFiller.sqf"

_box = _this select 0;

_side = if (count _this > 1) then {_this select 1} else {"west"};

_game = if (count _this > 2) then {_this select 2} else {"all"};

_refill = if (count _this > 3) then {_this select 3} else {false};

_amountw = if (count _this > 4) then {_this select 4} else {30};

_amountm = if (count _this > 5) then {_this select 5} else {75};

_amounte = if (count _this > 6) then {_this select 6} else {30};..................

It,s OK?

Well if its ok, now where i need to put this file?

I think i need to put this file in Arma 2/Scripts.

And i need to start it with in HxD Editor changeing this code --->private ["_dummy"]; _dummy = [_this,"onload"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf"; For this one --->private ["_dummy"]; _dummy = [_this,"onload"] execVM "\Scripts\crateFiller.sqf";

But in game it saying me that there isnt any script on that direction.

I do the same but with the Ammo pack medium, a old scrip.

Could you help me plesae? i,m new on this with Scripts and i wanted to learn how to do, and i wanna to try to do one, well all your work again to see if it works for me^^

Well... i hope you understand me and what i said, i hope that you help me soon!!!

Well can you add me at skype or send msg at E-mail or here!!

E-mail ---> dimitri12 @ live.ru Skype ---> dimitri3542

Well good bye,thank you very much!

Share this post


Link to post
Share on other sites

I´ve encountered a strange issue.

I am creating a vanilla Mission and I am are about to use your refill script (which is quite awesome by the way, so many thanks for this at this spot).

But I wanted to add some backpacks to your script and grabbed the class names and added therm to the OA Launcher line like this:

// launchers
"javelin","m136","m47launcher_ep1","maaws","stinger","[b]US_Backpack_EP1[/b]","[b]CZ_Backpack_EP1[/b]","[b]US_Assault_Pack_EP1[/b]"];

I´ve got to mention that I rund the complete vanilla Game...complete means ArmA2, ArmA2OA plus baf, pmc and acr.

As soo as I run the Mission it says this:

e8taafv7.jpg

why the heck am I recieving this error although it must be located in the config as it is a vanilla object?

May it be that BIS has changed some class names?

I grabbed the classname form ArmATechs Object Libary http://www.dayzsuperhive.co.uk/object-library.html

even the new classnames, grabbed from the config.cpp are causing this issue

class US_Soldier_B_EP1: US_Soldier_EP1
{
	displayName = "$STR_EP1_DN_US_Soldier_B_EP1";
	backpack = "US_Assault_Pack_Ammo_EP1";
};
class US_Soldier_AMG_EP1: US_Soldier_EP1
{
	displayName = "$STR_EP1_DN_US_Soldier_AMG_EP1";
	backpack = "US_Backpack_AmmoMG_EP1";
};
class US_Soldier_AAR_EP1: US_Soldier_EP1
{
	displayName = "$STR_EP1_DN_US_Soldier_AAR_EP1";
	backpack = "US_Assault_Pack_AmmoSAW_EP1";
};
class US_Soldier_AHAT_EP1: US_Soldier_EP1
{
	displayName = "$STR_EP1_DN_US_Soldier_AHAT_EP1";
	backpack = "US_Backpack_AT_EP1";
};
class US_Soldier_AAT_EP1: US_Soldier_EP1
{
	displayName = "$STR_EP1_DN_US_Soldier_AAT_EP1";
	model = "\ca\characters_e\US\US_at_gunner";
	backpack = "US_Assault_Pack_AT_EP1";

nwihibhf.jpg

any ideas?

thanks in advance

regards

Memphis

Edited by MemphisBelle

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×