Gen AI tools for Half Life

HL gen ai campaign

This is the read-only HTML version. For the full Visual Space experience, open the app.

Ractor + Smelter concept

Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept
Ractor + Smelter concept

This is the first experiment in terms of artwork generation.,

HL Gen AI experiments

Currently I'm experimenting with a side project that I want to share with the community in Visual Space. Working myself on this project will help me understand better what we need from the platform to be a suitable place for indie online project development.

The premise is simple. I'm working on a set of tools / prompts to generate with the help of codex new maps and campaigns for games that are mod-friendly. My first target is Half Life where I plan to extend the original campaign with Gen AI.

🤩 1
😯 1
2

I’m starting a side project: an AI-assisted workflow for building Half-Life campaign maps. The aim is to move from an idea to a playable prototype, with tools that help generate, inspect, refine, and eventually package the maps while keeping the level designer in control.


I also want to develop the project inside Visual Space. Working on a real game project should help me understand what the platform needs for planning, building, reviewing, testing, and collaborating—not just sharing progress updates.


Why start with Half-Life?


Half-Life has a strong modding community, readable map source, and a clear entity system. Its workflow gives this experiment a manageable starting point: create the map, compile it, and test it in the game.


GoldSrc’s limits are part of the appeal. Making a convincing environment within those constraints means paying attention to geometry, lighting, gameplay, and the logic connecting them. Those lessons could later carry over to other engines.


The first maps compile, but they need better design


I set up Half-Life, J.A.C.K., and the compile tools in Windows through Parallels on an M1 Mac. The basic loop works:


1.
Generate or edit a .map file.
2.
Open it in J.A.C.K. and save it as .jmf.
3.
Compile it into a playable .bsp map.
4.
Run it in Half-Life, playtest, patch, and repeat.


The early experiments included a test room, a locked door and button, a lab area, a reactor or smelter concept, and a Xen-contaminated industrial reactor room.


Visually, the results were rough: too rectangular, too repetitive, and too obviously generated. They looked like industrial blocks arranged inside a box. That exposed the real challenge: a map can compile successfully and still be a poor place to play.


The next pass needs stronger references, believable scale, more disciplined textures, and better use of lighting and landmarks. Routes should be easy to read, changes in height should serve the layout, and encounters should have a deliberate pace. Playtesting has to guide those decisions.


Turning the scripts into a toolkit


The current experiments use small Node.js scripts to generate GoldSrc .map files. These are custom tools feeding into the existing editor and compiler workflow.


I want to turn them into an open source toolkit, provisionally called goldsrc-map-tools. The first version would bring together:


•
Reusable geometry helpers for rooms, corridors, doors, catwalks, stairs, and ramps.
•
Entity templates for lights, triggers, pickups, enemies, scripted messages, and map transitions.
•
Texture rules and validation checks for brush geometry and compile problems.
•
Example maps, campaign-planning notes, and compile/debug helpers.
•
Codex prompts, agent instructions, and notes on working with Visual Space.


Eventually, I’d like to give it a brief such as:


Create a Xen-contaminated reactor chamber with a broken catwalk path, a lower hazard pit, two combat arenas, one locked control room, and a changelevel exit.


The generated map should be a useful starting point that I can open, inspect, and improve in J.A.C.K. It still needs design judgment and playtesting before it becomes a finished level.


Building the project inside Visual Space


I want the day-to-day work to happen here, with each tool serving a specific part of the project:


•
Feed for development logs, experiments, failures, and releases.
•
Chat for discussion, testing notes, and community ideas.
•
Whiteboard for level flow, encounter sketches, and spatial planning.
•
Storyboard tools for campaign beats, scripted scenes, pacing, and references.
•
Files for design documents, generated maps, and release packages.
•
Git integration for source history, branches, and reviews.
•
Codex integration for generating map source, investigating compile errors, and refining the tools.


The workflow I want to reach starts with a sketch and a level plan in VS. From there, I generate a map, edit it in J.A.C.K., compile it, and playtest. Logs and screenshots come back into VS for review; Codex helps patch the generator, Git records the changes, and the community can respond to the next version.


Using that loop should reveal where Visual Space helps and where it still gets in the way.


A small campaign slice comes first


The first playable goal is a short Half-Life campaign slice built around:


1.
An introductory service area.
2.
An industrial reactor or smelter facility.
3.
Xen contamination spreading into the facility.
4.
A locked control-room objective.
5.
A hazardous lower pit.
6.
A vertical catwalk combat space.
7.
A transition into the next map.


This gives the toolkit a concrete design to work toward and something I can judge by playing it.


Open source, with room for other engines


I plan to release the toolkit as open source, starting with Half-Life and GoldSrc. Later, it could grow separate bridges for Quake, Source, Godot, Unreal, or other mod-friendly games and engines.


Each bridge would connect AI tools to a specific format or workflow. Depending on the game, that might mean map generation, quest scripting, entity placement, dialogue drafts, asset manifests, or test plans. Each addition needs to solve a practical production problem.


For now, the next milestone is making the small campaign slice feel like a believable place, with clear routes and worthwhile encounters. I’ll share the maps, screenshots, compile logs, failures, and design notes as the experiment develops.

Other games / HL gen ai campaign Comments2 sebastian
sebastian
sebastian

Can we do something similar for other games? Like CS or ETS?

Adrian Moisa

It could be done. But that's where the community will have to be involved. For now we have bits and pieces. But we can work on a workflow around them. For example the whiteboard can be further developed into "storyboards" To help with planning with content. There's a lot of ground work to be done to help the community pickup speed.

Visual Space

11 Followers

Explore Visual Space, learn how its tools work, and help shape what comes next. Find product guides and release notes, share what you are making, discuss workflows, and report useful feedback with enough context for others to follow.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.