.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 January 14th, 2005, 05:58 AM

Miyoshi Miyoshi is offline
Private
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Miyoshi is on a distinguished road
Default trouble with slots

Hello all!

I've been having some trouble modding the slots on ships in the game- specifically adding extra weapon slots.

I'm trying to add some weapon slots to a Xiati Carrier and I'm using the original hardpoints.

I have previously successfully tweaked the Xaiti Battleship, with an increased firing arc and extra tonnage and such without problem.

SJ's slotmodder program seems to be working well. when I save it, I find the new entry in the beginning of Main_ComponentConfigurationSlotsPlayer.txt and everything appears good, but when I try to buy the ship, the slots don't show up and the firing arc aren't shown in the ship dealer (but they are for all the other ships).

I've tried my "new" ship with the standard Xiati Carrier Layout, and it works with the increased firing arcs from the SpaceObjects_XFiles.txt.

Do the slots have to be in any order, weapons first, then shields, etc? Is there some little problem I just don't know about?

Thanks for any help you can give,

Miyoshi
Reply With Quote
  #2  
Old January 14th, 2005, 07:27 AM

Miyoshi Miyoshi is offline
Private
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Miyoshi is on a distinguished road
Default Re: trouble with slots


I solved my problem. It was so stupid- hours of searching and trying, and the answer was simple. I'll share for your entertainment:

Do you know that file called CampaignData.txt? I found it, and instead of editing all the original files, I had been making copies with new names (so they'd all be at the top when I looked for the files). In that file, you can select which files are used for the data. I did it for stores, new purchase ships, bitmap effects, character stats, components, etc, with no problem.

Appearantly, it doesn't work for Main_ComponentConfigurationSlotsPlayer.txt. When I renamed the original file and changed the name of my modded one, it all worked.

Gosh, did I find a bug?

Well, I hope you all get some entertainment out of my suffering!

Miyoshi
Reply With Quote
  #3  
Old January 15th, 2005, 05:01 AM
Instar's Avatar

Instar Instar is offline
Major
 
Join Date: Aug 2000
Posts: 1,246
Thanks: 0
Thanked 0 Times in 0 Posts
Instar is on a distinguished road
Default Re: trouble with slots

Sure, submit it as a bug if you think you found a problem. I'm not a big modder myself, but you might want to ask those who know more about it first though.
__________________
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
Reply With Quote
  #4  
Old July 20th, 2005, 12:44 AM

Salvo Salvo is offline
Private
 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Salvo is on a distinguished road
Default Re: trouble with slots

I am having similar problems. I've tried to mod the Abbidion light cruiser's weapon arcs to fire all forward. [and changed heavy weapon ports to light]

I just modded the file, "Main_ComponentConfigurationSlotsPlayer" to do this.

It worked when loading a current game, then going to a dealer who sells that ship. But, it doesn't work when starting a new game and selecting the Abbidion Cruiser as your staring ship. [I also modded the file, "Main_StartingPlayerShips" adding the ship to the list] The weapon hardpoints worked, but the arcs went back to their original settings.

What did I miss?
Reply With Quote
  #5  
Old July 20th, 2005, 02:02 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: trouble with slots

Did you change the Main_StartingPlayerShips file BEFORE or AFTER making your other change?
__________________
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
  #6  
Old July 20th, 2005, 03:10 PM

Salvo Salvo is offline
Private
 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Salvo is on a distinguished road
Default Re: trouble with slots

After.

Also, It seems I was wrong. The modded arcs are displayed on the purchase ship screen, but after buying the ship they revert back to their original settings.

The modding manuel references the xfile,

"The starting weapon arc in degrees. This value should match up to the weapon arc degrees in the spaceObject_Xfiles file for this firing point. The arcs should be in 22.5 degree increments for proper display."

I guess in this case it means the Xfile, "abbidon_cruiser1" if so I don't understand this file enough to make the required changes. It just looks to me like it is just building the model for the ship.
Reply With Quote
  #7  
Old July 20th, 2005, 03:22 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: trouble with slots

Oooh, that problem.

The issue there is the slots are defined in two DIFFERENT places. Where you changed them, and in SpaceObjects_Xfiles.txt.

The later sets the maximum size of the arc. You can make it smaller via PurchaseShips and StartingShips, but not bigger..

And no, it isn't editing the ship file; just the text file. Look for lines like these:

Firing Point 1 Arc Start := 315
Firing Point 1 Arc End := 45
__________________
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
  #8  
Old July 26th, 2005, 09:23 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: trouble with slots

Quote:
Phoenix-D said:
Oooh, that problem.

The issue there is the slots are defined in two DIFFERENT places. Where you changed them, and in SpaceObjects_Xfiles.txt.

The later sets the maximum size of the arc. You can make it smaller via PurchaseShips and StartingShips, but not bigger..

And no, it isn't editing the ship file; just the text file. Look for lines like these:

Firing Point 1 Arc Start := 315
Firing Point 1 Arc End := 45
Aha! I had the same problem and now I could fix it... if my computer with Starfury on it were usable.

Oh well, when I get a newer and much more powerful computer I'll finally be able to make a Terran battleship with 4 forward-firing heavy weapon mounts! Muhahahaha!
Reply With Quote
  #9  
Old August 11th, 2005, 11:18 AM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: trouble with slots

It works! I've expanded the forward weapon arcs on a Terran battle ship to also face their respective sides and allow three weapons to bear to each side instead of just two. But it turns out that the slots are 'reversed' from what I expected, so I had to re-arrange the numbers to make the expanded arcs face outward instead of inward towards the ship...
Reply With Quote
  #10  
Old August 12th, 2005, 02:14 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: trouble with slots

Try editing the weapons to autofire like point defense does

They only target the nearest ship, and if you upset the TCN, you won't be able to stop shooting them, but its still nifty.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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:54 AM.


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