Jump to content
Sign in to follow this  
sbobovyc

Stan's Visual Inventory System

Recommended Posts

Guest

Updated version frontpaged on the Armaholic homepage.

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

You are not registered on Armaholic, or at least not that we are aware of. In the future we offer the possibility to authors to maintain their own pages.

If you wish to be able to do this as well please register on Armaholic and let me know about it.

This is not mandatory at all! Only if you wish to control your own content you are welcome to join, otherwise we will continue to follow your work like we have always done ;)

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

Share this post


Link to post
Share on other sites

New update:

* Added new feature: when inventory is saved, a script is written into the clipboard that should be put in a unit's init field to recreate the inventory

* Fixed condition where global variable SVIS_INVENTORY did not exist

* Added buttons for clearing equipment

* Added ListScrollBar definition to RscListNBox, fixes warning introduced by 1.10 patch

* loadInventory call by AddAction handled differently than if it is called from code

* Respawn handler now requires player as a parameter to loadInventory

* Example mission has a US soldier that uses the init line to initialize equipment

Get the latest version here: https://github.com/sbobovyc/ARMA/archive/master.zip

Share this post


Link to post
Share on other sites

Really like this. Will be testing and giving feedback soon.

Share this post


Link to post
Share on other sites
Guest

Updated version frontpaged on the Armaholic homepage.

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

You are not registered on Armaholic, or at least not that we are aware of. In the future we offer the possibility to authors to maintain their own pages.

If you wish to be able to do this as well please register on Armaholic and let me know about it.

This is not mandatory at all! Only if you wish to control your own content you are welcome to join, otherwise we will continue to follow your work like we have always done ;)

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

Share this post


Link to post
Share on other sites

I'm sorry but a bit confused. When i save the gear the clipboard format isn't usable unless its in your mission. Can this be made so it can be copied into other missions?

For example i would expect to see the normal BIS commands like: _unit addvest "X";

_unit addbackpack "X";

_unit addheadgear "X";

_unit addGoggles "X";

_unit adduniform "X";

Instead of:

loadInventory = compile preprocessFileLineNumbers "InventorySystem\loadInventory.sqf";

SVIS_INVENTORY = [];

SVIS_INVENTORY set[0, ""];

SVIS_INVENTORY set[1, ""];

SVIS_INVENTORY set[2, "U_CAF_AG_ME_robes_03"];

SVIS_INVENTORY set[3, ["30Rnd_9x21_Mag"]]; etc...

Unless i am doing something wrong?

Share this post


Link to post
Share on other sites
I'm sorry but a bit confused. When i save the gear the clipboard format isn't usable unless its in your mission. Can this be made so it can be copied into other missions?

For example i would expect to see the normal BIS commands like: _unit addvest "X";

_unit addbackpack "X";

_unit addheadgear "X";

_unit addGoggles "X";

_unit adduniform "X";

Instead of:

loadInventory = compile preprocessFileLineNumbers "InventorySystem\loadInventory.sqf";

SVIS_INVENTORY = [];

SVIS_INVENTORY set[0, ""];

SVIS_INVENTORY set[1, ""];

SVIS_INVENTORY set[2, "U_CAF_AG_ME_robes_03"];

SVIS_INVENTORY set[3, ["30Rnd_9x21_Mag"]]; etc...

Unless i am doing something wrong?

Just copy the whole InventorySystem directory to where your mission is. My code in the clipboard marshals parameters into an array and then calls the loadInventory function.

Share this post


Link to post
Share on other sites

It works...Although i seem to be having an issue with NVG's but i'll play more with this. Please keep updating if you have any other todo's as this is great! 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
Sign in to follow this  

×