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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old November 5th, 2003, 05:48 PM

Alf Alf is offline
Private
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Alf is on a distinguished road
Default How to edit .x files?

Hi,

I was trying out modding this game, but when I started looking at the .x files and using textpad to view them, I see binary data instead of human-readable data.

Is there any tool available to view these files? Also, where would you be able to change to speeds of ships?

Thanks in advance for any help.

Regards,
Alf
Reply With Quote
  #2  
Old November 5th, 2003, 06:38 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: How to edit .x files?

The .x files are the 3D models for the various ships, fighters, planets, etc. in the game. I don't know of any programs worth mentioning that can read in .x files, but there are a number of 3D modellers that produce .3ds files that can be converted to .x files with a converter (look for 3dsconv.exe); some of these modellers are Anim8or and Wings 3D (which is currently down )

edit: oh yeah, the speeds of ships... in each ship definition in Main_PurchaseShipsPlayer.txt (or Main_PurchaseShipsEnemy.txt or Main_StartingPlayerShips.txt depending on which ships you want to modify) there should be an entry for the ship's max speed. This isn't the actual speed you'll get; you'll still need engines that can propel it that fast, though! To modify the engine components, go to Components.txt, remembering that the speeds in the text file are 1/1000 of those shown in the game, so to get a speed of 500, you'd put in 0.5 (like with the Ion Engine).

[ November 05, 2003, 16:40: Message edited by: Ed Kolis ]
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #3  
Old November 5th, 2003, 08:34 PM

reverend reverend is offline
Sergeant
 
Join Date: Nov 2003
Location: Fürth, Germany
Posts: 384
Thanks: 8
Thanked 16 Times in 2 Posts
reverend is on a distinguished road
Default Re: How to edit .x files?

thanks! i was about to ask the same question, i didn't find a FREE plugin myself.

i'm using panda now for exporting from MAX to .x but unfortunately panda can't import .x files. is there another plugin to import them? would be easier to compare sizes and polycount instead of having to launch starfury after every change to the 3d-model.
__________________
Dom3 Nation Reference

Reply With Quote
  #4  
Old November 5th, 2003, 09:16 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: How to edit .x files?

MAX doesn't have tools for polycount?

And once you have the model done, you can adjust its size if needed in the space objects text file.

EDIT: lithunwrap will convert to and from x and 3ds.

[ November 05, 2003, 19:17: Message edited by: Phoenix-D ]
__________________
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 November 5th, 2003, 10:51 PM

reverend reverend is offline
Sergeant
 
Join Date: Nov 2003
Location: Fürth, Germany
Posts: 384
Thanks: 8
Thanked 16 Times in 2 Posts
reverend is on a distinguished road
Default Re: How to edit .x files?

max has tools for polycount, i was more interested in the count for the original ships
__________________
Dom3 Nation Reference

Reply With Quote
  #6  
Old November 6th, 2003, 03:16 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: How to edit .x files?

I think you either have to start a new game or buy a new ship for the changes to take effect...
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #7  
Old November 7th, 2003, 01:35 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: How to edit .x files?

Yep.
Existing ships have stats that are independent of the datafiles.

You need to purchase a new ship, or warp into a new system where the enemies are using that ship in order to see the changes take effect.
Reply With Quote
  #8  
Old November 7th, 2003, 02:36 AM

Alf Alf is offline
Private
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Alf is on a distinguished road
Default Re: How to edit .x files?

Hi all,

Thanks for all the info you've provided. I've managed to open the .x files in readable mode now, forgot that my textpad was set in another mode for another project

Thanks for the info about the ship speed and the .x files info as well, Ed Kolis

Looks like modding this isn't going to be easy...but I'll see how I manage

Thanks again,
Alf
Reply With Quote
  #9  
Old November 7th, 2003, 02:48 AM

reverend reverend is offline
Sergeant
 
Join Date: Nov 2003
Location: Fürth, Germany
Posts: 384
Thanks: 8
Thanked 16 Times in 2 Posts
reverend is on a distinguished road
Default Re: How to edit .x files?

question concerning the spaceobjects_xfiles.txt:

i created a .x, works fine. then i tried scaling it by editing the spaceobjects file. but no matter what i do ( and i've checked, i'm editing the right set of numbers ), it doesn't affect the model in game. scaling, moving the engine-glow, rotating, nothing seems to have any effect.

is this file only read during creation of a new game, or are there other files i have to edit, too?
__________________
Dom3 Nation Reference

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 10:17 PM.


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