Forum

Iron dights animation code

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Iron dights animation code

Postby sniperz227 » Sat May 28, 2011 3:08 am

Hi sniperz227 here i was wondering how i could code in iron sights if i had an iron sight animation on my gun
sniperz227
 
Posts: 112
Joined: Sat Apr 09, 2011 3:19 am

Postby Karall » Sat May 28, 2011 1:04 pm

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.
Karall
 
Posts: 128
Joined: Thu Jul 15, 2010 5:23 pm

Postby sniperz227 » Sat May 28, 2011 3:11 pm

ummm i did search the threads the code didnt work for me thts y im asking here
sniperz227
 
Posts: 112
Joined: Sat Apr 09, 2011 3:19 am

Postby Karall » Sat May 28, 2011 3:47 pm

Try asking in the threads instead, that's why they're there. Otherwise you could ask someone on the forums by PM. If you're not experienced with QC i recommend that you check out some tutorials and actully try and learn the language. Start out small!
Karall
 
Posts: 128
Joined: Thu Jul 15, 2010 5:23 pm

Re: Iron dights animation code

Postby Nahuel » Mon May 30, 2011 11:58 am

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! :) :)
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: Iron dights animation code

Postby Chip » Mon May 30, 2011 2:42 pm

Nahuel wrote:Thanks Chip for your site! :) :)


You're welcome!
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest