Forum

DarkPlaces effectinfo covered!

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

DarkPlaces effectinfo covered!

Postby Urre » Mon Jul 07, 2008 6:15 am

Not directly QC related, but very close. Electro compiled a list of all the properties and fields of the effectinfo.txt file, and here goes, together with comments:

EDIT: Electro put it in a easier to read file
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Re: DarkPlaces effectinfo covered!

Postby Chip » Fri Oct 09, 2009 12:48 pm

Urre wrote:EDIT: Electro put it in a easier to read file


Thank you very much! I'm going to put it to good use.
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

Postby haze » Fri Apr 09, 2010 9:21 am

so has anyone ever made new particle effects for DP?
haze
 
Posts: 8
Joined: Fri Apr 09, 2010 9:18 am

Postby Teiman » Fri Apr 09, 2010 9:33 am

Quick!

put that info on the DP wiki!
Teiman
 
Posts: 309
Joined: Sun Jun 03, 2007 9:39 am

Postby MauveBib » Fri Apr 09, 2010 9:40 am

haze wrote:so has anyone ever made new particle effects for DP?


Yep. My Squad AI Thing has new dp particle effects for smoke and stuff.
Apathy Now!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby haze » Fri Apr 09, 2010 9:54 am

MauveBib wrote:
haze wrote:so has anyone ever made new particle effects for DP?


Yep. My Squad AI Thing has new dp particle effects for smoke and stuff.


Sweet. can i see em?

funny.. i didnt expect people to reply at 3am lol.
It Takes A Tough Man To Make A Tender Rocketjump
haze
 
Posts: 8
Joined: Fri Apr 09, 2010 9:18 am

Postby leileilol » Fri Apr 09, 2010 10:04 am

haze wrote:so has anyone ever made new particle effects for DP?

Image
Image
yeah
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby haze » Fri Apr 09, 2010 10:09 am

heyyyyyyyyy thats what im talkin about! those are awesomerist

soo how do i go about replacing the defaults with yours... i dont see effectinfo.txt anywhere


[edit] oh dont tell me i have to download the source, make my changes, then compile???
It Takes A Tough Man To Make A Tender Rocketjump
haze
 
Posts: 8
Joined: Fri Apr 09, 2010 9:18 am

Postby MauveBib » Fri Apr 09, 2010 12:15 pm

DP has builtin effects which are overridden if you add a file called effectsinfo.txt to the mod directory. It doesn't have a file by default, but download one and stick it in there and it'll work.
Apathy Now!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby Spirit » Fri Apr 09, 2010 3:11 pm

I would really love to have a "Quake" effectinfo.txt that makes especially the explosion and rocket trail particles look like Quake. I am too stupid to make it myself.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1031
Joined: Sat Nov 20, 2004 9:00 pm

Postby MauveBib » Fri Apr 09, 2010 3:46 pm

You can see some custom smoke at work in this shot Image
Apathy Now!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby haze » Fri Apr 09, 2010 7:49 pm

MauveBib wrote:DP has builtin effects which are overridden if you add a file called effectsinfo.txt to the mod directory. It doesn't have a file by default, but download one and stick it in there and it'll work.


AHh.. now we're getting somewhere.. Any idea where i can Download one, or maybe someone willing to post their custom effectsinfo here? wink wink nudge nudge
It Takes A Tough Man To Make A Tender Rocketjump
haze
 
Posts: 8
Joined: Fri Apr 09, 2010 9:18 am

Postby MauveBib » Fri Apr 09, 2010 7:57 pm

Get DPMOD from the darkplaces website, I'm 99% sure there's one in there.
Apathy Now!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby Junrall » Fri Apr 09, 2010 10:39 pm

I checked out the effectinfo.txt and it's pretty cool! Does add a nice visual change.

Though, I have looked over Electro's list of properties and fields for the effectinfo.txt file... and it all makes sense to me... I just don't understand why there are three TE_GUNSHOT effects or why there are two TE_SPIKE effects inside of effectinfo.txt.

Also, how many effects can I place into effectinfo.txt?
Good God! You shot my leg off!
User avatar
Junrall
 
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA

Postby Chip » Fri Apr 09, 2010 10:44 pm

Junrall wrote:I checked out the effectinfo.txt and it's pretty cool! Does add a nice visual change.

Though, I have looked over Electro's list of properties and fields for the effectinfo.txt file... and it all makes sense to me... I just don't understand why there are three TE_GUNSHOT effects or why there are two TE_SPIKE effects inside of effectinfo.txt.

Also, how many effects can I place into effectinfo.txt?


Well, I for one, created a new fire effect. The fire had 3 TE_FIRE phases: the fire, the smoke and the sparks.

Look at "type" and you'll see what I mean. You'll see several types for the same effect: smoke, static, snow, spark, etc.

Here's my example of fire as seen in this movie http://vimeo.com/6994514

Code: Select all
// Fire
effect TE_FOC
count 10
type static
tex 11 11
size 6 34
sizeincrease -10
alpha 0 512 300
originoffset 0 0 0
originjitter 30 30 30
//velocityoffset 0 0 5
airfriction 4
bounce 0
velocityjitter 0 0 0
velocitymultiplier 1100.01
gravity -0.5
notunderwater
color 0x6f0f00 0xe3974f
lightradius 205
lightradiusfade 215
//lightcolor 4 2 0.5
lightshadow 100

// Fire Smoke Addon
effect TE_FOC
count 2
type smoke
tex 0 8
color 0x303030 0x303030
size 6 10
sizeincrease 20
alpha 0 256 80
originoffset 0 0 80
originjitter 20 20 20
//velocityoffset 0 0 5
airfriction 5
bounce 0
velocityjitter 0 0 0
//velocitymultiplier 100.01
gravity -0.7
notunderwater

// Fire Sparks Addon
effect TE_FOC
count 400
type snow
color 0x8f4333 0xfced00
size 0.15 0.20
sizeincrease -0.04
alpha 150 256 256
originoffset 0 0 80
originjitter 20 20 20
airfriction 5
bounce 0
velocityjitter 180 180 360
velocitymultiplier 2.2
gravity -0.7
notunderwater


P.S. FOC means FIRE in Romanian. 8)
Last edited by Chip on Fri Apr 09, 2010 11:48 pm, edited 2 times in total.
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

Next

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest