Welcome, Guest. Please login or register.
Did you miss your activation email?
September 19, 2024, 11:57:00 PM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Shotgun SWEP problems
Pages: [1]
Author Topic: Shotgun SWEP problems  (Read 4583 times)
bobbobagan
Poster

Posts: 6


« on: August 23, 2010, 08:41:58 AM »

Hi there,

I've tried following the custom weapons tutorial for TTT to setup the pump shotgun. I have gotten it to show up in game and players can pick it up, etc... however when they pick it up this is what you see:



This is the LUA code for the weapon... I can't figure out why this is happening :(
http://pastebin.com/Epu0GMA8

It is based off the default shotgun which is included with TTT, how ever I have renamed the original to Hunting Shotgun.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #1 on: August 23, 2010, 11:11:40 AM »

You're using a world model as the viewmodel. Change the w_ to v_.
bobbobagan
Poster

Posts: 6


« Reply #2 on: August 23, 2010, 03:28:10 PM »

Excellent, works great now :) Thanks.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Shotgun SWEP problems « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.01 seconds with 18 queries.