How do we view the video? No video on that link given.
particles.luacl_particles.luaThe E2 Particle Extension is a project that Zshelley and I have been working on that allows expression2 spawned particles that can be controlled to make visual effects.
This extension allows server owners to control the maximum amount of spawned particle per second, as well as all players to control the collide-ability, gravity, and bounciness of each particle that is spawned, or every particle separately. When a particle is created, there are several parameters that make cool effects easy to create. parameters include: Duration, start size, end size, string particle material, color, position, and velocity ( optional pitch parameter ).
Particle Extensions allow admins control over the amount of particles every second per player (admins have no limits), as well as the advanced ability to not draw the particles for people who are not looking ( not always recommended ) through console commands under "wire_e2_".
Functions:
The last 3 commands persist, and it is recommended that you put them in if first, unless you want them to be dynamic.Code:particle(Duration, StartSize, EndSize, string String, vector RGB, vector Position, vector Velocity) - creates a particle particle(Duration, StartSize, EndSize, string String, vector RGB, vector Position, vector Velocity, Angle) - creates a particle with a custom pitch axis particleBounce(Bounciness) - controls the bounciness of all particles in that chip ( default is 0.3, 1 is no decay, anything greater makes it accelerate) particleGravity(Gravity) - controls the amount of gravity a particle is subject to ( default is -9.8 ) particleCollision(Number) - decides if all particles in a chip collide with the world ( default is 1 ) R = particlesList() - returns an array of all particles
--Written by Zshelly (he did almost all of the coding too, i only helped with some minor aspects)to install, place these in your wire/lua/expression2/core/custom
This is a video from back when we were beta testing.. We only knew of one particle name, and it was highly inefficient then.. However, even that didn't lag too badly
Last edited by jacoby6000; 08-01-2010 at 02:36 PM.
--Orson Scott CardIn [his] experience that was a sentence never to be uttered except to prove its own inaccuracyI'm not stupid!
How do we view the video? No video on that link given.
.siht daer ot gniyrt emit detsaw ev'uoY
Looks pretty nice, good job. Also, you spelled the thread name wrong: 'Paticle Extension'. (I fixed it :P)
--Orson Scott CardIn [his] experience that was a sentence never to be uttered except to prove its own inaccuracyI'm not stupid!
I can't see the video either, and I have firefox
Google Chrome here. Any kind of flashblock seems to cause it not to display. Normally it'd cause a black box and an enable button.
.siht daer ot gniyrt emit detsaw ev'uoY
hmmm... I'll put it on youtube, and see if that works better (I have google chrome too, and sometimes the videos don't work on WeGame)
Added the video, hopefully youtube works better
I'll throw in a list of particle names when zShelly logs back on, and make a function that returns an array of all particle names
Last edited by jacoby6000; 08-01-2010 at 12:15 PM.
--Orson Scott CardIn [his] experience that was a sentence never to be uttered except to prove its own inaccuracyI'm not stupid!
List of TF2 Particles - Valve Developer Community
Portal Particle Effect List - Valve Developer Community
Half-Life 2: Episode Two Particle Effect List - Valve Developer Community
I also suggest making a blacklist; some of the particles never go away and a few of them are really big, laggy smoke clouds. One of the biggest ones (But also the prettiest) is portal_rift_01, it makes a spiral lightning explosion and then leaves a ton of smoke on the map that is only fixed by rejoining or restarting the map.
Ahh, thanks for the warning.. I'll work on making some more console commands.. For blacklisting, and blocking specified users from using the functions..
EDIT: nevermind, apparently it's only particle effects that do that. This is PARTICLES, NOT particle EFFECTS. I still want to make the player blacklist, though.
Last edited by jacoby6000; 08-01-2010 at 02:11 PM.
--Orson Scott CardIn [his] experience that was a sentence never to be uttered except to prove its own inaccuracyI'm not stupid!
Bookmarks