Jump to content
lecks

ASOR Vehicle Selector

Recommended Posts

heej lecks,

 

for some reason if i use the mod variant it removes some of the vehicles from the selector.. any idea how to fix this ?

 

this is especially soem mods it doesn't show

Share this post


Link to post
Share on other sites

schuurmanst: Are they on the right side (it's side specific in default settings)? Also, there is now a 'variant' option below the actual vehicle where you can choose different variants of each vehicle.. maybe that explains it? If not, any examples?

Share this post


Link to post
Share on other sites

schuurmanst: Are they on the right side (it's side specific in default settings)? Also, there is now a 'variant' option below the actual vehicle where you can choose different variants of each vehicle.. maybe that explains it? If not, any examples?

 

nope it's a specific mod which is not showing,

 

https://forums.bistudio.com/topic/187760-eurofighter-typhoon-aws/page-11

 

that is the modded vehicle

 

also on a sidenote the gear selector from the mods also does not register some basic arma 3 items like the medikit and the uav terminal

Share this post


Link to post
Share on other sites

@schuurmanst: The issue with that vehicle is a flaw in the way the side-specific rules work in ASOR VS. The vehicle selector will only pick the side of the first variant of a vehicle that it comes across.. in the case of that Eurofighter mod it sees it as side = 4 from eaws_ef2000 (not sure what side 4 is). The solution to this for now is to blacklist all the ones that aren't on your side. I'll look at recording the sides for variants as well, but don't have much time at the moment.

 

The problem with the medikit must be that it's blacklisted or you can't fit it for some reason. The following description.ext shows both the medikit and French Eurofighter.

class ASORGS {
  Enabled = 1;
  ConfigName = MyConfig;

  //default config with no blacklist.. shows medikit under Medical.
  class MyConfig {
    SideRestriction = 1;
  };
};
class ASORVS {
  Enabled = 1;
  ConfigName = MyConfig;
  //blacklist vehicles that are confusing the vehicle selector because they're on another side.
  class MyConfig {
    SideRestriction = 1;
    class Blacklist {
      eaws_ef2000 = 1;
      eaws_ef2000_test2 = 1;
      eaws_ef2000_baf_cap = 1;
      eaws_ef2000_baf_cas = 1;
      eaws_ef2000_raf_ss = 1;
      eaws_ef2000_pol_cap = 1;
      eaws_ef2000_pol_cas = 1;
      eaws_ef2000_ita_cap = 1;
      eaws_ef2000_ita_cas = 1;
      eaws_ef2000_ami_ss = 1;
      eaws_ef2000_ger_cap = 1;
      eaws_ef2000_ger_cas = 1;
      eaws_ef2000_ger_ss = 1;
      //eaws_ef2000_fra_cap = 1;
      //eaws_ef2000_fra_cas = 1;
      //eaws_ef2000_fra_ss = 1;
      eaws_ef2000_aus_cap = 1;
      eaws_ef2000_aus_cas = 1;
      eaws_ef2000_bel_cap = 1;
      eaws_ef2000_bel_cas = 1;
      eaws_ef2000_altis_cap = 1;
      eaws_ef2000_altis_cas = 1;
      eaws_ef2000_csat_cap = 1;
      eaws_ef2000_csat_cas = 1;
      eaws_ef2000_csatg_cap = 1;
      eaws_ef2000_csatg_cas = 1;
      eaws_ef2000_generic_cap = 1;
      eaws_ef2000_generic_cas = 1;
    };
  };
};

with this on a sign init:

this addaction ["Gear", {[] spawn ASORGS_fnc_Open}]; 
this addaction ["Planes", {[['planes'],[],"jetspawn"] spawn ASORVS_fnc_Open}];

Share this post


Link to post
Share on other sites

Hi, i use you script, and is very nice, but i have a problem. I used some mods, and the list of vehicles is very big. I have diferents categories, armor, car, etc... but the list is big for each one. Use mouse wheel for scroll is very slow. You can add scroll bar for fast scroll? Thanks.

Share this post


Link to post
Share on other sites

@legolasindar : Are you using the old mission script version, or the newer mod version (alpha) from here?

http://asor.com.au/wpdm-package/asor-gear-selectorvehicle-selector-public-alpha-2/

 

The newer version shortens the list by breaking it up into the main vehicle (based on p3d like the arsenal), and then 'variants'. Unfortunately I haven't released this as a mission script because we have no need for it (easier for us to keep the blacklist up to date if it's in a mod rather than mission).

 

Both versions do have a scroll bar, but maybe it's cut off if your UI is too big (or resolution too small).

 

You could likely fix it in menu.hpp where it has this:

		class vehicleCombo : ASORVS_FullCombo 
		{ 
			idc= 420001;
			y = safezoneY;
			h = ITEM_HEIGHT * 3;
			w=2;
			sizeEx = TEXT_SIZE * 3;
			colorSelectBackground[]={1,1,1,0};
			color[]={0,0,0,0};
			colorActive[]={1,0,0,0};
			colorDisabled[]={1,1,1,0};
			colorSelect[]={1,1,1,1};
			colorText[]={0.7,0.7,0.7,1};
			colorBackground[]={0,0,0,0};
			colorscrollbar[]={1,0,0,0};
			arrowEmpty = "#(rgb,8,8,3)color(0,0,0,0)";
			arrowFull = "#(rgb,8,8,3)color(0,0,0,0)";
			wholeHeight=safezoneH;
			shadow=2;
			x= safezoneX;
		}; 

If you change it to w=1 it should fit (might cut off long vehicle names though).

Share this post


Link to post
Share on other sites

Do ya have any advice sir for changing the height the vehicles spawn at? 

My issues are layed out in this script.

In short, I'm trying to have it so the vehicles can be selected at a ground base (they would spawn at 0 height, i.e. the ground), while the vehicles selected at the aircraft carrier would spawn on the aircraft carrier (that is, at the 200+ meter mark for the USS freedom and above the seabed).

 

I thank you for your time.

Share this post


Link to post
Share on other sites

Its missing some images.... and the vehicle selector opens up into of the text on the left side making it hard to read the first few options. Anyone got a fix?

Share this post


Link to post
Share on other sites

so im trying to get the rhs IFV's to work but they just dont show up in the menu i got the tanks to work but but not them

Share this post


Link to post
Share on other sites

Any chance of getting the autonomous units working?

Share this post


Link to post
Share on other sites
On 7/23/2018 at 8:09 AM, Wulfle said:

Any chance of getting the autonomous units working?

 

Hey,

In my sandbox I edited the source so that it works. (just 1 line of code)

 

Thanks for your great work Lecks. (If you want you can implement that in your code).

 

Link to GitHub page (download)

 

Share this post


Link to post
Share on other sites

Hey bud,

Thanks for your work.:)I Got a missing texture issue though.

 

Cannot load texture asorvs\images\rotate_right.paa.

 

Also ,the link you posted above for the 

On 3/12/2017 at 5:06 PM, lecks said:

@legolasindar : Are you using the old mission script version, or the newer mod version (alpha) from here?

http://asor.com.au/wpdm-package/asor-gear-selectorvehicle-selector-public-alpha-2/

Doesnt seem to do anything but show a magazine being loaded.

 

Also, cant seem to be able to blacklist a specific vehicle using the code below in the config.sqf.

ASORVS_Blacklist = ["B_Heli_Light_01_armed_F"];

Thanks.

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

×