Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Aurang on March 18, 2010, 12:18:49 am

Title: Engine Capabilities
Post by: Aurang on March 18, 2010, 12:18:49 am
Hi, I recently dusted off my copy of FS2 and played it again, after downloading the open source improvements and such. It feels like forever ago that I bought the game at the school book fair :P (occassionally they sold computer games).

Anyways I'm a modeler who does work in 3DS Max, and I have a question.

I'm not very well acquainted with game engines, so what can it handle? Say I used higher poly models and better textures with normal maps... could this cause problems with the engine, or would any additional resource use rest squarely on the user's computer?

I ask because I've been inspired to make a mod where you play the Shivans, and I wanted to put more detail into the geometry and textures of fighters and ships (as well as adjusting their scale, changing movement speeds, etc). Generally a faster paced, more realistic mod.
Title: Re: Engine Capabilities
Post by: FUBAR-BDHR on March 18, 2010, 12:26:11 am
Check out the MediaVPs and see.  Then go up from there.  It can take quite a bit just don't get carried away. 
Title: Re: Engine Capabilities
Post by: General Battuta on March 18, 2010, 12:46:33 am
Like FUBAR said, the MediaVPs models are fairly high-poly by FS standards and use normal maps. Check them out.

FS models can be challenging to work with due to the vagaries of PCS2, the program that converts models into the POF format. You may want to learn from an existing expert.

You aren't by any chance an R. Scott Bakker fan, are you?
Title: Re: Engine Capabilities
Post by: Aurang on March 18, 2010, 01:08:38 am
Haha yes, the best fantasy series I've ever read. Kind of sad that the newest book won't be out until 2011 :(

Ahh okay, well the mediavps models will serve as a pretty good benchmark. Thanks for the help :)
Title: Re: Engine Capabilities
Post by: Spoon on March 18, 2010, 10:14:08 am
FS models can be challenging to work with due to the vagaries of PCS2, the program that converts models into the POF format. You may want to learn from an existing expert.
Last time I checked PCS2 was just for editing .pof, not for converting them  :p
Title: Re: Engine Capabilities
Post by: The E on March 18, 2010, 10:17:52 am
Okay, Spoon, how do YOU get models into the pof format? Last I checked, there were no plugins for Blender, Max, or other modelling programs that could write pofs. You have to use PCS2 to convert from .dae or .cob to pof, do you not?
Title: Re: Engine Capabilities
Post by: Aurang on March 18, 2010, 11:07:50 am
The E, after several hours last night I figured out a working method to get .pof files into 3DS Max, but I've yet to try getting them to successfully export into .pof directly or through an intermediary format (e.g .dae).

However I do notice that 3DS Max 2010 can export .dae files by default. I tried to get the collada importer for PCS2 last night, but the .dll download is damaged. I tried opening it with rar and 6z, and both told me to go take a seat.

If anyone who has that .dll could put up a new, working download, it would be very appreciated.

Alternatively, you can use Blender version 2.43 to export and import .cob files. It is the last known version of Blender to have that function. I used it last night and it works fine.
Title: Re: Engine Capabilities
Post by: Spoon on March 18, 2010, 11:10:52 am
Okay, Spoon, how do YOU get models into the pof format? Last I checked, there were no plugins for Blender, Max, or other modelling programs that could write pofs. You have to use PCS2 to convert from .dae or .cob to pof, do you not?
When was the last time you checked?  :p
http://www.hard-light.net/forums/index.php?topic=26260.0 Seems like a plugin for max if you ask me. And yes, that's what I've been using all this time. It exports to .pof and I just use pcs2 to edit the details of the .pof. Honestly, I assumed that all other methods worked in a similar fashion.
Title: Re: Engine Capabilities
Post by: The E on March 18, 2010, 11:14:45 am
I know. I was being sarcastic in Spoons' general direction, as he seems to have found a method of generating pofs that does not involve PCS2 at all.

Anyway, I have been using this version of PCS2: http://www.mediafire.com/?zzyuma4nnnq
It includes the .dae support.

EDIT: Spoon: Right. A plugin, written for Max 5. From a thread from 2004. Yeah. Sounds like reaaaaaly current info.
Title: Re: Engine Capabilities
Post by: Spoon on March 18, 2010, 11:25:30 am
So? It works and is probably by far the easiest way to get models into the .pof format
And there are some posts in that thread that it works up till max 7 (Im using 6). And we are modding for a reaaaaally current game right? We need the latest and the most cutting edge 3d modelling software to create meshes for freespace right? :rolleyes:


Title: Re: Engine Capabilities
Post by: The E on March 18, 2010, 11:29:55 am
No, but seeing as most other modellers I've seen here use either Blender or Max 9++, I kinda assumed that that was the version you used.

And no, we don't need to use the latest and best tools. Strangely, however, most people seem to do just that anyway...
Title: Re: Engine Capabilities
Post by: Angelus on March 18, 2010, 12:53:56 pm
The latest "3D tools" aren't needed to build Ships for FS, but you should consider that some of the modelers here, build high poly meshes too, and new versions of 3D software offer usually more features and are more userfriendly.
Title: Re: Engine Capabilities
Post by: Spoon on March 18, 2010, 02:00:36 pm
The latest "3D tools" aren't needed to build Ships for FS, but you should consider that some of the modelers here, build high poly meshes too, and new versions of 3D software offer usually more features and are more userfriendly.
Really now? You don't say.
Thank you captain obvious.
Title: Re: Engine Capabilities
Post by: Spicious on March 19, 2010, 11:16:43 pm
I thought the Max exporter had problems producing solid models.
Title: Re: Engine Capabilities
Post by: Droid803 on March 19, 2010, 11:29:43 pm
PCS2 is pretty good at converting models. I simply export the mesh and add all the POF data in PCS2.
That max exporter keeps spitting out crap with collision problems when I use it (and consequently, it is only useful for quick-exporting stuff that won't collide anyway like skyboxes), but Collada+PCS2 has so far been spotless.
Title: Re: Engine Capabilities
Post by: Vasudan Admiral on March 19, 2010, 11:51:37 pm
So? It works and is probably by far the easiest way to get models into the .pof format
Anyone who's had the kind of trouble I remember people complaining about with the reset x-form thing would probably disagree there. Other than that yes the tool was the easiest method for max users but in light of the twice aforementioned collision issues it caused on almost every model it converted AND the highly impressive stability of the collada -> PCS2 route, you shouldn't use the max exporter anymore.

I had to fix something like 15-20 ships in the MVPs that had unstable collision or shield meshes that in almost every case came from the max exporter. Some you could just resave in PCS2 and that sorted it, others required total reconversion. So overall: it's not worth it now that the collada conversions are superb in terms of speed, ease of use and all round stability. It also makes it much easier for model tech support cos other people can open the DAE file who don't have max. ;)
Title: Re: Engine Capabilities
Post by: Droid803 on March 20, 2010, 12:23:17 am
I find how reset x-form warps the orientation of my turrets about half the time exceptionally aggravating, that's my only complaint about the Collada -> PCS2 route.

The issue is probably more because I'm a crummy modeller than anything else though.
Title: Re: Engine Capabilities
Post by: Vasudan Admiral on March 20, 2010, 12:34:20 am
Oh do you still have to do that with collada? I thought that got nicely left behind. Yuck. :\

I feel obliged by extreme blender fandom to point out that blenders equivillant "Apply scale and rotation" function allows you to keep all rotations and scales of child subobjects if you want. :p
Title: Re: Engine Capabilities
Post by: FUBAR-BDHR on March 20, 2010, 12:35:57 am
Yep max exporter = Swiss cheese collision detection.  Colladamax to dae to pcs2 2.03 to pof is the way to go.  
Title: Re: Engine Capabilities
Post by: Spicious on March 20, 2010, 01:48:11 am
Oh do you still have to do that with collada?
Of course; no one has provided an example demonstrating the problem.
Title: Re: Engine Capabilities
Post by: Droid803 on March 20, 2010, 01:50:50 am
I've always managed to get it sorted out, it just takes...a lot of time.
Title: Re: Engine Capabilities
Post by: Vasudan Admiral on March 20, 2010, 02:56:42 am
Well can you show Spicious an example of it anyway? There'd be a lot of hair that could remain on max newbies heads if it can be cut from the max requirements.

I suspect all it is is that the children inherit their parents rotation and scale, and resetting x-form simply resets those matricies to 0. So, if you have a turret base with rotation relative to the hull being 0,80,0 and then a barrel whos rotation relative to the base is 0,90,0, then the barrels rotation relative to the hull is 0,170,0.

When when the base is reset, the barrels rotation will be 0,90,0 relative to the hull, which is obviously quite different to 0,170,0.

This is still just a guess though. ;)
Title: Re: Engine Capabilities
Post by: Spoon on March 20, 2010, 04:09:34 am
Actually I think a lot of the complaints about the max plugin are from people that just don't know how to work with it. (And seeing as the plugin tells you absolutely nothing when you do something wrong, I'm not all that suprised).
Shots passing through shield meshes is something I've noticed happening with retail models. It's not just a plugin issue, also it's easily fixed by just giving the ship a surface shield flag.

As for mesh collision detection, I did noticed that certain larger models have like one or two particular spots where you could pass through the hull if you are persistently colliding with it. (if you know where that spot is in the first place) but never had any problems with fighters or any of my other ships.

And what's this talk about x-form?  :nervous: