Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Cobra on August 29, 2005, 07:05:05 pm

Title: MOD folder in a MOD folder?
Post by: Cobra on August 29, 2005, 07:05:05 pm
i was wondering about this for a while. is it possible to have a MOD folder in a MOD folder?

something like Inferno folder >>> Sol: A History folder.
Title: MOD folder in a MOD folder?
Post by: Trivial Psychic on August 29, 2005, 07:21:32 pm
Yup.  Your mod command line would look something like this:

-mod Inferno, SAH

Just be sure that the SAH folder is set up like:

freespace2\Inferno\sah\data

I've got that right... right?
Title: MOD folder in a MOD folder?
Post by: WMCoolmon on August 29, 2005, 09:48:36 pm
I think it'd be -mod Inferno,Inferno/SAH
Title: MOD folder in a MOD folder?
Post by: karajorma on August 30, 2005, 01:49:49 am
Wrong way round WMC. That way would give Inferno priority over SaH. Probably not a problem if SaH has no table files but try it with StL and you're screwed. :)


You can do this but I see no good reason to do so. You'd make your Freespace 2 folder tidier but the cost you'd pay is that you'd have to type in the name of the mod manually or spend a little longer browsing to find the sub mod. Putting a mod folder within another mod folder doesn't automatically give the mod access to all the resources of the other mod AFAIK and even if it does the resources of the main mod would take priority most likely (Meaning that any tables in say SaH would be overridden by those from Inferno).

What you really want to do is to set up a mod.ini file. You can read some background on them here (http://www.hard-light.net/forums/index.php/topic,34826.0.html) and also grab some examples which work for SaH and Inferno.

If you still want to put the SaH folder inside the Inferno one it should work simply by dragging the SaH folder into Inferno. Don't know why you'd want to do it but doing so would give you what you asked for.

Any questions, just ask. I'm trying to pimp mod.ini files cause I think more people should be using them :)
Title: MOD folder in a MOD folder?
Post by: WMCoolmon on August 30, 2005, 02:42:08 am
Quote
Originally posted by karajorma
Wrong way round WMC. That way would give Inferno priority over SaH. Probably not a problem if SaH has no table files but try it with StL and you're screwed. :)


Oh :nervous: One of the benefits of Linux is that you can symlink required files. So I just type in "freespace2 -mod stl" from the console :D