Standardizes the Level Assets to just use the regular asset description field for it's description

Updated existing level asset definitions to comply
This commit is contained in:
Areloch 2019-10-05 01:55:52 -05:00
parent 3bc8401947
commit 388b568739
6 changed files with 7 additions and 6 deletions

View file

@ -4,5 +4,5 @@
AssetName="ExampleLevel" AssetName="ExampleLevel"
LevelFile="ExampleLevel.mis" LevelFile="ExampleLevel.mis"
LevelName="Example Level" LevelName="Example Level"
LevelDescription="An example level asset" Description="An example level asset"
VersionId="1" /> VersionId="1" />

View file

@ -4,5 +4,5 @@
AssetName="PbrMatTestLevel" AssetName="PbrMatTestLevel"
LevelFile="PbrMatTest.mis" LevelFile="PbrMatTest.mis"
LevelName="PBR Mat Test" LevelName="PBR Mat Test"
LevelDescription="A scene that demonstrates various PBR materials" Description="A scene that demonstrates various PBR materials"
VersionId="1" /> VersionId="1" />

View file

@ -114,8 +114,9 @@ function AssetBrowser::setupCreateNewAsset(%this, %assetType, %moduleName, %call
else if(%assetType $= "LevelAsset") else if(%assetType $= "LevelAsset")
{ {
NewAssetPropertiesInspector.startGroup("Level"); NewAssetPropertiesInspector.startGroup("Level");
NewAssetPropertiesInspector.addField("levelName", "Level Name", "String", "Human-readable name of new level", "", "", %this.newAssetSettings); NewAssetPropertiesInspector.addField("LevelName", "Level Name", "String", "Human-readable name of new level", "", "", %this.newAssetSettings);
NewAssetPropertiesInspector.addField("levelPreviewImage", "Level Preview Image", "Image", "Preview Image for the level", "", "", %this.newAssetSettings); NewAssetPropertiesInspector.addField("levelPreviewImage", "Level Preview Image", "Image", "Preview Image for the level", "", "", %this.newAssetSettings);
NewAssetPropertiesInspector.endGroup(); NewAssetPropertiesInspector.endGroup();
} }
else if(%assetType $= "ScriptAsset") else if(%assetType $= "ScriptAsset")

View file

@ -4,5 +4,5 @@
AssetName="EmptyLevel" AssetName="EmptyLevel"
LevelName="EmptyLevel" LevelName="EmptyLevel"
LevelFile="EmptyLevel.mis" LevelFile="EmptyLevel.mis"
LevelDescription="An empty room" Description="An empty room"
VersionId="1" /> VersionId="1" />

View file

@ -4,5 +4,5 @@
AssetName="EmptyTerrain" AssetName="EmptyTerrain"
LevelName="Empty Terrain" LevelName="Empty Terrain"
LevelFile="Empty Terrain.mis" LevelFile="Empty Terrain.mis"
LevelDescription="A Empty level with terrain." Description="A Empty level with terrain."
VersionId="1" /> VersionId="1" />

View file

@ -4,5 +4,5 @@
AssetName="Outpost" AssetName="Outpost"
LevelName="Outpost" LevelName="Outpost"
LevelFile="Outpost.mis" LevelFile="Outpost.mis"
LevelDescription="Outpost level" Description="Outpost level"
VersionId="1" /> VersionId="1" />