Ulysses

Ulysses Stuff => Releases => Topic started by: WispySkies on December 20, 2015, 06:23:04 PM

Title: Team Fortress Two Particles On Your Player
Post by: WispySkies on December 20, 2015, 06:23:04 PM
What is this?
Something me and a friend spent ages of time on -- anyway -- this just gives you a TF2 hat effect onto your player.

Requirements?
TF2 has to be mounted, and ULX and ULib should be up to date on your server so that's fine.

How do I use this?
In the chat do !particle NAME PARTICLE
Say I wanted to give Timmy unusual_orbit_fire_dark I would do:
!particle Timmy unusual_orbit_fire_dark
Or myself: !particle WispySkies unusual_orbit_fire_dark
When trying to !stopparticle NAME PARTICLE it ignores the particle argument {which is fine} but clears the newest particle if you have multiple on. (Fixed bug)
Typing "particlehats_print_particles" in your console will give you the particle list.

In the console it says unable to generate X particle (or something!)
Write a reply here or on the GitHub page and I'll try to fix that as soon as I can.

Source code? -- Download available here (in .zip)
https://www.github.com/WispySkies/particle_hats/

Images!
(http://i.imgur.com/OaTuKGq.gif)

Code: [Select]
Change Log:
1.0.0
- Project released
1.0.1
-Fixed stacking particles, removed Circling and some Orbit particles as they stack, and cannot be removed
1.1.1
-You only see the particles in thirdperson, not firstperson so your view is crystal clear. (But they're still there!)
1.2.1
- Tweaked strings to sound better.
- Added an author/coded by (me & Timmy).
- Merged two if SERVER statements
1.2.2
- Moved Particle list (Merging the two if statements caused errors as the particle list wasn't yet declared.)
1.3.2
- Created the convar "particles_user_toggle". When set to 1 anyone may give the self a particle but no one else, players added to the Admin group in users.txt will be allowed to give others, such as the original command without a variable.
1.3.3
- Convar didn't change the access of the command, just changed the target value (such as target = target etc.)
1.4.3
-Deleted convar and user targeting, created ULX errors.
1.4.4 FancyLogAdmin error, missing/mis-ordered syntax.
Title: Re: Particle "Hats" TF 2 Effects from Hats on Your Character
Post by: JamminR on December 20, 2015, 07:36:46 PM
Nice
Do a small quick screenshot, animated gif, or even a video of a few different ones!
I didn't even know TF2 had hats.
Is there a way to get a list of hat effects, or do they autocomplete in game console?

Title: Re: Particle "Hats" TF 2 Effects from Hats on Your Character
Post by: MrPresident on December 20, 2015, 08:04:05 PM
I didn't even know TF2 had hats.

(http://reactiongif.org/wp-content/uploads/GIF/2014/08/GIF--laughing-funny-LOL-haha-hehe-hilarious-fun-happy-wink-laugh-George-Costanza-Seinfeld-GIF.gif)


TF2 is synonymous with hats.
Title: Re: Particle "Hats" TF 2 Effects from Hats on Your Character
Post by: WispySkies on December 21, 2015, 06:12:58 AM
Nice
Do a small quick screenshot, animated gif, or even a video of a few different ones!
I didn't even know TF2 had hats.
Is there a way to get a list of hat effects, or do they autocomplete in game console?
As of last night the command worked, but they should auto complete to the console. The newest GitHub push should change the amount of available particles to use as the circling and a few of the orbits stack each-other and cannot  be removed via !stopparticles. Added an image :D
Title: Re: Particle "Hats" TF 2 Effects from Hats on Your Character
Post by: Timmy on December 21, 2015, 08:27:59 AM
Wooo! I had never played around with particles before so this was a really fun, educational project to help with. I particularly like the superrare_ghosts particle. So spooky! ;D

(https://i.imgur.com/jGDLUI0.gif)