Hard Light Productions Forums

Hosted Projects - FS2 Required => Inferno => Topic started by: Marcov on May 30, 2010, 11:01:30 pm

Title: Inferno minor problem
Post by: Marcov on May 30, 2010, 11:01:30 pm
Sorry for so many topics, but you can delete this after I've approved of your answer.

Whenever I go to Inferno FRED (by moving the Inferno files into my data folder), it says this:

Warning: GTF Vesuvius (vesuvius.pof) has a null moment of inertia!
File: Ship.cpp
Line: 5727


Call stack:
------------------------------------------------------------------
    fred2_open_3_6_10_debug.exe 005426e4()
    fred2_open_3_6_10_debug.exe 0054b55b()
    fred2_open_3_6_10_debug.exe 00457e6f()
    fred2_open_3_6_10_debug.exe 00458e19()
    fred2_open_3_6_10_debug.exe 004594a2()
    fred2_open_3_6_10_debug.exe 0045941d()
    fred2_open_3_6_10_debug.exe 004578eb()
    fred2_open_3_6_10_debug.exe 0044d651()
    fred2_open_3_6_10_debug.exe 009c5da2()
    fred2_open_3_6_10_debug.exe 009c5704()
    fred2_open_3_6_10_debug.exe 009c32a9()
    fred2_open_3_6_10_debug.exe 009c3745()
    USER32.dll 77d48709()
    USER32.dll 77d4d297()
    USER32.dll 77d4b368()
------------------------------------------------------------------


The log is posted.
Thanks.

[attachment deleted by admin]
Title: Re: Inferno minor problem
Post by: Droid803 on May 31, 2010, 12:11:20 am
Open the model with PCS2.
Go down on the right hand sidebar.
See the Moment of Inertia field.
Hit generate.
Hit OK even when PCS2 claims its bad at it. It's better than you could calculate, or me for that matter.
Purge BSP Cache
Save
???
Profit!
Title: Re: Inferno minor problem
Post by: General Battuta on May 31, 2010, 01:10:20 am
The model was never properly debugged. Follow Droid's steps to fix it.
Title: Re: Inferno minor problem
Post by: Marcov on May 31, 2010, 03:48:35 am
Open the model with PCS2.
Go down on the right hand sidebar.
See the Moment of Inertia field.
Hit generate.
Hit OK even when PCS2 claims its bad at it. It's better than you could calculate, or me for that matter.
Purge BSP Cache
Save
???
Profit!

What does PCS2 mean?
Title: Re: Inferno minor problem
Post by: Jeff Vader on May 31, 2010, 03:53:01 am
http://www.hard-light.net/wiki/index.php/PCS2
Title: Re: Inferno minor problem
Post by: Dragon on May 31, 2010, 04:16:24 am
Don't FRED using debug build, none of Inferno ships has MOI, so you'd spend ages fixing this.
It's not a huge problem and Inferno runs just fine with that.
Title: Re: Inferno minor problem
Post by: Marcov on May 31, 2010, 07:59:42 am
Open the model with PCS2.
Go down on the right hand sidebar.
See the Moment of Inertia field.
Hit generate.
Hit OK even when PCS2 claims its bad at it. It's better than you could calculate, or me for that matter.
Purge BSP Cache
Save
???
Profit!

