Announcement

Collapse
No announcement yet.

Locational damage (projectile)?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Six-Shoota
    replied
    The only idea I have is traceline form the spike every single frame, but this will be a framerate killer.

    Leave a comment:


  • Mindf!3ldzX
    replied
    Originally posted by Six-Shoota View Post
    I mean doing different damage depenting on how high the nail hits the hitbox of an ent (headshots etc.)
    Damage is the same in every section of the hitbox as far as I know.

    Leave a comment:


  • Mindf!3ldzX
    replied
    Originally posted by Six-Shoota View Post
    Any advices for locational damage with the nail gun?
    You was kinda vague, more details?

    Leave a comment:


  • Six-Shoota
    replied
    I mean doing different damage depenting on how high the nail hits the hitbox of an ent (headshots etc.)

    Leave a comment:


  • Seven
    replied
    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:


  • Six-Shoota
    started a topic Locational damage (projectile)?

    Locational damage (projectile)?

    Any advices for locational damage with the nail gun?
Working...
X