Scenario Editor

A forum to discuss custom scenarios, campaigns and modding in general.

Moderator: Panzer Corps 2 Moderators

kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Scenario Editor

Post by kondi754 »

What exactly does the 'Enabled' checkbox in the Objectives panel mean? What effect does it have on mechanics?
If it is not checked, then it is run using a trigger and lua script, do I understand correctly?

Does the selection of a symbol from the drop-down list next to the objective name matter or is it just a graphic?
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1918
Joined: Mon Aug 04, 2014 10:07 pm

Re: Scenario Editor

Post by Grondel »

kondi754 wrote: Thu Feb 13, 2025 5:17 pm What exactly does the 'Enabled' checkbox in the Objectives panel mean? What effect does it have on mechanics?
If it is not checked, then it is run using a trigger and lua script, do I understand correctly?
If not checked it is just for text display, but does nothing.
kondi754 wrote: Thu Feb 13, 2025 5:17 pm Does the selection of a symbol from the drop-down list next to the objective name matter or is it just a graphic?
just graphic.

sers,
Thomas
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

Grondel wrote: Fri Feb 14, 2025 12:21 pm
kondi754 wrote: Thu Feb 13, 2025 5:17 pm What exactly does the 'Enabled' checkbox in the Objectives panel mean? What effect does it have on mechanics?
If it is not checked, then it is run using a trigger and lua script, do I understand correctly?
If not checked it is just for text display, but does nothing.
kondi754 wrote: Thu Feb 13, 2025 5:17 pm Does the selection of a symbol from the drop-down list next to the objective name matter or is it just a graphic?
just graphic.

sers,
Thomas
Thanks for your response :)
I asked because the counter in objectives didn't work for me, but it turned out that I accidentally changed the coordinates (all of them :lol:), working in the editor requires constant attention... :)

BTW I created a hero portrait using Unreal Engine but only a .uasset file was created
Will such a file without .uexp work in the game?

In the .lua file you add a picture to the path, but there is no extension there, but you enter the file name "/hero.hero" (???)

EDIT. There are eg. 100-200 kb-.uexp files and 1kb-.uasset files in the game but my uasset file has 177 kb
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

I wonder what I'm doing wrong, maybe some EU plugin is missing?
Anyway, everything works except the portrait...

1072040_2569.jpg
1072040_2569.jpg (971.64 KiB) Viewed 906 times
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

I finally gave up and used "generic_standin". I cooked a file for Windows, but there appeared a lot of them, uasset and uexp...
I tried copying the ones that seemed most likely to the game but they are not visible
Probably something needs to be changed in the settings

1072040_2570.jpg
1072040_2570.jpg (229.38 KiB) Viewed 861 times
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1918
Joined: Mon Aug 04, 2014 10:07 pm

Re: Scenario Editor

Post by Grondel »

kondi754 wrote: Fri Feb 14, 2025 2:00 pm BTW I created a hero portrait using Unreal Engine but only a .uasset file was created
Will such a file without .uexp work in the game?

In the .lua file you add a picture to the path, but there is no extension there, but you enter the file name "/hero.hero" (???)

EDIT. There are eg. 100-200 kb-.uexp files and 1kb-.uasset files in the game but my uasset file has 177 kb
u need to use unreal 4.26 and u need both .uasset and .uexp in the data folder of ur mod for the pic to work.
unreal has 2 positions for files in ur project folder. both folder are called content. one has only .uasset the other has both files.

the "filename" in the lua is "xxx.uasset/xxx.uexp" without the endings obviously. unreal will give them the name of the file u inserted. thats why it´s 2 times the same. i know of no example where they are diffrent.

sers,
Thomas
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

Grondel wrote: Sat Feb 15, 2025 4:27 pm
kondi754 wrote: Fri Feb 14, 2025 2:00 pm BTW I created a hero portrait using Unreal Engine but only a .uasset file was created
Will such a file without .uexp work in the game?

In the .lua file you add a picture to the path, but there is no extension there, but you enter the file name "/hero.hero" (???)

EDIT. There are eg. 100-200 kb-.uexp files and 1kb-.uasset files in the game but my uasset file has 177 kb
u need to use unreal 4.26 and u need both .uasset and .uexp in the data folder of ur mod for the pic to work.
unreal has 2 positions for files in ur project folder. both folder are called content. one has only .uasset the other has both files.

the "filename" in the lua is "xxx.uasset/xxx.uexp" without the endings obviously. unreal will give them the name of the file u inserted. thats why it´s 2 times the same. i know of no example where they are diffrent.

sers,
Thomas
Used 5.5 and there is only one Content folder after cooking.
Will 4.26.2 be good ?

