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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: Starfury

Reply
 
Thread Tools Display Modes
  #1  
Old September 20th, 2004, 06:17 PM

Exan Exan is offline
Corporal
 
Join Date: May 2003
Location: South Karelia, Finland
Posts: 168
Thanks: 0
Thanked 0 Times in 0 Posts
Exan is on a distinguished road
Default Re: Explinations

Quote:
Sundansyr said:

There is no 'images' directory in the campaign directory tree. There's only the one components directory under the image directory, which is directly under the starfury root. P&N has an image directory, but it contains only some effects that I guess override or suppliment the existing image files.

I have changed the original file, replacing it with an entirely new components.bmp - and in the game, since for some reason it is not reading the image bitmap index line in the components.txt file, I am seeing completely different graphics in the game (whatever I've put into the slot it addressed previously).

Q:
Does the game engine look at another file altogether to parse its component images? That is the only explination I can seem to think of as to wny my altered components.txt file is not functioning correctly.
You can create Images folder in the campaing you want as well as XFiles and Sounds folders and their subfolders. Then when running the campaign the game will look for the images at the campaign folder first and if it doesn't find them it will search the original images folder. Same goes for x files and sounds.

For my knowledge the components.txt doesn't refer to anything else expect to the components.bmp and to that only with slot number. If I recall correctly each slot is 40x40 in the image. My alterations have all worked fine if not counting the few background problems. The pink color wasn't so pink so the objects showed a thin purple line around them.
__________________
Starfury Haven
thepeoplesmod.com (Offical site for The People's Mod)
Alexandria Archives -info site on The People's Mod
Reply With Quote
  #2  
Old September 20th, 2004, 07:21 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Explinations

You are seeing different icons, then? The only thing I can think of at this point is that you aren't actually setting the components.txt correctly. Can you post the components.txt and your new components.bmp please?
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #3  
Old September 20th, 2004, 09:31 PM
Sundansyr's Avatar

Sundansyr Sundansyr is offline
Corporal
 
Join Date: Oct 2003
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Sundansyr is on a distinguished road
Default Re: Explinations

Quote:
Phoenix-D said:
You are seeing different icons, then? The only thing I can think of at this point is that you aren't actually setting the components.txt correctly. Can you post the components.txt and your new components.bmp please?
I suspect that I might be.. in which case I would have expected either a crash, or an absolute hash of the images. But neither happened. I got images, but the wrong ones (since slot 1 was replaced with a weapon, my 'bridge' in the game was that weapon... even though in the components.txt file the index number for 'bridge' was 191).

Here is my components.txt file. You can find my components image file (in JPG format for size) in my GraphX thread.

As for the purple/pink line around the items... I've solved that problem and it'll be clean in the finished components.bmp file.
Photoshop replace color is a handy tool...
Attached Files
File Type: txt 296823-Main_Components.txt (305.1 KB, 214 views)
Reply With Quote
  #4  
Old September 21st, 2004, 12:03 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Explinations

umm. I'm not seeing a file in either thread, actually..
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #5  
Old September 21st, 2004, 06:28 AM
Sundansyr's Avatar

Sundansyr Sundansyr is offline
Corporal
 
Join Date: Oct 2003
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Sundansyr is on a distinguished road
Default Re: Explinations

Just below the reply subject header is a line at the end of which is a hyperlinked attachment

Re: explinations [Re:Phoenix-D]
#296823 - 09/20/04 08:31 PM
Attachment (1 downloads)

Same situation for the graphX thread, with the second post.

Components.txt
http://www.shrapnelcommunity.com/thr...?Number=296823

Components.JPG
http://www.shrapnelcommunity.com/thr...?Number=296183
Reply With Quote
  #6  
Old September 21st, 2004, 12:27 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Explinations

Ah, oops. Haven't used attachments on this board before.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #7  
Old September 21st, 2004, 05:19 PM
Sundansyr's Avatar

Sundansyr Sundansyr is offline
Corporal
 
Join Date: Oct 2003
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Sundansyr is on a distinguished road
Default Re: Explinations

Quote:
Phoenix-D said:
Ah, oops. Haven't used attachments on this board before.
Took me a bit to figure it out as well, and this is the first group I've found that allows attachments.

Any luck understanding the file(s)?

Note
I'm completely redoing the components file all over from scratch again, so the one in the above thread is no longer really valid (though it is for the comp.txt file I attached). I've expanded my ideas for My Little Mod.
Reply With Quote
Reply

Bookmarks


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 01:16 PM.


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