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

[CS:GO] Cluster Grenade (v2.2, 2017-08-27)


Post New Thread Reply   
 
Thread Tools Display Modes
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 09-02-2017 , 09:41   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #11

Bad SetLocalAngularVelocity(3988.399902,0.000000, 600.000000) on hegrenade_projectile
Indarello is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 09-02-2017 , 10:02   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #12

Quote:
Originally Posted by Indarello View Post
Bad SetLocalAngularVelocity(3988.399902,0.000000, 600.000000) on hegrenade_projectile
What's that?
__________________
Obyboby is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 09-02-2017 , 10:15   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #13

Quote:
Originally Posted by Obyboby View Post
What's that?
error in server concole
i fixed bad eye angle:
Code:
if (DispatchSpawn(GEntities[i]))
{
	for(int j; j < 3; j++)
	{
		if(temp_ang[j] < -360 || temp_ang[j] > 360) temp_ang[j] = float(RoundFloat(temp_ang[j]) % 360);
	}
	TeleportEntity(GEntities[i], pos, temp_ang, vel);
}
but dont know how to fix this

Last edited by Indarello; 09-02-2017 at 10:15.
Indarello is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 09-09-2017 , 20:23   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #14

Quote:
Originally Posted by Indarello View Post
error in server concole
i fixed bad eye angle:
Code:
if (DispatchSpawn(GEntities[i]))
{
	for(int j; j < 3; j++)
	{
		if(temp_ang[j] < -360 || temp_ang[j] > 360) temp_ang[j] = float(RoundFloat(temp_ang[j]) % 360);
	}
	TeleportEntity(GEntities[i], pos, temp_ang, vel);
}
but dont know how to fix this
ang[i][2] = angles[2]; will fix this aswell, even the grenade which just falls to the ground where it was thrown
__________________
zipcore is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 09-09-2017 , 20:26   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #15

Quote:
Originally Posted by zipcore View Post
ang[i][2] = angles[2]; will fix this aswell, even the grenade which just falls to the ground where it was thrown
That's great news, looking forward to it
__________________
Obyboby is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 09-10-2017 , 10:14  
Reply With Quote #16

Maybe better do it in this way?
Changes v2.3.0:
  • The code of plugin is optimized
  • Now ConVar sm_cluster_type uses in other way: e.g. '125' (HE+Flashbang+Decoy) for multiple types
But the plugin needs to be tested (I do not have my own CSGO server for this)
Attached Files
File Type: sp Get Plugin or Get Source (ClusterGrenade 2.3.0.sp - 373 views - 5.7 KB)
__________________
Grey83 is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 09-10-2017 , 12:08   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #17

Quote:
Originally Posted by Grey83 View Post
Maybe better do it in this way?
Changes v2.3.0:
  • The code of plugin is optimized
  • Now ConVar sm_cluster_type uses in other way: e.g. '125' (HE+Flashbang+Decoy) for multiple types
But the plugin needs to be tested (I do not have my own CSGO server for this)
Great! Will be happy to test this out later on tonight.
__________________
Obyboby is offline
yash1441
Senior Member
Join Date: Feb 2015
Location: Illuminati HQ
Old 09-11-2017 , 00:53   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #18

Quote:
Originally Posted by Grey83 View Post
Maybe better do it in this way?
Changes v2.3.0:
  • The code of plugin is optimized
  • Now ConVar sm_cluster_type uses in other way: e.g. '125' (HE+Flashbang+Decoy) for multiple types
But the plugin needs to be tested (I do not have my own CSGO server for this)
Hey, thanks for these improvements! If it works well then can you create a merge request?
__________________
yash1441 is offline
Send a message via Skype™ to yash1441
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 09-11-2017 , 02:46   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #19

Quote:
Originally Posted by Grey83 View Post
Maybe better do it in this way?
Changes v2.3.0:
  • The code of plugin is optimized
  • Now ConVar sm_cluster_type uses in other way: e.g. '125' (HE+Flashbang+Decoy) for multiple types
But the plugin needs to be tested (I do not have my own CSGO server for this)
Can add Flag restiction pls?
__________________
nguyenbaodanh is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 09-11-2017 , 03:58   Re: [CS:GO] Cluster Grenade (v2.2, 2017-08-27)
Reply With Quote #20

Quote:
Originally Posted by yash1441 View Post
Hey, thanks for these improvements! If it works well then can you create a merge request?
Done
__________________
Grey83 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 03:39.


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