- Joined
- Dec 1, 2008
- Messages
- 120
This model is based off of the Plane.mdl from Oinkerwinkle's Extended Primitives:
The image below is the texture I'm using for it and it's UV mapped to use the leftmost piece of it:
The model in-game, when used on a destructable that's facing 270 degrees:
It's flipped vertically. Why does this happen? Am I missing something obvious here?
Code:
Version {
FormatVersion 800,
}
Model "panel-border-l" {
NumGeosets 1,
NumBones 1,
BlendTime 150,
MinimumExtent { -16, -16, 0 },
MaximumExtent { 16, 16, 0 },
BoundsRadius 32,
}
Textures 1 {
Bitmap {
Image "",
ReplaceableId 32,
}
}
Materials 1 {
Material {
Layer {
FilterMode Transparent,
static TextureID 0,
}
}
}
Geoset {
Vertices 4 {
{ -16, -16, 0 },
{ 16, -16, 0 },
{ -16, 16, 0 },
{ 16, 16, 0 },
}
Normals 4 {
{ 0, 0, 1 },
{ 0, 0, 1 },
{ 0, 0, 1 },
{ 0, 0, 1 },
}
TVertices 4 {
{ 0, 1 },
{ 0, 0 },
{ 0.125, 1 },
{ 0.125, 0 },
}
VertexGroup {
0,
0,
0,
0,
}
Faces 1 6 {
Triangles {
{ 2, 0, 3, 1, 3, 0 },
}
}
Groups 1 1 {
Matrices { 0 },
}
MinimumExtent { -16, -16, 0 },
MaximumExtent { 16, 16, 0 },
BoundsRadius 32,
MaterialID 0,
SelectionGroup 0,
}
Bone "Bone0" {
ObjectId 0,
GeosetId Multiple,
GeosetAnimId None,
}
PivotPoints 1 {
{ 0, 0, 0 },
}
The image below is the texture I'm using for it and it's UV mapped to use the leftmost piece of it:

The model in-game, when used on a destructable that's facing 270 degrees:

It's flipped vertically. Why does this happen? Am I missing something obvious here?