Summary
This is a new version for the Bonz Faction Garage. It's mainly intended for other modders to make their own garage. It contains 2 garage example usable by GM : a basic container and a double helipad.
Description
WIP - NOT REALLY TESTED - USE AT YOUR OWN RISK.
And don't be stupid, test it before you put it on your server.
This is a new version for the Bonz Faction Garage.
It is a component to make simple garages specific to your faction.
It gives other modder better tools to make their own garage based on these components.
You can chose
- The name of the garage (all garages with the same name share the same vehicles.)
- The spawn points for your vehicles when you take them out of the garage.
- You can have multiple spawn points for your garage
AS A GM :
It contains two example prefabs :
- A basic container
- A double helipad
You can find them in the "modded" section as a GM.
Ingame, you cannot modify the garage names or any other parameters. (for the moment ;) )
AS A MODDER OR MISSION MAKERS :
As a modder or a mission maker, you can make your own Bonz Garage entities by adding this on your entity :
- A bonz_FactionGarageComponent.
- And two user actions :
+ bonz_FactionGarageUserActionInput
+ bonz_FactionGarageUserActionOutput
In the bonz_FactionGarageComponent, you can configure :
- The name of the garage - All garages with the same name will share the vehicles.
- The detection radius for selectable vehicle detection.
- The number, names and positions of the spawn points, relative to the entity.
The two user actions will take care of the rest...
Get a look at the two example prefabs to better understand how tuo reuse these elements.
Restrictions/bugs/limitations :
- It seems that all vehicles that are put in the garage have to be Editable.
- The garage does not save the vehicles loadout. It just erases the vehicle when you put it in the garage, and spawns a new one when needed.
- Some vehicles are not saved properly, because the component cannot fond the Resource Name.
- At this time, I HAVE NOT TESTED IT EXTENSIVELY. So you might find some bugs
----------------------------------
Discord for feedback : https://discord.gg/pduQjjzv
Have a nice day.
Hycann - 14e
License
Arma Public License (APL)