I've used DZGM for a long time, but ever since I added a new bike deployment system I can't right click items added in the extra_rc anymore. I don't remember where I found the bike thingy but the config looks like this:
// **FORMAT** -- (note no comma after last array entry) // // DZE_DEPLOYABLES_CONFIG = [ // [_clickItem,_deployOffset,_packDistance,_damageLimit,_packAny,_cargo,_ammo,_hive,_plot,_simulation,_road,_deployables,_near,_parts,_condition], // [_clickItem,_deployOffset,_packDistance,_damageLimit,_packAny,_cargo,_ammo,_hive,_plot,_simulation,_road,_deployables,_near,_parts,_condition], // [...more stuff here...] // ]; // // parameter | description | type | example // --------------|---------------------------------------------------------------------|--------|-------- // _clickItem | class name of the item to click on | string | "ItemToolbox" // _deployOffset | [_side,_front,_up] array to offset the deployable when buiding | array | [0,2,1] // _packDistance | how close does the packer need to be to pack the object? | number | 5 // _damageLimit | item can't be repacked if damage is > this. (-1 = no re-packing) | number | 0.1 // _packAny | can anyone repack the deployable? | bool | false // _cargo | clear the cargo of the deployable? | bool | false // _ammo | should vehicle ammo be cleared? (does not persist through restart) | bool | true // _hive | write deployable to database? | bool | false // _plot | require a plot from the owner to build the deployable? | bool | false // _simulation | enable simulation (movement/damage) for the object? (true for cars) | bool | true // _road | enable road building for this object? | bool | true // _deployables | array of class names that can be deployed with this method | array | ["MMT_Civ"] // _near | array of items required nearby to build (workshop/fire/fueltank) | array | [] // _parts | array of parts required to build (will be taken from player) | array | ["ItemToolbox"] // _condition | string of code to evaluate to determine whether action is shown | string | "!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"
DZE_DEPLOYABLES_CONFIG = [ // deploy a non-permanent bike from a toolbox right in front of the player that can be re-packed by the owner as long as it's under 50% damage ["ItemToolbox",[0,7,1],5,0.5,false,false,false,false,false,true,true,["MMT_Civ"],[],["ItemToolbox"],"true"] ];
// **DZE_DEPLOYABLE_NAME_MAP format // // DZE_DEPLOYABLE_NAME_MAP = [ // [_class,_name], // [_class,_name], // [... more ...] // ]; // // parameter | description | type | example // --------------|---------------------------------------------------------------------|--------|-------- // _class | class name of the item you want to replace the name of | string | "Notebook" // _name | new name to display when right clicking | string | "Macbook Pro" // DZE_DEPLOYABLE_NAME_MAP = [ ["Notebook","Macbook Pro"] ["MMT_Civ","Bicycle"] ];
Question
bFe
I've used DZGM for a long time, but ever since I added a new bike deployment system I can't right click items added in the extra_rc anymore.
I don't remember where I found the bike thingy but the config looks like this:
Does anyone know how I can fix this?
Link to comment
Share on other sites
17 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now