Upvote Upvoted 0 Downvote Downvoted
My spy disguise silhouette won't appear
posted in Customization
1
#1
0 Frags +

Today I decided to finally fix my hud by making the spy outline image show up when you disguise. Espacially since my hud is mostly made for hl spy.

I haven't managed to fix anything.

After some messing around, my code in the hud_animations.txt file looks like this:

event HudSpyDisguiseChanged { Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Position "c-100 c50" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "150 150" Linear 0.0 0.2

RunEvent HudSpyDisguiseHide 0.7
}

event HudSpyDisguiseChanged
{
Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Position "c-100 c-50" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "150 150" Linear 0.0 0.2

RunEvent HudSpyDisguiseHide 0.7
}

event HudSpyDisguiseHide
{
Animate PlayerStatusSpyOutlineImage Position "c-310 r52" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "27 27" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.2 0.1
}

event HudSpyDisguiseFadeIn
{
RunEvent HudSpyDisguiseChanged 0
Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
}

event HudSpyDisguiseFadeOut
{
RunEvent HudSpyDisguiseChanged 0
Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
}

It's messy and I don't even know what to do anymore.

I'd appreciate some help

I'm basicly trying to make it small and somewhere in the middle of the screen (Kinda like woolen or stabby in one of his videos)

If you want to correct the code, please correct it and send me it.

Today I decided to finally fix my hud by making the spy outline image show up when you disguise. Espacially since my hud is mostly made for hl spy.

I haven't managed to fix anything.

After some messing around, my code in the hud_animations.txt file looks like this:

[quote=event HudSpyDisguiseChanged { Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Position "c-100 c50" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "150 150" Linear 0.0 0.2

RunEvent HudSpyDisguiseHide 0.7
}

event HudSpyDisguiseChanged
{
Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Position "c-100 c-50" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "150 150" Linear 0.0 0.2

RunEvent HudSpyDisguiseHide 0.7
}

event HudSpyDisguiseHide
{
Animate PlayerStatusSpyOutlineImage Position "c-310 r52" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "27 27" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.2 0.1
}

event HudSpyDisguiseFadeIn
{
RunEvent HudSpyDisguiseChanged 0
Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
}

event HudSpyDisguiseFadeOut
{
RunEvent HudSpyDisguiseChanged 0
Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
}][/quote]

It's messy and I don't even know what to do anymore.

I'd appreciate some help

I'm basicly trying to make it small and somewhere in the middle of the screen (Kinda like woolen or stabby in one of his videos)

If you want to correct the code, please correct it and send me it.
2
#2
0 Frags +
event HudSpyDisguiseChanged
{
	Animate PlayerStatusSpyOutlineImage		Alpha		"200"			Linear 0.0 0.2

	Animate PlayerStatusSpyOutlineImage		Position	"c-400 c-0"		Linear 0.0 0.2
	Animate PlayerStatusSpyOutlineImage		Size		"200 200"		Linear 0.0 0.2

	RunEvent HudSpyDisguiseHide	0.7
}

looks like this : https://imgur.com/a/JSaabAZ

[code]event HudSpyDisguiseChanged
{
Animate PlayerStatusSpyOutlineImage Alpha "200" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Position "c-400 c-0" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "200 200" Linear 0.0 0.2

RunEvent HudSpyDisguiseHide 0.7
}[/code]
looks like this : https://imgur.com/a/JSaabAZ
Please sign in through STEAM to post a comment.