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

[TF2] Equipment manager 1.1.8 (05/22/10)


Post New Thread Reply   
 
Thread Tools Display Modes
eraserhead
Veteran Member
Join Date: Nov 2009
Old 11-16-2010 , 10:50   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1521

It's not that simple. If the new path has more characters then the old path you will mess up the file. If you need to add a second materials path you can't do it that way. Just try it and find out.
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
eraserhead
Veteran Member
Join Date: Nov 2009
Old 11-18-2010 , 19:09   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1522

I can confirm now that hexing a model does not break the teamcolors. Equipping a player model on a blue player works fine. Ubering a model doesn't work though. I even tried it on a model that has uberskin like the Skeleton Scout but didn't work. I will re-try after hexing that model.
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
voogru
Inspector Javert
Join Date: Oct 2004
Old 11-18-2010 , 19:57   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1523

Quote:
Originally Posted by asherkin View Post
Well, I think I have fixed it.


Instructions:
Search for
PHP Code:
SetEntityModel(iEntityOthersg_strItemModel[iItem]); 
Add
PHP Code:
new iTeam GetClientTeam(iClient);
SetEntData(iEntityOthersFindSendPropOffs("CPhysicsProp""m_nSkin"), (iTeam-2), 1true); 
Directly above it

So you end up with
PHP Code:
// Create the entity for other players to see.
iEntityOthers Attachable_CreateAttachable(iClient);
if (
iEntityOthers != -1)
{
    new 
iTeam GetClientTeam(iClient);
    
SetEntData(iEntityOthersFindSendPropOffs("CPhysicsProp""m_nSkin"), (iTeam-2), 1true);
    
SetEntityModel(iEntityOthersg_strItemModel[iItem]);
}
else
{
    
LogError("Error while creating external entity (Client: %N / Hat Id: %i)."iClientiItem);

The trick is to use FindSendPropOffs & SetEntData rather than SetEntProp.
While this is not a great patch, it does seem to do the job.

This is really wierd because m_nSkin should be at the same offset...
voogru is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-18-2010 , 22:52   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1524

Quote:
Originally Posted by voogru View Post
This is really weird because m_nSkin should be at the same offset...
Yeah it makes no sense at all, it's not actually m_nSkin that has the issue.
Catch me on Steam or IRC sometime and I'll go through the debugging I did and what I discovered, maybe you'll have an idea as to the cause.
__________________
asherkin is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 11-19-2010 , 18:55   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1525

did update break?
MaloModo is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 11-20-2010 , 07:22   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1526

Plugin is still working for us.
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 11-20-2010 , 09:50   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1527

Yep working fine my end still.
Snaggle is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 11-20-2010 , 12:30   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1528

Hmmm for me...server will not boot while enabled....disable boot and then run crashes server...everything was fine....on linux.
MaloModo is offline
badwolf
Senior Member
Join Date: Apr 2010
Old 11-23-2010 , 10:27   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1529

Quote:
Originally Posted by MaloModo View Post
Hmmm for me...server will not boot while enabled....disable boot and then run crashes server...everything was fine....on linux.
Are you talking about this plugin specifically or are you talking about attachables? Because we're having similar issues with attachables on Linux.
badwolf is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 11-27-2010 , 22:36   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1530

Here's a nice Undead Demoman, from the TF2 Emporium XXVI. It's not supposed to have the Skull on it, just so you know. That happens if you wear that skull hat while having this.
[IMG]http://img831.**************/img831/1074/promoundeaddemoman.png[/IMG]
Attached Files
File Type: zip UndeadDemomanforTF2EM.zip (2.17 MB, 179 views)
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Reply



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 12:11.


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