jump.tf Forums
Welcome B)

func_regenerate speed and alternatives

pants · 4 · 1006

pants

  • Proficient
  • ****
    • Posts: 458
    • Frags: +0/-0
    • View Profile
Was wondering if anyone knew of a method to grant players faster ammo/clip refills than just the bog standard func_regen, was working on something where the poor thing can't keep up at all. I have a temporary solution using the add_attribute stuff involving reload speed and increased maxammo but it would be nice if I could limit it to certain areas.

Is it possible to use a trigger_multiple set-up to basically create a faster firing func_regen? Or any other wizardry?


John

  • video games
  • Novice
  • **
    • Posts: 90
    • Frags: +421/-69
    • View Profile
Can you further iterate on where and how you're using add_attribute? I can't find any documentation on it from my 5 seconds of googling


pants

  • Proficient
  • ****
    • Posts: 458
    • Frags: +0/-0
    • View Profile
I'm using what I found on a reddit post here: https://www.reddit.com/r/tf2/comments/3y54wu/for_mappers_trigger_add_or_remove_tf_player/. RNC also made a post about it on these forums.

You have to manually enter the trigger as its not in any FGD at the moment.



John

  • video games
  • Novice
  • **
    • Posts: 90
    • Frags: +421/-69
    • View Profile
it says that it's a brush entity so i don't see why you can't revert your faster reload / increased maxammo attribute changes on leaving the area

the time it takes to shoot 4 rockets should be the same (or very close) to the func_regen time. what are you doing that's causing it to be faster?