Jump to content
tonic-_-

Virtual Ammobox System (VAS)

Recommended Posts

How can I get this working with the single player editor ???

The instructions for making this work can be found within the first post of this thread (post #1 on page #1). There isn't an easier way I can think of to explain it than what Tonic has already written.

Share this post


Link to post
Share on other sites

Hello again, I am making a custom mission at the moment, and I made the gear/uniform load-out via VAS, I have known that it seems to save over each server I play on, I was wondering weather these saves contained a list and script for the class-names, so that I can set this as a default for the unit, in this case its AAF Counter-Terrorism Police...

Thanks, Lachlan.

Share this post


Link to post
Share on other sites
Hello again, I am making a custom mission at the moment, and I made the gear/uniform load-out via VAS, I have known that it seems to save over each server I play on, I was wondering weather these saves contained a list and script for the class-names, so that I can set this as a default for the unit, in this case its AAF Counter-Terrorism Police...

Thanks, Lachlan.

Just add VAS to Dslyecxi's Paper Doll Gear Menu mission. You can then load your kit and save it to clipboard.

See Dslyecxi's Arma 3 "Paper Doll" Gear Selector

Share this post


Link to post
Share on other sites

Found "logic bug", if VAS Stringtable.xml is present it will override Stringtable.csv and thus translations for mission are gone and might/will break the gameplay.

If this happens, use CSV to XML converter and append generated file to the VAS's Stringtable.xml

Edited by aeroson

Share this post


Link to post
Share on other sites
Hello again, I am making a custom mission at the moment, and I made the gear/uniform load-out via VAS, I have known that it seems to save over each server I play on, I was wondering weather these saves contained a list and script for the class-names, so that I can set this as a default for the unit, in this case its AAF Counter-Terrorism Police...

Thanks, Lachlan.

Just add VAS to Dslyecxi's Paper Doll Gear Menu mission. You can then load your kit and save it to clipboard.

See Dslyecxi's Arma 3 "Paper Doll" Gear Selector

Thanks heaps mate, I got the mission done, it can be downloaded here:

http://www.armaholic.com/page.php?id=22121

Thanks, Lachlan.

Edited by Xotodazo

Share this post


Link to post
Share on other sites

How do you restrict specific items?

Nevermind, its in config.sqf for those wondering.

Share this post


Link to post
Share on other sites

With VAS,

Possible to restrict sniper weapons for sniper ? or launcher for explosive rifleman ? or other ?

In another word : Possible to "unshow" or lock in red, tips or other sniper weapons for "no sniper soldier" ? or launcher for explosive rifleman ? or other ?

Other solution ?

Cordially

Share this post


Link to post
Share on other sites

I think not for soldierclasses but in general yes

look in config.sqf

this disables launchers:

vas_r_weapons = ["launch_RPG32_F","launch_NLAW_F","launch_Titan_F","launch_Titan_short_F","launch_B_Titan_F","launch_B_Titan_short_F","launch_I_Titan_F","launch_I_Titan_short_F","launch_O_Titan_F","launch_O_Titan_short_F"];

Share this post


Link to post
Share on other sites

@Tonic

You should clearAllItemsFromBackpack as some backpacks come with predefined items.

You did nice job on separating the uniforom, vest, backpack items i give you that ! \O/

But still you ain't using any work around while adding stuff into uniform or vest, so they just melt together :(

Also glasses won't be added to backpack at all and are added into assignedItems all the time.

Also UAV terminal is not added back to assignedItems.

Iam sorry to appeal on you again :D. But you really should look into loadout set/get functions. I've fixed all this months ago, and new stuff just works with it. As for the API it was and will be the same all the time (that's probably the part i've missed, sorry). Just felt it will be right to ask one more time before full A3 release. ^.^ Thank you

Tested and works

/*
REQUIRES:
getLoadout = compile preprocessFileLineNumbers 'get_loadout.sqf';
setLoadout = compile preprocessFileLineNumbers 'set_loadout.sqf';
*/
#include "macro.sqf"

private["_slot","_loadout"];
if(!isNil {VAS_loadout_ip}) exitWith {};
_slot = if(isNil {_this select 0}) then {lbCurSel VAS_load_list} else {_this select 0};
if(_slot == -1) exitWith {hint "You didn't select a slot to load!";};
if(vas_disableLoadSave) then
{
_loadout = missionNamespace getVariable format["vas_gear_new_%1",_slot];
}
else
{
_loadout = profileNamespace getVariable format["vas_gear_new_%1",_slot];
};

if(isNil {_loadout}) exitWith {}; //Slot data doesn't exist

VAS_loadout_ip = true;

[player,
[
	_loadout select 8, // assigned items

	_loadout select 1, // primary
	_loadout select 9, // primary items

	_loadout select 3, // handgun
	_loadout select 11, // handugn items 

	_loadout select 2, // secondary
	_loadout select 10, // secondary items

	_loadout select 5, // uniform
	_loadout select 12, // uniform items

	_loadout select 6, // vest
	_loadout select 13, // vest items

	_loadout select 7, // backpack
	_loadout select 14, // backpack items

	[_loadout select 4,[],[]] // loaded magazines
]
] call setLoadout;

VAS_loadout_ip = nil;

Replacing VAS_fnc_loadGear doesn't work since its compileFinal.

Edited by aeroson

Share this post


Link to post
Share on other sites

seems that todays dev branche EXE rev. 09399 destroyed your Virtual ammo system.

it doesn't load your primary when u select your loadout nor will it let u pick a primary from the list.

Share this post


Link to post
Share on other sites
seems that todays dev branche EXE rev. 09399 destroyed your Virtual ammo system.

it doesn't load your primary when u select your loadout nor will it let u pick a primary from the list.

read changelog...

Known issue: addWeapon is broken

Share this post


Link to post
Share on other sites

last time I updated the changelog there stood Last edited by DnA; Today at 10:45.

your post Today, 12:49

all times in UTC+0

just wanted to help next time I wont answer your question

Share this post


Link to post
Share on other sites

to anyone that can help. now my problem has probably been answered somewhere in the thread, but i don't have the time to read 52 pages just to find the solution. i am having problems installing vas into a premade mission. i am able to use the gear test as a mission and start from scratch building a mission through the editor, but when i try to add it to an already made mission, i get an error(script vas/open.sqf not found). need help. thanx!!

Share this post


Link to post
Share on other sites

Did you include the whole VAS folder in your mission and properly add in the description.ext section and drag the stringtable.xml to your mission root folder?

Share this post


Link to post
Share on other sites

Once you start with gear test and save it as a different name you'll need to copy and paste all of the other files in the gear test folder. When you save under a new name all it does is generate a new folder with a mission.sqm

You still have to copy and paste everything in the gear test folder (except mission.sqm) and put it in the new folder you just made.

Share this post


Link to post
Share on other sites

well i played around with the folder trying to figure out where i should put it and i think i got it to work . i placed the script folder in the root directory and copied and paste everything in the gear folder to the mission folder except the mission.sqm and it seemed to work. at first i placed the gear folder in the mission folder and just removed the mission.sqm, but that didn't work which was weird. that's when i just copied and paste what was in the folder into the mission folder and it decided to work, go figure!

Share this post


Link to post
Share on other sites

UPDATE: v1.8

Notes:

Glasses can now be saved in uniforms/backpacks/vests (apparently BIS fixed addItem with Goggles) BUT you cannot remove them with the VAS menu, it will throw an error (BIS Please fix removeItem for Goggles).

Change log:

Fixed: Saved loadouts with a laser designator wouldn't load the battery.

Fixed: Saved loadouts wouldn't load UAV Terminals

Fixed: Glasses / Goggles can now be saved in uniforms/vests/backpacks.

Fixed: Some backpacks came with items already in them.

Changed: Updated German translations.

Changed: Initialization method in CfgFunctions changed to postInit to try and fix initialization issues.

Changed: fn_handleItem.sqf adjusted to support all NVG types.

Download:

Virtual Ammobox System (VAS) v1.8

Edited by Tonic-_-

Share this post


Link to post
Share on other sites

Hi,

that's great news! Thank you!

A few days ago I had an issue with VAS 1.6 while JIP to the mission. Everybody else was able to use the virtual ammo box, but it took ages for me to get access to it after JIP. "VAS hasn't finished loading yet". I'll let you know if this issue is occuring again.

Share this post


Link to post
Share on other sites
Guest

Thanks for sending us the newest version :cool:

New version frontpaged on the Armaholic homepage.

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

We have also "connected" these pages to your account on Armaholic.

This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

Tonic thanks for such a great addition to Arma 3, I was wondering if it is possible to make the interface a little larger, it is a little difficult to see certain items with my old man eyes, is this possible? thanks.

Share this post


Link to post
Share on other sites

Thank you for the update Tonic, I appreciate that awesomeness that is VAS :)

Share this post


Link to post
Share on other sites

This may have already been answered, but I've tried reading as much of this thread as I could. Is there any way to force VAS to recheck the config every time a client opens VAS? The reason I ask is that I'm trying to update the list of available items mid-session and I can't seem to get VAS to reconfigure with the new list. I tried setting vas_preload = false; but it doesn't seem to help.

Is this even possible to do right now?

Thanks.

Share this post


Link to post
Share on other sites
This may have already been answered, but I've tried reading as much of this thread as I could. Is there any way to force VAS to recheck the config every time a client opens VAS? The reason I ask is that I'm trying to update the list of available items mid-session and I can't seem to get VAS to reconfigure with the new list. I tried setting vas_preload = false; but it doesn't seem to help.

Is this even possible to do right now?

Thanks.

If vas_preload isn't working then push changes directly to the arrays.

vas_pre_weapons

vas_pre_magazines

vas_pre_items

vas_pre_backpacks

vas_pre_glasses

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

×