Wha?
#26 posted by
metlslime on 2009/07/17 08:14:13
i thought all explosives caused half damage on shamblers, including voreballs, exploding boxes, etc.
Well
#27 posted by
necros on 2009/07/17 08:31:04
yes and no.
the 50% only applies to radius damage.
since explosives are coded to do T_Damage to other and then do the radius damage, ignoring other, rockets had to have the 50% built into their touch function, but grenades don't (they forgot to put it in?). also, grenades are technically more efficient because they do a flat 120 damage per 'nade while rockets do 100-120 damage.
#29 posted by
JneeraZ on 2009/07/17 13:56:00
Yeah, that's news to me. Nice. I'll keep 'nades in mind for dealing with shamblers then...
#30 posted by
Trinca on 2009/07/17 14:00:29
i always knew that grenades have more efect on shamby then rocket but i never knew why :|
no i know, thanks :)
I Disagreed
#31 posted by
spy on 2009/07/17 14:23:43
just checked, 12-13 grens to kill the sham, directly (ie direct hit), in his face
Ummm.
You sure about that? I tried and the grenade damage appears halved:
http://www.quaketastic.com/upload/files/demos/shamblergrenade.zip
#34 posted by
Ankh on 2009/07/17 14:34:50
without checking I think that grenades don't like shamblers.
Anyway the GL is still the best weapon in quake.
Is It The Splash Damage Then?
#35 posted by negke on 2009/07/17 14:37:54
Because with direct hits, grenades are even less effective than rockets (12 vs 11). It also takes 11 SSG hits btw.
Please Re-read Combat.qc And Weapons.qc
#36 posted by
lurker on 2009/07/17 16:51:28
Shamblers will take half damage in all cases of grenade and rocket.
T_Damage (combat.qc) never checks if the monster is a shambler, as it was assumed that these checks would already have been performed. This is the function in Quake that is intended to perform all final damage calculations. Putting the shambler checks in here would mean the shambler takes half damage all the time. :)
T_RadiusDamage (combat.qc) does check if an entity is a shambler and halves the damage in that case. It then calls T_Damage to apply this halved damage.
Whether a grenade explodes on its own or hits a target, GrenadeExplode (weapons.qc) is the function that will set the damage dealt. It calls T_RadiusDamage in all cases, never T_Damage. Given the information above, this means that grenades will always do half damage to shamblers.
Exploding barrels, ogre grenades, voreballs, spawn/tarbaby explosions, and underwater lightning gun explosions all only call T_RadiusDamage, so half damage for shamblers is already taken care of without extra code.
Rockets are a bit more complicated because their T_MissileTouch (weapons.qc) gives a special case for direct hits.
In the case that a rocket hits a shambler directly, damage is halved and T_Damage is called. Since T_Damage never checks if the monster involved is a shambler, this is necessary.
In the case that a rocket hits a shambler by splash damage, T_RadiusDamage is called. Making a special case for the shambler before calling T_RadiusDamage is unnecessary because that function will already halve the damage.
That's Wild
#37 posted by
necros on 2009/07/17 20:00:24
i have no idea why i misread the grenade touch function. o.o
Don't Worry About It
#38 posted by Drew on 2009/07/19 03:31:43
I forgive you.
SDA Contest
#39 posted by
nahkahiir on 2009/08/03 21:17:12
This is the reason why I didn't post any demos to this thread - a new contest on Trinca's map takes place now!
Have a look at it here -
http://speeddemosarchive.com/quake/contests/155t.html
#40 posted by
Trinca on 2009/08/04 12:11:16
nice! will try to make better then 14� place...
:( was very bad... i need to improve my skill a bit
Trinca
#41 posted by
Ankh on 2009/08/04 13:39:15
Be glad that I didn't send mine in. You would be 15th :P
SM155_pack Added To The SDA Archives
#42 posted by
Stubgaard on 2009/08/22 22:52:48
Cool
#44 posted by
negke on 2009/08/23 16:32:28
What's the cheap way in my map? Slope jump up the roof right after the start door?
Negke
#45 posted by
Stubgaard on 2009/08/23 22:53:23
The new demos have been posted, so go to SDA and have look :-)
http://speeddemosarchive.com/quake/