EDIT: See discussion below for an alternative method. This is just a guide for one method!!
So I stumbled across this when thinking about Lumberyard_Event and how Dan could implement the screen effects for when the player becomes Beamy.
Here is an example:
This screen overlay applies only to me.
All I did was replace one .VMT and apply addcond 106 to myself via console cheat.
What is addcond 106?
How can this be achieved in my map?
Examples...
Here are two examples you can try yourself:
-> Overlay Examples.zip
Known Downsides...
So I stumbled across this when thinking about Lumberyard_Event and how Dan could implement the screen effects for when the player becomes Beamy.
Here is an example:
This screen overlay applies only to me.
All I did was replace one .VMT and apply addcond 106 to myself via console cheat.
What is addcond 106?
- Condition 106 applies the PASSTIME interception distortion effect for when a player steals the ball (I guess? I don't know enough about Pass Time). Regardless, this is just one overlay that works similar to when you are underwater, Jarate'd, etc...
- You know what that means! We can apply this condition to any player we choose.
How can this be achieved in my map?
- This file is replaced:
- effects/dodge_overlay.vmt
- Once you have that, you need to apply the condition in Hammer using this brush entity:
- Additionally, you can remove the condition using this trigger:
- trigger_remove_tf_player_condition (There is no VDC Wiki article on this one)
- Pack effects/dodge_overlay.vmt manually in your map (using programs VIDE or CompilePal)
Examples...
Here are two examples you can try yourself:
-> Overlay Examples.zip
- This includes two folders--Each folder contains one .VMT.
- Place ONLY ONE of the folders in the directory "tf/custom".
- Folder names are self explanatory.
Known Downsides...
- This doesn't work in Pass Time (because the condition is used in this game mode)
- This still applies a "Bonk! Atomic Punch" effect on the player as any class.
- To fix this, add condition 14 (Bonk! phasing) with 0 duration. That'll remove the phasing.
Attachments
Last edited: