• Weapon Swep Query
    1 replies, posted
I have Models that I would like to replace some of the Default TTT weapons with, for Example I wanna turn this https://files.facepunch.com/forum/upload/253763/a064eaed-57e8-456f-a4fa-5be4544a3ee6/image.png Into This but keep the same function https://files.facepunch.com/forum/upload/253763/66240938-fefb-4ba5-8ca4-9fd5ed30c2bd/asdasdsaasas.jpg How would I go about this?
To do that you'll need to decompile the weapon and go in the .SMD (or DMX) of the actual model and change the harpoon with a spear, hopefully it's not done lazily as in the harpoon is not part of the weapon's model. Make sure the spear is similar to the harpoon, were you to use the same bone that the harpoon previously had, it will retain all of the animations, you'll have to separate the model from the hierarchy so that deleting the harpoon doesn't delete the bone too. After that place the correct material directory and recompile it up again. If the model is just the harpoon one and is not a part of the weapon, you'll have to switch the 2, make the spear into a prop and have it named exactly like the harpoon, that way it will override the harpoon itself. If the weapon launches the harpoon as part of the attack, you'll need to change the model used in the lua file, so you will still need to make the spear into a prop, to avoid breaking anything you should also keep the same collision mesh and material property of the harpoon.
Sorry, you need to Log In to post a reply to this thread.