Editing

Post new mods and scenarios here
William the Silent
Posts: 126
Joined: Sun Mar 01, 2020 6:50 pm

Editing

Post by William the Silent »

If I want to edit map tiles, how does it work with the Graphic Override folder?

There is the MAIN GAME folder (under Program Files) and there is the MY GAMES folder (under Documents). Both have the same files, but the ones under MY GAMES are empty, but contain my scenario's created with the Game Editor.

If I want to create a scenario, how can I use my self created map tiles if I work with the game editor.

Which Graphic Override folder do I use and what tile folders do I have to put in there?
I cannot find any instruction on that.
User avatar
Shadrach
Posts: 767
Joined: Tue Oct 16, 2001 8:00 am
Location: Oslo, Norway
Contact:

RE: Editing

Post by Shadrach »

Use the one under Documents. You should never touch any files under the Program Files folder. Copy the files you want to change there, then start editing them.
If you want map tiles to apply to just one scenario, make a sub-folder under Graphics Override with the same name of the scenario.

The editor just uses the same files.

Tip: You can use Ctrl+R in the game to reload graphics [;)]
OUW (Order of the Upgrade Wars)
Image
There are folks out there with way too much time on their hands.
- Norm Koger
William the Silent
Posts: 126
Joined: Sun Mar 01, 2020 6:50 pm

RE: Editing

Post by William the Silent »

Do you have to use the files of every zoom level to make it work.
I want to try out one zoom level first to see what happens [;)]
William the Silent
Posts: 126
Joined: Sun Mar 01, 2020 6:50 pm

RE: Editing

Post by William the Silent »

I used Paint to change one tile. Problem is, anytime I do a "save file" the transparen color is changed and the tile shows up with white surroundings in the map editor.
I guess Paint doesn't have the right color representation for PNG.

If I save into PNG-file I get the message that transparent colors will be lost.


User avatar
sPzAbt653
Posts: 10160
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: Editing

Post by sPzAbt653 »

You can do one zoom level at a time.

PNG and Paint have transparency. Maybe some more details or screenshots and I can help because so far I don't know what the issue is.
User avatar
larryfulkerson
Posts: 42970
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: Editing

Post by larryfulkerson »

My experience has been that MSPaint doesn't handle PNG images correctly. I use a different graphics package to do PNG's.
The PHILIPPINES Just RUINED China's Taiwan Plan [2026]
https://www.youtube.com/watch?v=_JdygGlmMV4
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: Editing

Post by cathar1244 »

ORIGINAL: William the Silent

I used Paint to change one tile. Problem is, anytime I do a "save file" the transparen color is changed and the tile shows up with white surroundings in the map editor.
I guess Paint doesn't have the right color representation for PNG.

If I save into PNG-file I get the message that transparent colors will be lost.



I had to use Paint3D on my Win10 system to get around the transparency issue. I know exactly what you're talking about. My old Neopaint program will save to .png but also gets the transparency wrong.

Cheers
User avatar
sPzAbt653
Posts: 10160
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: Editing

Post by sPzAbt653 »

Oh right, I forgot I use Paint.Net, maybe that is why.
User avatar
Shadrach
Posts: 767
Joined: Tue Oct 16, 2001 8:00 am
Location: Oslo, Norway
Contact:

RE: Editing

Post by Shadrach »

Yeah, definitely don't use MS Paint. It's a terrible tool for this task. No transparency, no layers etc.

Paint.net is probably the easiest real image editor to learn, and it's really powerful:
https://www.getpaint.net/

I use GIMP, more similar to Photoshop, but a steeper learning curve:
https://www.gimp.org/

Paint 3D is included in Win10, and it's a big improvement over Paint (doesn't take much) but I don't like the simplistic UI.
https://www.microsoft.com/en-us/p/paint-3d/9nblggh5fv99
OUW (Order of the Upgrade Wars)
Image
There are folks out there with way too much time on their hands.
- Norm Koger
William the Silent
Posts: 126
Joined: Sun Mar 01, 2020 6:50 pm

RE: Editing

Post by William the Silent »

I tried it in Paint3D and it worked.
Thanks so much guys for all that info. I appreciate that a lot.

Paint3D has the "rotate picture" feature. That's actually a really nice addition.

Now I can use, for example, the Cultivated Tile folder to create different stronghold pictures for the 0.25km/hex maps. Like Castles, monasteries, farms, or famous buildings, etc.(80 per tile file)
Can even create buildings or area's that stretch out over more then one 0.25km hex by linking up the right pictures created in the tiles. Just like in board games.
Keep clicking till the right picture shows up in the game editor.

Image
Attachments
SH1.jpg
SH1.jpg (29.48 KiB) Viewed 1231 times
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: Editing

Post by cathar1244 »

Looks nice.

Don't forget to consider terrain effects for combat.

For the buildings, for example, if you wanted them to have a particular effect, you could 'shop around' the terrain effects for the various terrain tiles and used those as the "base tile" to host your buildings.

Say you find the jungle terrain has the combat effects you want (probably not, but as an example). Then you could make your building tiles and save them with the appropriate file names for jungle terrain. Taking care, of course, not to overwrite your original terrain tiles in the master graphics directory.

Cheers
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: Editing

Post by Lobster »

If you want mouse over to display the correct tile name make a copy of EnglishGameText.xml and change the name of the copy to the exact name of your scenario. WaterlooGameText.xml for instance. Then put it into the Graphics Override location where your modified graphics reside.
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: Editing

Post by cathar1244 »

Thanks. I have never seen that mentioned before.

Cheers
William the Silent
Posts: 126
Joined: Sun Mar 01, 2020 6:50 pm

RE: Editing

Post by William the Silent »

Thanks Lobster

Pretty soon all the TOAW design secrets will be revealed [:D]

I played around with different tile sets to see what is a good tile to use. Some have higher priority on the map. So town tiles go over the rest.
Many tiles are created to link up with other tiles. Not very usable for a 1 tile representation then.
So the single town tile is usable.
Or maybe the Winter tile. The entrenchment tile can have 2 pictures dependent on entrenchment level.
I'll figure it out.

But I'm wondering what the secrets are of the Miscellaneous Tiles file. Are there any spare tiles for future use to the right in that file?
Image
Attachments
x.jpg
x.jpg (15.57 KiB) Viewed 1229 times
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: Editing

Post by Lobster »

Some people prefer whole hex tiles. So you can propagate one tile over the whole sheet or make many different tiles but not worry about how they tie into one another. The ability to design your own graphics is one of the things that's really nice about this game.

Image
Attachments
ScreenHunt..1507.38.jpg
ScreenHunt..1507.38.jpg (180.87 KiB) Viewed 1229 times
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
William the Silent
Posts: 126
Joined: Sun Mar 01, 2020 6:50 pm

RE: Editing

Post by William the Silent »

Nice graphics there.
Indeed TOAW seems to be very moddable.
I got to this already in a short time.


Image
Attachments
SampleMap.jpg
SampleMap.jpg (385.64 KiB) Viewed 1229 times
User avatar
Shadrach
Posts: 767
Joined: Tue Oct 16, 2001 8:00 am
Location: Oslo, Norway
Contact:

RE: Editing

Post by Shadrach »

That looks really good! Nicely done [:D]
But I'm wondering what the secrets are of the Miscellaneous Tiles file. Are there any spare tiles for future use to the right in that file?

Yes, I've been wondering about these as well... [&:]
OUW (Order of the Upgrade Wars)
Image
There are folks out there with way too much time on their hands.
- Norm Koger
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: Editing

Post by Lobster »

At the most I would say there are 7 blank tiles on the Misc. I suppose you could find out what numbers are assigned to them by trial and error. Might take a bit of time but if you can determine the numbers assigned to the two exclusion zone tiles and the two entrenchment tiles you should be on your way. I believe the game uses all of the clear tiles. But you could mark them and see how it uses them. You could even use them for other graphics but their effect on things like combat and movement would be very limited.

The only thing I've ever used for other purposes was the Jungle terrain. I wanted something that would be wooded swamp but keep an effect for combat and movement when winter arrived and everything froze over but there were still forests and difficult terrain hence a repurposed Jungle tile called Wooded Swamp. The guys who made FitE2 incorporated this into their scenario and called it taiga. Eventually we should have a terrain that is included for that. Some day.
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
William the Silent
Posts: 126
Joined: Sun Mar 01, 2020 6:50 pm

RE: Editing

Post by William the Silent »

That CRTL-R is the greatest gift for editing the graphics.

I am working on my (maybe too) massive Waterloo Campaign at 0.25km/hex.
What I needed on the map was the Walled Farms and Chateau's as strongholds, that exist(ed) in so many places in Europe.
They were used in plenty of battles of the time to stop/delay the advance of the enemy.

So I decided to use the entrenchment tiles: walled farm starts at entrenchment level 34 and Chateau at 67.
I don't know what tile is used for entrenchment lower then 34.

I finished the H-level tiles. Used the left side so most road can be used over the tile. Didn't rotate, because it blurs the picture.
TOAW uses the shadow on the other side I found out [:'(]

Image
Attachments
x.jpg
x.jpg (201.57 KiB) Viewed 1229 times
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Editing

Post by 76mm »

Lobster, which mod is that? I like it!
Post Reply

Return to “Mods and Scenarios”