Tutorial: How to mod ODF files with results. -1 reply

Please wait...

AdmiralHocking

I pretend I'm cooler than AzH

50 XP

30th April 2006

0 Uploads

5,252 Posts

0 Threads

#1 13 years ago

First off I have noticed that people are complaining about altering ODF files and not getting results. This is because Legacy does not read the ODF files themselves.

You are probably wondering what the db.pak is in your game directory, well that is what the game reads instead of the ODF files. If you want to make alterations to ODF files you must first create a .cfg file with a name of your choice, that contains:

g_bGeneratePackFile = 1

What this will do is, every time Legacy starts it will recompile the db.pak from the files in the game directory, thus allowing your odf alterations to take effect. :)

I have heard that people have been deleting this file or renaming it to solve the problem, this is not recommended as it can cause unforeseen problems.

Alternatively download a ready made enable modding .cfg file from:

[COLOR=SeaGreen]Click Here to Download[/COLOR]




FinalWarsGodjira

Commanding USS Enterprise

50 XP

19th September 2006

0 Uploads

59 Posts

0 Threads

#2 13 years ago

I downloaded that file but the changes i made in the odf ship and weapon files are still not working. So far all I have done is change the amount of damage a fed Sov. class ship's hull and shields can take, and I tried to change the number of tropedos in ALL of the tng tropedo files to -1 (the notes in the file said that the -1 would be the same an unlimited count...

Also, I really like SFC III and the way you could add hard points and change the weapons around. What file do you have to change to add hard points to a ship. I know the odf ship files list what each point is...but is there another file that tells where these point are at on the ship?




FinalWarsGodjira

Commanding USS Enterprise

50 XP

19th September 2006

0 Uploads

59 Posts

0 Threads

#3 13 years ago

LOL never mind i figured it out..the g_bGeneratePackFile = 1 that your talking about...it didn't work when i created my own .cfg file with it in it. I had to go into the config.cfg file and put in g_bGeneratePackFile = 1. Lol now my galaxy class can fire up to 10 tropedos and has 250 instead of 52...now thats more like star trek.




AdmiralHocking

I pretend I'm cooler than AzH

50 XP

30th April 2006

0 Uploads

5,252 Posts

0 Threads

#4 13 years ago

Interesting, I will leave the download as it is for now, not everyone will want to download the entire .cfg files.




shdaow

I don't spend enough time here

50 XP

3rd January 2007

0 Uploads

25 Posts

0 Threads

#5 13 years ago

All I did was delete the db.pak file (actually moved it out of the folder) and now all my mods work wonderfully.

Another tip just as a note if you're trying to move ships into different fleets, if it doesn't work by just changing who can build the ship, you must put the ship's file name (i.e. F_sovereign) in the fleet ofd. I am just wondering if it is possible to have one ship be able to be used in all races.




AdmiralHocking

I pretend I'm cooler than AzH

50 XP

30th April 2006

0 Uploads

5,252 Posts

0 Threads

#6 13 years ago

As I said, moving or deleting the db.pak file can have unseen side affects. It is not advisable to remove it.