Is it not possible to...

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
justin023
Posts: 165
Joined: Wed Sep 21, 2005 10:51
Location: Illinois
Contact:

Is it not possible to...

Post by justin023 »

...use multiple models/skins for a decoration yet? When I tried, it didn't work.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

It hasn't been tested yet.
User avatar
justin023
Posts: 165
Joined: Wed Sep 21, 2005 10:51
Location: Illinois
Contact:

Post 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
}
Locked

Return to “GZDoom”