Raised This Month: $32 Target: $400
 8% 

[CS:GO/CS:S] Grenade Trajectory Prediction (v2.0, 19th Jan 2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Psycheat
Junior Member
Join Date: Jan 2017
Plugin ID:
5489
Plugin Version:
2.0.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Show a trajectory of the grenade before it is thrown.
    Old 01-13-2017 , 23:45   [CS:GO/CS:S] Grenade Trajectory Prediction (v2.0, 19th Jan 2017)
    Reply With Quote #1

    Grenade Trajectory Prediction




    Features
    • Supported throws: IN_ATTACK, IN_ATTACK2, IN_ATTACK + IN_ATTACK2
    • Supports hegrenade/flashbang/smokegrenade/incgrenade/molotov/tagrenade/decoy with different coloured trajectory
    • The displayed trajectory ends at where your grenade will detonate
    • Only the thrower can see the trajectory (OF COURSE )
    • Enable/Disable plugin for admins only. You can change the flags by overriding the command "gtrajectory_admin_flags"
    Note: Sorry for not supporting the other 2 throws(order of mouse button release) because it really depends on the timing and prediction is not accurate at all.

    Console Variables
    Code:
    sm_gtrajectory 1 // Enable/disable plugin
    sm_gtrajectory_size 0.5 // Trajectory beam size, Min: 0.1  Max: 10.0
    sm_gtrajectory_timestep 0.05 // Smaller value = more accurate, Min: 0.001  Max: 0.5 
    
    //Below CVar is for v1.1.1 & above only (those who use grenade delay plugin)
    sm_gtrajectory_delay 0
    
    //For v2.0, prediction is very accurate but you can adjust these CVars (not more than 0.05) if you think it's off :)
    sm_gtrajectory_throw 0.9 //IN_ATTACK, L-mouse
    sm_gtrajectory_lob 0.6 //IN_ATTACK + IN_ATTACK2, L+R mouse
    sm_gtrajectory_roll 0.27 //IN_ATTACK2, R mouse
    sm_gtrajectory_admin 0 // Set to 1 to allow plugin for admins only
    Changelog
    Quote:
    19th Jan 2017 (v2.02)
    * Added CVar to enable/disable plugin for admins only (generic admin flag)

    19th Jan 2017 (v2.0)
    * Added support for additional throw types: IN_ATTACK, IN_ATTACK2 and IN_ATTACK + IN_ATTACK2
    * Added Cvars to adjust prediction incase of inaccuracy
    * Added tagrenade

    16th Jan 2017 (v1.1.1)
    * Added Cvar for iteration
    * Added separate version for those who use grenade delay plugins

    15th Jan 2017 (v1.1)
    * Fixed bug where grenade did not bounce correctly
    * Fixed elasticity issue (too little bounce for some surface)
    * Removed loop CVar for stability.
    * Added CVar to change the trail size

    14th Jan 2017 (v1.0)
    * Initial release.
    Lastly, if you found any bugs please post a reply thanks!
    Attached Files
    File Type: sp Get Plugin or Get Source (grenade_trajectory_1.1.sp - 1571 views - 9.6 KB)
    File Type: sp Get Plugin or Get Source (grenade_trajectory_1.1.1.sp - 1320 views - 9.3 KB)
    File Type: sp Get Plugin or Get Source (grenade_trajectory_2.0.2.sp - 3332 views - 7.1 KB)

    Last edited by Psycheat; 01-28-2017 at 10:10.
    Psycheat is offline
    watti
    Junior Member
    Join Date: Nov 2015
    Old 01-15-2017 , 10:55   Re: [CS:GO/CS:S] Grenade Trajectory Prediction
    Reply With Quote #2

    very nice man! thanks a lot
    watti is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 01-15-2017 , 11:52   Re: [CS:GO/CS:S] Grenade Trajectory Prediction
    Reply With Quote #3

    very cool indeed
    __________________
    8guawong is offline
    M. Silva
    Member
    Join Date: Dec 2014
    Location: My house
    Old 01-15-2017 , 16:54   Re: [CS:GO/CS:S] Grenade Trajectory Prediction
    Reply With Quote #4

    This will be very helpful for practice. Thanks.
    __________________

    Last edited by M. Silva; 01-15-2017 at 16:55.
    M. Silva is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 01-15-2017 , 19:19   Re: [CS:GO/CS:S] Grenade Trajectory Prediction
    Reply With Quote #5

    Thats pretty neat!
    __________________
    zipcore is offline
    Psycheat
    Junior Member
    Join Date: Jan 2017
    Old 01-16-2017 , 10:15   Re: [CS:GO/CS:S] Grenade Trajectory Prediction
    Reply With Quote #6

    Quote:
    Originally Posted by zipcore View Post
    Thats pretty neat!
    Partly thanks to your post on an old thread that motivated me. Trying to work on molotov but I don't play CS:GO much. Would be great if someone can tell me if they bounce off walls at certain angles?
    Psycheat is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 01-16-2017 , 10:30   Re: [CS:GO/CS:S] Grenade Trajectory Prediction
    Reply With Quote #7

    Quote:
    Originally Posted by Psycheat View Post
    Partly thanks to your post on an old thread that motivated me. Trying to work on molotov but I don't play CS:GO much. Would be great if someone can tell me if they bounce off walls at certain angles?
    i don't they are suppose to bounce but they do bounce
    abd its suppose to be a bug

    __________________
    8guawong is offline
    ImACow
    AlliedModders Donor
    Join Date: Feb 2015
    Old 01-16-2017 , 12:08   Re: [CS:GO/CS:S] Grenade Trajectory Prediction (v1.1.1, 16th Jan 2017)
    Reply With Quote #8

    Very cool plugin.
    __________________
    ImACow is offline
    watti
    Junior Member
    Join Date: Nov 2015
    Old 01-16-2017 , 12:30   Re: [CS:GO/CS:S] Grenade Trajectory Prediction
    Reply With Quote #9

    Quote:
    Originally Posted by Psycheat View Post
    Partly thanks to your post on an old thread that motivated me. Trying to work on molotov but I don't play CS:GO much. Would be great if someone can tell me if they bounce off walls at certain angles?
    They do bounce off the wall. It explodes once it hits the ground. Also note there is a timelimit - so if it's in air at a certain point of time, it explodes in-air and makes no fire since it didn't hit the ground in a right time. Timelimit may differ for CT and T grenades, not sure
    watti is offline
    Psycheat
    Junior Member
    Join Date: Jan 2017
    Old 01-17-2017 , 08:54   Re: [CS:GO/CS:S] Grenade Trajectory Prediction
    Reply With Quote #10

    Quote:
    Originally Posted by 8guawong View Post
    i don't they are suppose to bounce but they do bounce
    abd its suppose to be a bug

    Thanks, looks like I dont really need to change my code for now haha. Have to wait until someone report a bug. Enjoy the plugin everyone!
    Psycheat is offline
    Reply



    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 07:49.


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