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

[TF2] Give Bots Cosmetics (05.12.2022)


Post New Thread Reply   
 
Thread Tools Display Modes
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 11-21-2018 , 19:37   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #61

So I have a problem editing your plugin. I started editing it so that I could give class specific hats and other cosmetics to the various classes but it turns out that whenever I try to have more than 48 cases to add hats the game crashes but what I don't understand is why for the other types of cosmetics I can have 200 or more cases. Do you have any idea on how I can fix it? I can give you the code if needed.
manicogaming is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 11-24-2018 , 10:56   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #62

Quote:
Originally Posted by manicogmaing View Post
So I have a problem editing your plugin. I started editing it so that I could give class specific hats and other cosmetics to the various classes but it turns out that whenever I try to have more than 48 cases to add hats the game crashes but what I don't understand is why for the other types of cosmetics I can have 200 or more cases. Do you have any idea on how I can fix it? I can give you the code if needed.
This doesnt really make sense. Are you sure youre adding cosmetics correctly?
__________________
luki1412 is offline
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 11-24-2018 , 11:34   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #63

Quote:
Originally Posted by luki1412 View Post
This doesnt really make sense. Are you sure youre adding cosmetics correctly?
I think I am because, all the other types of cosmetics besides hats work.
But could you take a look at the code and tell me if there is anything that I should change?
Attached Files
File Type: sp Get Plugin or Get Source (GiveBotsCosmetics.sp - 318 views - 237.2 KB)
manicogaming is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 11-24-2018 , 11:49   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #64

Quote:
Originally Posted by manicogmaing View Post
I think I am because, all the other types of cosmetics besides hats work.
But could you take a look at the code and tell me if there is anything that I should change?
Not all of them use the same entity. This plugin only creates tf_wearable. Make sure every item you add has that entity or modify it in the code. You can check its entity in tf\scripts\items\items_game.txt
__________________
luki1412 is offline
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 11-24-2018 , 12:12   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #65

Quote:
Originally Posted by luki1412 View Post
Not all of them use the same entity. This plugin only creates tf_wearable. Make sure every item you add has that entity or modify it in the code. You can check its entity in tf\scripts\items\items_game.txt
The tf_wearable is only for hats right? Because on the other cosmetics I don't see the tf_wearable in the items_game.txt
manicogaming is offline
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 11-24-2018 , 17:18   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #66

Quote:
Originally Posted by luki1412 View Post
Not all of them use the same entity. This plugin only creates tf_wearable. Make sure every item you add has that entity or modify it in the code. You can check its entity in tf\scripts\items\items_game.txt
If I manually check every item in items_game.txt some items don't appear to have tf_wearable.
manicogaming is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 01-15-2019 , 11:28   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #67

Some dont, yes.
__________________
luki1412 is offline
QuackerNuggets
Junior Member
Join Date: Jun 2018
Location: No where
Old 10-20-2019 , 11:29   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #68

This still doesn't work for mvm lol
QuackerNuggets is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 10-20-2019 , 14:40   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #69

Quote:
Originally Posted by QuackerNuggets View Post
This still doesn't work for mvm lol
It wasn't designed to work with MvM. If you want it to work in MvM you'll have to make a very minor change to the code.
PC Gamer is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-26-2019 , 05:10   Re: [TF2] Give Bots Cosmetics (04.11.2017)
Reply With Quote #70

Quote:
Originally Posted by PC Gamer View Post
It wasn't designed to work with MvM. If you want it to work in MvM you'll have to make a very minor change to the code.
Correction, it was designed not to work with MvM as people reported issues. It automatically disables itself if MvM mode is on. I can look at it again if there are people that are going to actually use it for MvM.
__________________
luki1412 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 17:01.


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