Working on a counter mod
-
swatter555
- Posts: 199
- Joined: Tue Mar 19, 2002 8:06 am
Working on a counter mod
The default counters are bad enough that I am waiting to play the game until I finish. I am using the Mix 1 set, so the color variations are going to be much broader between countries. I am not a graphic artist, but I think mine are much cleaner and unique. The only minor difficulty I am experiencing is that the source coordinates on each texture template seem to be different, so there is alot of experimenting. I am leaving the navy models alone, they are pretty decent and dont appear on the map.
I have two countries done, Ill post my work when I finish. My counters will probably be a stop-gap measure until a real pro takes on a counter mod.
I have two countries done, Ill post my work when I finish. My counters will probably be a stop-gap measure until a real pro takes on a counter mod.
RE: Working on a counter mod
ORIGINAL: swatter555
The only minor difficulty I am experiencing is that the source coordinates on each texture template seem to be different, so there is alot of experimenting.
What do you mean by that? Maybe attached files can help
P.S. info.png and appearance.csv gives a lot of possibilities
- Attachments
-
- ToW_Units.zip
- (52.68 KiB) Downloaded 132 times
Wastelands Interactive member (Programmer)
-
swatter555
- Posts: 199
- Joined: Tue Mar 19, 2002 8:06 am
RE: Working on a counter mod
I agree there are alot of possibilities. My deal is with the source coordinates used to draw the appropriate parts of the texture template. The source coords are different for each country it looks like. I work with it, but it slows things down.
RE: Working on a counter mod
Sorry, but I still do not understand... Source coordinates of what?
But I can assure you - all counters are drawn the same way - no mater what country (only background color depends on it)
But I can assure you - all counters are drawn the same way - no mater what country (only background color depends on it)
Wastelands Interactive member (Programmer)
-
swatter555
- Posts: 199
- Joined: Tue Mar 19, 2002 8:06 am
RE: Working on a counter mod
Ok, but each unit_country.png layout is different. It is hard to orient the new images. Overlay the different pngs over each other, the inconsistentcy makes it hard to work fast. Even identical symbols are in different spots. Im sure you guys have a reason for it, but its a pain in my butt.
RE: Working on a counter mod
They all use the same layout - the one that I attached to second post... open few unit_country.png files (even from different skins) and add this layout as background and you will see the source rectangles (red and white, 128x100) used as "Sprite" while drawing unit. Position and destination size of this "Sprite" is in appearance.csv file, e.g. "19;30;128;100;Sprite Dst" means that it will be drawn at 1:1 scale.Ok, but each unit_country.png layout is different. It is hard to orient the new images.


P.S. Green hexes and squares on layout are just for orientation, the real hex borders depends on "Sprite Dst" values in appearance.csv
Wastelands Interactive member (Programmer)
-
swatter555
- Posts: 199
- Joined: Tue Mar 19, 2002 8:06 am
RE: Working on a counter mod
Awesome, I figured out the problem. PSP pastes a new layer ontop of another centered as much as possible. I think the problem was the transparent background didn't give it a good enough reference, so it did the best it could. This resulted in different images layering inconsistently on each other. It is good to see the problem and thanks for the help. That template is great. This will speed up the process greatly.
I dont plan on doing anything too fancy, Ill leave that up to the pros.
I dont plan on doing anything too fancy, Ill leave that up to the pros.
RE: Working on a counter mod
Hmm ... the above seems a little too technical for me, but I have managed to make some naval counters anyway.
RE: Working on a counter mod
Nice 
You can make them bigger you know, all you need is notepad (and more detailed graphic if you want, but game can also scale those you already have).
You can make them bigger you know, all you need is notepad (and more detailed graphic if you want, but game can also scale those you already have).
Wastelands Interactive member (Programmer)
RE: Working on a counter mod
Thanks, but size is all right. Looking at your example above, I suddenly realize that there's a difference between troop transport and ... what does the second (Cargo) ships signify? Convoys? When does it show up?
RE: Working on a counter mod
Download attachment from second post in this thread - there are labels on every field.
Wastelands Interactive member (Programmer)
RE: Working on a counter mod
Thanks.
- GeorgePatton
- Posts: 99
- Joined: Fri Feb 11, 2005 5:39 am
RE: Working on a counter mod
I love the new counter mods you guys are doing....any chance though of placing class type descriptions on the icons like BB, CA, DD, CV, T etc?
It's hard to tell sometimes if a ship is a CA or BB by looking at the graphic icon. I know most BB ship names but having ship classifications helps a lot.
It's hard to tell sometimes if a ship is a CA or BB by looking at the graphic icon. I know most BB ship names but having ship classifications helps a lot.
War...war never changes.
-
swatter555
- Posts: 199
- Joined: Tue Mar 19, 2002 8:06 am
RE: Working on a counter mod
Ok, I am getting close to done. Here is a screeny:


