- Messages
- 57
- Country

Hi all,
I been trying to create an animated flag with simobject. However, when trying to complie it, it fails to find my sim.cfg file. The sim.cfg should be placed in the right folder, but the sim just can't find it.
This is the error message:
This is the file structure:
Inside the model folder:
Inside the texture folder:
Content of sim.cfg:
Content of model.cfg:
Content of the XML file:
Content of texture.cfg:
Content of project definition:
Thanks in advance!
I been trying to create an animated flag with simobject. However, when trying to complie it, it fails to find my sim.cfg file. The sim.cfg should be placed in the right folder, but the sim just can't find it.
This is the error message:
This is the file structure:
Inside the model folder:
Inside the texture folder:
Content of sim.cfg:
[fltsim.0]
title=zshc_flag_chinese
model=""
texture=""
[General]
category=StaticObject
DistanceToNotAnimate=2000
[Surface]
IgnoreObjectsCollision=1
Content of model.cfg:
[models]
normal=zshc_flag_chinese.xml
Content of the XML file:
<?xml version="1.0" encoding="utf-8" ?>
<ModelInfo version="1.1" guid="{07f649cb-b8af-405c-5ddb-2c1bcc524b53}">
<LODS>
<LOD MinSize="0" ModelFile="zshc_flag_chinese.gltf"/>
<LODS>
<Animation guid="847adaf3-4b73-4237-9e3b-4d193e85e8e7" name="weave" type="standard" typeParam="Autoplay" />
<Animation guid="60da20ff-a320-44d2-8e51-7abc7cb4e500" name="pole_rotation" length="360" type="Sim" type="standard" typeParam="Autoplay" typeParam2="pole_rotation"/>
<PartInfo>
<name>pole_rotation</name>
<animLength>360</animLength>
<Animation>
<Parameter>
<Code>(A:AMBIENT WIND DIRECTION, Degrees) </code>
</Parameter>
</Animation>
</PartInfo>
</ModelInfo>
Content of texture.cfg:
[fltsim]
fallback.1=..\..\..\..\scenery\global\scenery\TEXTURE
Content of project definition:
<AssetPackage Name="zshc-simobject" Version="0.1.0">
<ItemSettings>
<ContentType>UNKNOWN</ContentType>
<Title>zshc-simobject</Title>
<Manufacturer>Hanzhi Liu</Manufacturer>
<Creator>Hanzhi Liu</Creator>
</ItemSettings>
<Flags>
<VisibleInStore>false</VisibleInStore>
<CanBeReferenced>false</CanBeReferenced>
</Flags>
<AssetGroups>
<AssetGroup Name="ContentInfo">
<Type>ContentInfo</Type>
<Flags>
<FSXCompatibility>false</FSXCompatibility>
</Flags>
<AssetDir>PackageDefinitions\zshc-simobject\ContentInfo\</AssetDir>
<OutputDir>ContentInfo\zshc-simobject\</OutputDir>
</AssetGroup>
<AssetGroup Name="SimObject">
<Type>SimObject</Type>
<Flags>
<FSXCompatibility>false</FSXCompatibility>
</Flags>
<AssetDir>PackageSources\SimObjects\Landmarks\zshc_flag_chinese</AssetDir>
<OutputDir>SimObjects\Landmarks\zshc_flag_chinese</OutputDir>
</AssetGroup>
</AssetGroups>
</AssetPackage>
Thanks in advance!
