Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Molaris on April 07, 2012, 01:36:22 pm

Title: Getting rid of retail ships in a mod
Post by: Molaris on April 07, 2012, 01:36:22 pm
k, so I've JUST ABOUT filled the ship limit on my mod and kinda wanna clean house with the retail stuff in that mod specifically. Anyone know how to do that? Is that something added in the mod.ini or do I need to table that myself somehow?
Title: Re: Getting rid of retail ships in a mod
Post by: The E on April 07, 2012, 01:42:00 pm
Depends on how you have added the ships. If you have used the correct way (via a -shp.tbm), then you can just rename that to ships.tbl.

If you did it the stupid way (by editing the retail ships.tbl) then you need to delete the entries you do not want.
Title: Re: Getting rid of retail ships in a mod
Post by: Molaris on April 07, 2012, 01:45:40 pm
its SERIOUSLY as easy as changing my ships.tbm into a ships.tbl?!?!?  :eek2:

saweet!!!!!!!! thx man
Title: Re: Getting rid of retail ships in a mod
Post by: MatthTheGeek on April 07, 2012, 02:09:33 pm
It might actually not be as easy as just renaming your tbm. A ship.tbl needs some entries (particularly those at the beginning of the file) that your tbm most likely won't have. Nothing hard to fix with a copy-past and a few runs through debug build.
Title: Re: Getting rid of retail ships in a mod
Post by: Qent on April 07, 2012, 02:16:47 pm
Personally, I would sift through (a copy of!) the retail ships.tbl, deleting everything I didn't need.
Title: Re: Getting rid of retail ships in a mod
Post by: Droid803 on April 07, 2012, 02:18:43 pm
Personally, I would sift through (a copy of!) the retail ships.tbl, deleting everything I didn't need.

This is the intelligent way to do things.

Changing your xxx-shp.tbm to ships.tbl will probably miss all of he engine wash entries and default player ship things which are necessary. You could just backport them, but it depends how much you kept or not.
Title: Re: Getting rid of retail ships in a mod
Post by: Molaris on April 07, 2012, 02:47:10 pm
now I do want to keep a bunch of Shivan fighters from the retail table. will I be fine copying their table info from the file or will I need the POFs and what not in my  models folder?
Title: Re: Getting rid of retail ships in a mod
Post by: Qent on April 07, 2012, 02:51:04 pm
Changing tables doesn't touch models, so you should be fine copying their entries.

Once again though, there's kind of a lot in there to go cherrypicking things you do need.
Title: Re: Getting rid of retail ships in a mod
Post by: Molaris on April 07, 2012, 02:55:42 pm
I just copied and pasted the engine wash and default ship entries. is there more? if there is I will just avoid all the hassle by doing the copy and edit from retail like everyone is saying to. thx guys, appreciate the help. hate feeling like I'm wasting your time.
Title: Re: Getting rid of retail ships in a mod
Post by: Dragon on April 07, 2012, 03:04:18 pm
There's #Player ship precedence or something like that. You may want to take a look at that, as it may be required.
Title: Re: Getting rid of retail ships in a mod
Post by: Molaris on April 07, 2012, 04:10:54 pm
is the weapon table simpler? I've noticed some like countermeasures I'd need, and weapon precedence. Will that be easier than the ships tbl? considering making a weapons.tbl instead of tbm
Title: Re: Getting rid of retail ships in a mod
Post by: headdie on April 07, 2012, 04:39:18 pm
if you are using tbm to add ships, why not copy the retail ships table into the mod and remove any line that does not begin with a '#'