The Ultimate Site of Worms Armageddon

One-Boards => Maps Comments => Topic started by: h3oCharles on August 15, 2024, 12:55 PM

Title: Map #21674, AI-Generated Island by Dantroil
Post by: h3oCharles on August 15, 2024, 12:55 PM
tried to do a similar thing with stable diffusion. for some reason, they give isometric view, and not a side-scrolling view. what is this, Super Mario RPG?!
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: FoxHound on August 15, 2024, 03:52 PM
Looks like Metal Slug scenarios. Beautiful, but not ideal island for gameplay. I may try to do an AI map one day. Good idea.
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: Triad on August 15, 2024, 05:04 PM
I recently ditched my 6.5 year old gaming laptop and switched to a new rig capable of running local AI models. As luck would have it, a new SOTA image GenAI model called Flux came out few weeks ago.

When I saw this map, I wondered how Flux would handle Worms map creation. Here's the result:

ComfyUI_00065_.png
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: MonkeyIsland on August 15, 2024, 07:37 PM
Looks very good but the number of colors exceeds W:A. Can you regulate it?
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: Triad on August 15, 2024, 08:17 PM
Quote from: MonkeyIsland on August 15, 2024, 07:37 PMLooks very good but the number of colors exceeds W:A. Can you regulate it?
Probably there are some ways to do it (you should be even able to train a model on a specific image set, such as BnG maps), but I am not experienced with running local AI models yet.

Some other generations:
ComfyUI_00068_.png
ComfyUI_00075_.png
ComfyUI_00084_.png
ComfyUI_00087_.png
ComfyUI_00095_.png
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: Big Billy on August 15, 2024, 11:42 PM
Thats pretty nice already Triad.

I made the backgrounds for the Big TTRR mappack with Adobe Firefly. I could not set the color limitation in Firefly but just made that in Photoshop by just limit the colors and PS does a good job with it.

Guess these maps would look good after that too.
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: TheKomodo on August 16, 2024, 09:33 AM
Man, you could make some really interesting forest BnG maps with this! If they were complex enough!
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: Dantroil on August 16, 2024, 11:50 AM
Quote from: h3oCharles on August 15, 2024, 12:55 PMtried to do a similar thing with stable diffusion. for some reason, they give isometric view, and not a side-scrolling view. what is this, Super Mario RPG?!
You just need to be lucky with AI that draws photos.
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: Dantroil on August 16, 2024, 11:53 AM
Quote from: FoxHound on August 15, 2024, 03:52 PMLooks like Metal Slug scenarios. Beautiful, but not ideal island for gameplay. I may try to do an AI map one day. Good idea.
Yeah, that was my first try to do something related to WA with AI.
Though, AI that I used obviously didn't knew about WA, so that's why gameplay on this map is... let's say - not enjoyable.
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: Dantroil on August 16, 2024, 11:54 AM
Quote from: Triad on August 15, 2024, 08:17 PM
Quote from: MonkeyIsland on August 15, 2024, 07:37 PMLooks very good but the number of colors exceeds W:A. Can you regulate it?
Probably there are some ways to do it (you should be even able to train a model on a specific image set, such as BnG maps), but I am not experienced with running local AI models yet.

Some other generations:
ComfyUI_00068_.png
ComfyUI_00075_.png
ComfyUI_00084_.png
ComfyUI_00087_.png
ComfyUI_00095_.png
Damn, that's GREAT results for an AI
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: Triad on August 16, 2024, 07:37 PM
Quote from: Dantroil on August 16, 2024, 11:54 AMDamn, that's GREAT results for an AI
Thanks, I use text-based AIs like ChatGPT to refine my prompts. Here's a quick guide on how I generated these maps:

Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: Triad on August 26, 2024, 08:39 PM
Today I did another test with AI.

While I was not able to create complex maps from scratch, I thought, how about remixing existing WA maps? So, I gave the AI a BnG map (https://www.tus-wa.com/maps/map-21258/), and used it as the base layout for the image I am prompting. The workflow looks like this:

ComfyUI_img2img_workflow.png

And the results are not too bad (you should be able to use them on WA without any issues):
AI_Forest_BnG_01.png
AI_Forest_BnG_02.png
AI_Forest_BnG_03.png
AI_Forest_BnG_04.png
Title: Re: Map #21674, AI-Generated Island by Dantroil
Post by: TheKomodo on August 26, 2024, 09:34 PM
Excellent work Triad! We should play on one of these!