Page 1 of 1

Is it not possible to...

Posted: Fri Dec 30, 2005 12:09
by justin023
...use multiple models/skins for a decoration yet? When I tried, it didn't work.

Posted: Fri Dec 30, 2005 12:22
by Graf Zahl
It hasn't been tested yet.

Posted: Fri Dec 30, 2005 13:40
by justin023
Here is something to try out. The model that shows up when summoning "Comp1" will have a different skin when a few lines are commented in the modeldef. The idea was a breakable computer type thing. I wanted to make sure I could do this before adding a death frame.

Code: Select all

//Uses model 1 only
Model Comp1{
	path "models\decorations\comp"
	model 0 "comp1.md2"
	skin 0 "comp1_0.pcx"
	model 1 "comp1.md2"
	skin 1 "comp1_1.pcx"

	frameindex EMPT A 0 0
	frameindex EMPT B 1 0
}

//Uses model 0
Model Comp1{
	path "models\decorations\comp"
	model 0 "comp1.md2"
	skin 0 "comp1_0.pcx"
	//model 1 "comp1.md2"
	//skin 1 "comp1_1.pcx"

	frameindex EMPT A 0 0
	//frameindex EMPT B 1 0
}