Added a model for a gate and added it to the scene with some additional level improvements
This commit is contained in:
parent
ec8767c14c
commit
190df8b936
BIN
Blenderfiles/Gate.blend
Normal file
BIN
Blenderfiles/Gate.blend
Normal file
Binary file not shown.
52
Levels/Geometry/gate.obj
Normal file
52
Levels/Geometry/gate.obj
Normal file
@ -0,0 +1,52 @@
|
||||
# Blender v2.72 (sub 0) OBJ File: 'Gate.blend'
|
||||
# www.blender.org
|
||||
o Wall_Cube.001
|
||||
v 0.537791 -3.045326 3.045326
|
||||
v 0.537791 -3.045326 -3.045326
|
||||
v -0.537791 -3.045326 -3.045326
|
||||
v -0.537791 -3.045326 3.045326
|
||||
v 0.537791 3.045326 3.045326
|
||||
v 0.537791 3.045326 -3.045326
|
||||
v -0.537791 3.045326 -3.045326
|
||||
v -0.537791 3.045326 3.045326
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 -1.000000
|
||||
vt 0.000000 -1.000000
|
||||
vt -1.000000 0.000000
|
||||
vt -1.000000 -1.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.039666 1.000166
|
||||
vt 0.039666 0.000166
|
||||
vt 0.000334 0.000166
|
||||
vt 0.960071 -0.007992
|
||||
vt 0.959736 0.992008
|
||||
vt 0.993184 0.992028
|
||||
vt 0.002338 0.996941
|
||||
vt 0.032299 0.996953
|
||||
vt 0.032522 -0.000041
|
||||
vt 0.995477 0.006970
|
||||
vt 0.952679 0.006970
|
||||
vt 0.952679 0.987810
|
||||
vt 0.000334 1.000166
|
||||
vt 0.993520 -0.007972
|
||||
vt 0.002561 -0.000052
|
||||
vt 0.995477 0.987810
|
||||
vn -1.000000 0.000000 0.000000
|
||||
vn 1.000000 0.000000 0.000000
|
||||
vn 0.000000 0.000000 1.000000
|
||||
vn 0.000000 0.000000 -1.000000
|
||||
vn 0.000000 1.000000 0.000000
|
||||
vn 0.000000 -1.000000 0.000000
|
||||
s off
|
||||
f 6/1/1 2/2/1 1/3/1
|
||||
f 8/4/2 4/5/2 3/3/2
|
||||
f 5/6/1 6/1/1 1/3/1
|
||||
f 7/6/2 8/4/2 3/3/2
|
||||
f 7/7/3 3/8/3 2/9/3
|
||||
f 5/10/4 1/11/4 4/12/4
|
||||
f 2/13/5 3/14/5 4/15/5
|
||||
f 7/16/6 6/17/6 5/18/6
|
||||
f 6/19/3 7/7/3 2/9/3
|
||||
f 8/20/4 5/10/4 4/12/4
|
||||
f 1/21/5 2/13/5 4/15/5
|
||||
f 8/22/6 7/16/6 5/18/6
|
@ -261,6 +261,41 @@
|
||||
</object>
|
||||
</composition>
|
||||
|
||||
<!-- Gate -->
|
||||
<composition>
|
||||
<typeID>220</typeID>
|
||||
<ignoreHeightmap>true</ignoreHeightmap>
|
||||
<object>
|
||||
<modelPath>gate.obj</modelPath>
|
||||
<xOffset>0.0</xOffset>
|
||||
<yOffset>25.0</yOffset>
|
||||
<zOffset>0.0</zOffset>
|
||||
<xRot>0.0</xRot>
|
||||
<yRot>0.0</yRot>
|
||||
<zRot>0.0</zRot>
|
||||
<scale>1.5</scale>
|
||||
<mass>0.0</mass>
|
||||
</object>
|
||||
</composition>
|
||||
|
||||
<!-- Block for Switch -->
|
||||
<composition>
|
||||
<typeID>240</typeID>
|
||||
<ignoreHeightmap>false</ignoreHeightmap>
|
||||
<object>
|
||||
<modelPath>movableBlock.obj</modelPath>
|
||||
<xOffset>0.0</xOffset>
|
||||
<yOffset>0.0</yOffset>
|
||||
<zOffset>0.0</zOffset>
|
||||
<xRot>0.0</xRot>
|
||||
<yRot>0.0</yRot>
|
||||
<zRot>0.0</zRot>
|
||||
<scale>1.5</scale>
|
||||
<mass>1.0</mass>
|
||||
</object>
|
||||
</composition>
|
||||
|
||||
|
||||
|
||||
|
||||
<objectData>
|
||||
@ -353,3 +388,27 @@
|
||||
<dampningL>0.555</dampningL>
|
||||
<dampningA>0.5</dampningA>
|
||||
</objectData>
|
||||
|
||||
<objectData>
|
||||
<modelPath>gate.obj</modelPath>
|
||||
<texturePath>gateTexture.png</texturePath>
|
||||
<ambientFactor>0.1</ambientFactor>
|
||||
<diffuseFactor>0.6</diffuseFactor>
|
||||
<specularFactor>0.4</specularFactor>
|
||||
<shininess>2.0</shininess>
|
||||
<physicType>TriangleMesh</physicType>
|
||||
<dampningL>0.555</dampningL>
|
||||
<dampningA>0.5</dampningA>
|
||||
</objectData>
|
||||
|
||||
<objectData>
|
||||
<modelPath>movableBlock.obj</modelPath>
|
||||
<texturePath>movableBlockTexture.png</texturePath>
|
||||
<ambientFactor>0.1</ambientFactor>
|
||||
<diffuseFactor>0.6</diffuseFactor>
|
||||
<specularFactor>0.4</specularFactor>
|
||||
<shininess>2.0</shininess>
|
||||
<physicType>TriangleMesh</physicType>
|
||||
<dampningL>0.555</dampningL>
|
||||
<dampningA>0.5</dampningA>
|
||||
</objectData>
|
Binary file not shown.
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 954 B |
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
Levels/Textures/gateTexture.png
Normal file
BIN
Levels/Textures/gateTexture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 MiB |
Binary file not shown.
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 24 KiB |
Binary file not shown.
Loading…
Reference in New Issue
Block a user