Hello!
https://drive.google.com/file/d/17GR95rpo-BcV2yzc26Q_dsZ4QCTAYiWn/view?usp=sharingThis 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