.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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

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 11:32 AM.


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