破门而入2:北方特遣队

破门而入2:北方特遣队

Door Kickers 2 Workshop
Unlimited gameplay via our in-game mission editor and extensive game moddability.
knoedelsalat 4 7 月 21 日 上午 9:45
Testing an automated Text-to-DK2-Portrait workflow
Something I've been wanting to try for while, here are some first tests of an automated workflow to create DK2 character portraits from text inputs, using open source software:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3529770792
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3529786886

Unlike Image-to-DK2-UI-Icon , this one is using generative AI to create the portraits.

I'm still finetuning the settings to find a good default setup and make the output look a little more like an actual illustration, and will make the whole thing available here once it's working as intended.

If you want to help testing or want me to try some specific type of portrait, just drop me a line here and I'll see what I can do.

All the best and happy modding! :)
最后由 knoedelsalat 编辑于; 7 月 21 日 下午 1:22
< >
正在显示第 1 - 15 条,共 24 条留言
Good job!
For me as a kawaii JK in Japan, the ages of Asian guys and gals look like;
Guy@line2,col3: 30
@line3,col1: 30-35
@line3,col3: 45
Gal@line1,col3: 35-40
@line2,col1: 35-40
@line3,col3: 25-30
knoedelsalat 4 7 月 23 日 下午 12:40 
Hey man! :) I'm feeling like the model might be pushing a little towards the older side.

Here's a batch of variations on the character prompt

an asian male in his late 40s with an ultra short buzz cut

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3532717271

Added a little bit of noise injection and Lora, now it's starting to look more like what I was envisioning.
最后由 knoedelsalat 编辑于; 7 月 23 日 下午 1:07
Ciaran_S 7 月 23 日 下午 3:18 
That looks very good, but can you do it also for the CIA, i.e. with civilian clothes? Right now, they really lack variety compared to the Rangers.
knoedelsalat 4 7 月 23 日 下午 9:02 
Hey @Ciaran, You'll be able to just use a different base picture (like any of the vanilla CIA portraits) and run it through the workflow.

Some quick tests here:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3532920829

Posting on my personal artwork hub for now because I dont't wan to spam the official DK2 artwork feed. Somehow the image embedding doen't seem to work for those though.

Note that the little transparent 80x80 circle icons will be automatically generated and saved to the output folder along with the portrait, so no need to do those manually
引用自 knoedelsalat
Hey man! :) I'm feeling like the model might be pushing a little towards the older side.

Here's a batch of variations on the character prompt

an asian male in his late 40s with an ultra short buzz cut

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3532717271

Added a little bit of noise injection and Lora, now it's starting to look more like what I was envisioning.
Great!
Looks like well-trained middle-aged guys or bosses.

I am curious but just "asian", which seems mainly East Asian (around China), or perhaps South-East Asian (around Thailand).
Maybe Indian or Arabian would be distinguished from "asian", and there are many Arabian in the base game.
Ciaran_S 7 月 25 日 下午 12:36 
引用自 knoedelsalat
Hey @Ciaran, You'll be able to just use a different base picture (like any of the vanilla CIA portraits) and run it through the workflow.

Some quick tests here:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3532920829

Posting on my personal artwork hub for now because I dont't wan to spam the official DK2 artwork feed. Somehow the image embedding doen't seem to work for those though.

Note that the little transparent 80x80 circle icons will be automatically generated and saved to the output folder along with the portrait, so no need to do those manually
Great job.

As fa as I´m concerned, they look much more in line with the pre-release artworks than the additions the Killhouse Games team made in the release version. Those are not bad, but the difference in style does stand out.
knoedelsalat 4 7 月 26 日 下午 3:06 
Prompting for specific nationalities is (kind of) possible. Also reworked the workflow to take all sorts of different input pictures. Some more tests with official DK2 portraits as base images:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3535395273

(Note that these are cherrypicked from around 2-4 generations per prompt)
Nethervoid 7 月 27 日 上午 3:26 
Are you planning on uploading these to the Steam Workshop?
Elkybam 5 7 月 27 日 上午 4:44 
^
These portraits are too good to pass up.
knoedelsalat 4 7 月 27 日 上午 4:45 
Hey @Nethervoid, I haven't looked into the actual modding part at all, but I would be happy to share the .png files if someone wants to add these to a mod.

I'll also make the full workflow available in a few days, so people can create their own portraits locally.

This will be a little more complex than Image-to-DK2-UI-Icon, and will require a good bit more VRAM, so if anyone needs a specific type of portrait for their mod I could also provide them with some images.
knoedelsalat 4 7 月 27 日 上午 4:48 
@Elkybam thanks bro appreciate it! I'm really surprised how good they are turning out. Looks like AI image gen has come a long way in the last few years...
knoedelsalat 4 7 月 30 日 下午 2:47 
Almost done, here's two more tests.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3538333119

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3538333984

Each of these is a run on 11 character prompts, same seed, same settings, different input picture.

The prompts were:

an old scottish bar-brawler almost no hair a fit natural woman of iranian origin in her 40s with her hair tied back into a high knot, loose strands of hair in her face an afro-american man in his 60s with short hair and grey strands in his beard a female korean sniper with her hair tied back to small knot a biker in his 50s with a tattooed neck and long stringy hair a buzz-cut white british marine in his 30s with his hair shaved ultra short an italian woman in her 30s with her hair tied back to a short ponytail a tough caucasian russian boxer with dark spikey hair and a stubble a hot afro-american woman in her 30s with dreadlocks in a ponytail an korean man in his 40s a blonde woman in her 30s with chin-long hair tied back to a small ponytail
I feel Korean cultural influence (cosmetic) from the Korean gal.

I don't feel the Korean guy very Korean, but IMO it's good.
There are few genetic differences between Korean/Japanese/Chinese.
There are cultural differences, but I don't like K-pop guy soldiers ^^;
knoedelsalat 4 7 月 31 日 上午 1:15 
@Takeshi The model seems to have a stong tendency to add lipstick to asian women in general. Something I haven't been able to work around yet

But I'm curious to test the prompt adherence regarding ethnicity. I'll do a batch of different asian countries later.

Is there anything in particular you'd like me to run?
Hmm, lipstick is some kind of "etiquette" and hated by women, such as shaving beards for guys.
But after COVID-19, many women wear face masks instead.

I think the result is good enough for generic East-Asians, and if I draw faces, I will keep some specific person in my mind, such as ABE Hiroshi, NAGASAWA Masami, etc.

Ethnicity in Asia would be nice if one (or more) countries per region, such as;
East Asia: China, Korea, Japan
South East Asia: Philippines, Thailand, Indonesia
South Asia: India, Iran
West Asia: Turkey, Saudi-Arabia
Central Asia: Kazakhstan
and perhaps Siberian in Russia.

P.S.
Sorry I cannot recognize people outside of East Asia ^^;
最后由 Takeshi, made in Mom 编辑于; 7 月 31 日 上午 3:14
< >
正在显示第 1 - 15 条,共 24 条留言
每页显示数: 1530 50