jump.tf Forums
Welcome B)

Tickregen/class prefab

Gorge004

  • Proficient
  • ****
    • Posts: 323
    • Frags: +1/-0
    • View Profile
Hello!

https://drive.google.com/file/d/17GR95rpo-BcV2yzc26Q_dsZ4QCTAYiWn/view?usp=sharing

This prefab gives tick health regen to demo without overhealing them, and also keep soldier at 900 health every tick.

Ive seen too many maps lately that gives soldier overheal to 900 using a logic_timer wich also affects demo and makes the map 4 sticky spams. So I made this for the lazy boys.

How to use:
  • Copy paste all entities in the prefab to your map
  • This includes 2 filter_tf_class, 2 logic_timer, 2 trigger_multiple
  • Put the filters and timers anywhere on the map, doesn't matter. Tho it's good habit to put them near spawn (:
  • Put both trigger_multiple around map spawn, so you spawn inside them
  • ...
  • Profit

This will always work unless your map renames the player on a jump. Renaming is often use for anticheat teles. If your map does that, you will need to filter the trigger_multiple that renames the player o the class you're anticheating, and the name you will give NEEDS to start with either solly or demo depending on the class.

For example, you make a sync jump and you dont want the player to be able to resync so you put a one way teleport using a trigger_multiple to rename soldier to pass the filter of the teleport.
The trigger_multiple will need to be filter for "solly_filter" and the output would be something like:

OnStartTouch / !activator / AddOutput / targetname solly_cheat

You can rename them whatever you want as long as it always starts with solly.

If you anticheat something for demo, same process, with the filter being "demo_filter" and the name always starting with demo


Psychotic Duck

  • Newbie
  • *
    • Posts: 11
    • Frags: +0/-0
    • View Profile
I found an issue with this prefab with switching class (soldier -> demoman or demoman -> soldier) where it sometimes doesn't update the tick regen to match the class you switched to (I believe this happens when you switch classes when never leaving the trigger). You can solve this by making the player go through another pair of triggers after they spawn so that the class update can occur while still giving you the tickregen immediately as you spawn

idk if people care that much (especially for soldier maps) because it isn't an issue on tempus or with SM plugins offline, but I'd consider updating the prefab to include 2 triggers for each class and directions for putting trigger 2 right after the spawn point or using a quick teleport