So I decided to start making some custom textures for the Karambit in this addon: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=506283460[/url]
but for some reason the view model is completely to the left and I can only see a little bit of the animation going on. The animation are there and you can see the/hear them, but they are completely to the side. This video shows the problem [video=youtube;E6gI11zWfmY]https://www.youtube.com/watch?v=E6gI11zWfmY[/video]
Here is what I've done:
I've decompiled the model and remade the .qc file and all the other files.
I've edited the lua for the knife and also I've made sure to have the base knife in my addon.
I'm not going to post any code on here because there is so many places where stuff could have gone wrong, but if you need to see a certain file just comment and I'll reply with the code you asked to see.
Also I have a side problem. Even if there is 5 separate weapons and I've made sure they should have their own texture, but they still have all the same texture. You can see this in the second part of the video.
Thanks for the help!
Lots of Love <3
Doodle
If SWEP.ViewModelFlip is true, turn it to false, if its false turn SWEP.ViewModelFlip to true
For the texture, The models should have DIFFERENT MATERIAL NAMES
ah, I had the same issue with decompiling some CS:S viewmodels. You'll want to have [code]$origin 0 0 0 -90 0 0[/code]in your QC file, it's rotated 90 degrees to the left it seems.
I'm pretty sure $origin should be placed as one of the first lines in your QC code, just like $scale. Try that see if it works.
[QUOTE=ferdam;51885303]I'm pretty sure $origin should be placed as one of the first lines in your QC code, just like $scale. Try that see if it works.[/QUOTE]
Still getting a damn compiling error :/
this is the error: [code] ERROR: c:\users\aidan\desktop\gmod models\decompiled\v_csgo_karambitdoodle.qc(19): - bad command 0
ERROR: Aborted Processing on 'weapons\v_csgo_karambitdoodle.mdl' [/code]
Sorry, you need to Log In to post a reply to this thread.