[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - DarkPlaces effectinfo.txt

DarkPlaces effectinfo.txt

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

DarkPlaces effectinfo.txt

Postby Baker » Tue Aug 07, 2012 10:19 am

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: DarkPlaces effectinfo.txt

Postby Irritant » Tue Aug 07, 2012 12:55 pm

Yup, that is pretty clever.
http://red.planetarena.org - Alien Arena and the CRX engine
Irritant
 
Posts: 250
Joined: Mon May 19, 2008 2:54 pm
Location: Maryland

Re: DarkPlaces effectinfo.txt

Postby taniwha » Tue Aug 07, 2012 1:45 pm

The concept is great, but the file format is ick: no structure (I like curly brackets), though it does have the plus of not needing anything other than id's (crappy) command-line parser.
Leave others their otherness.
http://quakeforge.net/
taniwha
 
Posts: 399
Joined: Thu Jan 14, 2010 7:11 am

Re: DarkPlaces effectinfo.txt

Postby revelator » Tue Aug 07, 2012 3:05 pm

tenebraes flex based particle parser could probably be modified to handle stuff like this, the syntax is a bit icky though so im not sure whether it would be a gain.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: DarkPlaces effectinfo.txt

Postby Baker » Tue Aug 07, 2012 3:27 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: DarkPlaces effectinfo.txt

Postby Spike » Tue Aug 07, 2012 4:05 pm

most decent effects depend upon weird engine-specific edge cases. Some of seven's effects also seem to be heavily framerate dependant, and can drop framerates from 2000 to 300 just on their own (less noticable at low framerates, so its okay if you've got rtlights enabled).
I know this from trying to convert seven's effects to fte's custom particle system.

dp's effectinfo stuff is still pretty hardcoded, all you can really do is specify randomized colours+origins+velocities. Basically what I'm saying is 'make a tracer with it'. Also, 'type smoke' is rather ambiguous, and the sort of legacy behaviour that you're probably best without.
Its generally not practical to reimplement, without copy+pastaing the entire gl_rpart.c file or whatever it is.

There's also the fact that it doesn't work with QW-style content downloads, where the mod and all of its content is automatically downloaded from a server file-by-file (as far as I'm aware, dp also has this limitation), while (more vanilla) modified nq clients still only support maps. This limits the use to only single-player mods/content packages.
The network protocol LH added for spawning custom effects from ssqc is also flawed, limiting its reliability and thus usefulness (its based upon csqc, so uses client-specific indexes in the server, which is vile when you consider custom content packages - it should have used precaches).

Also, I like curly brackets too. :P
They help break up the words and give it structure, instead of it just being a huge great splurge. Makes it so much easier to find the effect you're looking for as you can look directly at the names instead of having to first figure out if it is a name.

No system is perfect, but its at least a step in the right direction.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: DarkPlaces effectinfo.txt

Postby mh » Tue Aug 07, 2012 4:07 pm

User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Re: DarkPlaces effectinfo.txt

Postby Baker » Tue Aug 07, 2012 10:22 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: DarkPlaces effectinfo.txt

Postby szo » Tue Aug 07, 2012 10:28 pm




szo
 
Posts: 132
Joined: Mon Dec 06, 2010 4:42 pm

Re: DarkPlaces effectinfo.txt

Postby taniwha » Tue Aug 07, 2012 11:11 pm

mh: QF added just the one new text format: OpenStep style property lists. Quake's entity data format is actually very close. Actually, building plists from normal enity data was pretty trivial, and going from this to plists (internally) looks like it would be fairly trivial.

Baker: curlies (or other punctuation) often help (though admittedly not always).
Leave others their otherness.
http://quakeforge.net/
taniwha
 
Posts: 399
Joined: Thu Jan 14, 2010 7:11 am

Re: DarkPlaces effectinfo.txt

Postby mh » Wed Aug 08, 2012 8:37 pm

User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Re: DarkPlaces effectinfo.txt

Postby taniwha » Fri Aug 10, 2012 4:27 am

Well, QF actually uses property lists in all sorts of places (including saved game data, but reads either). While it's an existing standard, it's rather obscure, not helped by OpenStep having moved on to XML (now that's something I don't want to put into QF. ick).
Leave others their otherness.
http://quakeforge.net/
taniwha
 
Posts: 399
Joined: Thu Jan 14, 2010 7:11 am

Re: DarkPlaces effectinfo.txt

Postby Baker » Fri Aug 10, 2012 4:38 am

XML is what happens when you pursue perfection. It becomes a hideous, grotesque failed paradigm. But a "standardized" hideous, grotesque failed paradigm.

The original goal was user-friendly, human readable that even your grandma would feel comfortable editing. *snicker* :D

So how'd that all work out? :mrgreen: *puke*
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: DarkPlaces effectinfo.txt

Postby leileilol » Fri Aug 10, 2012 8:39 am

leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: DarkPlaces effectinfo.txt

Postby Spirit » Fri Aug 10, 2012 10:15 am

Don't forget to check out what purplehaze did with FTEQW's particle system: http://www.quakeworld.nu/forum/topic/71 ... le-effects

It looks fairly similar in style but in my memory those effects were much more advanced and custom than DP's.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Next

Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests