• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

Extracting LOD Meshes from Cooked UPKs

Nightingale

FNG / Fresh Meat
Sep 15, 2010
872
64
0
Vancouver, Canada
I've used Gildor's umodel before to export static meshes (.pskx) before from the cooked TWI packages, but I only know how to export the base LOD meshes. Can someone explain to me how one should extract all the LODs?
 

Twrecks

FNG / Fresh Meat
Dec 28, 2011
1,241
10
0
Ventura, California
3dRipper runs in XP64 (DirectX9). May not work properly in Win7x64, unless it has been updated to work with DX11. Been awhile since I used it last.

Load the model in the static mesh viewer, force a LOD, and hit F12.
 

Nightingale

FNG / Fresh Meat
Sep 15, 2010
872
64
0
Vancouver, Canada
Hmm, doesn't look like ROGame.exe works with 3D Ripper DX, or at least not on my machine (Windows 7 x64). Do you know if umodel can be used for what I want? 3D Ripper DX seems a bit overkill just for exporting LODs.
 

Twrecks

FNG / Fresh Meat
Dec 28, 2011
1,241
10
0
Ventura, California
Turns out 3D Ripper DX does not work with 64 bit executables (SDK). Wonder if in Max, you explode/ungroup a mesh extracted by Umodel, it will unlock the embedded LODs? Would guess they are there, or does the import wipe them out?
 

Nightingale

FNG / Fresh Meat
Sep 15, 2010
872
64
0
Vancouver, Canada
I'm not sure. I do know that when I import the .pskx that umodel extracts, all I can see is the base LOD. Perhaps I need to have a better look at the ActorXImporter plugin. I've sent a PM to Xendance of the Rising Storm Team to ask for the source files of the LODs of some certain meshes, so hopefully I won't need to figure some fancy workaround to get the LODs out of the packages.
 

Nightingale

FNG / Fresh Meat
Sep 15, 2010
872
64
0
Vancouver, Canada
Unfortunately, I am trying to make better-optimized versions of the meshes in ENV_RS_Bamboo so LOD generation methods are out of the question. I just want to make a fourth LOD level which is just the bamboo stalks without any leaves. Bit of a wierd optimization, I know, but it suits my particular purpose well.
 

Twrecks

FNG / Fresh Meat
Dec 28, 2011
1,241
10
0
Ventura, California
Unfortunately, I am trying to make better-optimized versions of the meshes in ENV_RS_Bamboo so LOD generation methods are out of the question. I just want to make a fourth LOD level which is just the bamboo stalks without any leaves. Bit of a wierd optimization, I know, but it suits my particular purpose well.
Well, the big "IF" is you can get the missing two before adding your own.

Taking it a step further... recommend taking 2x printscreens at 90 deg of the bamboo in the mesh viewer, make two planes (2 polys each) and make a new low rez/ no transparency (128x128) LOD texture+material from your screenies. Apply them to the sheets and you have a 4 poly bamboo shoot. True the engine has to unload the previous material/model, but the gains are worth the expense IMO.
 

Nightingale

FNG / Fresh Meat
Sep 15, 2010
872
64
0
Vancouver, Canada
I thought of doing just that, but then I thought it might look sort of odd and the LOD transition might be a bit jarring since the bamboo meshes are clusters of slightly-curved shoots rather than single isolated straight trees. I think the card-trees would work well for things like conifers and other straight trees, but I don't think that it would work well with the meshes in ENV_RS_Bamboo.

This isn't an optimization that is absolutely essential to get my map to work (it's set at night time, with the same fog setup and color lookup table as Guadalcanal to limit the max draw distance), but I think it would be nice to make better-optimized meshes so I can get those 150m+ engagements.
 

Twrecks

FNG / Fresh Meat
Dec 28, 2011
1,241
10
0
Ventura, California
Well..

I tried 3DVIA printscreen and Ninja Ripper, neither were able to extract anything. Ninja did load the editor, with an interface very similar to 3Dripper, however yielded no exports with any/all settings selected. Even gave Game Assassin a go, but it is in Chinese and have no idea what does what. Be cool if umodel included LOD extraction, yet it is the only tool that seems to work at this time for even base models.

Guess making your own LODs is the way to go, unless your requests were answered.
 

Nightingale

FNG / Fresh Meat
Sep 15, 2010
872
64
0
Vancouver, Canada
Ah, I see. It's a shame umodel doesn't have that feature. I'll have to go and bother RST some more then.

Thanks for taking the time to check this out for me, Twrecks. :)