.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Trouble with Unit Graphics (http://forum.shrapnelgames.com/showthread.php?t=39470)

Atreides June 27th, 2008 04:07 AM

Trouble with Unit Graphics
 
1 Attachment(s)
I've been working on graphics for a mod nation using GIMP and for some reason that I cannot figure out, some of the images I've modified and created cannot be loaded when I try to start a dominions game. No matter what I do, several of the files say they cannot be accessed. The file paths are all correct, identical to the files that are being found, every file is the right format. Is there some specific nuanced thing about creating unit graphics that I am missing? If anyone has any idea how to solve this problem, please let me know.
- Atreides

Atreides June 27th, 2008 04:21 AM

Re: Trouble with Unit Graphics
 
Also, even stranger, as a test I renamed a standard dominions graphic to the unit name that cant be found (2003_watchman_1) and dominions says that unit file cannot be opened as well? Can anyone think of an explanation for this?

Edi June 27th, 2008 04:28 AM

Re: Trouble with Unit Graphics
 
What's the number of the unit?

Modded unit numbers must start from 2100 and go upwards. Originally the range from 200 on up, but the base game units have crept up to 2083 and are probably set to go even further when the next patch rolls around.

The mod manual in the next patch will be updated to reflect the correct ranges.

Atreides June 27th, 2008 04:30 AM

Re: Trouble with Unit Graphics
 
I thought I might have been in a wrong set before. I had originally started the units from 2100 going up, and the same file encountered the problem, when it was 2103 and now 2003. I'll try moving the files up to 2200s and see what happens.

Atreides June 27th, 2008 04:44 AM

Re: Trouble with Unit Graphics
 
Still no luck. Could I have somehow saved my files from GIMP in a different .tga format?

Endoperez June 27th, 2008 05:35 AM

Re: Trouble with Unit Graphics
 
I always save my Gimp TGAs in a folder, and then use IrfanView to open and resave them to the mod folder. I'm a bit hazy on the details, but I think Dominions had some trouble with the spesific type of tga files GIMP saved a year or two ago, when I started doing this.

Atreides June 27th, 2008 06:05 AM

Re: Trouble with Unit Graphics
 
I'd actually already dug up an old post you made about that and tried it. While I have discovered that I like IrFanView more, unfortunately it still isn't getting the files to work.

llamabeast June 27th, 2008 06:09 AM

Re: Trouble with Unit Graphics
 
I use GIMP with no problems. Sometimes (generally when I've been using layers), Dominions for some reason shows all the black and pink instead of making it transparent. When that happens I have to copy and paste the sprite into a new image, then it's fine. However, I've never had a problem like you describe. Maybe try posting one of your sprites, and we'll see if we can reproduce the issue.

Amos June 27th, 2008 06:18 AM

Re: Trouble with Unit Graphics
 
Maybe the devs should jump over the modders numbers and start the new units at 3000. That way the mods dont become obsolete with every patch.

Edi June 27th, 2008 06:52 AM

Re: Trouble with Unit Graphics
 
I've asked Johan to do this as part of the overall work related to the modding wishlist and manual issues. We'll see where it goes, but right now the biggest constraint with modding is that the originally fairly large ranges are being squeezed out by content being added to the game.


All times are GMT -4. The time now is 09:29 AM.

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