EDIT. THANKS :D That was a 100 percent accurate hint.
The whole editor looks completely different after reverting to version 4.2.6, in my opinion it is better because it allows you to choose what should be in the project...
It does not scream when cooking that the SDK is installed incorrectly (in 5.5 there was a prompt all the time, despite the fact that I updated)

Anyway, I created what I wanted, but I still have a small question, what should be the correct proportions of the photo that we import? :wink:

1072040_2572.jpg
1072040_2572.jpg (317.44 KiB) Viewed 821 times
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

It's more or less ok. Does anyone know the resolution of the photo to fit perfectly into the white frame, if that's even possible?

I wonder if anyone knows what battle this is yet? :wink:

shi.jpg
shi.jpg (239.15 KiB) Viewed 776 times
sug.jpg
sug.jpg (234.79 KiB) Viewed 776 times
oht.jpg
oht.jpg (300.23 KiB) Viewed 776 times
bebro
Slitherine
Slitherine
Posts: 4447
Joined: Sun Nov 19, 2006 12:50 pm

Re: Scenario Editor

Post by bebro »

I dunno about the unreal engine/the editor for it, but received few hero pics in their early PSD and PNG versions.

For some reason the PSDs are 296 x 408, the PNGs (white frame present) of the same guys only 294 x 408 pixels. So one of those sizes should do.
Patrick Ward
Slitherine
Slitherine
Posts: 1211
Joined: Thu Sep 04, 2014 2:49 pm
Location: A small island in the Outer Hebrides.

Re: Scenario Editor

Post by Patrick Ward »

bebro wrote: Sun Feb 16, 2025 1:53 pm I dunno about the unreal engine/the editor for it, but received few hero pics in their early PSD and PNG versions.

For some reason the PSDs are 296 x 408, the PNGs (white frame present) of the same guys only 294 x 408 pixels. So one of those sizes should do.

The image as a whole should be 296x408. I don't know why some would be 294. Could you mail me and point out which ones so I can deal with them. For some reason Windows isn't showing me all the dimensions.

And yeah we've not converted the game to Unreal 5 ( still on 4.26 ). Estimates from other developers are that it would take over a year of development to do so and this style of game wouldn't see huge benefits.

Pat
............................

Pat a Pixel Pusher

............................
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1918
Joined: Mon Aug 04, 2014 10:07 pm

Re: Scenario Editor

Post by Grondel »

kondi754 wrote: Sat Feb 15, 2025 6:45 pm Anyway, I created what I wanted, but I still have a small question, what should be the correct proportions of the photo that we import? :wink:
296x408 is the correct size. if u want a white frame, that needs to be part of the picture.

sers,
Thomas
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

bebro wrote: Sun Feb 16, 2025 1:53 pm I dunno about the unreal engine/the editor for it, but received few hero pics in their early PSD and PNG versions.

For some reason the PSDs are 296 x 408, the PNGs (white frame present) of the same guys only 294 x 408 pixels. So one of those sizes should do.
Thanks for your response :)
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

Grondel wrote: Sun Feb 16, 2025 3:49 pm
kondi754 wrote: Sat Feb 15, 2025 6:45 pm Anyway, I created what I wanted, but I still have a small question, what should be the correct proportions of the photo that we import? :wink:
296x408 is the correct size. if u want a white frame, that needs to be part of the picture.

sers,
Thomas
Thanks, so I'll probably skip the frame, it looks ok at the moment
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

Patrick Ward wrote: Sun Feb 16, 2025 3:20 pm
bebro wrote: Sun Feb 16, 2025 1:53 pm I dunno about the unreal engine/the editor for it, but received few hero pics in their early PSD and PNG versions.

For some reason the PSDs are 296 x 408, the PNGs (white frame present) of the same guys only 294 x 408 pixels. So one of those sizes should do.

The image as a whole should be 296x408. I don't know why some would be 294. Could you mail me and point out which ones so I can deal with them. For some reason Windows isn't showing me all the dimensions.

And yeah we've not converted the game to Unreal 5 ( still on 4.26 ). Estimates from other developers are that it would take over a year of development to do so and this style of game wouldn't see huge benefits.

Pat
My photos are 250 x 375, I wonder if I use 296 x 408 they won't be too big...
Patrick Ward
Slitherine
Slitherine
Posts: 1211
Joined: Thu Sep 04, 2014 2:49 pm
Location: A small island in the Outer Hebrides.

Re: Scenario Editor

Post by Patrick Ward »

