@Kinn
#17 posted by Baker on 2016/09/15 21:56:04
It looks like from the weather.cfg comments you can do that, you might need to do some experimentation. If you get it to work, plz post back and share.
Baker
#18 posted by Kinn on 2016/09/15 22:32:02
I can't see a way to set the particle emission for a texture, from the QC.
It can be done from the console (e.g.) r_partredirect tex_TEXTURENAME "weather.tex_skysnow"
...but that requires a map restart to take effect. :/
Cross Posting A Piece Of Knowledge
#19 posted by Baker on 2016/09/15 22:32:40
Baker: random angle on rain like Qrack's gl_rain
Spike: use velbias, and add a bias so it's angled.
or just make it bounce off walls at a high velocity, because that's fun too, then turning into blood, bouncing some more, and splattering all the walls with decals.
Source
@kinn
#20 posted by Spike on 2016/09/15 22:55:55
you currently need to reload the current map in order to change the effect associated with sky.
the r_partredirect command *should* do what you want, but its implementation is still lazy and doesn't reprocess anything (which doesn't affect regular particle effects because I just left it using strings for most things, but does affect surface+model associations).
(it can be used recursively too, and possibly should if you want it to be generic for mods, though it gives up after 5 levels to avoid infinite loops).
you can also change r_particledesc, but doing so will obliterate all existing particles, but not the polys emitting those particles...
really r_particledesc is meant to be a user-command rather than a mod one, while the namespace stuff is meant to be for mods (config names allow for downloads).
the _texpart_foo thing is great because it means the config can be used regardless of the r_particledesc setting the user used, so its noticably more robust than trying to use the automatic tex_foo names.
a user can still override eg "weather.tex_skyrain" by just using that name (including the 'wrong' config name) for an effect in some config named by the r_particledesc cvar. Or you can use r_partredirect.
and yeah, I suck at explaining. much of it is just me trying to give complete info, even if its not useful to you personally.
Particle Fields Descriptions - FTE Wiki
#21 posted by Baker on 2016/09/15 23:13:01
Very Important Link:
http://fte.triptohell.info/wiki/index.php/ParticleFields
Spawn Related Fields
. *count (count)*
- count: specifies number of particles to spawn with point effects
. *step (step)*
- step: specifies Quake units per particle to spawn with trails
! Note: step (x) is a synomyn for count 1/(x)
. *die (die)*
- die: specifies time in seconds it takes for the particle to die. A value of 0 means that the particle will be rendered for a duration of 1 frame.
...
/Far more detail and number of fields @ wiki
Sparks, Lava Effects, Trails
#22 posted by Baker on 2016/09/16 01:12:32
fte particle examples are rare, but I remembered one from long ago from Haze.
Sparks, Lava effects, trails
1) haze.cfg download in c:/Quake/id1/particles folder
2) Type r_particledesc "haze"; map start
Here is result in video: https://youtu.be/4BTywfBdbRc
The config is not completely recognized and is not entire Quakey --- and Haze never intended it to be.
But the contents of haze.cfg may serve as a reference for modifying/adding effects to models or particles.
Cl_bobcycle 0
#23 posted by spy on 2016/09/16 13:54:49
gives a grayflash
Cl_bobcycle 0
#24 posted by mh on 2016/09/16 16:51:17
Actually causes a floating-point division by zero in most Quake engines; line 113 of Spikespasm view.c:
cycle = cl.time - (int)(cl.time/cl_bobcycle.value)*cl_bobcycle.value;
Just set it to a really really low value instead.
R4
#25 posted by Spike on 2016/09/28 08:01:48
http://triptohell.info/moodles/junk/quakespasm-spike-r4.zip
sorry it took so long. I got bored, and distracted. so I might as well give what I have before I forget about it completely.
Anyway, this build should fix various issues with the previous one, as well as making protocol 15 servers more compliant (which makes it a little more limited, but oh well).
#26 posted by Baker on 2016/09/28 08:55:23
Hahah ...
Nice job Spike! GLQuake could connect to it just fine when running sv_protocol 15.
./particles
#27 posted by anonymous user on 2016/09/29 11:31:23
I tried adding these things into a pak with pakexplorer, but "particles" is an invalid filename apparently. Any way around that? Weather would be a nice addition to my mod for engines that support it.
#28 posted by Mugwump on 2016/09/29 12:09:19
I have a particlefont.tga inside my darkplaces\id1\particles folder, if that's any indication.
#29 posted by Mugwump on 2016/09/29 12:10:43
I know, different engines, but it still could be of some use.
#30 posted by dwere on 2016/09/29 12:38:02
Filenames of the 8.3 format is a PakExplorer limitation. AFAIK, the pak format allows for longer names, as long as the whole path is no more than 56 characters.
I haven't tried any other tools yet.
#31 posted by Baker on 2016/09/29 17:50:28
Pakscape is what you need
R4
#32 posted by sock on 2016/10/25 15:50:43
Finally got around to adding more support for this to the latest version of AD and the particle scaling looks really good. Its nice to know that all my time spent creating a DP particle file has not gone to waste! :)
For some reason I cannot get a screen shake entity to work. Its called "misc_shake" and is based on the version from the RRP codebase. It specifically uses punchangle_x on the player to move the screen around and velocity to make the player move around. For some reason this entity is doing nothing to screen or player.
The new function does use findradius to locate the player and that is certainly working, but the parameters on the player are being ignored. Any ideas why?
A Storm Is Coming
#33 posted by sock on 2016/10/25 19:55:40
An example video of the QS-Spike (v4) client running with AD 1.5 showing DP like particles effects and weather (rain)
#34 posted by muk on 2016/10/25 20:31:39
all these teasers are phenomenal.
:O
#35 posted by mjb on 2016/10/25 20:56:40
The amount of atmosphere that adds, holy cow it is gorgeous. So players not using QS-spiked will not have the rain or sound effects correct?
#36 posted by Mugwump on 2016/10/25 21:17:51
DP users should. Now QSS needs its own Pretty Water mod.
#37 posted by Baker on 2016/10/25 21:47:33
-- and wouldn't have smoke effects coming from the flames.
#38 posted by Mugwump on 2016/10/26 04:29:28
I'm sure Seven could do something about that.
*thinks about Seven's forthcoming SMC v5.53*
Hmmm... Seveeeeen?
R4 Feedback
#39 posted by sock on 2016/10/26 18:10:31
The QC example in weather.cfg has spelling mistakes
Line 4 - particleeffectnum("weather.te_rain")
In order to check for rain / snow functionality the engine should respond to the following extension checks, I am getting false from these.
checkextension("DP_TE_PARTICLERAIN");
checkextension("DP_TE_PARTICLESNOW");
@Bloughsburgh
not using QS-spiked will not have the rain or sound effects correct?
I plan to only implement this for QS-Spike and DP clients
@Mugwump
#40 posted by khreathor on 2016/10/26 18:30:00
Prepare PBR materials and real-time GI too.
"I Plan To Only Implement This For QS-Spike And DP Clients"
#41 posted by Icaro on 2016/10/26 21:04:34
Why not asking ericw to merge Spike�s code into QS for a new release?
|