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

[TF2] Custom Weapons 3 (Beta 2)


Post New Thread Reply   
 
Thread Tools Display Modes
Theray070696
Senior Member
Join Date: Sep 2014
Old 09-10-2016 , 09:42   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #31

Quote:
Originally Posted by TheOnly8Z View Post
Disregard my other comment.

I would still like to ask about the error that was previously mentioned as per ZwipZwap Zapony.


Doesn't seem to affect anything, but is it solvable?
There should he a couple more lines after that error containing line numbers, could you grab those for me? I can't fix it unless I have those. I'll see about fixing that (and cleaning up the OP a little) when I get the chance.
__________________
Theray070696 is offline
KaidemonLP
Member
Join Date: Jul 2016
Old 09-17-2016 , 04:17   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #32

Quote:
Originally Posted by TheOnly8Z View Post
How do I use the "custom projectile model" attribute?
Does it crash your server when you use it? Because that happens to me.
KaidemonLP is offline
Vodakman
New Member
Join Date: Sep 2016
Old 09-17-2016 , 05:16   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #33

For some reason, every time I try to equip a custom weapon, my dedicated server crashes. Can anyone help me out?
Vodakman is offline
KaidemonLP
Member
Join Date: Jul 2016
Old 09-17-2016 , 06:16   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #34

Quote:
Originally Posted by Vodakman View Post
For some reason, every time I try to equip a custom weapon, my dedicated server crashes. Can anyone help me out?
Happened to me when the coding was wrong.
It was because i had name instead of "name" so it crashed
KaidemonLP is offline
Vodakman
New Member
Join Date: Sep 2016
Old 09-17-2016 , 06:30   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #35

Quote:
Originally Posted by KaidemonLP View Post
Happened to me when the coding was wrong.
It was because i had name instead of "name" so it crashed
Well, all of the weapons have quotation marks around their name, so I don't think that's the problem.

Edit: I think I fixed it, well, slightly atleast. But the only thing that's correct when I equip a weapon is the logname, everything else doesn't work. And the server also crashes when walking into a resupply cabinet.¸

Edit: Okay, I fixed it by installing the newest version of TF2items, seems like I forgot about updating it.

Last edited by Vodakman; 09-18-2016 at 03:43.
Vodakman is offline
Hertzole
New Member
Join Date: Sep 2016
Location: Sweden
Old 09-22-2016 , 11:58   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #36

Can someone explain how I can use custom viewmodels/worldmodels? I can't figure it out and I've been trying to get it to work for quite some time.
Hertzole is offline
SpectraGalaxy
New Member
Join Date: Feb 2016
Old 09-24-2016 , 03:46   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #37

The newest update seems to have broken the plugin, or maybe that's just an error with me. Even though i have 30+ custom weapons in my config folder, only a few of them show up. Certain classes like the Heavy and Pyro don't seem to have any weapons at all.
SpectraGalaxy is offline
KaidemonLP
Member
Join Date: Jul 2016
Old 09-24-2016 , 07:57   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #38

Quote:
Originally Posted by Hertzole View Post
Can someone explain how I can use custom viewmodels/worldmodels? I can't figure it out and I've been trying to get it to work for quite some time.
First add this to your weapon config:

"viewmodel"
{
"modelname" ""
}
"worldmodel"
{
"modelname" ""
}

Be sure it it not inside "attributes".
Then Find the name of the model you want to use. I personaly use this site https://steamcommunity.com/sharedfil.../?id=395367659
Then open GCFscape or other vpk file openers and search for the model.
Right click the mdl file and click on propeties. Copy the directory example:
root\models\weapons\c_models\c_pickaxe\c_pick axe.mdl (its better to use c_ models)
then remove the root\ and change all the \ to /
paste it into the "" after modelname of both viewmodel and worldmodel. Shoud look similar to this

"Test"
{
"classes"
{
"soldier" "1"
}
"baseclass" "shotgun"
"baseindex" "441"
"nobots" "1"
"quality" "6"
"logname" "test"
"description" "test"
"viewmodel"
{
"modelname" "models/weapons/c_models/c_xms_cold_shoulder/c_xms_cold_shoulder.mdl"
}
"worldmodel"
{
"modelname" "models/weapons/c_models/c_xms_cold_shoulder/c_xms_cold_shoulder.mdl"
}
"attributes"
{

}
}

This makes a soldier shotgun with the spycicle model.
You cant change the animations so use the base index from a weapon that uses the animations you want. For that i use this:https://wiki.alliedmods.net/Team_for...nition_indexes

Hope this helped you
KaidemonLP is offline
KaidemonLP
Member
Join Date: Jul 2016
Old 09-27-2016 , 12:26   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #39

I have a problem. Sometimes on random occations when i start a server it crashes sometimes and sometimes it doesnt with out me doing anything. I dont know why.
KaidemonLP is offline
Hertzole
New Member
Join Date: Sep 2016
Location: Sweden
Old 09-30-2016 , 09:22   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #40

Quote:
Originally Posted by KaidemonLP View Post
First add this to your weapon config:

"viewmodel"
{
"modelname" ""
}
"worldmodel"
{
"modelname" ""
}

Be sure it it not inside "attributes".
Then Find the name of the model you want to use. I personaly use this site https://steamcommunity.com/sharedfil.../?id=395367659
Then open GCFscape or other vpk file openers and search for the model.
Right click the mdl file and click on propeties. Copy the directory example:
root\models\weapons\c_models\c_pickaxe\c_pick axe.mdl (its better to use c_ models)
then remove the root\ and change all the \ to /
paste it into the "" after modelname of both viewmodel and worldmodel. Shoud look similar to this

"Test"
{
"classes"
{
"soldier" "1"
}
"baseclass" "shotgun"
"baseindex" "441"
"nobots" "1"
"quality" "6"
"logname" "test"
"description" "test"
"viewmodel"
{
"modelname" "models/weapons/c_models/c_xms_cold_shoulder/c_xms_cold_shoulder.mdl"
}
"worldmodel"
{
"modelname" "models/weapons/c_models/c_xms_cold_shoulder/c_xms_cold_shoulder.mdl"
}
"attributes"
{

}
}

This makes a soldier shotgun with the spycicle model.
You cant change the animations so use the base index from a weapon that uses the animations you want. For that i use this:https://wiki.alliedmods.net/Team_for...nition_indexes

Hope this helped you
I tried doing this but it doesn't work. My viewmodels just disappear and I can't move anymore. I even tried to just copy and paste your example but no luck.
Hertzole 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 10:25.


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