Replies: 2 comments 1 reply
-
|
Hey @zzz-creator, I was thinking, if you could have a look at this. I was thinking we could upgrade from AI generated terrains to a full procedural generation, as we can't rely on AI to generate full map descriptions using json only after the changes proposed in the other discussion. Let me know what you think about it! |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@zzz-creator I will start working on the procedural generation on my fork, and once I am done, I will merge it with the main branch, for now, I will start with only the generation of the urban environment. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
Currently, battlefield maps are generated by providing a large prompt to an AI model and having the model return terrain and scenario information. While this approach has been useful during early development, it becomes increasingly difficult to scale as the simulation grows in complexity.
As the project moves toward continuous simulation, realistic terrain interaction, logistics systems, fog-of-war, communication delays, unit composition modeling, and multi-domain combat, map generation should transition from AI-generated outputs to a deterministic procedural generation system.
The goal of this discussion is to evaluate replacing AI-driven map generation with a seed-based procedural world generation pipeline.
Current Limitations
The current approach has several drawbacks:
Non-Deterministic Generation
The same prompt can produce different results, making scenarios difficult to reproduce consistently.
Scalability Challenges
As terrain complexity increases, prompts become larger and more difficult to maintain.
Future additions such as:
will significantly increase prompt complexity.
Difficult Debugging
When issues occur, reproducing a specific map can be difficult because the generation process depends on AI outputs rather than deterministic rules.
Performance and Cost
Generating maps through AI introduces additional latency and computational cost that grows with scenario complexity.
Lack of Structured World Data
The current system primarily generates visual terrain and spawn locations. Future simulation systems require structured environmental information such as:
These systems are difficult to generate reliably through prompts alone.
Proposed Direction
Replace AI-generated map layouts with a deterministic procedural generation pipeline.
Example:
Given the same seed, the exact same battlefield should always be generated.
Deterministic 32-Bit Seed System
All world generation will be driven by a deterministic 32-bit seed value.
Requirements
Every generated battlefield must be reproducible from its seed.
The same seed must always generate:
Seed Range
(Unsigned 32-bit integer)
This provides over 4.29 billion possible battlefield configurations while maintaining deterministic generation.
Seed-Driven World Generation
The seed acts as the single source of truth for all procedural generation systems.
Example:
Generation pipeline:
Every subsystem derives its randomness from the same seed, ensuring that the generated battlefield is identical across multiple generations.
Deterministic Generation Guarantee
The procedural generation system must satisfy the following rule:
This guarantee applies to:
This enables:
Seed Bit Utilization
All major world characteristics should ultimately be derived from the 32-bit seed.
Examples include:
The objective is to ensure that changing the seed produces a meaningfully different battlefield while preserving deterministic reproduction.
Procedural Terrain Generation
Terrain generation should be based on predefined algorithms and procedural rules rather than AI-generated descriptions.
Potential terrain types include:
Each terrain type should provide simulation-relevant metadata such as:
This allows terrain to influence simulation behavior rather than existing solely as visual content.
Semantic Terrain Layer
Generated terrain should contain both visual and simulation information.
Each generated region may contain:
This creates a direct link between world generation and simulation behavior.
Urban Environment Generation
Instead of manually creating urban areas, cities and settlements should be generated using procedural rules.
Examples:
Initially, urban areas may only require simulation metadata rather than highly detailed visual assets.
Simulation-relevant properties include:
Water and Maritime Environment Generation
The current map generation focuses exclusively on land terrain.
Future procedural generation should support:
This provides a foundation for:
Strategic Infrastructure Generation
Beyond terrain, the generator should create strategically relevant locations such as:
Objectives can then emerge naturally from the generated environment rather than being placed arbitrarily.
Objective Generation
Instead of generating isolated capture points, objectives should be derived from generated terrain and infrastructure.
Examples:
This creates more believable scenarios and stronger connections between terrain and mission design.
Force Deployment Generation
Unit placement should also be procedurally generated.
Deployment logic should consider:
Examples:
Mechanized Forces
Prefer:
Infantry Forces
Prefer:
Naval Forces
Prefer:
Air Assets
Prefer:
This creates more realistic battlefield setups.
Integration with Future Simulation Systems
Procedural generation will provide the foundation required for future simulation upgrades, including:
By moving map generation to a deterministic procedural system, future simulation features can rely on structured world data rather than AI-generated descriptions.
Role of AI After Procedural Generation
This proposal does not eliminate AI usage.
Instead, AI moves higher in the scenario generation stack.
Procedural systems generate:
AI then generates:
This allows AI to focus on storytelling, planning, and contextualization while deterministic systems handle world generation.
Expected Benefits
Beta Was this translation helpful? Give feedback.
All reactions