diff --git a/automobiles_buggy/buggy_entities.lua b/automobiles_buggy/buggy_entities.lua index ba2738b..2906c9a 100755 --- a/automobiles_buggy/buggy_entities.lua +++ b/automobiles_buggy/buggy_entities.lua @@ -150,6 +150,7 @@ initial_properties = { pointable=false, visual = "mesh", mesh = "automobiles_buggy_rag.b3d", + use_texture_alpha = true, backface_culling = false, textures = {"automobiles_black.png", "automobiles_buggy_rag_window.png"}, }, @@ -241,6 +242,8 @@ minetest.register_entity("automobiles_buggy:buggy", { stepheight = 0.7, visual = "mesh", mesh = "automobiles_buggy_body.b3d", + use_texture_alpha = true, + backface_culling = false, textures = { "automobiles_black.png", --bancos "automobiles_painting.png", --carroceria diff --git a/automobiles_buggy/textures/automobiles_buggy_rag_window.png b/automobiles_buggy/textures/automobiles_buggy_rag_window.png index be5df9c..6768074 100755 Binary files a/automobiles_buggy/textures/automobiles_buggy_rag_window.png and b/automobiles_buggy/textures/automobiles_buggy_rag_window.png differ diff --git a/automobiles_buggy/textures/automobiles_buggy_windshield.png b/automobiles_buggy/textures/automobiles_buggy_windshield.png index c267c32..18cfd12 100755 Binary files a/automobiles_buggy/textures/automobiles_buggy_windshield.png and b/automobiles_buggy/textures/automobiles_buggy_windshield.png differ diff --git a/automobiles_coupe/coupe_entities.lua b/automobiles_coupe/coupe_entities.lua index afc9c52..96d19c2 100755 --- a/automobiles_coupe/coupe_entities.lua +++ b/automobiles_coupe/coupe_entities.lua @@ -241,6 +241,8 @@ minetest.register_entity("automobiles_coupe:coupe", { stepheight = 0.65, visual = "mesh", mesh = "automobiles_coupe_body.b3d", + --use_texture_alpha = true, + --backface_culling = false, textures = { "automobiles_black.png", --bancos "automobiles_painting.png", --carroceria diff --git a/automobiles_coupe/textures/automobiles_coupe_glasses.png b/automobiles_coupe/textures/automobiles_coupe_glasses.png index eb2e88d..66a9eea 100755 Binary files a/automobiles_coupe/textures/automobiles_coupe_glasses.png and b/automobiles_coupe/textures/automobiles_coupe_glasses.png differ diff --git a/automobiles_lib/textures/automobiles_glass.png b/automobiles_lib/textures/automobiles_glass.png index aae7709..3ec645a 100755 Binary files a/automobiles_lib/textures/automobiles_glass.png and b/automobiles_lib/textures/automobiles_glass.png differ diff --git a/automobiles_roadster/models/automobiles_roadster.b3d b/automobiles_roadster/models/automobiles_roadster.b3d index f54e47a..8c89b16 100755 Binary files a/automobiles_roadster/models/automobiles_roadster.b3d and b/automobiles_roadster/models/automobiles_roadster.b3d differ diff --git a/automobiles_roadster/roadster_entities.lua b/automobiles_roadster/roadster_entities.lua index 3e13344..91bd0ba 100755 --- a/automobiles_roadster/roadster_entities.lua +++ b/automobiles_roadster/roadster_entities.lua @@ -218,9 +218,15 @@ minetest.register_entity("automobiles_roadster:roadster", { stepheight = 0.6, visual = "mesh", mesh = "automobiles_roadster.b3d", + --use_texture_alpha = true, + backface_culling = false, textures = { - "automobiles_black.png", --bancos + "automobiles_metal2.png", --parabrisa movel + "automobiles_glass.png", --vidro do parabrisa movel + "automobiles_painting.png", --portas + "automobiles_black.png", --portas interno "automobiles_wood.png", --assoalho + "automobiles_black.png", --bancos "automobiles_painting.png", --pintura "automobiles_black.png", --chassis "automobiles_metal2.png", --carcaça farol @@ -230,11 +236,7 @@ minetest.register_entity("automobiles_roadster:roadster", { "automobiles_wood.png", --parede de fogo "automobiles_roadster_fuel.png", --combustivel "automobiles_metal2.png", --parabrisa fixo - "automobiles_alpha.png", --vidro do parabrisa fixo - "automobiles_painting.png", --portas - "automobiles_black.png", --portas interno - "automobiles_metal2.png", --parabrisa movel - "automobiles_alpha.png", --vidro do parabrisa movel + "automobiles_glass.png", --vidro do parabrisa fixo "automobiles_black.png", --paralamas "automobiles_metal2.png", --carenagem do radiador "automobiles_painting.png", --tanque de combustivel @@ -430,11 +432,11 @@ minetest.register_entity("automobiles_roadster:roadster", { local accel = vector.add(longit_drag,later_drag) if self._show_rag == true then - self.object:set_bone_position("parabrisa", {x=0, y=15.8317, z=15.0394}, {x=0, y=0, z=0}) + self.object:set_bone_position("windshield", {x=0, y=15.8317, z=15.0394}, {x=0, y=0, z=0}) self.top2:set_properties({is_visible=true}) self.top1:set_properties({is_visible=false}) else - self.object:set_bone_position("parabrisa", {x=0, y=15.8317, z=15.0394}, {x=math.rad(-145), y=0, z=0}) + self.object:set_bone_position("windshield", {x=0, y=15.8317, z=15.0394}, {x=math.rad(-145), y=0, z=0}) self.top2:set_properties({is_visible=false}) self.top1:set_properties({is_visible=true}) end