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? Quote
+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 Quote
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 Quote
+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 Quote
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............... Quote
+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 ... Quote
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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.