Raised This Month: $12 Target: $400
 3% 

[TF2] Kill-Streak Tracker and Sounds 3.2 *Sql support!


Post New Thread Reply   
 
Thread Tools Display Modes
Cooltad
Veteran Member
Join Date: Apr 2008
Old 05-06-2009 , 17:50   Re: [TF2] Kill-Streak Orgasms 1.0.6
Reply With Quote #11

Just curious, which part of your code is responsible for making the sounds random?
I could use it for my fake crits plugin.
__________________
Please, give me some rep if you found what I posted useful. :]
Cooltad is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 05-06-2009 , 19:32   Re: [TF2] Kill-Streak Orgasms 1.0.6
Reply With Quote #12

GetRandomInt(<lowVal>, <highVal>)

edit, them other suggestions are coming along. =S

even the fireworks stuff
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 05-06-2009 at 19:51.
BrutalGoerge is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 05-06-2009 , 22:35   Re: [TF2] Kill-Streak Orgasms 1.0.6
Reply With Quote #13

To optimize it you should move all of the 'new' things to the places where they'll be called.
__________________
Please, give me some rep if you found what I posted useful. :]
Cooltad is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 05-07-2009 , 00:10   Re: [TF2] Kill-Streak Orgasms 1.0.6
Reply With Quote #14

As far as i know, they all need to be reset in separate functions... only way is to have them be global vars.
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
Markizz
Junior Member
Join Date: Sep 2006
Old 05-08-2009 , 14:03   Re: [TF2] Kill-Streak Orgasm + Messages 1.0.8
Reply With Quote #15

[TF2] Kill-Streak Orgasm + Messages 1.0.8


No .smx - error
"Plugin failed to compile! Please try contacting the author. "
Markizz is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 05-08-2009 , 15:30   Re: [TF2] Kill-Streak Orgasm + Messages 1.0.8
Reply With Quote #16

loloops

fixed it
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 05-08-2009 , 15:33   Re: [TF2] Kill-Streak Orgasm + Messages 1.0.8
Reply With Quote #17

Im trying to understand, exactly how do these three work? The first is the first interval when it shows the kill-streak msg? The low is the second one? The high is the high kills or is that how many streaks before its execed? The high and low cvars say "random" in them so I figured it was related to if random was enabled or not.

sm_orgasm_first_interval "3.0"
sm_orgasm_high_interval "4.0"
sm_orgasm_low_interval "2.0"


Anyways nice work. I see you included alot of my ideas.


Couple suggestions:

1) I dont think your sm_orgasm_fireworks_trigger "3.0" works correctly. I set it to 3, which mean it should do the birthday / particle after 3 kill-streaks right? Well, it doesnt go off that soon. Also, a default of 9 triggers is pretty high. You might consider changing that. 9 triggers would be 27 kills heh. Anyways, I set it to 3 for testing, and it should be triggering the birthdaysound and particle after 9 kills, but it is not. Perhaps im not configing the cvars correctly?

2) Related to the above, I dont think you have the particle working properly. It looks like you were trying to loop it. First off, I dotn think it needs to be looped. The mini_fireworks already lasts a good 2-3 seconds as is, I dont think it needs to be generated multiple times. Anyhow, Looping it seems to be screwing it up, cause at least twice out of 3 tries, it did not even display. It looks like the newer loop overrides the previous particle. It doesnt even get to be played entirely.



Edit: After doing a little more testing, it definitely looks like something is off. I have random disabled, and I have the other three cvars as this: sm_orgasm_first_interval "3.0"
sm_orgasm_high_interval "4.0"
sm_orgasm_low_interval "2.0"

Im not sure whats happening but, ill kill 3 people, and itll play the streak. Then, ill kill just 2 more, at 5 kills, and it displays a streak again. It should be at 6, not 5.

Then ill kill myself, and go again. I kill 3, and displays streak. Then I get to 5, and it doesnt display streak, which it shouldnt. Then it displays at 6 properly. Anyways, with random off, id think it should be going by the first interval of every 3 kills correct?

Then the sm_orgasm_fireworks_trigger "3.0" which should be going off at 3 streaks (or 9 kills) does work sometimes, but not others. Im not exactly sure whats going on there.

Last edited by retsam; 05-08-2009 at 16:13.
retsam is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 05-08-2009 , 17:47   Re: [TF2] Kill-Streak Orgasm + Messages 1.0.8
Reply With Quote #18

you're right, i think the descriptions are screwey

sm_orgasm_high_interval "4.0"
sm_orgasm_low_interval "2.0"

those randomize the interval when you get a streak, so i can be every 4 kills, 3 kills or 2 kills, make them the same if you want a trigger every X kills.

i thought it looked cooler with the multiple loops

sm_orgasm_fireworks_trigger "3.0" that will make the fireworks happen the 3rd time the plugin plays a sound and shows a message for you

the randommode just randomizes what message/sound you get, else it plays in order

I tweaked a couple thingies, try it now
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 05-08-2009 at 18:11.
BrutalGoerge is offline
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 05-08-2009 , 21:21   Re: [TF2] Kill-Streak Orgasm + Messages 1.0.8
Reply With Quote #19

Alright man. Will do.

For the particle looping....Its not like its a huge issue or anything. Just my preference. Obviously you should do whatever you want heh.

To me it seems like its looping wrong. It starts to play the particle, then seems like the next loop of the particle cancels the animation out from completing. Does that make sense? Like, ive had particles looping before, and it usually loops on top of eachother, doesnt usually overwrite it.

I dunno. Personally I just think the particle playing once is fine. You dont have to change it though. I may just edit it myself for when I put it on our servers.
retsam is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 05-08-2009 , 21:30   Re: [TF2] Kill-Streak Orgasm + Messages 1.0.8
Reply With Quote #20

i made the loop timer longer, and made it loop twice.

once for people to go waa? and again or them to see when they turn and loop :p
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode