Raised This Month: $ Target: $400
 0% 

[TF2Items] Give Weapon (v3.14159, 11/29/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
Rageguy
New Member
Join Date: Feb 2011
Old 02-05-2011 , 12:22   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #201

I have a question about the .dep files, I have the models and everything and my cfg is made and what not, but it's not making .dep files? and I have no idea where to put them, may I have some clarification on this?
Rageguy is offline
Tellahleiah
Junior Member
Join Date: Jan 2011
Old 02-05-2011 , 13:54   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #202

I am having a slight issue if anyone could help me I have added my own test weapon by my friend into tf2items.givecustom.txt when I give it to anyone the server crashes . I have disabled any non related plugins made sure hooks was up to date . So I can only figure that something is wrong here but I can't tell what it is . Any help would be greatly appreciated !
Code:
"custom_give_weapons_vlolz"
{
	"115"
	{
		"classname"		"tf_weapon_wrench"
		"index"		"7"
		"slot"			"2"
		"quality"		"6"
		"level"		"29"
		"attribs"		"134 ; 2 ; 1304 ; 20"
	}
}

Last edited by Tellahleiah; 02-05-2011 at 13:57.
Tellahleiah is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 02-05-2011 , 15:27   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #203

Like I said in the PM, 1304 isn't an attribute.

@Sorrowfire, nice, but you don't want to use a blacklisted model, as eventually attachables force-closes.

The WorldModel changes I made should make it invisible, I think. Try using index 195 instead of 310, and don't set model.

@RageGuy, for the custom models I made, the .dep files go in the same folder as the actual .mdl file.
For your own custom models, its the same. .dep is just a text file that lists the files on which that .mdl file depends, e.g. it needs materials/models/player/engineer/engineer_hand_custom_blue.vmt to function right, so you add that line.

You have to make the .dep yourself.
__________________
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
Rageguy
New Member
Join Date: Feb 2011
Old 02-05-2011 , 22:21   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #204

can it be named anything?
Rageguy is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 02-06-2011 , 02:10   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #205

.dep filename is the model name plus .dep at the end.
so engineer.mdl.dep or something.
__________________
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
Sorrowfire
Member
Join Date: Jul 2010
Location: <Missing String>
Old 02-07-2011 , 21:32   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #206

Quote:
Originally Posted by FlaminSarge View Post
@Sorrowfire, nice, but you don't want to use a blacklisted model, as eventually attachables force-closes.

The WorldModel changes I made should make it invisible, I think. Try using index 195 instead of 310, and don't set model.
Thanks for the warning sarge, i removed the model as soon as you told me. As for seeing if the new Index works, i don't know. Hopefully it does. But from what i understand, the Fists have no model and therefore no bones to attack the fire too.

Anyways, ill post later when i have access to a working server to test this out on.
__________________
"What do you mean SourcePawn doesn't count as a 2nd language?"
Sorrowfire is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 02-08-2011 , 00:50   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #207

Also, heads up, do everything in the config for custom weapon stuff.
Editing the plugin itself makes it a pain to update.

Update is still in the works, b/c I left in a ton of buggy features that I need to comment out.
__________________
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
Benjamuffin
Member
Join Date: Jul 2010
Location: United States
Old 02-08-2011 , 09:53   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #208

Quote:
Originally Posted by Sorrowfire View Post
Thanks for the warning sarge, i removed the model as soon as you told me. As for seeing if the new Index works, i don't know. Hopefully it does. But from what i understand, the Fists have no model and therefore no bones to attack the fire too.

Anyways, ill post later when i have access to a working server to test this out on.
Believe it or not, the Heavy fists do indeed have their own model , it's the reason his hands can bug out and disappear sometimes.
__________________
Benjamuffin is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 02-08-2011 , 16:49   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #209

Quote:
Originally Posted by Benjamuffin View Post
Believe it or not, the Heavy fists do indeed have their own model , it's the reason his hands can bug out and disappear sometimes.
Wrong-o.
Heavy fists worldmodel is part of the heavy model, not its own model. It's a bodygroup. The reason they can disappear is if something sets the bodygroup flag for his hands to disappear.

That's why I don't attach heavy fists if they're given to people. Because that'd involve attaching a whole heavy model.

Speaking of which, I've added this into VisWeps: if you give the gunslinger to somebody, they get a teamcolored engy model attached to them, with the gunslinger arm.
Keep/don't keep?
It looks pretty awesome on most classes.
__________________
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.

Last edited by FlaminSarge; 02-08-2011 at 16:55.
FlaminSarge is offline
Benjamuffin
Member
Join Date: Jul 2010
Location: United States
Old 02-08-2011 , 18:03   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #210

Quote:
Originally Posted by FlaminSarge View Post
Wrong-o.
Heavy fists worldmodel is part of the heavy model, not its own model. It's a bodygroup. The reason they can disappear is if something sets the bodygroup flag for his hands to disappear.

That's why I don't attach heavy fists if they're given to people. Because that'd involve attaching a whole heavy model.

Speaking of which, I've added this into VisWeps: if you give the gunslinger to somebody, they get a teamcolored engy model attached to them, with the gunslinger arm.
Keep/don't keep?
It looks pretty awesome on most classes.
Oh I know , I didn't realize what was being asked properly until I scrolled up just now heh.
__________________
Benjamuffin 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 06:33.


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