Author: Tonic
Author Website: http://www.iamtonic.co/

Requirements: No addons required

Version: 2.6

Short description: This script allows you to add or remove gear as well as shows you your current gear using an easy GUI.
Date: 2014-07-02 08:32
Submitted by: Tonic


Comments: (69)
Rating:



 



Virtual Ammobox System (VAS)

by
Tonic


Description:
This was created for a specific mission to cut back on network lag & ammo box usage and well decided to release for public!
This script allows you to add or remove gear as well as shows you your current gear using an easy GUI.


Usage:
To add this to your mission copy the gear folder from the scripts folder to your mission folder, edit description.ext and put:
#include "VAS\menu.hpp"
class CfgFunctions
{
	#include "VAS\cfgfunctions.hpp"
};
Somewhere in description.ext
This shouldn't conflict with any other dialogs unless you are trying to use this in Wasteland (as the class names for the dialogs are the same as wasteland).
It is best to attach the action to a pre-existing ammo box so place a ammo box on the map via editor and in the initialization field put:
this addAction["<t color='#ff1111'>Virtual Ammobox</t>", "VAS\open.sqf"];
And your done! Just look at the ammo box, scroll and click Virtual Ammobox. The interface is easy to use so have fun!

VASP:
The Virtual Ammobox System Preloader (VASP) is a simple mission / utility for those that are having long load times while using addons such as ACRE. All you need to do is drag the
VAS_Preloader.Stratis.pbo to either your missions directory or MPMissions directory and whenever you are fixing to get into a large Co-Op mission or whatever with ACRE/Other large
addons just play the VAS_Preloader mission first and let it preload information for VAS, once it's completed you will have a hint and you're ready to go. Long load times should
no longer be a problem.

It is a simplistic concept and it's the best work-around that I can provide.

Notes:
v2.5
VAS can now display specific items/weapons/magazines/blah for each ammobox placed and configured. If no vars are detected then VAS acts as normal. A example crate on how to do this is provided with the example mission. Can be applied any number of ways just depends on your scripting knowledge.
The build also doesn't remove attachments by default, that was a configuration slip :P



Author notes:
If you want to help translate VAS into your language take a look at the stringtable.xml and contact me with a translation of the strings and it will be included in the next update of VAS.

Even though VAS is being localized for various other languages it doesn't mean that VAS will show in your language because the game engine currently doesn't enable the use of selecting your language and is English by default. This will fix its self when BIS finishes their own localization (hopefully during beta but probably after release). In the mean time if you want VAS to show in your language then edit the <Original> fields of the stringtable.xml and it will work.

Virtual Ammobox System (VAS) is permitted to be used in any mission so there is no need to ask for my permission. If you are modify VAS and have changes that you feel should be included in the release version then shoot me the changes and i'll take a look.


Known issues:
-


Credits & Thanks:
Kronzky - For his string function library
SaMatra - For help with UI Resources and Russian Translation
Dslyecxi - For his Paper doll giving insight on how to detect item types.
Tyrghen on Armaholic - For giving me the tip about CfgFunctions
naong - For his code tweaks to the Load / Save display.
Coding from armaholic - Translation of VAS from English->German
El nabot from Armaholic - Translation of VAS from English->French
czesiek77 from Armaholic - Translation of VAS from English->Polish
Ficc from BIS Forums - Translation of VAS from English->Portuguese
ramius86 on BIS Forums - Translation of VAS from English->Italian
RabsRincon on Armaholic - Translation of VAS from English->Spanish
Bakarda on BIS/Armaholic - Translation of VAS from English->Czech
MemphisBelle on BIS Forums - Translation Tweaks for German to fit.
Robalo on BIS Forums - Giving code changes to help support new compatibleItems class structure.


License:
Use of Virtual Ammobox System (VAS) in a mission being published on Steam workshop is acceptable. Publishing VAS it's self is not. VAS is a tool / script resouce allowed to be used in missions and is not to be published separately (as is) to Steam Workshop.


Changelog:
v2.6
- Changed: forceAddUniform now added in so you can freely wear any uniform without being 'naked'.
- Changed: TFAR radio patch from Robalo to properly remove TFAR radios from being added.
- Changed: Exit condition for VAS preloading in the config builder.

v2.5
- Added: VAS can now display specific items/weapons/magazines for each ammobox placed (more indept configuration).
- Added: Version number in right side of title bar.
- Added: New Russian localizations.
- Added: Alphabetical sorting.
- Changed: The quick magazines box now checks against the config for restricted / magazines.
- Changed: Default save slots bumped from 10 to 15.
- Changed: VASP now ends when it completes it's preloading process.
- Fixed: Attachments restricted were showing in the quick attachments section.
- Fixed: Error in expression < _this call VAS_fnc_quickAddDrag; > Error Type Script, expected Bool

v2.4
- Added: The new attachment list box checks against the config for restricted attachments.
- Added: French Translations for new prompts & Other localizations added in earlier builds (need more).
- Changed: Listbox scrollbar resources changed (looks slightly different).
- Fixed: Auto-scroll issue with scrollbars (Related to above change).

v2.3
- Added: Ability to add items to specific containers (Drag from Virtual ammobox to the container icon).
- Added: Listbox of compatible attachments.
- Changed: Updated various resources for the new A3 1.10 patch (I think it's 1.10?)
- Fixed: Couldn't remove a weapon that was stored in the backpack.
- Fixed: Missing semicolon (;) error.



Forum topic:
- Armaholic forums
- BI forums




Download from FTP #1:
Virtual Ammobox System (VAS)
Download from FTP #2:
Virtual Ammobox System (VAS)
Download from FTP #3:
Size : 1 MB   Downloaded : 56146 times     Report broken download link



Tags: Gear,   Ammobox