shun126 / UE5-DungeonGeneratorDemo

Unleash Limitless Dungeon Exploration with Unreal Engine 5's Plugin. Create custom rulesets and generate efficiently for a unique and immersive experience.
https://www.fab.com/ja/listings/11fce4d9-8996-4323-9aac-9cfacbfb95eb
MIT License
30 stars 6 forks source link

Support for DungeonGenerator Plugin version 1.4.4 #4

Closed shun126 closed 1 year ago

shun126 commented 1 year ago

サンプルプログラムをプラグインバージョン1.4.4に対応しました。

インテリアデコレーターの試験的な実装をしています。DungeonInteriorPartsの一部の情報がDungeonInteriorLocationComponentにあった方が使いやすい気がしています。


Sample programs are now compatible with plug-in version 1.4.4.

A trial implementation of the interior decorator has been implemented. I feel it would be easier to use if some of the DungeonInteriorParts information was in the DungeonInteriorLocationComponent.

graph TD;
    DungeonInteriorDatabase[(DungeonInteriorDatabase)]
    DungeonInteriorParts["DungeonInteriorParts
    InteriorTags[ex: major,wall,kitchen]"]
    DungeonInteriorLocationComponent["DungeonInteriorLocationComponent
    InteriorTags[ex: candle]"]

    subgraph Spawned actor
    Actor--o|Find components|DungeonInteriorLocationComponent;
    end

    subgraph Interior decorator system
    DungeonInteriorDecorator--InqueryInteriorTags-->DungeonInteriorDatabase;
    DungeonInteriorDecorator<--Append InqueryInteriorTags-->DungeonRoomSensor;
    DungeonInteriorLocationComponent-->|InqueryInteriorTags|DungeonInteriorDatabase;
    DungeonInteriorDatabase--o|Search interior tags|DungeonInteriorParts;
    DungeonInteriorParts-->|SpawnActor|Actor;
    end