custom AI skins (again)

Post your skinning / modelling questions or answers here

Moderator: Moderators

Post Reply
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

custom AI skins (again)

Post by lizardkid »

ok, HOPEFULLY this'll be the last time i ask about this,

my Rad crashes every time it tries to load the AI... i'm POSITIVE the .tik is ok, the skelmodel and skin work fine for MP (non-AI) skins, but for SP AI it doesnt work!

Code: Select all

TIKI
setup
{
	$path models/human/allied_army_soldier	// Set path to set skelmodel from
	skelmodel usarmy.skd			// Set body model

	surface ranger_pants shader jim_pants
	surface us_top shader jim_jacket
	surface armband shader jim_rank
	surface us_top_c shader jim_jacket

	$path models/human/heads			// Set new path for head model
	skelmodel head1.skd		// Set head model
	surface head shader jim_face

	$path models/human/hands			
	skelmodel hand.skd		
	surface hand shader handsnew
	
	path models/gear/us	
	skelmodel barbelt.skd
	surface barbelt shader barbelt

	path models/equipment/USGear/airborne
	skelmodel airborne_gear.skd
	surface gear shader airborne_gear

	

//************************************
//*** weapon equipment assignment - Justin modify the equipment skelmodels in here
	path models/equipment/usgear

	//*** no weapon assigned
	case weapon "none"
	{
	}

	//*** colt 45 pistol
	case weapon "colt 45"
	{
		path models/gear/us
	
		skelmodel 45holster.skd
		surface 45holster shader 45holster

		skelmodel haversack.skd
		surface haversack shader usequip
	}

	//*** m1 garand rifle
	case weapon "m1 garand"
	{
		path models/gear/us

		skelmodel haversack.skd
		surface haversack shader usequip

		skelmodel garandbelt.skd
		surface garandbelt shader usammobelt
	}
	
	//*** springfield rifle
	case weapon "springfield '03 sniper"
	{
		path models/gear/us

		skelmodel haversack.skd
		surface haversack shader usequip

		skelmodel garandbelt.skd
		surface garandbelt shader usammobelt
	}

	//*** bar machinegune
	case weapon "bar"
	{
		path models/gear/us
	
		skelmodel haversack.skd
		surface haversack shader usequip

		skelmodel barbelt.skd
		surface barbelt shader barbelt
	}
	
	//*** bazooka
	case weapon "bazooka"
	{
		path models/gear/us

		skelmodel haversack.skd
		surface haversack shader usequip

		skelmodel garandbelt.skd
		surface garandbelt shader usammobelt
	}
//*** end weapon equipment assignment
//************************************

	path models/equipment/USGear/helmets
	skelmodel us_helmet.skd
	surface us_helmet shader us-helmet_private


	scale 0.52				// Set default scale to 16/30.5 since world is
						// in 16 units per foot and model is in cm's
	path models/human/protoanimations	// Set path to set animations from

	radius 20				// Defines size of shadow
}

init
{
	server
	{
      	classname Actor
      	american
		setsize "-16 -16 0" "16 16 92"
		health 100
		weapon "M1 Garand"
	}
}

//
// include the base animations definition
//

$include models/human/new_generic_human.tik
$include models/human/animation/dialogue/generic_dialogue_US.tik


/*QUAKED ai_allied_oss_Jimmy (1.0 0.5 0.0) (-16 -16 0) (16 16 96)
*/
i'm compiling in AA and playing in AA. i have NOTHING that will interfear with it, i tried it OOB (out of box) and it still doesnt work.

can anyone help?
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

Are you using AA radiant? because that happens with AA radiant.. get the SH SDK so it wont crash....
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Post Reply