goody hut art defines how do they work?

ghost toast

Prince
Joined
Apr 29, 2022
Messages
479
So i'm checking out the goody hut ruins art defines so i can change out the graphics.
the art defines for goody huts are different then others.
they have 10 different .fsxml and .gr2 files associated with it seen here in this code
linking it to the .fsxml and then the .fsxml is of coarse links to the gr2 files

Code:
<LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins6.fxsxml</FXSXML>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins7.fxsxml</FXSXML>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins9.fxsxml</FXSXML>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins4.fxsxml</FXSXML>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins1.fxsxml</FXSXML>
    <LayoutHandler>RANDOM</LayoutHandler>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins8.fxsxml</FXSXML>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins10.fxsxml</FXSXML>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins2.fxsxml</FXSXML>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins3.fxsxml</FXSXML>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>
  <LandmarkArtInfo>
    <Era>Any</Era>
    <State>Any</State>
    <fScale>1.0</fScale>
    <ImprovementType>ART_DEF_IMPROVEMENT_GOODY_HUT</ImprovementType>
    <LayoutHandler>RANDOM</LayoutHandler>
    <FXSXML>Assets/Buildings/Barbarians and Goody Huts/Goody_Huts/Ruins5.fxsxml</FXSXML>
    <ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
    <bTerrainContour>True</bTerrainContour>
  </LandmarkArtInfo>

Does this work with other improvement tiles?
will it randomly choose a gr2 file if an improvement is assign more then 1 or does it use them all?
does it only work with goody huts?
this is quite interesting ill test it out 1 day. i hope its not a dead end lol but might be cool.
 
Last edited:
Top Bottom