New model for the loom. Animation is missing.

Controls
Clonkonaut 2015-07-23 15:09:11 +02:00
parent 5bb56010e2
commit 0e48f2baaa
6 changed files with 34 additions and 8 deletions

View File

@ -2,13 +2,13 @@
id=Loom
Version=6,0
Category=C4D_Structure
Width=40
Height=29
Offset=-20,-15
Vertices=4
VertexX=-20,20,-18,18
VertexY=-4,-3,14,14
VertexFriction=50,50,100,100
Width=52
Height=40
Offset=-26,-20
Vertices=6
VertexX=-23,0,23,-23,0,23
VertexY=19,19,19,-3,-18,-3
VertexFriction=100,100,100,50,50,50
Mass=1000
Components=Wood=3;Metal=1;Rock=1
Exclusive=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

View File

@ -0,0 +1,26 @@
material LoomMat
{
receive_shadows on
technique
{
pass LoomMat
{
cull_hardware none
scene_blend alpha_blend
ambient 1.0 1.0 1.0 1.0
diffuse 1.0 1.0 1.0 1.0
specular 0.0 0.0 0.0 0.0 12.5
emissive 0.0 0.0 0.0 0.0
texture_unit
{
texture loom.png
tex_address_mode wrap
filtering trilinear
}
}
}
}

View File

@ -82,7 +82,7 @@ public func OnProductionFinish(id product)
}
func Definition(def){
SetProperty("MeshTransformation", Trans_Rotate(70, 0,1,0), def);
SetProperty("MeshTransformation", Trans_Rotate(25, 0,1,0), def);
SetProperty("PictureTransformation", Trans_Rotate(65,0,1,0), def);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 KiB