Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

MOD SUPPORT- Ship Sets and Race Images

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> MOD SUPPORT- Ship Sets and Race Images Page: [1]
Login
Message << Older Topic   Newer Topic >>
MOD SUPPORT- Ship Sets and Race Images - 12/18/2010 10:25:30 PM   
lordxorn


Posts: 768
Joined: 12/6/2009
Status: offline
Hey fellow modders,

I am in a frenzy to get my Star Wars mod up to Shakturi standards. However, I am getting some errors when I select the Rebellion, I get this error "Index was outside the bounds of the array".. I have a sneaking suspision that it has something to do with the races.txt

ANother odd occurence is, I went ahead and played one of the default races and edited some of the Rebellion ships in.
A funny thing happened when I went to launch what I thought would be some xwing and ywing fighters and bombers, was that the default race fighters and bombers launched. Which makes sense because the that is what was assigned to the default race I was playing.

So anyways here is how I have my mod setup so far,

Rebellion
shipImages named to family12
raceImages named race_22.png, race_22a.png
and troopImages Troop_22.png

I have attached my races.txt

So if any of you other beta testers who delve more into this aspect can help me pinpoint where I am going wrong, I can get my Star Wars Mod ROTS version up.






Attachment (1)

< Message edited by lordxorn -- 12/18/2010 10:30:26 PM >


_____________________________

Post #: 1
RE: MOD SUPPORT- Ship Sets and Race Images - 12/18/2010 10:31:19 PM   
Shark7


Posts: 7937
Joined: 7/24/2007
From: The Big Nowhere
Status: offline
Same problem. AS of right now, it seems the game will not support more than 22 race image families, so you are limited to the ones that already exist.

_____________________________

Distant Worlds Fan

'When in doubt...attack!'

(in reply to lordxorn)
Post #: 2
RE: MOD SUPPORT- Ship Sets and Race Images - 12/18/2010 10:41:41 PM   
lordxorn


Posts: 768
Joined: 12/6/2009
Status: offline
I was hoping I was doing something wrong, but I am thinking you are right. Although I am sure Elliot said it was ok?

Ok I replaced two of the default races with my mod and renamed the corresponding folders and files to match, and the errors went away.

Hopefully Elliot can clear this all up before he goes on xmas vacation.

< Message edited by lordxorn -- 12/18/2010 10:50:03 PM >

(in reply to Shark7)
Post #: 3
RE: MOD SUPPORT- Ship Sets and Race Images - 12/18/2010 10:49:45 PM   
Shark7


Posts: 7937
Joined: 7/24/2007
From: The Big Nowhere
Status: offline
OK to add more than 22 races, but apparantly there is no support for the race images. I've put a post about this in the modder's wishlist as a priority.

_____________________________

Distant Worlds Fan

'When in doubt...attack!'

(in reply to lordxorn)
Post #: 4
RE: MOD SUPPORT- Ship Sets and Race Images - 12/19/2010 12:51:48 AM   
tjhkkr


Posts: 2428
Joined: 6/3/2010
Status: offline
Ah... Okay, I understand now.

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to Shark7)
Post #: 5
RE: MOD SUPPORT- Ship Sets and Race Images - 12/19/2010 1:18:46 AM   
Haree78


Posts: 1269
Joined: 5/18/2010
Status: offline
Please confirm my bug report:
http://www.matrixgames.com/forums/tm.asp?m=2654140

(in reply to tjhkkr)
Post #: 6
RE: MOD SUPPORT- Ship Sets and Race Images - 12/19/2010 2:12:49 AM   
tjhkkr


Posts: 2428
Joined: 6/3/2010
Status: offline
I think that has got it.

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to Haree78)
Post #: 7
RE: MOD SUPPORT- Ship Sets and Race Images - 12/27/2010 3:04:00 AM   
ehsumrell1


Posts: 2529
Joined: 8/17/2010
From: The Briar Patch Nebula
Status: offline

quote:

ORIGINAL: lordxorn

Hey fellow modders,

I am in a frenzy to get my Star Wars mod up to Shakturi standards. However, I am getting some errors when I select the Rebellion, I get this error "Index was outside the bounds of the array".. I have a sneaking suspision that it has something to do with the races.txt

ANother odd occurence is, I went ahead and played one of the default races and edited some of the Rebellion ships in.
A funny thing happened when I went to launch what I thought would be some xwing and ywing fighters and bombers, was that the default race fighters and bombers launched. Which makes sense because the that is what was assigned to the default race I was playing.

So anyways here is how I have my mod setup so far,

Rebellion
shipImages named to family12
raceImages named race_22.png, race_22a.png
and troopImages Troop_22.png

I have attached my races.txt

So if any of you other beta testers who delve more into this aspect can help me pinpoint where I am going wrong, I can get my Star Wars Mod ROTS version up.


The only thing I see in your races file is to change your two added races' reproduction
rate to a decimal format (1 to 1.00).
This "might" cause an out of range, not sure, but if the code is looking for a
decimal format for that particular data, who knows? Just a thought. I always just
copy and paste an entire line of one of the original races then tweak each data
area to my liking.

_____________________________

Shields are useless in "The Briar Patch"...

(in reply to lordxorn)
Post #: 8
RE: MOD SUPPORT- Ship Sets and Race Images - 12/29/2010 4:01:20 PM   
tjhkkr


Posts: 2428
Joined: 6/3/2010
Status: offline
Hey gang, did the issue with the designs.txt file get resolved?
In the prior game, if you added or changed the file, the game freaked out?

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to ehsumrell1)
Post #: 9
RE: MOD SUPPORT- Ship Sets and Race Images - 12/29/2010 4:14:53 PM   
Igard


