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

[TF2] Custom Weapons X


Post New Thread Reply   
 
Thread Tools Display Modes
kikioviolet229
Junior Member
Join Date: Apr 2022
Old 08-12-2022 , 13:57   Re: [TF2] Custom Weapons X
Reply With Quote #11

I got these errors

Quote:
cwx.smx ([TF2] Custom Weapons X): Native "TF2Attrib_SetFromStringValue" was not found
cwx_equip_commands.smx ([TF2] Custom Weapons X - Equip Commands): Could not find required plugin "cwx"
I don't know what it's looking for and why it can't that native, because I have TF2Attributes installed

As for the second error, i'm just assuming that's because CWX isn't loading properly.
kikioviolet229 is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 08-12-2022 , 14:08   Re: [TF2] Custom Weapons X
Reply With Quote #12

Quote:
Originally Posted by kikioviolet229 View Post
I got these errors

I don't know what it's looking for and why it can't that native, because I have TF2Attributes installed
As indicated in the dependency list, you need to have the linked version of TF2Attributes. It's a fork of FlaminSarge's version with additional features.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 08-12-2022 at 14:10.
nosoop is offline
kikioviolet229
Junior Member
Join Date: Apr 2022
Old 08-12-2022 , 17:52   Re: [TF2] Custom Weapons X
Reply With Quote #13

Quote:
Originally Posted by nosoop View Post
As indicated in the dependency list, you need to have the linked version of TF2Attributes. It's a fork of FlaminSarge's version with additional features.
Thank you, it works now.
Another problem/question, what am I doing wrong here? I got the examples to load just fine but not my custom here.
Code:
"Items"
{
	"{502acb47-ba93-4bf5-b610-ccec5f864fe7}"
	{
		"name"			"The Force-A-Nature"
		"inherits"		"The Force-A-Nature"
		"item_class"		"tf_weapon_scattergun"
		"used_by_classes"
		{
		     "scout" 		"primary" 
		}
		"keep_static_attrs"	"1"
		// Contains offical tf2 attributes
		"attributes_game"
		{
			"scattergun no reload single"					"1"
			"scattergun has knockback"					"1"
			"scattergun knockback mult"					"500.00"
			// Actual combat stats
			"fire rate bonus"						"0.5"
			"bullets per shot bonus"					"1.2"
			"damage penalty"						"0.9"
			"clip size penalty"						"0.33"
			"weapon_allow_inspect"						"1"
		}
	}
}
kikioviolet229 is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 08-12-2022 , 20:05   Re: [TF2] Custom Weapons X
Reply With Quote #14

Quote:
Originally Posted by kikioviolet229 View Post
Thank you, it works now.
Another problem/question, what am I doing wrong here? I got the examples to load just fine but not my custom here.
Can't really tell from that information at a glance; make sure that's in a new file or using the same section in the existing file, and that you've reloaded the plugin after installing the configuration.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
kikioviolet229
Junior Member
Join Date: Apr 2022
Old 08-12-2022 , 22:05   Re: [TF2] Custom Weapons X
Reply With Quote #15

Quote:
Originally Posted by nosoop View Post
Can't really tell from that information at a glance; make sure that's in a new file or using the same section in the existing file, and that you've reloaded the plugin after installing the configuration.
Ahh here we go, I found the problem
Code:
08/12/2022 - 21:59:00: [cwx.smx] Item uid '{502acb47-ba93-4bf5-b610-ccec5f864fe7}' inherits from unknown item 'The Force-A-Nature'
Apparently it can't find the Force-A-Nature at all. Removing "The" doesn't seem to work either.
All other weapons seem to work so far. For know I guess I'll just have to use the Soda Popper as a base instead.
kikioviolet229 is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 08-12-2022 , 22:49   Re: [TF2] Custom Weapons X
Reply With Quote #16

Ah; the exact name you want is "The Force-a-Nature". It's case-sensitive.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
kikioviolet229
Junior Member
Join Date: Apr 2022
Old 08-12-2022 , 23:25   Re: [TF2] Custom Weapons X
Reply With Quote #17

Quote:
Originally Posted by nosoop View Post
Ah; the exact name you want is "The Force-a-Nature". It's case-sensitive.
Ah ok. For future reference is there a list of all the exact spellings?
kikioviolet229 is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 08-13-2022 , 00:15   Re: [TF2] Custom Weapons X
Reply With Quote #18

It's mentioned in the wiki; the internal name column from this table is what CWX expects.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
kikioviolet229
Junior Member
Join Date: Apr 2022
Old 08-13-2022 , 00:32   Re: [TF2] Custom Weapons X
Reply With Quote #19

Quote:
Originally Posted by nosoop View Post
It's mentioned in the wiki; the internal name column from this table is what CWX expects.
Thank you!
kikioviolet229 is offline
EthoAtom202
New Member
Join Date: Aug 2022
Old 08-24-2022 , 20:56   Re: [TF2] Custom Weapons X
Reply With Quote #20

Do you think you could make a youtube video on how to install the mod and all of its dependencies? I don't know how to do stuff like build, and some of the instructions on some of the dependencies aren't the clearest.
EthoAtom202 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 23:17.


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