Grenade Trails
2 Attachment(s)
Grenade Trails Version 1.1 Adds a trail to grenades when you throw them..here is the video thx to exvel for taking it Requires - Hooker Extension Cvars gt_enables - Enables\Disables the trails, 1=on, 0=off |
Re: Grenade Trails
Can you please provide a screenshot, how this looks in game?
|
Re: Grenade Trails
This shoulds good for DM.
|
Re: Grenade Trails
Awsome plugin! Thanks.
Here is a small video which shows plugin in action. http://www.youtube.com/watch?v=D8_dg0BVLiE |
Re: Grenade Trails
Looks nice ^^
cya |
Re: Grenade Trails
exvel@: thx alot man, ill add it to the first post.
|
Re: Grenade Trails
Approved :)
|
Re: Grenade Trails
1 Attachment(s)
One possible reason flashes turn yellow instead of white is because there are multiple beams following the grenade. After modifying this plugin to make random colored trails, I observed multiple colors per trail instead of one trail and one color. The screenshot attached clearly shows multiple beams.
|
Re: Grenade Trails
This is because he has it set to make a trail behind the grenade every frame instead of only setting one trail on it.
|
Re: Grenade Trails
Quote:
|
Re: Grenade Trails
...nice discussion guys, you also want to remake my version of the plugin and post it here? there is no better way to do this, other than using virtual hooks which is unsupported right now.
|
Re: Grenade Trails
Um, sure there is. Just make an array the size of GetMaxEntities() and when you find a grenade, set the array at that entity's number to 1. When it's destroyed set it back to 0. That way you can check if it already has a trail behind it or not.
|
Re: Grenade Trails
You should make it smoke like in DODS instead of colors.
|
Re: Grenade Trails
Hey Fredd, I installed your Grenade Trails v1.0 plugin onto my server, and it is working great, with the exception of one thing that I noticed. I started getting this error message each time upon throwing a random HE grenade, flashbang, or smoke grenade (any grenade) over de_dust2's platform (bomb planting radius @ bombsite A) from CT spawn towards the ramp/small hill up to the platform area:
Quote:
I'm pretty sure that it isn't a random occurance either since I've tried testing multiple times (via relaunching CS:S, rejoining my server, etc), and throwing it in the same radius area towards the same destination again and again. It doesn't seem to crash when I throw any type of grenade anywhere else (or to say the least, in a spot that I haven't encountered yet ~ on any other map as well). It seems to spring that error with any grenade that I throw though, like I previously mentioned. Also, I'm not sure if its client-side, if its a programming error, or if its a plugin conflict, but I've got my ideas, since it doesn't seem to crash the server, and I'm more than likely sure my plugins are all working fine together via server-side. I'm thinking its a programming error, in relation with the engine's code and the plugin's code since it only crashes the client. The trail is overflowing since it is being multiplied/calculated or trailed/displayed multiple times over and over again, much in the same way that cjeshjoir described in his earlier post with his screenshot, thereby creating a flow error aka buffer overflow. :arrow::idea: It's probably a small fix. If I could, I'd have a go at looking at your code, but seeing as I have no knowledge of HL2 engine based coding, I'll have to resort to waiting for a bug fix or a re-release. (No surprise there.) ^^'' In the meantime, I'll test things out a bit more and see if I run into any other bugs worth mentioning. =P *cough* Time to get crackin'!! >=P! "Go, go, go!" "MOVE!!" :mrgreen: |
Re: Grenade Trails
im planning to rewrite the code, so just hang in there..
|
Re: Grenade Trails
We got the same too, loaded it up with 64 players on and at least 50% of them got that error as described above.
For the ones that didn't receieve that error, it worked well :) Matt |
Re: Grenade Trails
Hi !
Same overflow bug here... It is client-side only... I think it happens because when you see many trails at the same time, each trail part is kept in a client-side memory list, and this list is not big enough to keep all those trail-parts... I think for bug-correction : - Ask Valve :) - Change the trail-related function to draw a part only each 10 gameframes (or less often) Good luck :) |
Re: Grenade Trails
im going to update this soon to work better, so h\o.
|
Re: Grenade Trails
I love this plugin and will keep using it on my server if the crashing stops. Thanks a lot!
|
Re: Grenade Trails
update is coming soon it will be all fixed.
|
Re: Grenade Trails
ok updated...
cjeshjoir™ and bl4nk: the same issue is still happening, white is yellow even though i only set it once...and blue(0,0,225,225) doesnt even work either.. everyone else who had issues with this plugin on d2 please test the new version and tell me how it works out... and yeah i will try adding support for custom convars to change the colors soon... |
Re: Grenade Trails
Yes, i noticed it later silly me XD.
Just a sec and i will try it out. |
Re: Grenade Trails
you need to download the hooker and use its include files in order to be able to compile locally...i have attached the .smx for reason in the first post either way you will need to download hooker on your server..
|
Re: Grenade Trails
Looks like it works, but the trails are now less see able and smaller.
I throw 8 grenades and nothing bad happened where with the older version it was enough to throw a HE,flash, and smoke. |
Re: Grenade Trails
ok thats good to heard ;]
the brightness, width, and fade are less visible i know...now do you guys wanna be able to control the color, brightness, width, fade for every grenade with a convar or just the color? or i could just change the brightness and only add convars for colors... |
Re: Grenade Trails
Quote:
edit* I got it working but doesn´t look as good as it did before. I uploaded the hooker files and the plugin smx, is this right? |
Re: Grenade Trails
I can not Compiled over the Attached Files
Get Plugin !!! Greetz JaY |
Re: Grenade Trails
Quote:
|
Re: Grenade Trails
Quote:
|
Re: Grenade Trails
Question: Could this be expanded to make the players themselves have trails?
Matt |
Re: Grenade Trails
I have found a Glitch with this plugin... sorry, I really dont know if it ever can be fixed.. with this plugin enabled and you throw a nade out of the map it will crash EVERYONES counterstike game and everyone will have to re open counterstrike due to some kind of overflow, once people found this out they were doing all the time to be asses so i removed the plugin.
TechKnow |
Re: Grenade Trails
TechKnow
Tell me please, on which maps this happened? I use this plugin over 2 month and never it crash our server. Maybe peoples don't throw nade out of the map... I want test it... |
Re: Grenade Trails
I think any map, but I was showed on Dust2 by the big box at the top of Bomsite A, and yes I have been running it for like i guess 6 months on 3 of my populated servers and never knew what was doing this overflow error crash of the client. Needless to say when I was shown and proved to, I about shit and removed the plugin from all 3 servers and havent had a crash since. I am very sorry I had to remove this plugin because Alot liked it but mostly me, BTW, the server dont crash, it crashes the client with an overflow error.
TechKnow. |
Re: Grenade Trails
Quote:
|
Re: Grenade Trails
When I want to download the plugin it answer me: Plugin failed to compile! Please try contacting the author.
|
Re: Grenade Trails
1 Attachment(s)
You need to compile the plugin with an older version of sourcemod or download this one here, both ways will still work with latest sourcemod, because sourcemod for the most part totally backwards compatable.
|
Re: Grenade Trails
Hello,
Since the update to CSS, the plugin is crashing the server to change map ... I'm sure that the plugin that causes the reboot the server, because if I remove it, I can change the map without problem. There will be an update of the plugin? Sorry for my English school ... |
Re: Grenade Trails
Is it possible to make it so that only those admins with custom flag O have grenade trails?
|
Re: Grenade Trails
I would use this plugin if it was stable.
|
Re: Grenade Trails
Quote:
This will crash clients, not server. But I haven't test this in long time... *edit Or I don't remember will first post plugin crash server and this #36 works but crash clients game. |
All times are GMT -4. The time now is 03:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.