PDA

View Full Version : Modding question


DavidG
June 6th, 2002, 03:36 AM
While writing a program for a component viewer I noticed that the component.txt file for a mod (P&N) had a tab character after some of the atribute names and before the := where as normally it is all spaces. The question is, does SE4 care whats there?

Phoenix-D
June 6th, 2002, 07:02 AM
If it doesn't crash, probably not.

One thing SE4 DOES car about is double blank lines. It reads that as the end of the file http://forum.shrapnelgames.com/images/icons/icon7.gif Excellent for debugging mods..

Phoenix-D

Krsqk
June 6th, 2002, 11:10 PM
Even the standard data files have lots of extra spaces at the ends of lines. Check out the v1.67 IntelProjects.txt file. After most of the Effect Amount lines, there are tons of spaces. Guess it doesn't affect the game; it's just something to watch for when writing a text parsing program.