Raised This Month: $12 Target: $400
 3% 

Solved [TF2] Enable Voodoo Skin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Theon32
Member
Join Date: Sep 2018
Location: mvm_isolation_rc3
Old 05-02-2019 , 08:12   [TF2] Enable Voodoo Skin
Reply With Quote #1

I was attempting to create my own zombie plugin to basically equip the voodoo cursed soul item on the player without having it. So far, this is what I have (with render mode as none):



however, this plugin only spawns in the voodoo cursed soul miscellaneous item, but it doesn't change your skin, so you only see this (with render mode as normal):



In the blue circles you can see some bones sticking out, but the player model doesn't have the voodoo textures, so I need to know how to make it have it. I also need to know how to lower the pitch of the voice, and make the the upgrade station not despawn the item.
Anyone know how to do this? And sorry if I'm not specific enough.

Thanks!

Last edited by Theon32; 05-05-2019 at 10:46. Reason: Setting title to include [Solved] as a prefix.
Theon32 is offline
Batfoxkid
Senior Member
Join Date: Nov 2018
Location: ''On the map''
Old 05-02-2019 , 10:53   Re: [TF2] Enable Voodoo Skin
Reply With Quote #2

Attributes 448 and 450 handle skin override, 448 ; 1 ; 450 ; 1

Attributes 1006 or 2048 handles voice pitch.
__________________

Last edited by Batfoxkid; 05-02-2019 at 10:56. Reason: Added the voice pitch attributes
Batfoxkid is offline
Theon32
Member
Join Date: Sep 2018
Location: mvm_isolation_rc3
Old 05-02-2019 , 12:49   Re: [TF2] Enable Voodoo Skin
Reply With Quote #3

Thanks, but I don't know how to apply Attributes. Sorry I am a beginning coder.
Theon32 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 05-02-2019 , 13:14   Re: [TF2] Enable Voodoo Skin
Reply With Quote #4

It's easier to just use m_bForceSkin and setting the m_nForceSkin to the correct zombie skin, however the forced skin effects the way disguise kits are seen also.
Mitchell is offline
Theon32
Member
Join Date: Sep 2018
Location: mvm_isolation_rc3
Old 05-02-2019 , 13:21   Re: [TF2] Enable Voodoo Skin
Reply With Quote #5

Again, I am just starting out as a coder so I do not know how to put this in the script.
Theon32 is offline
Theon32
Member
Join Date: Sep 2018
Location: mvm_isolation_rc3
Old 05-02-2019 , 19:40   Re: [TF2] Enable Voodoo Skin
Reply With Quote #6

Okay well I figured out how to use TF2 Attributes but the only thing that works is the voice pitch attribute.
PHP Code:
TF2Attrib_SetByName(client"player skin override"1.0);
TF2Attrib_SetByName(client"zombiezombiezombiezombie"1.0);
TF2Attrib_SetByName(client"SPELL: Halloween voice modulation"1.0); 
Theon32 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-03-2019 , 01:08   Re: [TF2] Enable Voodoo Skin
Reply With Quote #7

As the TF2 Wiki says:

Quote:
Currently, all Voodoo-Cursed Souls will not change the player's skin when the server has tf_forced_holiday 1, thus showing parts of the soul clipping with the original player model. However, this does not occur on Halloween, Full Moons, or if the server has tf_forced_holiday 2 or tf_forced_holiday 7.
I've taken it to mean that the attributes also don't work unless the correct holiday is set.

Also, note that the holiday numbers listed there are wrong. You need 2 (Halloween) or 8 (Full Moon).
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Theon32
Member
Join Date: Sep 2018
Location: mvm_isolation_rc3
Old 05-03-2019 , 12:54   Re: [TF2] Enable Voodoo Skin
Reply With Quote #8

Actually I did already. If I didn't you wouldn't see what I saw in the pictures from the first post.
Edit: Just realized I didn't try forced holiday 7/8, only 2.

Last edited by Theon32; 05-03-2019 at 17:31. Reason: why not
Theon32 is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-03-2019 , 19:35   Re: [TF2] Enable Voodoo Skin
Reply With Quote #9

Quote:
Originally Posted by Batfoxkid View Post
Attributes 448 and 450 handle skin override, 448 ; 1 ; 450 ; 1

Attributes 1006 or 2048 handles voice pitch.
When I set 448 and 450 to 1.0 all it does is change my HUD character to Zombie. When I view myself in thirdperson I don't see the voodoo skin. I have the voodoo skin in my inventory, but I don't have it equipped in my loadout.

I tried with tf_forced_holiday 2 and 8. No luck seeing the voodoo skin unless I physically equip it.
PC Gamer is offline
Theon32
Member
Join Date: Sep 2018
Location: mvm_isolation_rc3
Old 05-03-2019 , 20:35   Re: [TF2] Enable Voodoo Skin
Reply With Quote #10

I might have to go to this guy's suggestion:
Quote:
Originally Posted by Mitchell View Post
It's easier to just use m_bForceSkin and setting the m_nForceSkin to the correct zombie skin, however the forced skin effects the way disguise kits are seen also.
But I don't know how to do it.
Theon32 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode