Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Converting day terrain to night

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Campaign Series: Vietnam >> Scenario Design and Modding >> Converting day terrain to night Page: [1]
Login
Message << Older Topic   Newer Topic >>
Converting day terrain to night - 2/1/2022 9:55:34 PM   
Umbra_TSSI


Posts: 39
Joined: 5/28/2021
Status: offline
How do I convert the Day terrain files after modding to their Night terrain equivalent?

Couldn't find a "how to".

Thanks.
Post #: 1
RE: Converting day terrain to night - 2/1/2022 9:57:46 PM   
Jason Petho


Posts: 15009
Joined: 6/22/2004
From: Terrace, BC, Canada
Status: offline
That's set in the scenario editor by choosing the 1-10[d] or 1-10[n] or some varying combination.

That is in the manual, described in Section 8.4.1

_____________________________


(in reply to Umbra_TSSI)
Post #: 2
RE: Converting day terrain to night - 2/1/2022 10:07:55 PM   
Umbra_TSSI


Posts: 39
Joined: 5/28/2021
Status: offline
I'm looking for a way to create the night files for the game to use in a night scenario. I created day terrain files but I need to create the night version of those for the night scenario to use.

(in reply to Umbra_TSSI)
Post #: 3
RE: Converting day terrain to night - 2/2/2022 1:19:24 AM   
Hub6Actual

 

Posts: 82
Joined: 11/15/2018
Status: offline
Take your new creations and try running them through something that ramps up the blue saturation level. I use a free program called Irfanview that you can do a lot of things with. In this case, I would try doing the blue saturation change, and after I found something that worked, I would do a batch file conversion (Irfanview also does that), and convert all the files to have the same sat level. I would then batch rename everything (Irfanview again) with the file names appended with Night. The sticker is taking care not to alter the backer colour that the images reside on too much, or you will get ugly "halos" showing up around those images.

(in reply to Umbra_TSSI)
Post #: 4
RE: Converting day terrain to night - 2/2/2022 3:37:47 AM   
Umbra_TSSI


Posts: 39
Joined: 5/28/2021
Status: offline
I use Photoshop Elements, you can't take a file and increase blue saturation in a file with no blue, the terrain files for day use a transparency color with no blue.

So, I'm asking how to take any day terrain file and make into a night file.

Thanks for your response.

(in reply to Umbra_TSSI)
Post #: 5
RE: Converting day terrain to night - 2/2/2022 3:43:50 AM   
Jason Petho


Posts: 15009
Joined: 6/22/2004
From: Terrace, BC, Canada
Status: offline
If you do a search for *Night*.bmp you should find all the night files.

_____________________________


(in reply to Umbra_TSSI)
Post #: 6
RE: Converting day terrain to night - 2/2/2022 3:59:49 AM   
Umbra_TSSI


Posts: 39
Joined: 5/28/2021
Status: offline
quote:

ORIGINAL: Jason Petho

If you do a search for *Night*.bmp you should find all the night files.

Thanks Jason, but I'm simply trying to "shade" a "day" graphic terrain file I created into a night version that the game engine will except into it's night scenarios.

< Message edited by Umbra_TSSI -- 2/2/2022 4:05:01 AM >

(in reply to Jason Petho)
Post #: 7
RE: Converting day terrain to night - 2/2/2022 4:51:10 AM   
Crossroads


Posts: 17372
Joined: 7/5/2009
Status: offline

quote:

ORIGINAL: Umbra_TSSI

I'm simply trying to "shade" a "day" graphic terrain file I created into a night version that the game engine will except into it's night scenarios.


I use GIMP as the graphics editor, Night layers are variants of their Day versions with an added hex #004D65 / rgb (0,77,101) layer at 65% opacity setting as the top most layer.


_____________________________


(in reply to Umbra_TSSI)
Post #: 8
RE: Converting day terrain to night - 2/2/2022 5:06:00 AM   
Crossroads


Posts: 17372
Joined: 7/5/2009
Status: offline
quote:

ORIGINAL: Hub6Actual

Take your new creations and try running them through something that ramps up the blue saturation level. I use a free program called Irfanview that you can do a lot of things with. In this case, I would try doing the blue saturation change, and after I found something that worked, I would do a batch file conversion (Irfanview also does that), and convert all the files to have the same sat level. I would then batch rename everything (Irfanview again) with the file names appended with Night. The sticker is taking care not to alter the backer colour that the images reside on too much, or you will get ugly "halos" showing up around those images.


Yes, I have a GIMP script that does this as a batch, PSP has a batch mode as well, where you can first record the action, then repeat it at selected files.

As for the background colour, it does not matter which hue the background colour is, as long as it is unique, and does not appear anywhere else. Or there will be "holes" on one's images. Background colour is the colour found at top left corner of each image, at 0,0 position.

When resizing, soft edges are a problem, as those scaling algorithms with soft edges combine the image edge with background colour. Those appear as ugly artefacts in-game. Use a non-soft edge scaling algorithm with your editor, with GIMP it is No interpolation, with PSP it is Pixel resize.

If scaling is done with soft edges, use a background colour that while unique is close to map tile colors, e.g. a forest green, or mud brown, or matt grey, so the soft edges won't stand out (that much).

Good luck everyone with your efforts!

< Message edited by Crossroads -- 2/3/2022 6:10:48 AM >


_____________________________


(in reply to Hub6Actual)
Post #: 9
RE: Converting day terrain to night - 2/2/2022 5:19:01 AM   
Umbra_TSSI


Posts: 39
Joined: 5/28/2021
Status: offline
Thanks Jason, I'll work with this info to achieve what I'm trying to do.

(in reply to Crossroads)
Post #: 10
RE: Converting day terrain to night - 2/2/2022 6:30:09 AM   
Crossroads


Posts: 17372
Joined: 7/5/2009
Status: offline

quote:

ORIGINAL: Umbra_TSSI

Thanks Jason, I'll work with this info to achieve what I'm trying to do.

Good luck! Adding a "Night layer" should be the easiest way to add the effect. Let us know how it went!

_____________________________


(in reply to Umbra_TSSI)
Post #: 11
RE: Converting day terrain to night - 2/2/2022 7:42:50 PM   
Umbra_TSSI


Posts: 39
Joined: 5/28/2021
Status: offline

quote:

ORIGINAL: Crossroads

Good luck! Adding a "Night layer" should be the easiest way to add the effect. Let us know how it went!

I can now make Night files... Yeah!!

Your hex/rgb numbers and opacity setting was the key... thanks!

(in reply to Crossroads)
Post #: 12
RE: Converting day terrain to night - 2/3/2022 5:06:11 AM   
Crossroads


Posts: 17372
Joined: 7/5/2009
Status: offline


_____________________________


(in reply to Umbra_TSSI)
Post #: 13
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Campaign Series: Vietnam >> Scenario Design and Modding >> Converting day terrain to night Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.906