Thanks. That has fixed the problem.
Title: Re: Inferno minor problem
Post by: Snail on May 31, 2010, 11:46:30 am
(by moving the Inferno files into my data folder)
!!!
Title: Re: Inferno minor problem
Post by: The E on May 31, 2010, 11:49:17 am
Yeah....Marcov, unless you really know what you are doing (and you don't), never, EVER put stuff in the main data folder.
Title: Re: Inferno minor problem
Post by: Marcov on May 31, 2010, 11:16:06 pm
Yeah....Marcov, unless you really know what you are doing (and you don't), never, EVER put stuff in the main data folder.

Isn't VPView, which I used, specially designed for extracting files to the data folder?
Title: Re: Inferno minor problem
Post by: Jeff Vader on June 01, 2010, 02:38:13 am
Isn't VPView, which I used, specially designed for extracting files
Yes.

Quote
to the data folder?
No.

Modding basics 101 (in no particular order):
1. Things placed in proper subfolders under \freespace2\data\ will override stuff in the .vp files under \freespace2\ . For example, you have a (properly encoded) Ogg video called "intro.ogg". You place it into \freespace2\data\movies\ . Now, when you start the game, you'll notice that that video is played instead of the original FS2 intro cutscene. Why? Because the game engine found the video in FS2OGGCutscenepack.vp and under \freespace2\data\movies\ , but because \freespace2\data\ has a higher priority than the .vp files in \freespace2\ , the file in \freespace2\data\movies\ was used.

2. Despite this, you should NEVER place anything under \freespace2\data\ . Sure, it works. WITH ONE MOD. If you want to switch your mod, you must first remove all the previous mod files under \freespace2\data\ and then place the new ones there. And eventually you'll mess up; you forget a file or files there, they will interfere with the rest of the game, you come here asking for help and it'll be a ***** to figure out what the cause is, unless you mention that you placed files under \freespace2\data\ (though in this case you did mention it and for that, I'm eternally grateful).

3. Active mod folders override things in \freespace2\ and under \freespace2\data\ . And that is awesome. Instead of having to mess up with \freespace2\data\ , you can just drop .vp files under a mod folder, select the folder as a mod and be happy. Or, if your assets are in non-vp format, you can create a subfolder called "data" (!) and place them there. \modfolder\data\ will work very much like \freespace2\data\ , except that things placed in \modfolder\data\ will not interfere with everything, and if you mess something up, you can just ignore the mod folder altogether and start again.

4. One mod per folder. By default, two mods will fight for supremacy, if placed into the same folder. Keep them separated. You can use several mods at once. The -mod commandline parameter can take several mod folders as arguments. For example, -mod fsport-mediavps,fsport,mediavps will tell the game that
- use the MediaVPs for graphical pleasure
- use FSPort and if there are files with same names in the MediaVPs and the FSPort, use the FSPort files
- use the FSPort MediaVPs and replace any possible FSPort things with shinier versions.
You can use the -mod flag in several ways. The hardcore way is to enter it into the "Custom flags" field in the Launcher. The regular user way is to use the Launcher to select a mod folder and then place a mod.ini into the mod folder, with the mod.ini containing a list of secondary mod folders in the "secondarylist" line.

WHEN TALKING ABOUT MOD FOLDERS IN FRED, the Launcher cannot unfortunately be used (yet?). You'll have to do this:
- right-click the FRED.exe you're using and select "Create a shortcut" or something.
- right-click the shortcut, select "Properties"
- there's a path to the .exe there "C:\games\freespace2\fred*****.exe". Without the quotation marks, enter "-mod infr1" after it, and save the changes.
- double-click the shortcut: ta-dah. You're running FRED with Inferno as a mod. You can change the mod folder in the -mod flag to suit your needs, and as I said, you can enter several mod folders at the same time: like "-mod fsport,mediavps" and so forth.

I had something else in mind, but I forget.
Title: Re: Inferno minor problem
Post by: General Battuta on June 01, 2010, 02:43:19 am
Yeah....Marcov, unless you really know what you are doing (and you don't), never, EVER put stuff in the main data folder.

Isn't VPView, which I used, specially designed for extracting files to the data folder?

No. Place files in /FreeSpace2/[yourmod]/data, not /FreeSpace2/data. If you want to use them, select [yourmod] as a mod in the launcher.

Also, read Jeff Vader's post really well.
Title: Re: Inferno minor problem
Post by: Marcov on June 02, 2010, 07:13:35 am
Just another question.

Is there a way of mixing two mods (like, for example, being able to place both Inferno and ASW ships in one mission) aside from editing the .vp/tbl files themselves?

I tried this:

-mod ASW-mod Inferno, in which Inferno is the only mod used
-mod ASW -mod Inferno, where ASW is the only used mod
-mod Inferno-ASW,Inferno,ASW, in which Inferno is the only used mod

So, any suggestions?
Title: Re: Inferno minor problem
Post by: The E on June 02, 2010, 07:19:59 am
Some mods can not be mixed, it depends on how the mod is built.

If you want to mix assets from different mods, the least painful way is to build your own mod, as there is no guarantee that two given mods will work nicely together.
Title: Re: Inferno minor problem
Post by: Jeff Vader on June 02, 2010, 07:22:01 am
Examples of proper syntax:

-mod Inferno : will set \freespace2\Inferno\ as an active mod.

-mod ASW,Inferno : will set \ASW\ as the first active mod and \Inferno\ as the second active mod.

-mod Inferno,ASW : will set \Inferno\ as the first active mod and \ASW\ as the second active mod.

-mod fsport-mediavps,fsport,mediavps : will set \fsport-mediavps\ as the first active mod, \fsport\ as the second active mod and \mediavps\ as the third active mod.
Title: Re: Inferno minor problem
Post by: Snail on June 02, 2010, 07:36:57 am
Yeah but ASW and Inferno clash, so even if you do use proper syntax you'll get a FUBAR setup.
Title: Re: Inferno minor problem
Post by: The E on June 02, 2010, 07:45:10 am
Yeah, unless the mods you are combining are built to play friendly with other mods (for example, the mediavps are built to not interfere with any mod that was built to use retail FS2), combining them will lead to unexpected behaviour (aka crashes or other bugs).
Inferno is best treated as a repository for models and textures, rather than a regular mod that you can just add to your -mod command line.

Also, you should really, really get familiar with this page on the FS Wiki (http://www.hard-light.net/wiki/index.php/Portal:Modding), as it contains nearly all the information you will need in order to make your own mod.
Title: Re: Inferno minor problem
Post by: Jeff Vader on June 02, 2010, 07:46:31 am
Indeed. I was merely showing examples on how to use the -mod flag. I was gonna mention that ASW and Inferno don't like each other but The E said it first.
Title: Re: Inferno minor problem
Post by: Androgeos Exeunt on June 07, 2010, 01:08:08 pm
None of the mods like each other, unless if they're made as a series or a group of expansions. This is why FSPort's complicated mod.ini setup allows ST:R to read off its files with no problems.