jump.tf Forums
Welcome B)

Tempus HP Regen Offline

scotch · 7 · 4601

scotch

  • Administrator
  • Proficient
  • *****
    • Posts: 335
    • Frags: +0/-0
    • View Profile
Mainly for demos, but you can emulate the regen on Tempus using a couple of console commands.

ent_create logic_timer targetname regen RefireTime 0.015; ent_fire regen addoutput "OnTimer !player,SetHealth,200,0,-1"

Basically just creates a entity that fires every tick with an output that sets your health to its maximum.

example bind (will need to use a cfg since it has nested quotations):
Spoiler (click to show/hide)

enjoy those pres
« Last Edit: August 20, 2017, 12:23:48 AM by scotch »


200

  • Intermediate
  • ***
    • Posts: 132
    • Frags: +0/-0
  • bind space hud_reloadscheme
    • View Profile
    • CFG.TF
Nice, thats a good upgrade from hurtme. I'll add this to cfg.tf jump script, we now have offline teleports and tick regen.


pants

  • Proficient
  • ****
    • Posts: 458
    • Frags: +0/-0
    • View Profile
wait so in console you use ',' to separate instead of ':'

eg:

"OnTimer !player:SetHealth:200:0:-1" ?


scotch

  • Administrator
  • Proficient
  • *****
    • Posts: 335
    • Frags: +0/-0
    • View Profile
just following the format: <output name> <targetname>,<inputname>,<parameter>,<delay>,<max times to fire (-1 == infinite)>

seems there are some issues so will try to fix
« Last Edit: August 18, 2017, 10:37:28 PM by scotch »


pants

  • Proficient
  • ****
    • Posts: 458
    • Frags: +0/-0
    • View Profile

scotch

  • Administrator
  • Proficient
  • *****
    • Posts: 335
    • Frags: +0/-0
    • View Profile
I think dynamically spawning entities follows this format, I copied that straight from the console.


plep

  • Advanced
  • *****
    • Posts: 639
    • Frags: +0/-0
  • hi
    • View Profile