Announcement
Collapse
No announcement yet.
Locational damage (projectile)?
Collapse
X
-
The only idea I have is traceline form the spike every single frame, but this will be a framerate killer.
-
Originally posted by Six-Shoota View PostI mean doing different damage depenting on how high the nail hits the hitbox of an ent (headshots etc.)
Leave a comment:
-
Originally posted by Six-Shoota View PostAny advices for locational damage with the nail gun?
Leave a comment:
-
I mean doing different damage depenting on how high the nail hits the hitbox of an ent (headshots etc.)
Leave a comment:
-
Hello Six-Shoota,
I am not a good english speaker/writer/anything.
What do you mean with "locational damage with the nail gun" ?
Can you please advice ?
In original Quake, the nailgun projectiles does only damage to the entity it hits (if it can takedamage).
Do you mean with "locational damage" that you also want to do damage to surrounding entities ? Like a rocket for example ?
If so, then you need to edit the spikeīs touch function(s). Find them in weapons.qc.
T_Damage does the direct impact. Extend it, quite similar to the rocketīs touch function, with an additional T_RadiusDamage.
Find and read the detailed description of how both damage functions work and need inside combat.qc.
If you mean something else, then I am sorry. I didnt understand.
Best of luck.
Leave a comment:
-
Locational damage (projectile)?
Any advices for locational damage with the nail gun?Tags: None
Leave a comment: