Doslo je do pogreske kod spajanja
A lot of parameters in SPG2 is handled through databases. Database definition is saved as a *.wdb (Whale Database) file, while individual tables are *.wdt (Whale Data Table) files.
Tables can be either in text or binary format. Text format tables have an initial "txt", while binary tables have "bin" in the header.
Due to the nature of database tables, using Excel or Calc is advised. It gives a much better overview of the entire table than you could get in a plain text editor. Simply select the entire contents of a *.wdt file and copy/paste it into Excel or Calc. Make the wanted modifications and then copy/paste it back into *.wdt file. Remove the empty line usually added by Notepad++ automatically.
To prevent Excel or Calc from doing any auto-correction and changing existing data on copy/paste, please follow this procedure:
Setting cell formatting to text is important as then Excel won't for example switch float numbers (decimal numbers) into calender dates (which it does sometimes when formatting is set to General).
TABLES(Click for details)
For explanation on enhancement tables look in the Assembly Editor/Enhancements section
ACCESSING THROUGH SCRIPTS
Data stored in a table can be accessed via scripts. To do that use the function explained below.
Goal is to get price of the Tesla weapon from the LightWeapons table.
IC_Base class handles database interaction in the game engine. Here's a list of important functions:
Modifying original game files directly in their default folders is NOT RECOMMENDED!
Copyright © 2005-2019 Intercorona d.o.o.
Intercorona, LGM Games, Starpoint Gemini and Whale Engine are trademarks of Intercorona d.o.o. All Rights Reserved.