FPM

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

FPM

Post by Caleb1117 »

Since First Person Mode data is stored in the games data files, do you need to have the unit first person msh'es, and tga's in a msh/pc folder?

If you don't, it could really cut down on my file size.
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: FPM

Post by authraw »

I could be wrong, but I think you don't need the FPM files as long as you load a unit from the game files that uses the desired FPM mshs before you load your unit.

For example, if you have your own custom clone unit that uses the game's FPM tgas and mshs, you could just load "rep_inf_rifleman" from REP.lvl before you load your custom unit. This actually works for third-person mshs and tgas and even animation and odf files, too. I use it all the time to save space.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: FPM

Post by Caleb1117 »

Ok, that would be great, one more question, does calling stuff in the LUA add filesize?
I know having extra stuff in a sides REQ does, but...
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: FPM

Post by Maveritchell »

No. So long as it's reading from a stock side, the filesize doesn't increase.
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: FPM

Post by authraw »

The only thing that calling stuff in the LUA seems to do is make it take a little longer to load when you go to play the map. Small price to pay, in my opinion, because you can decrease the filesize drastically like that.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: FPM

Post by FragMe! »

Actually just reading the answers and trying to get a FPM for the Zero-G makes me think that as long as you don't have and custom (retextured) FPMs it should be fine as they have their own directory in the games _LVL_PC directory. And I know if you want a custom FPM you have to put it in that directory. I could be wrong but it sounded good :D
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: FPM

Post by MercuryNoodles »

That seems about right. I read on Fred's site a while back about other methods involving FPM stuff, but I never tried them because I couldn't wrap my mind around it then.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: FPM

Post by Caleb1117 »

I deleted all of them, but my side isn't smaller. :|

Like the orep side for instance, the properties page for it's folder says:
Size: 29.9 MB (31,439,577 bytes)
Size on disk: 34.1 MB (35,848,192 bytes)
:? weird... or is it just me?

In _LVL_pc/SIDE its: 36,987 MB

In _BUILD/Sides/orep/MUNGED/PC there are no .texture files for the first person mshes.

The thing is AFAIK, the side size has not changed, yet the first person textures have been deleted, and as it should be, thusly aren't munging.

I've cleaned and manually cleaned, to get to this point, but the size isn't going down.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: FPM

Post by MercuryNoodles »

That's because FPM data isn't stored in the side file, AFAIK. It's stored in it's own lvl. Check the FPM's lvl file, and see if that changed.

As for the side itself, do have any unused/unneeded assets present in the side?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: FPM

Post by Caleb1117 »

Ah your right, no Its just I must have got it in my head that first person was included in the main side lvl, and was thusly expecting it to be smaller.

So much for that Idea. :P

Thanks
Post Reply