Posts: 2282
Joined: 3/29/2010
From: Scotland
Status: offline

quote:

ORIGINAL: tjhkkr

Hey gang, did the issue with the designs.txt file get resolved?
In the prior game, if you added or changed the file, the game freaked out?


Haven't tested it yet, tj. In fact I think I've lost the file of Star Trek ship names I had for it.

_____________________________


(in reply to tjhkkr)
Post #: 10
RE: MOD SUPPORT- Ship Sets and Race Images - 1/7/2011 8:56:01 PM   
Tampa_Gamer


Posts: 160
Joined: 12/27/2010
Status: offline
On a related question re: shipsets, one point of confusion I have:

It appears that the game modifies the size of the original image based on the in-game size of the ship/base. Has anyone worked out the ratio of pixels to in-game size? That would be very helpful in trying to properly proportion our own shipsets (e.g. escort vs. capital ship). Many of the shipsets available for download appears to swing widely between 200-300 and even 500 pixels, but not necessarily corresponding to in game size (e.g. I have seen some shipsets with 500 pixel fighters). Perhaps it does not matter?


(in reply to lordxorn)
Post #: 11
RE: MOD SUPPORT- Ship Sets and Race Images - 1/7/2011 9:16:45 PM   
Igard


Posts: 2282
Joined: 3/29/2010
From: Scotland
Status: offline
The game scales ships by calculating the number of opaque pixels. The more opaque pixels there are, the smaller the ship will appear. I haven't figured it out completely but it seems to me to be a ratio of transparent to opaque pixels. For example if I use a ship image that's 500x500 with alot of transparent pixels, it still looks the same size as the same ship of 200x200 pixels with the same ratio of transparent to opaque.

Here's a thread where it's discussed with Elliot: http://www.matrixgames.com/forums/tm.asp?m=2513492&mpage

< Message edited by Igard -- 1/7/2011 9:17:25 PM >


_____________________________


(in reply to Tampa_Gamer)
Post #: 12
RE: MOD SUPPORT- Ship Sets and Race Images - 1/7/2011 10:09:42 PM   
lordxorn


Posts: 768
Joined: 12/6/2009
Status: offline
To help clarify things further, the pixel size of a ship ie 200x200 vs 500x500px only adds to a more detailed image in game and thus taking for memory. Thus it only makes sense for say a Cruiser and Capital class ship to have a base picture at 500 pixel size. All the other class can be rendered at 250px to help keep things running smoothly.

The game also has problems rendering long pencil shaped ships (ie Nebulon Frigate)and large square ships (ie Borg Cube). The former can be fixed, however the latter in my opinion can only be fixed by Elliot and the way the game calculates the ratio that Igard mentioned, opaque vs transparent.



_____________________________


(in reply to Igard)
Post #: 13
RE: MOD SUPPORT- Ship Sets and Race Images - 1/7/2011 10:14:14 PM   
tjhkkr


Posts: 2428
Joined: 6/3/2010
Status: offline
I usually convert all to 200 x 200, and all fighters to 100 x 100. That is simply to give all the memory and space that I can to the computer to play the game.
There have been a few images I have never converted because they are so cool, but I do so for the sake of the memory issues.

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to lordxorn)
Post #: 14
RE: MOD SUPPORT- Ship Sets and Race Images - 1/7/2011 11:50:53 PM   
Igard


Posts: 2282
Joined: 3/29/2010
From: Scotland
Status: offline
I'm totally guilty of making esorts and frigates 500x500. I just can't bear to scale them down and lose all that lovely texture. I've not noticed any performance issues with my 4GB setup, but I should really consider making a low res alternative version for lower end machines.

_____________________________


(in reply to tjhkkr)
Post #: 15
RE: MOD SUPPORT- Ship Sets and Race Images - 1/8/2011 1:15:34 AM   
Tampa_Gamer


Posts: 160
Joined: 12/27/2010
Status: offline
Thanks for the links/tips everyone, will be tinkering tonight with this.

(in reply to Igard)
Post #: 16
RE: MOD SUPPORT- Ship Sets and Race Images - 1/8/2011 6:00:50 AM   
lordxorn


Posts: 768
Joined: 12/6/2009
Status: offline

quote:

ORIGINAL: Igard

I'm totally guilty of making esorts and frigates 500x500. I just can't bear to scale them down and lose all that lovely texture. I've not noticed any performance issues with my 4GB setup, but I should really consider making a low res alternative version for lower end machines.


Yeah plus at the size I design them at I don't really notice the drop in detail.

_____________________________


(in reply to Igard)
Post #: 17
RE: MOD SUPPORT- Ship Sets and Race Images - 1/8/2011 8:51:57 AM   
Igard


Posts: 2282
Joined: 3/29/2010
From: Scotland
Status: offline

quote:

ORIGINAL: lordxorn


quote:

ORIGINAL: Igard

I'm totally guilty of making esorts and frigates 500x500. I just can't bear to scale them down and lose all that lovely texture. I've not noticed any performance issues with my 4GB setup, but I should really consider making a low res alternative version for lower end machines.


Yeah plus at the size I design them at I don't really notice the drop in detail.


That's true, I find that your ship images, lordxorn are usually taken from a nice image source, or perhaps you touch them up a bit yourself to make them look sharp.

My method on the other hand uses sometimes 10 year old 3D models viewed with a basic model viewer and then copied and slapped into GIMP. So I need all the quality I can get!

_____________________________


(in reply to lordxorn)
Post #: 18
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> MOD SUPPORT- Ship Sets and Race Images Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.180