Raised This Month: $32 Target: $400
 8% 

[TF2] Building Hats


Post New Thread Reply   
 
Thread Tools Display Modes
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 07-09-2014 , 04:26   Re: [TF2] Building Hats
Reply With Quote #11

Quote:
Originally Posted by Sreaper View Post
I like this idea. Please implement that too if you wouldn't mind.
This would be pretty hard to do, getting the players hats model 'should' be easy but getting the offsets magically right to sit ontop of the sentry and not float 400units down/above of the sentry would be hard
__________________
Pelipoika is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 07-09-2014 , 04:35   Re: [TF2] Building Hats
Reply With Quote #12

Quote:
Originally Posted by abrandnewday View Post
Ok so I uncommented the model name printing lines and found this:

Code:
smodel: models/player/items/all_class/all_class_reddit_alt_scout_hat.md
strModelPath: 
models/player/items/all_class/all_class_reddit_alt_scout_hat.md
T
The models are ".mdl" in the config so I'm wondering if their file names are too long.
I had the same problem too but it was
Code:
ls/player/items/all_class/all_class_reddit_alt_scout_hat.mdl
I restarted my server and it seemed to work fine after
__________________

Last edited by Pelipoika; 07-09-2014 at 04:36.
Pelipoika is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 07-09-2014 , 05:19   Re: [TF2] Building Hats
Reply With Quote #13

nice idea but u need to fix something.
see attachment
Attached Thumbnails
Click image for larger version

Name:	eb28848b8b861f17f0173271a1ea9dbf.png
Views:	343
Size:	59.7 KB
ID:	135423  
__________________
TonyBaretta is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 07-09-2014 , 05:23   Re: [TF2] Building Hats
Reply With Quote #14

Quote:
Originally Posted by TonyBaretta View Post
nice idea but u need to fix something.
see attachment
Did you try restarting your server after installation?
__________________
Pelipoika is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 07-09-2014 , 05:53   Re: [TF2] Building Hats
Reply With Quote #15

Quote:
Originally Posted by Sreaper View Post
Cool. Mind adding an override feature for defining which flag is able to have sentry hats? Preferably with an option to enable/disable sentry hats for your own buildings as well.
Done.
__________________
Pelipoika is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 07-09-2014 , 06:18   Re: [TF2] Building Hats
Reply With Quote #16

Thanks! It seems someone has an error model for a sentry/dispenser hat. I restarted my server after installation by the way.
Additionally, they don't seem to set right on mini sentries.

Last edited by Sreaper; 07-09-2014 at 06:23.
Sreaper is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 07-09-2014 , 07:05   Re: [TF2] Building Hats
Reply With Quote #17

Quote:
Originally Posted by Sreaper View Post
Thanks! It seems someone has an error model for a sentry/dispenser hat. I restarted my server after installation by the way.
Additionally, they don't seem to set right on mini sentries.
I dont know why this would happen but if you could
uncomment the lines
PHP Code:
391 //    PrintToChatAll("smodel: %s", smodel);
392//    PrintToChatAll("strModelPath: %s", strModelPath); 
re compile the plugin and try to get an error to appear and then post the chat output
__________________
Pelipoika is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-09-2014 , 09:59   Re: [TF2] Building Hats
Reply With Quote #18

Code:
decl String:strPath[100]
The constant PLATFORM_MAX_PATH exists for file paths lengths like these.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-09-2014 at 09:59.
Powerlord is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 07-09-2014 , 10:05   Re: [TF2] Building Hats
Reply With Quote #19

Quote:
Originally Posted by Powerlord View Post
Code:
decl String:strPath[100]
The constant PLATFORM_MAX_PATH exists for file paths lengths like these.
Thanks Powerlord
Will upload fix

*Edit
Done
__________________

Last edited by Pelipoika; 12-15-2016 at 11:43. Reason: Remove autism
Pelipoika is offline
martellus
Member
Join Date: Jan 2013
Old 07-09-2014 , 11:55   Re: [TF2] Building Hats
Reply With Quote #20

Installed it and restarted server, seems like a great plugin but one hats in the default cfg seems to be messed up:


http://cloud-2.steampowered.com/ugc/...D46B11D1D9F90/
martellus 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 07:18.


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