.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old March 26th, 2012, 07:34 AM

elmokki elmokki is offline
Second Lieutenant
 
Join Date: Aug 2008
Posts: 408
Thanks: 11
Thanked 209 Times in 57 Posts
elmokki is on a distinguished road
Default Sepiazer - Turn your maps to sepia toned versions!

I did this a while back and didn't release. It apparently had a bug that made the output flipped sometimes since my tga reading code didn't handle the fact that tgas can for some uncomprehensible reason be stored with origin in any corner of the file.

Some people like sepia tones and dom3 doesn't check if all the players of a game share the same map image file, so I guess some people might enjoy playing with sepia versions of the maps they otherwise use.

Anyway, basically what it does is:
http://koti.kapsi.fi/elmokki/dom3/mods/before.png
http://koti.kapsi.fi/elmokki/dom3/mods/after.png

The intensity of the sepia filter is customizable. Out of 0 to 255 the above example is 20.

It's a command line java program, so you'll need JRE and understanding. Here's the readme:
Quote:
Sepiazer readme!
----------------

Sepiazer is a program that adds a sepia filter to .tga images. In theory both RLE-packaged and unpackaged images should work.

Syntax:
java -jar sepiazer.jar output input sepiaintensity

Example:
java -jar sepiazer.jar output.tga input.tga 20


The sepia intensity parameter must be 0-255. 20 is recommended. The lower the number the less colorful the image will be and the higher the number more yellow the image will be.

Changelog
----------------
26.3.2012:
- Fixed .tgas sometimes printing flipped.
...and here's the program: I personally won't link to Dominions 3 content made by me any more and I hope no-one else will either (old links are fine, whatever). You should be able to find them or most of them by asking on IRC or googling the other forums
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341

Last edited by elmokki; July 2nd, 2012 at 09:17 AM..
Reply With Quote
  #2  
Old March 26th, 2012, 11:13 AM

legowarrior legowarrior is offline
Second Lieutenant
 
Join Date: Dec 2008
Posts: 412
Thanks: 19
Thanked 18 Times in 5 Posts
legowarrior is on a distinguished road
Default Re: Sepiazer - Turn your maps to sepia toned versions!

Can you sepiazer the Age of Hyberain Map?
Reply With Quote
  #3  
Old March 26th, 2012, 12:17 PM

elmokki elmokki is offline
Second Lieutenant
 
Join Date: Aug 2008
Posts: 408
Thanks: 11
Thanked 209 Times in 57 Posts
elmokki is on a distinguished road
Default Re: Sepiazer - Turn your maps to sepia toned versions!

Quote:
Originally Posted by legowarrior View Post
Can you sepiazer the Age of Hyberain Map?
Just use the program.
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341
Reply With Quote
  #4  
Old March 26th, 2012, 02:59 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Sepiazer - Turn your maps to sepia toned versions!

So this saves the white dots then puts them back?
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #5  
Old March 26th, 2012, 06:54 PM

elmokki elmokki is offline
Second Lieutenant
 
Join Date: Aug 2008
Posts: 408
Thanks: 11
Thanked 209 Times in 57 Posts
elmokki is on a distinguished road
Default Re: Sepiazer - Turn your maps to sepia toned versions!

Quote:
Originally Posted by Gandalf Parker View Post
So this saves the white dots then puts them back?
Yes.
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:45 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.