-
Notifications
You must be signed in to change notification settings - Fork 44
[Modding] Creating custom Expansion personal storage objects
Steve edited this page Mar 20, 2023
·
4 revisions
If you plan to add your custom personal storage object for the Expansion Personal Storage system you can find some examples for the needed object configuration as well as the needed script classes for the object here.
Example config.cpp:
class CfgPatches
{
class MyMod_PersonalStorage_Objects
{
units[]={};
weapons[]={};
requiredVersion=0.1;
requiredAddons[]=
{
"DayZExpansion_PersonalStorage_Objects"
};
};
};
class CfgVehicles
{
class ExpansionPersonalStorageBase;
class MY_PERSONAL_STROAGE: ExpansionPersonalStorageBase
{
scope = 1;
model = "\DZ\gear\camping\sea_chest.p3d";
};
};
Script class example for a personal storage object in the 4_World
script module of your mod:
class MY_PERSONAL_STROAGE: ExpansionPersonalStorageBase {};
Copyright© 2020-2023 DayZ Expansion Mod Team. We do not authorize any entity to publish this DayZ Standalone modification without licensing from the DayZ Expansion Mod Team.