Jump to content

pointsOfInterest Ignored?


Recommended Posts

HI I am designing a worldgen mod and I am having some difficulty in generating points of interest within the starting biome area. 

Firstly can someone tell me are the old points of interest system that are defined within the sub-world yaml file now ignored?

pointsOfInterest:
  ruins_a:
    - poi/Food
  ruins_b:
    - poi/Food

Next, does anyone know how to get the new points of interest system with the worldTemplateRules work with a GuaranteeAll statement in the starting biome

the lines below always fails worldgen see log below

worldTemplateRules:
  - names:
    - poi/Food
    listRule: GuaranteeAll
    priority: 500
    allowedCellsFilter:
     - command: Replace
        tagcommand: DistanceFromTag
        tag: AtStart
        minDistance: 0
        maxDistance: 0

 

 

[21:30:08.359] [26] [WARNING] Could not place poi/Baator_AvernusStart_Food using normal rules, trying relaxed
[21:30:08.360] [26] [ERROR] TemplateSpawning: Guaranteed placement failiure on expansion1::worlds/Baator_dlc_debug
    listRule=GuaranteeAll someCount=0 moreCount=0 count=1
    Could not place templates:
    - poi/Baator_AvernusStart_Food
    world traits=
TemplateSpawning: Guaranteed placement failiure on expansion1::worlds/Baator_dlc_debug
    listRule=GuaranteeAll someCount=0 moreCount=0 count=1
    Could not place templates:
    - poi/Baator_AvernusStart_Food
    world traits=

[21:30:08.361] [26] [WARNING] Worldgen Failure on seed BAATOR-SOS9-981903014-1M3
[21:30:08.365] [26] [INFO] Reporting error.

[21:30:08.365] [26] [INFO] WorldgenFailure
[21:30:08.365] [26] [INFO]   at ProcGenGame.TemplateSpawning.SpawnTemplatesFromTemplateRules (ProcGen.WorldGenSettings settings, System.Collections.Generic.List`1[T] terrainCells, SeededRandom myRandom, System.Collections.Generic.List`1[System.Collections.Generic.KeyValuePair`2[Vector2I,TemplateContainer]]& templateSpawnTargets, System.Collections.Generic.List`1[UnityEngine.RectInt]& placedPOIBounds, System.Boolean isRunningDebugGen, ProcGenGame.WorldGen+OfflineCallbackFunction successCallbackFn) [0x003a1] in <34596b94026340528c5a12b9fac008f1>:0 
  at ProcGenGame.TemplateSpawning.DetermineTemplatesForWorld (ProcGen.WorldGenSettings settings, System.Collections.Generic.List`1[T] terrainCells, SeededRandom myRandom, System.Collections.Generic.List`1[UnityEngine.RectInt]& placedPOIBounds, System.Boolean isRunningDebugGen, ProcGenGame.WorldGen+OfflineCallbackFunction successCallbackFn) [0x00063] in <34596b94026340528c5a12b9fac008f1>:0 
  at ProcGenGame.WorldGen.RenderOffline (System.Boolean doSettle, Sim+Cell[]& cells, Sim+DiseaseCell[]& dc, System.Int32 baseId, System.Boolean isStartingWorld) [0x000c2] in <34596b94026340528c5a12b9fac008f1>:0 
[21:30:08.372] [26] [INFO] Submitting crash:
Unloading 2 Unused Serialized files (Serialized files now loaded: 1)
 

Player.log

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...