• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Fade Filter

Status
Not open for further replies.
  • Trigger
    • Events
    • Conditions
    • Actions
      • Set R_TransparencyDesyncDe[1] = 0.00
      • Set R_TransparencyDesyncDe[2] = 0.00
      • Set R_TransparencyDesyncDe[3] = 0.00
      • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
      • Set R_TransparencyDesyncDe[1] = 70.00
      • Set R_TransparencyDesyncDe[2] = 50.00
      • Set R_TransparencyDesyncDe[3] = 100.00
      • Custom script: endif
      • Cinematic - Apply a filter over 0.20 seconds using Normal blending on texture White Mask, starting with color (0.00%, R_TransparencyDesyncDe[3]%, R_TransparencyDesyncDe[2]%) and R_TransparencyDesyncDe[1]% transparency and ending with color (0.00%, R_TransparencyDesyncDe[3]%, R_TransparencyDesyncDe[2]%) and R_TransparencyDesyncDe[1]% transparency
This is the trigger from a hero of mine. I have placed the values needed for the Cinematic Filter in variables, because it will desync for players. So, you actually 'localize' the real variables for the players, rather than the filter itself, which will desync, if not used correctly.

Here is a tutorial by PurgeandFire111: http://www.thehelper.net/forums/showthread.php?t=89207
 
Status
Not open for further replies.
Top