Garry's Mod

Garry's Mod

341 oy
TTT AN-94 (Red dot sight)
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
Dosya Boyutu
Gönderilme
4.754 MB
29 Oca 2014 @ 17:01
1 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
TTT AN-94 (Red dot sight)

Açıklama
I do not take credit for any models that I upload. These are for the server I run.

This is the fixed version of my previous attempt of the AN-94. It should work with no issues at all.

This is where I got the original files:
http://www.garrysmod.org/downloads/?a=view&id=130849
9 Yorum
Propagandalf 26 Tem 2016 @ 18:21 
Look For the Lower Case 'L' And You
Will Be Kissed Tomorrow:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLlLLLLLLLLLLLLLLLLLLLLL LLLLL
*Now Look For The Q And Your Wish
Will Come True:
... ... ... ... ... OOOOOOOOOOOOOOOOOOOQOOOOOOOOOOOOOOOOOOOOOOOOO O.. .OOOOOOOO
*This Is Really Hard, Now Find The 'N':
MMMMMMMMMMMMMMMMMMMMMMMMMNMM
*Now Find The Mistake:
ABCDEFGHIJKLNMOPQRSTUVWQYZ
*Something You Really Want, After the
countdown!!!!!
10 9 8 7 6 5 4 3 2 1 Now Close Your
Eyes And Make A Wish! ;*;*;*;*;*;* Now
Paste This On 9 pages And Your Wish
Will Come True! Hurry, You Have 20
minutes! Or What You Wished For Will
Be The Opposite
chancho 21 Haz 2015 @ 7:46 
This might be a stupid question, but does this work on non-dedicated servers? (I mean the start new game thing in the TTT menu)
Treleaven 21 Eki 2014 @ 20:42 
Also reload glitch when you're in ironsight and hold reload it glitches, here was the fix that I put on github.

function SWEP:Reload()
if (self:Clip1() == self.Primary.ClipSize or self.Owner:GetAmmoCount(self.Primary.Ammo) <= 0) then
return
end

self.Weapon:DefaultReload( ACT_VM_RELOAD );
self:SetIronsights( false )
self:SetZoom(false)
end
Treleaven 21 Eki 2014 @ 19:57 
Hey your AN94 doesn't drop properly because you never reset the model when it drops. Try using this for the DrawWorldModel Function

function SWEP:DrawWorldModel( )
local hand, offset, rotate

if not IsValid( self.Owner ) then
self:SetRenderOrigin( nil )
self:SetRenderAngles( nil )
self:DrawModel()
self:DrawModel( )
return
end

if not self.Hand then
self.Hand = self.Owner:LookupAttachment( "anim_attachment_rh" )
end

hand = self.Owner:GetAttachment( self.Hand )

if not hand then
self:DrawModel( )
return
end

offset = hand.Ang:Right( ) * self.Offset.Pos.Right + hand.Ang:Forward( ) * self.Offset.Pos.Forward + hand.Ang:Up( ) * self.Offset.Pos.Up

hand.Ang:RotateAroundAxis( hand.Ang:Right( ), self.Offset.Ang.Right )
hand.Ang:RotateAroundAxis( hand.Ang:Forward( ), self.Offset.Ang.Forward )
hand.Ang:RotateAroundAxis( hand.Ang:Up( ), self.Offset.Ang.Up )

self:SetRenderOrigin( hand.Pos + offset )
self:SetRenderAngles( hand.Ang )

self:DrawModel( )
end
Paddy 29 Nis 2014 @ 22:33 
Thanks man
Buddy  [yaratıcı] 29 Nis 2014 @ 12:15 
You probably put the files in the correct location but there might be an issue in the .lua file in your pointshop-master.
It should look something like this:

ITEM.Name = 'AN-94 Red Dot'
ITEM.Price = 1500
ITEM.Model = 'models/weapons/w_rif_fg552.mdl'
ITEM.WeaponClass = 'weapon_an94rsight'

function ITEM:OnEquip(ply)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end

function ITEM:OnHolster(ply)
ply:StripWeapon(self.WeaponClass)
end

Since you see the weapon in your pointshop then you probably have most of this. But make sure that this is part is correct:

ITEM.WeaponClass = 'weapon_an94rsight'
Paddy 29 Nis 2014 @ 0:16 
I am a real code noob. I have extracted the files with gmad and used fox warrior as well. But when I add it to pointshop it shows up and you can buy it but it wont spawn on your player. Where do I install the files im guessing I put it in the wrong location
Endoplasmatisches Retikulum 26 Nis 2014 @ 3:17 
shows "ERROR"
Zeithammel 3 Şub 2014 @ 16:04 
AWSOME!!!