F24A Posted October 1, 2013 Posted October 1, 2013 Look at It does not show..... The HUD is from SF1,I put it inSF2,so it does not show.And how should I do to make it show?
+Fubar512 Posted October 1, 2013 Posted October 1, 2013 Effects in SF2 are shader driven, as opposed to the particle-driven effects in SF1, so they require an effects shader declaration line in the materials statement (such as the following), in the model's avionics.ini file: [HUDMaterial] EffectShaderName=fltHUD.fx DepthBufferCheck=FALSE DepthBufferWrite=FALSE RenderedInOrder=FALSE AlphaTestEnabled=TRUE CullMode=NO_CULL LightEnabled=FALSE UseLightLevel=FALSE SpecularEnabled=FALSE EmissiveEnabled=FALSE FogEnabled=FALSE AmbientColor=1.000000,1.000000,1.000000,1.000000 DiffuseColor=1.000000,1.000000,1.000000,1.000000 ZBufferOffset=0 PriorityLevel=1 BlendOp=BLEND_SRC_ALPHA NumTextureStages=1 TextureStage[01].TextureName= TextureStage[01].MipMap=FALSE TextureStage[01].FilterEnabled=TRUE TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE
F24A Posted October 1, 2013 Author Posted October 1, 2013 Thanks for your help ,but it still does not show Effects in SF2 are shader driven, as opposed to the particle-driven effects in SF1, so they require an effects shader declaration line in the materials statement (such as the following), in the model's avionics.ini file: [HUDMaterial] EffectShaderName=fltHUD.fx DepthBufferCheck=FALSE DepthBufferWrite=FALSE RenderedInOrder=FALSE AlphaTestEnabled=TRUE CullMode=NO_CULL LightEnabled=FALSE UseLightLevel=FALSE SpecularEnabled=FALSE EmissiveEnabled=FALSE FogEnabled=FALSE AmbientColor=1.000000,1.000000,1.000000,1.000000 DiffuseColor=1.000000,1.000000,1.000000,1.000000 ZBufferOffset=0 PriorityLevel=1 BlendOp=BLEND_SRC_ALPHA NumTextureStages=1 TextureStage[01].TextureName= TextureStage[01].MipMap=FALSE TextureStage[01].FilterEnabled=TRUE TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE Er,it still doesn't show
+Crusader Posted October 1, 2013 Posted October 1, 2013 You probably have to add the complete material section + the reference for it in the HUD section : .... [HUD]HUDMaterial=HUDMaterial....[HUDMaterial]EffectShaderName=fltHUD.fxDepthBufferCheck=FALSEDepthBufferWrite=FALSERenderedInOrder=FALSEAlphaTestEnabled=TRUECullMode=NO_CULLLightEnabled=FALSEUseLightLevel=FALSESpecularEnabled=FALSEEmissiveEnabled=FALSEFogEnabled=FALSEAmbientColor=1.000000,1.000000,1.000000,1.000000DiffuseColor=1.000000,1.000000,1.000000,1.000000ZBufferOffset=0PriorityLevel=1BlendOp=BLEND_SRC_ALPHANumTextureStages=1TextureStage[01].TextureName=TextureStage[01].MipMap=FALSETextureStage[01].FilterEnabled=TRUETextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSETextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE
F24A Posted October 2, 2013 Author Posted October 2, 2013 You probably have to add the complete material section + the reference for it in the HUD section : .... [HUD] HUDMaterial=HUDMaterial .... [HUDMaterial] EffectShaderName=fltHUD.fx DepthBufferCheck=FALSE DepthBufferWrite=FALSE RenderedInOrder=FALSE AlphaTestEnabled=TRUE CullMode=NO_CULL LightEnabled=FALSE UseLightLevel=FALSE SpecularEnabled=FALSE EmissiveEnabled=FALSE FogEnabled=FALSE AmbientColor=1.000000,1.000000,1.000000,1.000000 DiffuseColor=1.000000,1.000000,1.000000,1.000000 ZBufferOffset=0 PriorityLevel=1 BlendOp=BLEND_SRC_ALPHA NumTextureStages=1 TextureStage[01].TextureName= TextureStage[01].MipMap=FALSE TextureStage[01].FilterEnabled=TRUE TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE Yeah,So do I...............
+Crusader Posted October 2, 2013 Posted October 2, 2013 Still no go ? It could be that the ini looks for TGA files of a stock aircraft which you do not have, e.g. F-16A Netz from SF2I ...
F24A Posted October 3, 2013 Author Posted October 3, 2013 Still no go ? It could be that the ini looks for TGA files of a stock aircraft which you do not have, e.g. F-16A Netz from SF2I ... I am try again,It be show!And thanks for your help
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now