Page 1 of 1
Mist isn't showing up ingame
Posted: Sun May 24, 2009 1:25 pm
by B.I.G_Cookie
I searched already, but the only threads I found were "how to add mist" and something like that..
This is just a little problem I have:
I want Dagobah mist on my map, but it isn't showing up ingame.
I have all Dagobah effetcs in my effect folder.
I have the Dagobah mist odf in my odf folder.
I have the Dagobah mist texture and the msh in my msh folder and I placed the odf in ZE, but it isnt't showing up ingame, why?

Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 2:46 pm
by AQT
I'm not sure but how about replacing the SkyInfo() section in your .sky file with
Code: Select all
SkyInfo()
{
Enable(1);
FogColor(95,111,126);
WorldFogRange(-1.7, -5.0);
PC()
{
NearSceneRange(20.0, 30.0, 60.0, 80.0);
FarSceneRange(0.0);
}
}
and adding this section to your .fx file
Code: Select all
Effect("FogCloud")
{
Enable(1);
Texture("fluffy");
Range(60.0, 100.0);
Color(168, 172, 180, 128);
Velocity(5.0, 0.0);
Rotation(0.1);
Height(16.0);
ParticleSize(28.0);
ParticleDensity(60.0);
}
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 2:59 pm
by YaNkFaN
yea that's not what he's asking for (i don't think it is at least)
if this mist
is what you want you can do it 1 of two ways or both (which is what is seen here) 1 is place this object dag1_prop_effectvine or 2 attach this effect dag1_mist (this is an effect file not a .odf) to an emmiter maybe myg1_bldg_fire_effect (can be found in .odf for myg).
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:02 pm
by Fiodis
YaNkFaN wrote:yea that's not what he's asking for (i don't think it is at least)
if this mist
is what you want you can do it 1 of two ways or both (which is what is seen here) 1 is place this object dag1_prop_effectvine or 2 attach this effect dag1_mist (this is an effect file not a .odf) to an emmiter maybe myg1_bldg_fire_effect (can be found in .odf for myg).
I believe that, as mentioned above, you should add in the lines to your FX file.
Also, in addition to the method Yankfan suggested, you can attach an effect to a node through a LUA line.
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:34 pm
by AQT
I don't see a difference between fog and mist, at least in SWBF.
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:38 pm
by B.I.G_Cookie
YaNkFaN wrote:yea that's not what he's asking for (i don't think it is at least)
if this mist
is what you want you can do it 1 of two ways or both (which is what is seen here) 1 is place this object dag1_prop_effectvine or 2 attach this effect dag1_mist (this is an effect file not a .odf) to an emmiter maybe myg1_bldg_fire_effect (can be found in .odf for myg).
Ok I placed dag1_prop_effectvine in ZE, but there isn't any object and it isn't showing up ingame as well. And how do you mean this part
"attach this effect dag1_mist (this is an effect file not a .odf) to an emmiter maybe myg1_bldg_fire_effect (can be found in .odf for myg)."
Is it necassary change the .fx file and the.syk file first like AQT said?
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:41 pm
by YaNkFaN
you sure dag1_prop_effectvine doesn't work because that's the object make sure you have dag1_prop_effectvine.msh in your msh folder and dag1_mist in your effects folder
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:43 pm
by AQT
Is it necassary change the .fx file and the.syk file first like AQT said?
It depends on the look you are going for. "Mist" is just up-close fog. If you also change your .fx and .sky file, then you'll see fog in the distance blocking whatever is in the distance.
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:47 pm
by B.I.G_Cookie
I just want the same type of fog like in Yankfans pic.
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:51 pm
by Fiodis
If all this isn't working for you I'd recommend just using LUA to attach it to a node.
Code: Select all
nodematrix = GetPathPoint("Path's_name", "node's_name")
AttachEffectToMatrix(CreateEffect("Effect's_name"), nodematrix)
It'll probably help things if the path has only the one node in it.
Also, from the tutorial, regarding this method:
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:56 pm
by B.I.G_Cookie
Well I got some fog ingame, but it looks like this
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:57 pm
by Fiodis
Well, you got it in-game!
That is strange. If anything were wrong with the effect itself, I'd expect it to make squares instead of strange shapes....which effect are you using, exactly?
Re: mist isn't showing up ingame
Posted: Sun May 24, 2009 3:59 pm
by B.I.G_Cookie
The effect is dag1_mist.fx and the fog comes from dag1_prop_effectvine.odf
Re: Mist isn't showing up ingame
Posted: Sun May 24, 2009 6:38 pm
by YaNkFaN
go into the .fx file and click ctrl+f and type in texture now keep clicking find next until you've made sure you have all the appropriate .tgas in your effects folder not .msh folder
Re: Mist isn't showing up ingame
Posted: Tue May 26, 2009 9:51 am
by B.I.G_Cookie
Well the mist has a texture.
It just looks like this
How to fix this?
Re: Mist isn't showing up ingame
Posted: Wed May 27, 2009 8:37 am
by RogueKnight
B.I.G_Cookie wrote:Well the mist has a texture.
It just looks like this
How to fix this?
go into the .fx file and click ctrl+f and type in texture now keep clicking find next until you've made sure you have all the appropriate .tgas in your effects folder not .msh folder

Re: Mist isn't showing up ingame
Posted: Wed May 27, 2009 8:56 am
by DarthD.U.C.K.
i reckon cookie did that..