AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Grenade damage type (https://forums.alliedmods.net/showthread.php?t=22773)

v3x 01-03-2006 19:07

Grenade damage type
 
What is it? DMG_BLAST?

SubFive 01-03-2006 19:51

Sounds reasonable. :P

v3x 01-03-2006 19:52

I'm pretty sure it is, but not positive. From what I see in Google, it looks like it is: http://www.google.com/search?hl=en&l...xx&btnG=Search

SubFive 01-03-2006 19:59

It would make sense and your link would suggest it is.

v3x 01-03-2006 20:41

Alright, so I'm pretty sure that's what it is..

Wait until you see the plugin I'm making :D

SubFive 01-03-2006 20:43

Quote:

Originally Posted by v3x
Alright, so I'm pretty sure that's what it is..

Wait until you see the plugin I'm making :D

How exciting. :P

What happened to you helping me in my grenade throwing animation thread. :( That's going to make an awesome plugin once I fix that and finish it.

XxAvalanchexX 01-03-2006 21:06

Half-Life 1's grenade produce DMG_BLAST. It's possible that CS uses a different type, but unlikely.

v3x 01-03-2006 21:12

Thanks =)

v3x 01-03-2006 23:01

In the Damage event:
Code:
new dmgType = read_data(3);   if(dmgType & DMG_BLAST)     iWeapID = 4;
Correct?

Jordan 01-03-2006 23:29

Could it be

Code:
 new dmgType = read_data(3);   if(dmgType == DMG_BLAST)     iWeapID = 4;

?


All times are GMT -4. The time now is 15:54.

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