kondi754 wrote: Sun Feb 16, 2025 11:26 pm
Patrick Ward wrote: Sun Feb 16, 2025 3:20 pm
bebro wrote: Sun Feb 16, 2025 1:53 pm I dunno about the unreal engine/the editor for it, but received few hero pics in their early PSD and PNG versions.

For some reason the PSDs are 296 x 408, the PNGs (white frame present) of the same guys only 294 x 408 pixels. So one of those sizes should do.

The image as a whole should be 296x408. I don't know why some would be 294. Could you mail me and point out which ones so I can deal with them. For some reason Windows isn't showing me all the dimensions.

And yeah we've not converted the game to Unreal 5 ( still on 4.26 ). Estimates from other developers are that it would take over a year of development to do so and this style of game wouldn't see huge benefits.

Pat
My photos are 250 x 375, I wonder if I use 296 x 408 they won't be too big...
Shouldn't be. Everything is sized to work at 3840x2160 screen res.

You'll notice from our originals though that within that 296x408 the photograph is randomly smaller and randomly rotated.

P
............................

Pat a Pixel Pusher

............................
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

Patrick Ward wrote: Mon Feb 17, 2025 2:05 am
kondi754 wrote: Sun Feb 16, 2025 11:26 pm
Patrick Ward wrote: Sun Feb 16, 2025 3:20 pm


The image as a whole should be 296x408. I don't know why some would be 294. Could you mail me and point out which ones so I can deal with them. For some reason Windows isn't showing me all the dimensions.

And yeah we've not converted the game to Unreal 5 ( still on 4.26 ). Estimates from other developers are that it would take over a year of development to do so and this style of game wouldn't see huge benefits.

Pat
My photos are 250 x 375, I wonder if I use 296 x 408 they won't be too big...
Shouldn't be. Everything is sized to work at 3840x2160 screen res.

You'll notice from our originals though that within that 296x408 the photograph is randomly smaller and randomly rotated.

P
thanks for the info :!:
However, I decided to do it "the way God intended" in the right sizes and with white frames :P
Patrick Ward
Slitherine
Slitherine
Posts: 1211
Joined: Thu Sep 04, 2014 2:49 pm
Location: A small island in the Outer Hebrides.

Re: Scenario Editor

Post by Patrick Ward »

kondi754 wrote: Mon Feb 17, 2025 9:59 am
thanks for the info :!:
However, I decided to do it "the way God intended" in the right sizes and with white frames :P
Consider yourself smited. :twisted:

P
............................

Pat a Pixel Pusher

............................
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

Patrick Ward wrote: Tue Feb 18, 2025 1:49 pm
kondi754 wrote: Mon Feb 17, 2025 9:59 am
thanks for the info :!:
However, I decided to do it "the way God intended" in the right sizes and with white frames :P
Consider yourself smited. :twisted:

P
:lol:

BTW Photos in the briefing also have to be uasset/uexp?
I found some .jpgs in Cyrenaica :wink:
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1918
Joined: Mon Aug 04, 2014 10:07 pm

Re: Scenario Editor

Post by Grondel »

kondi754 wrote: Tue Feb 18, 2025 5:50 pm
Patrick Ward wrote: Tue Feb 18, 2025 1:49 pm
kondi754 wrote: Mon Feb 17, 2025 9:59 am
thanks for the info :!:
However, I decided to do it "the way God intended" in the right sizes and with white frames :P
Consider yourself smited. :twisted:

P
:lol:

BTW Photos in the briefing also have to be uasset/uexp?
I found some .jpgs in Cyrenaica :wink:
can be most formats or size, game will resize it to fit, but might distort it.
i use 654x544 or any multiplier of it for them.
It´s not necessary to turn them into .uasset/.uexp.

sers,
Thomas
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4182
Joined: Thu Jun 25, 2015 8:52 am

Re: Scenario Editor

Post by kondi754 »

Grondel wrote: Tue Feb 18, 2025 7:19 pm
kondi754 wrote: Tue Feb 18, 2025 5:50 pm
Patrick Ward wrote: Tue Feb 18, 2025 1:49 pm

Consider yourself smited. :twisted:

P
:lol:

BTW Photos in the briefing also have to be uasset/uexp?
I found some .jpgs in Cyrenaica :wink:
can be most formats or size, game will resize it to fit, but might distort it.
i use 654x544 or any multiplier of it for them.
It´s not necessary to turn them into .uasset/.uexp.

sers,
Thomas
Thanks, so I did it in the EU unnecessarily :)

It's very pleasant to create and quite fast...
I wanted to create only 1 map, because I'm involved in big project for another game, but I think I'll do the whole campaign
Post Reply

Return to “Panzer Corps 2 Scenario Design”