OK so I have been hard at work trying to figure out the texture issue for the grapple gun. Many of the hand models (or wep models) aren't using the right textures when swapping characters that use non-native weapons. An example of this is Leon (this is my pl08 model) using the grapple gun:
The texture we see here is a common texture that is loaded when model TPL files are off and pointing to the wrong pack file. THis indicated something is not loading correctly.
Since I am using Mercs (ad no trainer yet) the model that is loaded for the grapple gun pl0b.udas The texture that should be loaded is located in Ada's Merc's pack file
0100000b.pack. There are 3 different models for Ada:
pl0b.udas - Mercs
pl0c.udas - Assignment Ada
pl16.udas - Separate Ways
Inisde all of these model udas archives are the files
pl0x.137.BIN and
pl0x.138.TPL. These are the model & texture palette files for the grapple gun. When using the trainer it seems that when we use cahracters other than Ada the wrong TPL is loaded and we get what we see in the picture above.
To fix this I put the grapple gun textures in a pack file that is always loaded into memory whichever scene is loaded and have the new grapple gun TPL to point to this new pack file. For this experiment I chose
0f000001.pack file (this file is always loaded no matter which scenario is loaded). Part of my experiment worked. When I load the game (with no trainer) and go to Mercs and load up Ada, her grapple gun appears just fine. The modified pl0b.udas model is now calling on
0f000001.pack file (instad of the original) only for the grapple gun models in the pl0b.udas. Partial success but...
When I load the game with the trainer activated and chose Ada in the trainer the default
0100000b.pack file is called on instead of the new
0f000001.pack file. Normally this would be impossible since my new model's TPL calls on a new pack file but.... there must be something in the trainer that is telling the game to load the original pack file. This goes for all other models.. the pack file that gets called on is different for each one, (or maybe it calls on different textures)
So let me ask the Master directly, @raz0r can you tell us what you did to get the grapple gun model to load so we might start thinking of how to get the grapple gun model to point to this pack file no matter which character is used?
Cheers