[FE] Custom monster lair with custom tile design: Invisible

I have the following problem: I made a custom monster lair with a custom tile design thats supposed to work similar to ogre lair(spawn a resource on destruction). However both the monster lair and the resource it spawns are invisible and unselectable most of the time(the monsters show up). The lair/resource is not selectable but gets a red "!" over it when it becomes part of my territory. I can't build on it (since i can't select it) but the tile design works on an improvement.

What am i missing?

 

 

8,476 views 3 replies
Reply #1 Top

Post your xml.

Reply #2 Top

 

 

 

 

for the lair:

Code: xml
  1. <GoodieHutType InternalName="Lair_MysticPond">
  2. <Name>Mystic Pond</Name>
  3. <Description>The calm waters of this pool are filled with magic which of course brings about water elementals.</Description>
  4. <Rarity>5000</Rarity>
  5. <AutoDestroyWhenNoGuardians>1</AutoDestroyWhenNoGuardians>
  6. <LikelihoodOfTreasureDropWhenAutoDestroyed>100</LikelihoodOfTreasureDropWhenAutoDestroyed>
  7. <MinDistanceFromStartingPoints>4</MinDistanceFromStartingPoints>
  8. <BarredTerrain>River</BarredTerrain>
  9. <BarredTerrain>HillsTerrain</BarredTerrain>
  10. <PreferredTerrain>Category:Land</PreferredTerrain>
  11. <ReleaseGuardiansOnInfluenceHit>1</ReleaseGuardiansOnInfluenceHit>
  12. <SpawnRating>0</SpawnRating>
  13. <TileDesign>RandomizedMonsters_MysticPond</TileDesign>
  14. <DrawnIcon>Lair_AirElemental.png</DrawnIcon>
  15. <OnSelectSFX>Click_Air_Elemental_Lair</OnSelectSFX>
  16. <Medallions InternalName="">
  17. <All>L_Air_Elemental_01.png</All>
  18. </Medallions>
  19. <Treasure>
  20. <Title>Mystic pond</Title>
  21. <Desc>Having driven off the water shrills this pond can now be harvested for mana.</Desc>
  22. <Liklihood>100</Liklihood>
  23. <SFX>Goodie_Dragons_01</SFX>
  24. <GameModifier>
  25. <ModType>Map</ModType>
  26. <Attribute>CreateResourceHoard</Attribute>
  27. <StrVal>Resource_MysticPond</StrVal>
  28. <Value>1</Value>
  29. </GameModifier>
  30. </Treasure>
  31. <Encounter>
  32. <Liklihood>100</Liklihood>
  33. <WillRespawn>0</WillRespawn>
  34. <WanderingRadius>0</WanderingRadius>
  35. <UnitInstance>
  36. <UnitType>WaterShrill</UnitType>
  37. <Level>6</Level>
  38. </UnitInstance>
  39. <UnitInstance>
  40. <UnitType>WaterShrill</UnitType>
  41. <Level>3</Level>
  42. </UnitInstance>
  43. <UnitInstance>
  44. <UnitType>WaterShrill</UnitType>
  45. <Level>2</Level>
  46. </UnitInstance>
  47. <UnitInstance>
  48. <UnitType>WaterShrill</UnitType>
  49. <Level>2</Level>
  50. </UnitInstance>
  51. </Encounter>
  52. <Encounter>
  53. <Liklihood>-1</Liklihood>
  54. <WillRespawn>1</WillRespawn>
  55. <RespawnChance>2</RespawnChance>
  56. <RespawnDelay>50</RespawnDelay>
  57. <WanderingRadius>5</WanderingRadius>
  58. <UnitInstance>
  59. <UnitType>WaterShrill</UnitType>
  60. <Level>2</Level>
  61. </UnitInstance>
  62. <UnitInstance>
  63. <UnitType>WaterShrill</UnitType>
  64. <Level>2</Level>
  65. </UnitInstance>
  66. </Encounter>
  67. </GoodieHutType>

for the resource:

Code: xml
  1. <ResourceType InternalName="Resource_MysticPond">
  2. <DisplayName>Mystic Pond</DisplayName>
  3. <Type>MysticPond</Type>
  4. <Description>This pond can be harvested for mana (requires sorcery tech).</Description>
  5. <LongDescription> </LongDescription>
  6. <BarredTerrain>River</BarredTerrain>
  7. <BarredTerrain>HillsTerrain</BarredTerrain>
  8. <PreferredTerrain>Category:Land</PreferredTerrain>
  9. <NeedsToBeUnlocked>1</NeedsToBeUnlocked>
  10. <HarvestType>Farming</HarvestType>
  11. <Production>1</Production>
  12. <Worth>3</Worth>
  13. <Global>0</Global>
  14. <OnSelectSFX>Click_Fruit_Grove</OnSelectSFX>
  15. <AIData AIPersonality="AI_General">
  16. <AIPriority>6</AIPriority>
  17. <AITag>Food</AITag>
  18. </AIData>
  19. <Medallions InternalName="">
  20. <All>FruitOrchard_Full.png</All>
  21. </Medallions>
  22. <Icon>Resource_FruitGrove.png</Icon>
  23. <IconColor>0,0,0</IconColor>
  24. <ClothIcon>Resource_FruitGrove.png</ClothIcon>
  25. <TileDesign>RandomizedMonsters_MysticPond</TileDesign>
  26. <ModelColor>0,0,0</ModelColor>
  27. <GameModifier>
  28. <ModType>Resource</ModType>
  29. <Attribute>TileYieldEssence</Attribute>
  30. <Value>2.0</Value>
  31. <PerTurn>1</PerTurn>
  32. </GameModifier>
  33. <Rarity>80</Rarity>
  34. </ResourceType>

 

 

 

 

 

 

 

 

 

 

Reply #3 Top

And I'm just going to assume you have a tiledesign named RandomizedMonsters_MysticPond? Then I don't know what's wrong, sorry.