• Getting Taco/Cakescript Holster Animation to Work in Sandbox Gamemode
    5 replies, posted
As the title says, I have been literally toiling over lua file after lua file looking for the code that controls the holster animation in the Tacoscript and Cakescript gamemodes. By holster animation, I mean the one that has the weapon be held naturally by the player when idle and toggled off. Today I finally located all of the code that I think controls it. Included in the workings are the weapon base specially made for the weapons and a couple of client side files. I had tried, and failed, to get the holstering to work in the regular sandbox gamemode. I imported the weapon base and the weapon files to the right lua folder, and I can spawn them in game. But my problem is when I spawn them the holster command does nothing (so the gun is always held at the shoulder on the playermodel) and the gun won't even fire because it's coding says it needs to be unholstered before it can work. I figured out that my problem was that I had to move some core files from the gamemode into a place where they could be called so the holster concommand and animations would exist in the game. But it didn't work. It's difficult for me to explain, and I hope this thread makes sense but I really want to get this to work for my machinimas I am working on. What I need to know is where can one put gamemode files in the regular gmod directory so they can work, or even easier, is there a code already out there that puts weapon holstering into the sandbox gamemode?
Bump. I really want to get this to work.
Extract the models from 'Source 2007 shared models.gfc' to ur gmod server folder.
Once that is done, what will have changed? How does that fix the problem?
Last bump. If I get no help this round, I give up.
get this [url]http://www.garrysmod.org/downloads/?a=view&id=62807[/url] then put it in lua/autorun, then extract 2007 shared models to your server/orangebox folder
Sorry, you need to Log In to post a reply to this thread.