BaseType: Difference between revisions

From EXW Docs
Jump to navigation Jump to search
Created BaseType page.
 
 
Line 7: Line 7:
| modelName || String || - || Name of the model for this item.
| modelName || String || - || Name of the model for this item.
|-
|-
| modelLocation || String || - || Location of the Wavefront OBJ file, stemming from "assets/exw/wavefront/<object type>/"
| <s>modelLocation</s> || String || - || Location of the Wavefront OBJ file, stemming from "assets/exw/wavefront/<object type>/"
Deprecated: Use modelName to specify the name of your model file.
Deprecated: Use modelName to specify the name of your model file.
|-
|-
| loadWavefront || Boolean || false || Whether this type should try to load a Wavefront OBJ model from modelLocation.
| <s>loadWavefront</s> || Boolean || false || Whether this type should try to load a Wavefront OBJ model from modelLocation.
Deprecated: Use ModelType to determine which type of model this item has.
Deprecated: Use ModelType to determine which type of model this item has.
|-
|-

Latest revision as of 07:49, 4 June 2026

BaseType

For each type, the table lists each field, type, default value (if applicable), and definition.

Field Type Default Definition
modelName String - Name of the model for this item.
modelLocation String - Location of the Wavefront OBJ file, stemming from "assets/exw/wavefront/<object type>/"

Deprecated: Use modelName to specify the name of your model file.

loadWavefront Boolean false Whether this type should try to load a Wavefront OBJ model from modelLocation.

Deprecated: Use ModelType to determine which type of model this item has.

modelType ModelType ModelType.TOOLBOX Determines which type of model will be loaded.
maxStackSize Integer - The maximum stack size for this item. (If not specified, a default value will be used depending on the type.)
modelSkins SkinType[] - The skins available for this item.
internalName String - The unlocalized name for this item.
displayName String - The display name for this item.
iconName String - The name of the icon for this item.