View Single Post
DrCactus
Junior Member
Join Date: Mar 2013
Old 08-06-2020 , 05:17   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #252

Hello. I've run into a bit of a snag with my server and the plugin.
I've been trying to get custom view models for weapons working, but haven't had much success, and I just get very zoomed out stock models.

I understand we can't have world models, but it would be nice to have viewmodels for players. Also, is it possible to not make them zoomed out?

I am using the afterburner as a base, as well as the "firkin flamer" model
(this is only because these are the ones I have on hand at the moment, and just needed something quick to test out, and will be using a different model and make my own weapon later)

here is a slightly abbreviated version of Pryo_1_Afterburner.txt

Code:
"Test"
{
	"classes"
	{
		"pyro"	"0"
	}
	"baseclass"	"flamethrower"
	"baseindex"	"21"
	"nobots"	"1"
	"quality"	"6"
	"logname"	"test"
	"description"	"test"
	"attributes"
	{
		"damage penalty"
		{
			"plugin"	"tf2attributes"
			"value"	"0.5
		}
	}
	"viewmodel" // Custom viewmodel.
	{
		"modelname"		"models/weapons/c_models/c_firkin_flamer/c_firkin_flamer.mdl" // Location of the viewmodel file.
	}
}

Last edited by DrCactus; 08-06-2020 at 06:45.
DrCactus is offline