|
|
|
 |
|

June 27th, 2008, 04:07 AM
|
Corporal
|
|
Join Date: Jan 2007
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Trouble with Unit Graphics
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
|

June 27th, 2008, 04:21 AM
|
Corporal
|
|
Join Date: Jan 2007
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

June 27th, 2008, 04:28 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
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.
|

June 27th, 2008, 04:30 AM
|
Corporal
|
|
Join Date: Jan 2007
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

June 27th, 2008, 04:44 AM
|
Corporal
|
|
Join Date: Jan 2007
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Trouble with Unit Graphics
Still no luck. Could I have somehow saved my files from GIMP in a different .tga format?
|

June 27th, 2008, 05:35 AM
|
 |
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
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.
|

June 27th, 2008, 06:05 AM
|
Corporal
|
|
Join Date: Jan 2007
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

June 27th, 2008, 06:09 AM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
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.
|

June 27th, 2008, 06:18 AM
|
 |
Captain
|
|
Join Date: Feb 2005
Posts: 867
Thanks: 0
Thanked 41 Times in 19 Posts
|
|
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.
|

June 27th, 2008, 06:52 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
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.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|