Question about textures and weapon models

Post Reply
tkmatty
Posts: 2
Joined: Sun Jan 10, 2021 11:59 am

Question about textures and weapon models

Post by tkmatty »

Hello!

I have two questions [:)]
How does one overwrite soldier textures for the different maps? Is there a map/operation text file that describe what soldier texture to use?

And, is it possible to get the small arms weapons in Fbx as I want to see how they are made so I can model some new ones [:D]
For instance, I want to model the german HMG to be a mg42 on a tripod.
[&o]
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Question about textures and weapon models

Post by SteveMcClaire »

I've put up a sticky post with a link to the mod-making guide here:

https://www.matrixgames.com/forums/tm.a ... =&#4939720

Soldier textures are set in the uniforms.txt file in the data\base\ folder.

You can replace the small arms weapon models but they are so small that you won't be able to tell the difference between different models during typical game play.

I don't have FBX versions of the small arms but there is a sample vehicle posted that uses the same sort of structure you'd need to use to replace the weapon models. You'll need to create locators named FIRE, WEAPON_HANDLE, and WEAPON_STOCK as explained in the modding guide above.
tkmatty
Posts: 2
Joined: Sun Jan 10, 2021 11:59 am

RE: Question about textures and weapon models

Post by tkmatty »

Thanks for the anwser! [8D]
So, which file does hold the info about what type of weapon uses the different weapon models? for in some cases different weapons use the same model [;)]

And one more thing, is it important how the FBX file is structured with groups and paranting etc?
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Question about textures and weapon models

Post by SteveMcClaire »

The association between weapon and model is in the weapons.txt data file. The modding guide should point you to the data workbook that explains what each of the columns in this data file are used for.

The parenting within the object is important, yes. I believe that is explained in the modding guide under 'model layout.' I've added a link to the model-conversion tools and an example FBX to this post:

https://www.matrixgames.com/forums/tm.a ... =&#4939720

Post Reply

Return to “Close Combat The Bloody First - Modding”