Is it not possible to...
Moderator: Graf Zahl
- justin023
- Posts: 165
- Joined: Wed Sep 21, 2005 10:51
- Location: Illinois
- Contact:
Is it not possible to...
...use multiple models/skins for a decoration yet? When I tried, it didn't work.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- justin023
- Posts: 165
- Joined: Wed Sep 21, 2005 10:51
- Location: Illinois
- Contact:
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
}