DarkPlaces effectinfo covered!

Discuss programming in the QuakeC language.
Urre
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon
Contact:

DarkPlaces effectinfo covered!

Post by Urre »

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
Chip
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland
Contact:

Re: DarkPlaces effectinfo covered!

Post by Chip »

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.
haze
Posts: 8
Joined: Fri Apr 09, 2010 9:18 am

Post by haze »

so has anyone ever made new particle effects for DP?
Teiman
Posts: 311
Joined: Sun Jun 03, 2007 9:39 am

Post by Teiman »

Quick!

put that info on the DP wiki!
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

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!
haze
Posts: 8
Joined: Fri Apr 09, 2010 9:18 am

Post by haze »

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
leileilol
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Post by leileilol »

haze wrote:so has anyone ever made new particle effects for DP?
Image
Image
yeah
i should not be here
haze
Posts: 8
Joined: Fri Apr 09, 2010 9:18 am

Post by haze »

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
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

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!
Spirit
Posts: 1065
Joined: Sat Nov 20, 2004 9:00 pm
Contact:

Post by Spirit »

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
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

You can see some custom smoke at work in this shot Image
Apathy Now!
haze
Posts: 8
Joined: Fri Apr 09, 2010 9:18 am

Post by haze »

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
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

Get DPMOD from the darkplaces website, I'm 99% sure there's one in there.
Apathy Now!
Junrall
Posts: 191
Joined: Mon Sep 21, 2009 12:27 am
Location: North West Oregon, USA
Contact:

Post by Junrall »

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!
Chip
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland
Contact:

Post by Chip »

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.
Post Reply