docs(research): TpF3 mod tooling and structure, offline wiki/script-doc copies
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
0213e22d66
39 files changed
+66135
No files matched your search
@@ -0,0 +1,427 @@
|
||||
<!-- Source: https://wiki.transportfever3.com/script-doc/content/base/model_metadata_util.html (fetched 2026-10-04) -->
|
||||
|
||||
[index](../../index.html) / content / base / model\_metadata\_util
|
||||
|
||||
---
|
||||
|
||||
# Module content.base.model\_metadata\_util[🔗](#content.base.model_metadata_util)
|
||||
|
||||
```
|
||||
global record ModelMetadataUtil convertEmissionData: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addEmissionMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addCostMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addTransportVehicleTransportModes: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addFilterTags: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
newLoadSpeedsAndMaintenanceFactor: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
turnRoadAndRailToLandVehicle: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addVehicleExtent: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addTransformatorConfig: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
toCompartmentList: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
replaceMeshIdWithNodeName: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
squeezeConfigsToOneConfigForVehicles: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
sortLods: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addTextureLods: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addTreeReputationFactor: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
makeLoadIndicators: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
makeLoadIndicatorFormats: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
makeCargoEntry: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
makeCargoTypeSet: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
convertCargoType: function(string, string): string
|
||||
convertCargoTypeSet: function({<any type> : <any type>}, string): {<any type> : <any type>}
|
||||
convertCargoTypes: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addIconMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
convertParticleSystem: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
end
|
||||
```
|
||||
|
||||
## Category: globals[🔗](#category-globals)
|
||||
|
||||
### ModelMetadataUtil[🔗](#$content.base.model_metadata_util~ModelMetadataUtil)
|
||||
|
||||
```
|
||||
global record ModelMetadataUtil convertEmissionData: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addEmissionMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addCostMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addTransportVehicleTransportModes: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addFilterTags: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
newLoadSpeedsAndMaintenanceFactor: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
turnRoadAndRailToLandVehicle: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addVehicleExtent: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addTransformatorConfig: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
toCompartmentList: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
replaceMeshIdWithNodeName: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
squeezeConfigsToOneConfigForVehicles: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
sortLods: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addTextureLods: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addTreeReputationFactor: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
makeLoadIndicators: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
makeLoadIndicatorFormats: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
makeCargoEntry: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
makeCargoTypeSet: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
convertCargoType: function(string, string): string
|
||||
convertCargoTypeSet: function({<any type> : <any type>}, string): {<any type> : <any type>}
|
||||
convertCargoTypes: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
addIconMetadata: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
convertParticleSystem: function(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
end
|
||||
```
|
||||
|
||||
### ModelMetadataUtil.convertEmissionData[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.convertEmissionData)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.convertEmissionData(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addEmissionMetadata[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addEmissionMetadata)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addEmissionMetadata(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addCostMetadata[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addCostMetadata)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addCostMetadata(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addTransportVehicleTransportModes[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addTransportVehicleTransportModes)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addTransportVehicleTransportModes(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addFilterTags[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addFilterTags)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addFilterTags(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.newLoadSpeedsAndMaintenanceFactor[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.newLoadSpeedsAndMaintenanceFactor)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.newLoadSpeedsAndMaintenanceFactor(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.turnRoadAndRailToLandVehicle[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.turnRoadAndRailToLandVehicle)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.turnRoadAndRailToLandVehicle(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addVehicleExtent[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addVehicleExtent)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addVehicleExtent(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addTransformatorConfig[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addTransformatorConfig)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addTransformatorConfig(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.toCompartmentList[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.toCompartmentList)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.toCompartmentList(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.replaceMeshIdWithNodeName[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.replaceMeshIdWithNodeName)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.replaceMeshIdWithNodeName(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.squeezeConfigsToOneConfigForVehicles[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.squeezeConfigsToOneConfigForVehicles)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.squeezeConfigsToOneConfigForVehicles(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.sortLods[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.sortLods)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.sortLods(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addTextureLods[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addTextureLods)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addTextureLods(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addTreeReputationFactor[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addTreeReputationFactor)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addTreeReputationFactor(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.makeLoadIndicators[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.makeLoadIndicators)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.makeLoadIndicators(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.makeLoadIndicatorFormats[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.makeLoadIndicatorFormats)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.makeLoadIndicatorFormats(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.makeCargoEntry[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.makeCargoEntry)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.makeCargoEntry(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.makeCargoTypeSet[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.makeCargoTypeSet)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.makeCargoTypeSet(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.convertCargoType[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.convertCargoType)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.convertCargoType(string, string): string
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `string`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `string`
|
||||
|
||||
### ModelMetadataUtil.convertCargoTypeSet[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.convertCargoTypeSet)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.convertCargoTypeSet({<any type> : <any type>}, string): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `{<any type> : <any type>}`
|
||||
* `string`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.convertCargoTypes[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.convertCargoTypes)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.convertCargoTypes(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.addIconMetadata[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.addIconMetadata)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.addIconMetadata(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
|
||||
### ModelMetadataUtil.convertParticleSystem[🔗](#$content.base.model_metadata_util~ModelMetadataUtil.convertParticleSystem)
|
||||
|
||||
```
|
||||
function ModelMetadataUtil.convertParticleSystem(string, {<any type> : <any type>}): {<any type> : <any type>}
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `string`
|
||||
* `{<any type> : <any type>}`
|
||||
|
||||
**Returns**
|
||||
|
||||
1. `{<any type> : <any type>}`
|
||||
Reference in new issue
Block a user