| 
	
	
	
	 
   
		
            
             
				Adding Things - 
            
          
		
		
				
		
				12-30-2002, 11:28 PM
			
			
			
		  
		
	
                
            	
		
		
		ok, How would I add things to players hands? like canteen and stuff? 
 
[code:5d99a]TIKI 
setup // Tells model how to be created 
{ 
	scale 0.52				// Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's 
//	scale 0.55				// Seems to work better than 0.52 
	lod_bias -0.7 
	path models/equipment/germangear	// Set path relative to game directory 
	skelmodel gear.skb			// Set base model for skeletal animation 
	surface origin shader blank 
	surface gear shader german_gear 
//	radius 20				// Defines size of shadow 
} 
 
// $define... // If I wanted to define any macros, here would be the place. 
 
init // initialization section is run when model is created. 
{ 
	server 
	{ 
		// Put any server commands for initialising the model here 
		// For a complete listing of server commands and their purposes, see 
		// \source\source\fgame\entity.cpp (lines 390 to 1190 or so) 
	} 
	client 
	{ 
		// If there are any client initialization commands, put them here 
		// For a complete listing of client commands and their purposes, see 
		// \source\source\cgame\cg_commands.cpp (to line 1150 or so) 
	} 
} // End of initialization section 
 
animations // Now list all of the animations and any special commands for them 
{ 
	idle 		gear.skc 
}[/code:5d99a] 
		
	
		
		
		
		
		
	
	 |