procedural-world-generator

Generate procedural worlds and dungeons for UrhoX Lua games.

Updated May 16, 2026
One-click install
npx skills add https://github.com/haitao2016/--Skill --skill procedural-world-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: procedural-world-generator
Source: https://github.com/haitao2016/--Skill/tree/main/procedural-world-generator
Command: npx skills add https://github.com/haitao2016/--Skill --skill procedural-world-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires urho-x-lua, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of creating immersive and realistic worlds for UrhoX Lua games, using procedural generation techniques.

Core Features & Use Cases

  • Noise Generation: Offers Perlin/Simplex noise and fractal Brownian motion (FBM) for creating terrain.
  • Dungeon Generation: Automatically generates dungeons using BSP room partitioning and corridor connections.
  • Terrain Generation: Creates 3D terrains with height maps and biome assignments.
  • Object Spreading: Distributes objects/NPCs/items across the terrain following density rules.
  • Seed System: Ensures reproducible and deterministic world generation based on a seed value.
  • Use Case: Generate a diverse world for a game using Perlin noise for terrain, and generate random dungeons for player encounters.

Quick Start

Use the procedural-world-generator skill to generate a new world with a seed of 12345.

Frequently Asked Questions about procedural-world-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate procedural terrain height maps for UrhoX Lua?

Generate procedural terrain height maps for UrhoX Lua using built-in Perlin/Simplex noise and fractal Brownian motion functions. The Skill creates 3D terrains with biome assignments, requiring the UrhoX Lua engine to render the procedural geometry and scenes.

What is the best way to create random dungeons with corridors in Lua?

Create random dungeons in Lua using BSP room partitioning and automated corridor connections. This procedural generation approach partitions space into rooms and links them, providing reproducible results when using a specific seed value.

Can I distribute objects and NPCs across game terrain using procedural generation?

Distribute objects, NPCs, and items across terrain using procedural generation with density rules. The Skill spreads entities based on configurable distribution parameters, ensuring consistent placement tied to the deterministic seed system.

Does procedural world generation require external dependencies besides UrhoX Lua?

Procedural world generation requires no external dependencies besides the UrhoX Lua engine. The Skill operates independently to provide noise functions, dungeon generation, and biome distribution once the UrhoX Lua rendering environment is available.

How do I ensure deterministic world generation results across game sessions?

Ensure deterministic world generation by using the built-in seed system. Specifying a seed value guarantees reproducible terrain height maps, dungeon layouts, and object distribution, producing identical worlds across multiple runs.

What noise functions are available for procedural level design?

Available noise functions for procedural level design include Perlin noise, Simplex noise, and fractal Brownian motion (FBM). These generate natural-looking terrain variations and can be combined to create complex 3D height maps for UrhoX Lua games.