today i made a new weapon...sort of...actually...i need help :(

  • Thread starter Thread starter iRRVi
  • Start date Start date
I

iRRVi

Guest
so, like i said, i made a new weapon...sort ot...actually i need help :(...anyways, i made a bomb for some random guy last night...it was really easy
then i go to put a texture on it, it doesnt work, i try over and ove again for different things, what seemed like hundreds of times for each, i knew it wasnt, but it was lots...so, now ive gotten to a stumper...when i go to chuck the bomb, it dissapears...
ive used the grenade for the thingy, but nothing, i need help...ill post some of the code i think that is not functioning...

weapon_grenade.txt:

Code:
WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"			"Bomb"
	"viewmodel"			"models/v_bomb.mdl"
	"playermodel"			"models/bomb.mdl"
	"PlayerAnimationExtension"	"gren"

	"anim_prefix"			"anim"
	"bucket"			"0"
	"bucket_position"		"2"

	"clip_size"			"-1"
	"clip2_size"			"-1"
	"default_clip"			"1"
	"default_clip2"			"-1"

	"primary_ammo"			"AMMO_GRENADE"
	"secondary_ammo"		"None"

	"weight"			"1"
	"item_flags"			"18"	// ITEM_FLAG_NOAUTORELOAD | ITEM_FLAG_EXHAUSTIBLE

	// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
	SoundData
	{
		"special1"	"WeaponFrag.Roll"
		"double_shot"	"common/null.wav"
		"single_shot"	"common/null.wav"
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
				"font"		"WeaponIcons"
				"character"	"k"
		}
		"weapon_s"
		{	
				"font"		"WeaponIconsSelected"
				"character"	"k"
		}
		"ammo"
		{
				"font"		"WeaponIcons"
				"character"	"v"
		}
		"crosshair"
		{
				"font"		"Crosshairs"
				"character"	"Q"
		}
		"autoaim"
		{
				"file"		"sprites/crosshairs"
				"x"			"48"
				"y"			"72"
				"width"		"24"
				"height"	"24"
		}
	}
}

so theres that...thanx in advance

update: boy, am i stoopid, my bro told me that i need to add bones and animation and the such, thanx anyways
 
Back
Top