- Attachments
-
- new_counters.jpg (426.56 KiB) Viewed 540 times
RE: Working on a counter mod
Looks very promising I like it!
- SlickWilhelm
- Posts: 1854
- Joined: Sun Jul 22, 2007 1:52 pm
- Location: Rochester, MN
RE: Working on a counter mod
Very nice, Swatter!
Beta Tester - Brother Against Brother
Beta Tester - Commander: The Great War
Beta Tester - Desert War 1940-42
Beta Tester - Commander: The Great War
Beta Tester - Desert War 1940-42
RE: Working on a counter mod
@bleck,
how do I remove the drop shadow behind the text?
Ive changed unit names from yellow to black, but the text shadow makes it hard to read.
thanks for the help.
how do I remove the drop shadow behind the text?
Ive changed unit names from yellow to black, but the text shadow makes it hard to read.
thanks for the help.
"I don't believe in reincarnation because I refuse to come back as a bug or as a rabbit". -New Order
RE: Working on a counter mod
No way to remove the shadow... maybe in future, but I am not sure.... there is always a color that can be used as shadow.
How to change shadow color you probably now, but I will describe it anyway.
Line from appearance.csv describing text:
-177 ; 108 ; 0 ; 0 ; Arial ; 24 ; 50 ; 255 ; 255 ; 0 ; 0 ; 255 ; 0 ; Name Text Dst and Font
Meaning:
Left ; Top ; Width; Height ; FontName ; FontSize ; FontWeight ; TextColorR ; TextColorG ; TextColorB ; ShadowColorR ; ShadowColorG ; ShadowColorB ; Description of this line
Line from appearance.csv describing images:
123 ; 77 ; 10 ; 10 ; Attack Dst >> ALSO KNOWN AS BBBD (BIG BLUE BLINKING DOT)
Meaning:
Left ; Top ; Width; Height ; Description of this line
Here you can see that its destination size is 10x10, other dots are 6x6.
Generally - first four values defines destination rectangle in which text will be centered, or image will be stretched (resized to).
How to pick RGB of color everyone should know (range for each of them is 0...255). In this case text color is yellow, shadow color is green.
And some visualization for everyone:


How to change shadow color you probably now, but I will describe it anyway.
Line from appearance.csv describing text:
-177 ; 108 ; 0 ; 0 ; Arial ; 24 ; 50 ; 255 ; 255 ; 0 ; 0 ; 255 ; 0 ; Name Text Dst and Font
Meaning:
Left ; Top ; Width; Height ; FontName ; FontSize ; FontWeight ; TextColorR ; TextColorG ; TextColorB ; ShadowColorR ; ShadowColorG ; ShadowColorB ; Description of this line
Line from appearance.csv describing images:
123 ; 77 ; 10 ; 10 ; Attack Dst >> ALSO KNOWN AS BBBD (BIG BLUE BLINKING DOT)
Meaning:
Left ; Top ; Width; Height ; Description of this line
Here you can see that its destination size is 10x10, other dots are 6x6.
Generally - first four values defines destination rectangle in which text will be centered, or image will be stretched (resized to).
How to pick RGB of color everyone should know (range for each of them is 0...255). In this case text color is yellow, shadow color is green.
And some visualization for everyone:


Wastelands Interactive member (Programmer)
RE: Working on a counter mod
Brilliant,
Much of this discussion I assume will end up in doom's wiki guide...
thankyou
one more question please, how/ where are country colours on counters defined?
Much of this discussion I assume will end up in doom's wiki guide...
thankyou
one more question please, how/ where are country colours on counters defined?
"I don't believe in reincarnation because I refuse to come back as a bug or as a rabbit". -New Order



