Skip to content

Commit

Permalink
Fixed the CaveHornet's wings transluency.
Browse files Browse the repository at this point in the history
Fixes OpenDungeons#267

Thanks to Danimal! :D
  • Loading branch information
Yohann Ferreira committed Nov 20, 2014
1 parent 31e414a commit 76ce097
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 12 deletions.
5 changes: 2 additions & 3 deletions CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ schemas/

Name Author License Source URL
------------------------------------------------------------------------------------------------------------------------
creatures.def Bertram GPL 3.0

multiplayer/
-> TestMultiplayer.level hwoarangmy GPL 3.0
-> TestMultiplayerSmallFreeForAll.level hwoarangmy GPL 3.0
Expand Down Expand Up @@ -99,6 +97,7 @@ textures/
-> AdventurerBed.png PantherOne CC0 http://opengameart.org/content/tent-pack
-> Anvil.png Daniel74, Nobiax CC0 http://forum.freegamedev.net/viewtopic.php?p=59714#p59714
-> Axe.png Skorpio CC-BY-SA 3.0, GPL 3.0
-> Cavehornet*.png Skorpio CC-BY-SA 3.0, GPL 3.0
-> CelticCross.png Yughues CC0 http://forum.freegamedev.net/viewtopic.php?p=60771#p60771
-> ChickenCoop_tex.png Dm3d CC-BY-SA 3.0 http://opengameart.org/content/chicken-coop
-> Chimney.png Daniel74, Nobiax CC0 http://forum.freegamedev.net/viewtopic.php?p=59775#p59775
Expand Down Expand Up @@ -145,7 +144,7 @@ Bookcase.mesh Danimal CC-BY-SA 3.0
Bookshelf.mesh Danimal CC-BY-SA 3.0 http://forum.freegamedev.net/viewtopic.php?p=59058#p59058
Cannon.mesh Andrew Buck, Skorpio CC-BY-SA 3.0, GPL 3.0
Cannonball.mesh Andrew Buck CC-BY-SA 3.0
Cavehornet.* Skorpio CC-BY-SA 3.0 http://forum.freegamedev.net/viewtopic.php?p=59058#p59058
CaveHornet.* Skorpio, Danimal CC-BY-SA 3.0 http://forum.freegamedev.net/viewtopic.php?p=59058#p59058
CelticCross.mesh Danimal CC-BY-SA 3.0 http://forum.freegamedev.net/viewtopic.php?p=60771#p60771
Chicken.* Skorpio CC-BY-SA 3.0 http://forum.freegamedev.net/viewtopic.php?p=59058#p59058
ChickenCoop.mesh Dm3d, Danimal CC-BY-SA 3.0 http://opengameart.org/content/chicken-coop
Expand Down
2 changes: 1 addition & 1 deletion config/creatures.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@
Name CaveHornet
[Stats]
CreatureJob Fighter
MeshName Cavehornet.mesh
MeshName CaveHornet.mesh
MeshScaleX 0.4
MeshScaleY 0.4
MeshScaleZ 0.4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Cavehornet genrated by blender2ogre 0.6.0
// CaveHornetBody genrated by blender2ogre 0.6.0

material Cavehornet
material CaveHornetBody
{
receive_shadows on
receive_shadows on

technique
{
pass Cavehornet
pass CaveHornetBody
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.6400000190734865 0.6400000190734865 0.6400000190734865 1.0
specular 0.1551724523305893 0.1551724523305893 0.1551724523305893 1.0 37.5
specular 0.1550000011920929 0.1550000011920929 0.1550000011920929 1.0 12.5
emissive 0.0 0.0 0.0 1.0

alpha_to_coverage off
Expand All @@ -19,7 +19,7 @@ material Cavehornet
depth_check on
depth_func less_equal
depth_write on
illumination_stage
illumination_stage
light_clip_planes off
light_scissor off
lighting on
Expand All @@ -30,12 +30,12 @@ material Cavehornet
shading gouraud
transparent_sorting on

texture_unit
texture_unit
{
texture Cavehornet_col.png
tex_address_mode wrap
scale 1.0 1.0
colour_op alpha_blend
colour_op modulate
}
}
}
Expand Down
27 changes: 27 additions & 0 deletions materials/scripts/CaveHornetWings.material
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// CavehornetWings genrated by blender2ogre 0.6.0

material CavehornetWings
{
receive_shadows on
technique
{
pass
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.6400000190734865 0.6400000190734865 0.6400000190734865 1.0
specular 0.1551724523305893 0.1551724523305893 0.1551724523305893 1.0 37.5
emissive 0.0 0.0 0.0 1.0
scene_blend alpha_blend
depth_write off
cull_hardware none
cull_software none
texture_unit
{
texture Cavehornet_col.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}
}
}
}
Binary file added models/CaveHornet.mesh
Binary file not shown.
Binary file added models/CaveHornet.skeleton
Binary file not shown.
Binary file removed models/Cavehornet.mesh
Binary file not shown.
Binary file removed models/Cavehornet.skeleton
Binary file not shown.

0 comments on commit 76ce097

Please sign in to comment.