sprites
Moderator: InsideQC Admins
3 posts
• Page 1 of 1
sprites
Hey i was wondeirng how sprites work. most the guys i talked to said they never used sprites but i was told that muzzle flashes,smoke coming from guns are sprites. so i was wondeirng how you would code sprites in and are sprites like naimations where you have image sequence like image one is the start of the muzzle then image to is when its big and image 3 is the end ?
- sniperz227
- Posts: 112
- Joined: Sat Apr 09, 2011 3:19 am
Re: sprites
Hello sniperz227,
Quake has not much Sprites left to use (cause it is all 3D
)
There are only 3 sprites in Quake:
- explosion (6-frames)
- bubbles (2-frames)
- light sphere (1-frame)
But you can do amazing things with sprites, that is for sure.
The sprite animation is quite similar done like a model animation.
Look into weapons.qc to see how the longest animation in Quake (explosion) is handled:
Search for void() BecomeExplosion =
The frames are declared in sprites.qc itself.
Now back to muzzleflashes:
Well, there are many different ways to create muzzleflashes.
Most beautiful way is to use particle effects in my opinion.
I wrote a maybe interesting small article/post about it here:
http://quakeone.com/forums/quake-help/q ... #post97020
If you want to see my particle muzzleflashes, please look inside here (including youtube clip and QC source code):
http://quakeone.com/forums/quake-mod-re ... ashes.html
Best wishes,
Seven
Quake has not much Sprites left to use (cause it is all 3D
There are only 3 sprites in Quake:
- explosion (6-frames)
- bubbles (2-frames)
- light sphere (1-frame)
But you can do amazing things with sprites, that is for sure.
The sprite animation is quite similar done like a model animation.
Look into weapons.qc to see how the longest animation in Quake (explosion) is handled:
Search for void() BecomeExplosion =
The frames are declared in sprites.qc itself.
Now back to muzzleflashes:
Well, there are many different ways to create muzzleflashes.
Most beautiful way is to use particle effects in my opinion.
I wrote a maybe interesting small article/post about it here:
http://quakeone.com/forums/quake-help/q ... #post97020
If you want to see my particle muzzleflashes, please look inside here (including youtube clip and QC source code):
http://quakeone.com/forums/quake-mod-re ... ashes.html
Best wishes,
Seven
- Seven
- Posts: 301
- Joined: Sat Oct 06, 2007 8:49 pm
- Location: Germany
Re: sprites
Nice video 
I found a nice tutorial from Mexicouger for adding Muzzleflash to Quake:
http://augustine.forumotion.com/t102-tutorial-adding-muzzleflashes-to-weapons
I found a nice tutorial from Mexicouger for adding Muzzleflash to Quake:
http://augustine.forumotion.com/t102-tutorial-adding-muzzleflashes-to-weapons
-

dr_mabuse - Posts: 80
- Joined: Sat Sep 03, 2011 6:07 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest