Author: Rydygier
Author Website:

Requirements: No addons required

Version: 1.00

Short description: takes as input a position, dimensions, wall segment class and used algorithm to create procedural maze/labyrinth algorithms.

Date: 2020-06-06 10:59


Comments: (0)
Rating:



 







Confused Minotaur - Procedural Labyrinth Script

by
Rydygier


Description:
Lately had fun with some procedural maze/labyrinth algorithms, let others have fun too!

PLS script takes as input a position, dimensions, wall segment class and used algorithm. Four algorithms implemented:
Randomized Kruskal's: fast, somewhat biased towards short dead ends ("kruskal").
Randomized Prim's: also fast and biased towards short dead ends ("prim").
Wilson's: slow, but unbiased/uniform results ("wilson").
Randomized Pseudo Prim's: Prim's with distinctive bias towards long open diagnonals due to additional conditionnot present in the original algorithm ("pseudoprim").

WIKI article


Installation / Usage:
For usage instructions and information of how to use the Confused Minotaur - Procedural Labyrinth Script please refer to the included documentation and/or example mission.

Initialization:
[(player modelToWorld [0,10,0]),120,120,"Land_PillboxWall_01_6m_round_F","kruskal"] call RYD_LAB_ConfusedMinotaur;
//[Bottom left corner position, x dimension (final dimension will be matched up to wall segment's bounding box real dimension), y dimension (ditto), wall segment class, used algorithm ("kruskal", "prim", "pseudoprim" or "wilson")]


License / Disclaimer:
APL-SA license
https://www.bohemia.net/community/licenses/arma-public-license-share-alike


Changelog:
1.00


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!