Author Topic: About how to make TGL file autoloaded?  (Read 1825 times)

Offline NatsuKagura

  • Posts: 76
  • Cookies: 1
About how to make TGL file autoloaded?
« on: April 07, 2010, 01:35:31 AM »
Hi... guys... It's may be a stupid question but I need suggest about ship's TGL file..... :bow:

What should I do or the program I need if I want to make a TGL that have the same way like Custom/ship.py that we only need to copy/move the .tgl file into the specific directory, and can automatically loaded in the game. Without needed to update TGL from BCMod or else.  ;)

I try to add in custom/ship.py but I got several problem regarding how to make paragrah, also BCMod didn't load it, and if we add the ship without typing the TGL, the STBC will modify the custom/ship.py by erasing the "description" I made earlier into a blank description.  :banghead:

Is my problem because I using BCMod? :lostit:
Btw if I may have missed the forum already talk about this, please let me know.... thanx guys....  ;)
Squad 17 Gotei 14! U.S.S.NatsuKagura , Reporting for duty SSSIIIIIRRRR...........!!!!

Offline Morgan

  • Moderator
  • Posts: 1340
  • Cookies: 65535
Re: About how to make TGL file autoloaded?
« Reply #1 on: April 07, 2010, 04:13:32 AM »
TGL's are actually very easy. Here's what I do:

1. Create just a blank TGL file and import into the game using BCMP (a lot of people will tell you not to use BCMP because it's old, and they're right, but in the case of TGL's it still is pretty useful for creating them). You should be able to figure out how to do this on your own as its pretty straight forward.

2. Go into data/TGL folder, open the Ships.tgl file with BCUT, afterwords you should be able to figure out how to edit them by using the existing information in there as a template. Save your changes and exit when your done.

3. Go into your ships plugin file and delete everything above "import App" (failure to do this will result in a BSOD)

3. Load up BC, ship descriptions will use TGL's.

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2200
  • Cookies: 1707
  • Life is life
Re: About how to make TGL file autoloaded?
« Reply #2 on: April 07, 2010, 05:17:40 AM »
I'm guessing that you already have a custom.tgl file, now

BCUT->TGL Description Merge

1. Plugin Importer: BCUT imports ships description into your ships plugin Custom\plugin.py. Just locate the custom tgl.
2. TGL Description Merge: BCUT merges the custom.tgl data to ships.tgl. Although its highly recommended to use method 1. Same as 1st just locate the custom.tgl
Acta, non verba.
aka USS Sovereign

Offline NatsuKagura

  • Posts: 76
  • Cookies: 1
Re: About how to make TGL file autoloaded?
« Reply #3 on: April 07, 2010, 11:18:21 PM »
wow...  :eek...sound like that what I looking for.... thank u very much, Nero & Sovereign...   ;) ;)
I'll try it and reporting in... ASAP....   :dance
Btw perhaps I will ask u again ... since that's new for me and I didn't fully understand the method before I try it myself... Just wait for my report, ok.... :D :D
Thanks again....
Squad 17 Gotei 14! U.S.S.NatsuKagura , Reporting for duty SSSIIIIIRRRR...........!!!!