Forum

custom particle effects in quake?

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

custom particle effects in quake?

Postby ceriux » Tue Jan 04, 2011 2:50 am

hey i was wondering if its possible to actually create custom particle effects in quake? something like the blood, but custom i suppose. if it is possible how would you go about it?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Mexicouger » Tue Jan 04, 2011 2:56 am

It would be in engine. From there, I wouldn't know. I do know how to modify the little circles though :lol:
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby leileilol » Tue Jan 04, 2011 2:58 am

the particle built-in

use it

if you want more than that, edit r_part.c yourself

if you use Darkplaces, just use pointparticles/trailparticles functions combined with a new effectinfo.txt

use some effort to study the existing code - come on a little trial and error could figure this out on its own!
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby ceriux » Tue Jan 04, 2011 3:00 am

but that still means your limited to how many different ones you have?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Spike » Tue Jan 04, 2011 3:56 am

pointparticles and trailparticles in csqc code have no limit to the number of effects possible, though for networking you may be limited to 256 different possible effects.
that's still a lot. you don't need an already-existing effect for it.
But note that if you use it from ssqc, you may suffer from missmatched particles if you ever insert new effects between versions (always add at the end and never remove any), so if you do use csqc, its generally best to do custom particles fully clientside (especially trails).
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest