Iron dights animation code
-
sniperz227
- Posts: 112
- Joined: Sat Apr 09, 2011 3:19 am
Iron dights animation code
Hi sniperz227 here i was wondering how i could code in iron sights if i had an iron sight animation on my gun
There are several threads on this, just use the search function and you should find them
I have'nt gotten it to work myself though. But the basics is that you make and impulse command, and an animation. When you strike a button on your keyboard, activating the function, the animation plays. The animation is your gun being pulled from its original place to an aim down sights mode. But search for the threads, maybe you will have more luck there.
-
sniperz227
- Posts: 112
- Joined: Sat Apr 09, 2011 3:19 am
Re: Iron dights animation code
an iron sight not only needs of an animation, also needs something of balance in the game. For example mini-FOV ( zoom if you use darkplaces), speed of the player, precision etc. For all this I advise you that you should check the source code of the "tactical quake" (it is an open code) it does not have precisely an iron sight, but the desert eagle (?), the pistol has something that of course will have to help you in your code.
http://www.quakewiki.net/quake-1/mods/tacktical-quake/
Thanks Chip for your site!

http://www.quakewiki.net/quake-1/mods/tacktical-quake/
Thanks Chip for your site!
hi, I am nahuel, I love quake and qc.
Re: Iron dights animation code
You're welcome!Nahuel wrote:Thanks Chip for your site!![]()
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays
Fear not the dark, but what the dark hides.
getButterfly - WordPress Support Services
Roo Holidays
Fear not the dark, but what the dark hides.