View Single Post
  #1525  
Old February 5th, 2004, 09:56 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: STM "Final v1.7.5" Discussion

The image values in SectType.txt are off by one. They start at 0, not at 1. Look at the first entry in stock se4:

Physical Type := Planet
Picture Num := 0
Description := Huge planet with an abundance of surface minerals.
Planet Size := Huge
Planet Physical Type := Gas Giant
Planet Atmosphere := Carbon Dioxide

This uses the first picture in the list, which is p0001.BMP. But, the data file is read with a decrement of 1, so this image is called by

Picture Num := 0

and not

Picture Num := 1

So, to get the picture used by an entry in SectType.txt, add 1. There is nothing wrong with that warp point entry. That warp point you posted actually uses the image p0296.BMP, not p0295.BMP.

The problem is most likely that you are trying to load a game created with a different SectType.txt file than is currently used, which will cause such problems to occur. You CAN NOT change the number of entries in the SectType.txt file and expect any current savegames to work properly.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote