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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old April 28th, 2007, 09:13 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

Wow, it will be EXTEREMLY easy to grab sprites if you just change the GUI into something that is of single, even color everywhere and put GUI opacity into 1. Then just PrtScreen, paste, use color chooser to select all black that's ever-so-slightly hued by the background, change it into color of your choice. Then change the shadow, pure black, into magenta. VERY FAST!
Reply With Quote
  #2  
Old April 28th, 2007, 09:29 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

I honestly think this is so easy that we don't even need a sprite library any more - you can just get whatever sprite you need at any given moment.

I have just made two new units using this technique. The old way of doing things this would have been like an hours work or something, to get it this good. It took me literally 5 minutes.

The bmp with the two new units (which will be for ulm reborn) will be attached in a moment.
Attached Images
File Type: bmp 515764-New unit preview.bmp (53.5 KB, 141 views)
Reply With Quote
  #3  
Old April 28th, 2007, 09:35 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

I'd like to add that, now, if anyone needs any more complex artwork done for their mods (stuff that goes beyond changing the vanilla sprites a bit, making attack sprites etc) I will probably be free to do it, provided I like the mod.

Might be able to do some awesome stuff for padmassa, for instance, using vanilla sprites as a base.
Reply With Quote
  #4  
Old April 28th, 2007, 09:40 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

LA Caelum unit sprites attached to this post. This is FAST! Choose unit, take screenshot, paste, select area tool, select unit, new window, paste, select eraser, select background color, erase background, move unit/shadow to nice position, save. I did most of these twice, due to not noticing the black area between their legs. INSANE SPEED!
Attached Files
File Type: zip 515769-raptors.zip (23.0 KB, 133 views)
Reply With Quote
  #5  
Old April 28th, 2007, 09:55 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

Gandalf, or anyone else who happens to know the answer:

Would it be possible to do a shortcut for Dominions that first replaces guiborder2.tga with some other tga file, then launches Dom with a --postexec command that somehow replaces the new guiborder2.tga with the original? Or copy of the original, actually, but you know what I mean. It would enable one Dom directory to be used for both normal games AND for ultra-quick screen-grabbing of units, with the only difference being in the shortcut used to launch Dom.

I'm pretty sure it could be done with two .bat files, but I can't write those.
Reply With Quote
  #6  
Old April 28th, 2007, 10:00 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

I don't even think it's that important to be able to do them super fast - I mean even without changing the borders and whatnot you can still get the sprite out cleanly and make the shadow in under a couple of minutes.

I really think there's no need to go extracting all the sprites, since it's so easy to just get the ones you need from right clicking 'em on the recruit screen and following the method. The rest can be got from the monster file cabinet map. I mean having all the sprites to hand would be nice and all, but it would only save you a few minutes - modifying them to look different instead of trying to extract them is what takes the time now, as it should be.

For sure the biggest thing to happen on this forum. Crazy that we only just got this working.
Reply With Quote
  #7  
Old April 28th, 2007, 10:27 AM
Juzza's Avatar

Juzza Juzza is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Canberra, Australia
Posts: 409
Thanks: 0
Thanked 1 Time in 1 Post
Juzza is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

It may not be able to do attack sprites but other that I have to share with Sombres Excitement! now I shouldn't look so stupid with my silly animations!!!
__________________
My Mods:
Tarent Mod:
http://forum.shrapnelgames.com/showt...ghlight=Tarent

Dinnas'Arval Mod:
http://forum.shrapnelgames.com/showt...nnas'Arval

Free Port:
http://forum.shrapnelgames.com/showt...+nation&page=3

Currently working on:
http://forum.shrapnelgames.com/showt...hlight=witcher
Inspired by the game The Witcher and the Witcher Novels.
Reply With Quote
  #8  
Old April 28th, 2007, 10:49 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

Nah, I don't think this's the biggest thing to happen here. Those who can draw will still draw their sprites by hand, but perhaps a bit quicker than earlier. Those who are too lazy to draw still won't. The handful of would-be modders who don't want to spend their time making pixel-soldiers will get their mods finished, and might post them here. However, this won't start an explosion of mods - we already had that one! Really, I don't remember having seen this many active mod threads in DomII forums, ever. I don't know what the big thing was, but it sure must have been spectacular to have this kind of an effect!
Reply With Quote
  #9  
Old April 28th, 2007, 11:20 AM

normalphil normalphil is offline
Corporal
 
Join Date: Jan 2004
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
normalphil is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

Quote:
Endoperez said:
However, this won't start an explosion of mods - we already had that one! Really, I don't remember having seen this many active mod threads in DomII forums, ever. I don't know what the big thing was, but it sure must have been spectacular to have this kind of an effect!
For me, I'm pretty sure it's the eras and not having to overwrite an existing faction. All of a sudden there's a narrative, and the reason for me to make a mod isn't just to see how a given set-up plays, it's also a way to tell a story. Was never seriously tempted to make a DomII mod.
Reply With Quote
  #10  
Old April 28th, 2007, 05:45 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: PERFECT SPRITE EXTRACTION

Quote:
Endoperez said:
Would it be possible to do a shortcut for Dominions that first replaces guiborder2.tga with some other tga file, then launches Dom with a --postexec command that somehow replaces the new guiborder2.tga with the original? Or copy of the original, actually, but you know what I mean. It would enable one Dom directory to be used for both normal games AND for ultra-quick screen-grabbing of units, with the only difference being in the shortcut used to launch Dom.

I'm pretty sure it could be done with two .bat files, but I can't write those.
Something along the lines of Code:
@echo off
ren "<path to file>\guiborder2.tga" guiborder2.old
ren "<path to file>\guiborder2.new" guiborder2.tga
"<path>\dom3.exe"
ren "<path to file>\guiborder2.tga" guiborder2.new
ren "<path to file>\guiborder2.old" guiborder2.tga


Batch files are like shell scripts, just a collection of commands that you would type into the command line window.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 12:12 PM.


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