Skip to content

Commit 67a96b2

Browse files
committed
added spy disguise anim for reference
1 parent efa2919 commit 67a96b2

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

0-TUTORIAL/11-Class-Image.md

+33
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,39 @@ When disguised as a spy, other images are used in addition to the normal class i
8787
}
8888
```
8989

90+
If you wish to disable them or change how they're animated, you'll need to change the animations for them:
91+
```
92+
event HudSpyDisguiseChanged
93+
{
94+
Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.0 0.2
95+
96+
Animate PlayerStatusSpyOutlineImage Position "c-200 c-200" Linear 0.0 0.2
97+
Animate PlayerStatusSpyOutlineImage Size "400 400" Linear 0.0 0.2
98+
99+
RunEvent HudSpyDisguiseHide 0.7
100+
}
101+
102+
event HudSpyDisguiseHide
103+
{
104+
Animate PlayerStatusSpyOutlineImage Position "3 413" Linear 0.0 0.2
105+
Animate PlayerStatusSpyOutlineImage Size "55 55" Linear 0.0 0.2
106+
107+
Animate PlayerStatusSpyOutlineImage Alpha "0" Linear 0.2 0.1
108+
}
109+
110+
event HudSpyDisguiseFadeIn
111+
{
112+
RunEvent HudSpyDisguiseChanged 0
113+
Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
114+
}
115+
116+
event HudSpyDisguiseFadeOut
117+
{
118+
RunEvent HudSpyDisguiseChanged 0
119+
Animate PlayerStatusSpyImage Alpha "0" Linear 0.9 0.1
120+
}
121+
```
122+
90123
##
91124
<table>
92125
<tbody>

0 commit comments

Comments
 (0)