Author: code34
Author Website: https://github.com/code34/oo_vitems.vr

Requirements: No addons required

Version: 0.4

Short description: Virtual Items is an OOP Class which allows to manage virtual inventories in ARMA. This system makes it possible to store virtual objects in any of the 3D objects of the game.

Date: 2018-09-11 15:25


Comments: (0)
Rating:



 

OO VItems

by
code34


Description:
I propose a first alpha version of this system, which I will improve if you are interested. This version does not show all the features already present in the library. Virtual Items is an OOP Class which allows to manage virtual inventories in ARMA. This system makes it possible to store virtual objects in any of the 3D objects of the game. In this first demonstration, you will be able to see the contents of 4 x 3D objects deposited in the editor. These virtual objects were created directly via script in the initserver.sqf

Edit : This demo must be test in MP mode.

More informations:
This class creates containers with properties that will contain virtual objects with properties. The containers are attached to the 3D objects of the game. You can easily add many objects that do not require 3D modeling, and all without using mods: keys, cans, screwdrivers etc.

Properties for the containers are:
- size
- the weight

Properties for objects are:
- the price
- size
- the weight
- the owner
- the description
- durability

These properties may evolve which allows to add very elaborate features to the games. Any feedbacks are welcome !


Installation / Usage:
For usage instructions and information of how to use the OO VITEMS please refer to the included documentation and/or example mission.


Media:



Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel


License / Disclaimer:
Under Gpl, you can share, modify, distribute this script but don't remove the licence and the name of the original author


Changelog:
v0.4
Add durability support
Improve use code implementation
Add some use cases

v0.3
- add multiplayer first implementation
- add a first implementation of button to use object
- simplification of objects declaration with array

v0.2
Tune GUI with more features:
add containers capacities /weight informations
add player inventory
add drop / take action and switch beetween inventory

V0.1


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!