Durza
New Member
Posts: 39
|
Post by Durza on Jun 28, 2008 12:47:37 GMT -5
Hey Everyone,
I have two questions concerning weapon mods:
1. how do you get a skin that was made to replace the StG (an AK-47) to replace the MP40? I got something that works somewhat, I replaced all the lines in an mp40.tik with the lines from the mp44.tik that came with the skin, except for the weapon name lines, such as weapontype and things. I have limited success, it replaced both the StG and the MP40. would renaming the files within the pk3 file so the directories are different (such asmodels/weapons/mp40 instead of models/weapons/mp44) make any difference? if not, what would I need to do to make the AK replace the MP40 instead of the StG.
2. how do you add a bash animation to a skin that was made for AA, but not SH, but the .tik file was replaced with a spearhead file with the same references. am I missing files needed for the animation?
thanks in advance for the help
|
|
Lamron
Benevolent Dictator
Posts: 5,225
|
Post by Lamron on Jun 29, 2008 11:26:19 GMT -5
To replace the MP40 model and skin you'll have to move and rename all the model files (.skd .skc .lod) and you'll need to fix the .shader file to point the right surfaces to the right textures.
But before you get too far into all that, notice that your hands are in different locations for those two weapons. You can make it so the MP40 looks like the AK-47, but the hands will be in the wrong locations for the trigger and forend, and your reload animations will be messed up.
Its possible to work around some of those problems, but it may not be worth the effort since you're making a client-side mod that only you will be able to see.
=========================================
You can use a AA skin/model in SH if you use the SH animation for bashing and the weapons are very similar in size and shape. However, this requires changes to both the server and client files to make it work correctly.
|
|
Durza
New Member
Posts: 39
|
Post by Durza on Jun 29, 2008 15:35:41 GMT -5
Ok, I'll work on the files. where do I change the weapon offset. I got the hands to hold the AK correctly, but the weapon itself is too far off to the right, and pointing too far to the right.
I think this can be done by modifying the stock weapon select menu, instead of making the menu refer to the MP40, I make it refer to a copy of the StG that refers to the AK skin files. where is the weapon select menu in MOH?
I am also thinking that I replace the mp40.tik file int eh pak1 file with one that has all the lines of the mp44.tik file except the weapon name lines. this mp44.tik file refers to the textures and all that. and I add the .shader file and all to its apropriate location in the pak files. will that work?
What changes to the client and server side files do I need, which files do I need to modify? The m1_garand.tik that came from the pak1 in spearhead should already refer to the bash animations,do the bash anim files need to be in the sam .pk3 file that the skin is in?
|
|
Lamron
Benevolent Dictator
Posts: 5,225
|
Post by Lamron on Jun 30, 2008 16:50:38 GMT -5
You can't change the weapon offset. You'd have to change the origin on the weapon model itself (requires $$$ modeling software and knowledge of 3D modeling).
The weapon menu doesn't actually pick the weapon. It just selects the weapon class and the game uses that plus your skin nationality to determine what you get.
What exactly are you trying to do? Are you trying to make a client-side mod just to make your game look different, or are you wanting to make a server/client mod to run on a server and require players to download it ?
|
|
Durza
New Member
Posts: 39
|
Post by Durza on Jul 5, 2008 22:07:42 GMT -5
sorry, my internet has been messing up for the past few days...
either way works, I don't care if it client side or server/client side, whichever way is easier... for some reason no one skinned a modern weapon for the MP40, will it be easier to find a skin that was made for the Thompson and make it replace the MP40?
|
|
Lamron
Benevolent Dictator
Posts: 5,225
|
Post by Lamron on Jul 6, 2008 1:42:17 GMT -5
The game uses the weapon name (actual name, not file name) to determine which animations to use, within a particular class. If it doesn't recognize it, it will use the default for that class. Thompson is the default for the SMG class, so if you change the weapon name but use the .tik name from the MP40, you can use any Thompson model/skin. This would be a server/client mod, so only players that download the file will see it, AND players that do have it will have messed up animations if they go to another server.
|
|