+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: [E2] Particle Extension

  1. #1
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default [E2] Particle Extension

    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:
    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
    The last 3 commands persist, and it is recommended that you put them in if first, unless you want them to be dynamic.

    --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.
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

  2. #2
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: [E2] Paticle Extension

    How do we view the video? No video on that link given.
    .siht daer ot gniyrt emit detsaw ev'uoY

  3. #3
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,657
    Blog Entries
    1

    Default Re: [E2] Paticle Extension

    Looks pretty nice, good job. Also, you spelled the thread name wrong: 'Paticle Extension'. (I fixed it :P)

  4. #4
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default Re: [E2] Paticle Extension

    Quote Originally Posted by Whosdr View Post
    How do we view the video? No video on that link given.
    That's your browsers fault, everyone else can see it :P

    Quote Originally Posted by Drunkie View Post
    Looks pretty nice, good job. Also, you spelled the thread name wrong: 'Paticle Extension'. (I fixed it :P)
    Thanks, it was late when i put that up ^_^
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

  5. #5
    Wire Sofaking Hitman271's Avatar
    Join Date
    Feb 2008
    Location
    Why? You looking for somebody?
    Posts
    731

    Default Re: [E2] Particle Extension

    I can't see the video either, and I have firefox
    Quote Originally Posted by Anticept View Post
    This is not some place where you can toss your dick around and expect people to suck it.
    Community Gpu Thread. Post Yours!

    Bouncy Ball

  6. #6
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: [E2] Particle Extension

    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

  7. #7
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default Re: [E2] Particle Extension

    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.
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

  8. #8
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,657
    Blog Entries
    1

    Default Re: [E2] Particle Extension

    Quote Originally Posted by jacoby6000 View Post
    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
    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.

  9. #9
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default Re: [E2] Particle Extension

    Quote Originally Posted by Drunkie View Post
    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.
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

  10. #10
    Wire Sofaking Ehmmett's Avatar
    Join Date
    Sep 2009
    Posts
    595

    Default Re: [E2] Particle Extension

    Very nice. :3

+ Reply to Thread
Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots