-
Notifications
You must be signed in to change notification settings - Fork 27
Content Creator WIKI [EN]
Only the added parameters and settings will be recorded here. The basic version settings that have not been changed will not be explained here.
Common:
- animationType
Parameters: string[
enhanced
]
Example: "animationType": "enhanced"
Set the gun animation type. If you want to use the enhanced animation system, you must set it to enhanced. The default gun does not need write. [old version rendering]
- modifyUnloadBullets
Parameters: int
Example: "modifyUnloadBullets": 0
Modify the number of times to play the unload animation of guns. The default value is 0. It is generally used for shotguns or revolvers. If it is unnecessary, it can not be set. [If set to 1, the number of unload animations decreases by 1]
- allowReloadFiring
Parameters: Boolean[
true
,false
]
Example: "allowReloadFiring": true
Is it allowed to fire when reload?
- allowReloadSprint
Parameters: Boolean[
true
,false
]
Example: "allowReloadSprint": true
Whether players are allowed to sprint when reload?
- allowFiringSprint
Parameters: Boolean[
true
,false
]
Example: "allowFiringSprint": true
Whether players are allowed to fire during the sprint?
- allowAimingSprint
Parameters: Boolean[
true
,false
]
Example: "allowAimingSprint": true
Whether players are allowed to aim during sprint?
- weaponPreReload
You can customize the sound corresponding to the animation stage. Animation: preReload.
- weaponReload
You can customize the sound corresponding to the animation stage. Animation: reloadFirst.
- weaponReloadSecond
You can customize the sound corresponding to the animation stage. Animation: reloadSecond.
- weaponPostReloadEmpty
You can customize the sound corresponding to the animation stage. Animation: postReloadEmpty.
- weaponLoad
You can customize the sound corresponding to the animation stage. Animation: load.
- weaponUnoad
You can customize the sound corresponding to the animation stage. Animation: unload.
- animations
Parameters: string[
default
,draw
,sprint
,aim
,preFire
,fire
,postFire
,modeChange
,preReload
,reloadFirst
,reloadSecond
,postReload
,reloadFirstQuickly
,reloadSecondQuickly
,preLoad
,load
,postLoad
,preUnload
,unload
,postUnload
,inspect
]
Example: Please check the sample guns file in the tutorial pack.
The guns animation available in the current version. For detailed animation description, please refer to the file(Link)
- attachmentGroup
Parameters: string[
barrel
,sight
,grip
,flashlight
,charm
,ammo
,bullet
,stock
]
Example: Please check the sample guns file in the tutorial pack.
The current version is used to control the settings of the whole type of attachment. The following is a detailed description:
Available parameters of
attachmentGroup
:
translate
--Used to control the translate of attachment on the guns,parameters:x
,y
,z
----float
scale
--Used to control the scale of attachment on the guns,parameters:x
,y
,z
----float
rotate
--Used to control the rotate of attachment on the guns,parametersx
,y
,z
----float
hidePart
--Used to control the hidden model part when installing attachments,parameters: [model part]----string
showPart
--Used to control the model part displayed when installing attachments,parameters: [model part]----string
- attachment
Parameters: string[model part]
Example: Please check the sample guns file in the tutorial pack.
The current version is used to control the settings of an attchment separately. The following is a detailed description:
Available parameters for individual attachment:
translate
--Used to control the translate of attachment on the guns,parameters:x
,y
,z
----float
scale
--Used to control the scale of attachment on the guns,parameters:x
,y
,z
----float
rotate
--Used to control the rotate of attachment on the guns,parameters:x
,y
,z
----float
hidePart
--Used to control the hidden model part when installing the attachment,parameters: [model part]----string
showPart
--Used to control the hidden model part when installing the attachment,parameters: [model part]----string
bingding
--Used to control the model part based when installing attachment,parameters: [model part]----string
renderInsideSightModel
--Whether to render the internal model of scope when installing scope,parameters: [true
,false
]----Boolean
renderInsideGunOffset
--Rendering distance of internal guns when aiming with scope,parameters: []----float
sightAimPosOffset
--When using scopes, control the offset of the model,parameters:x
,y
,z
----float
sightAimRotOffset
--When using scopes, control the rotation of the model,parameters:x
,y
,z
----float
multiMagazineTransform
--When using multiple magazine, the offset and rotation settings of each magazine,parameters:translate
,rotate
----string,Subitem parameters:x
,y
,z
----float
- defaultHidePart
Parameters: string[model part]
Example: "defaultHidePart": ["ammoModel_2"],
Directly hide some parts in the model, which is generally used to hide auxiliary parts that do not need to be displayed.
- global
Parameters: string[
globalTranslate
,globalScale
,globalRotate
]
Example: Please check the sample guns file in the tutorial pack.
The following are the sub item settings of the new overall adjustment:
globalTranslate
--Used to control the offset of guns,parameters:x
,y
,z
----float
globalScale
--Used to control the depth scaling of guns. It is better to use the parameters of the tutorial pack. Do not adjust this if you do not know what it is,parameters:x
,y
,z
----float
globalRotate
--Used to control the rotation of guns,parameters:x
,y
,z
----float