Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 06:41:33 PM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Custom Models
Pages: [1]
Author Topic: Custom Models  (Read 3050 times)
r3ticle
Poster

Posts: 4


« on: April 07, 2011, 06:37:50 AM »

I've installed some custom models into my server, they work and download perfectly but the models are on the left side. Is there a way to flip the model so it's on the right side like it is normally?

Thanks for any help.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #1 on: April 07, 2011, 07:14:01 AM »

This is because the CS:S weapon models start out on the left, so the game flips them. Of course custom models will therefore flip over to the left.

The easiest way to fix this is with a small edit to the code.
In \garrysmod\gamemodes\terrortown\entities\weapons\weapon_tttbase\

At around line 80:
   SWEP.ViewModelFlip = true

Change true to false.

This will result in a new lua cache, so if you use fastdl you'll have to update that.
r3ticle
Poster

Posts: 4


« Reply #2 on: April 07, 2011, 08:47:06 AM »

Thanks, fixed it perfectly. :)
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Custom Models « 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.