Page 1 of 2

How do i add dome models to Yavin Sky?

Posted: Sat Jan 01, 2011 3:40 pm
by modmaster13
Hi!

(I couldn't find how to do this in the faq's)

How would I add additional sky's?

EX: sky_yav2_trees, sky_yavin_planet

Re: Yavin Sky

Posted: Sat Jan 01, 2011 3:51 pm
by acryptozoo
add this into your sky file
Hidden/Spoiler:
}
DomeModel()
{
Geometry("sky_yavin_planet");
Offset(100.0);
MovementScale(0.995);
}
LowResTerrain()
{
Texture("sky_yav2_trees");
PatchResolution(10);
MaxDistance(400);
TextureScale(20.0);
FogNear(80.0);
FogFar(430.0);
FogColor(82,45,25);

}

Re: Yavin Sky

Posted: Sat Jan 01, 2011 3:54 pm
by modmaster13
This might make me sound like an amatuer. I want to use the default sky but I can't find the file w/ that info. What file is that in the world1 folder?

Re: Yavin Sky

Posted: Sat Jan 01, 2011 3:56 pm
by acryptozoo
its called ABC.sky replace ABC with your 3 letter name

Re: Yavin Sky

Posted: Sat Jan 01, 2011 4:11 pm
by modmaster13
acryptozoo wrote:
modmaster13 wrote:Hi!

(I couldn't find how to do this in the faq's)

How would I add additional sky's?

EX: sky_yav2_trees, sky_yavin_planet
add this into your sky file
Hidden/Spoiler:
}
DomeModel()
{
Geometry("sky_yavin_planet");
Offset(100.0);
MovementScale(0.995);
}
LowResTerrain()
{
Texture("sky_yav2_trees");
PatchResolution(10);
MaxDistance(400);
TextureScale(20.0);
FogNear(80.0);
FogFar(430.0);
FogColor(82,45,25);

}
Is there a specific spot where I should add this? :cpu:

Because I can't spawn any more.

Re: Yavin Sky

Posted: Sat Jan 01, 2011 4:12 pm
by acryptozoo
under

Code: Select all

DomeInfo()
{
	Texture("whatever tga you are using");
	Angle(-90.000000);
	Ambient(255.000000, 255.000000, 255.000000);
	Filter(1);
	Threshold(150);	
	Intensity(50);
	TerrainEnable(0);

	Softness(1);
	SoftnessParam(60);

Re: Yavin Sky

Posted: Sat Jan 01, 2011 4:25 pm
by modmaster13
Now I can't spawn any more

Hidden/Spoiler:
DomeInfo()
{
Texture("sky_yav2");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Filter(1);
Threshold(150);
Intensity(50);

Softness(1);
SoftnessParam(60);

DomeModel()
{
Geometry("sky_yav2");
}

Geometry("sky_yavin_planet");
Offset(100.0);
MovementScale(0.995);
}
LowResTerrain()
{
Texture("sky_yav2_trees");
PatchResolution(10);
MaxDistance(400);
TextureScale(20.0);
FogNear(80.0);
FogFar(430.0);
FogColor(82,45,25);

}




}

Re: Yavin Sky

Posted: Sat Jan 01, 2011 6:29 pm
by acryptozoo
try moving the " {'s " closer together at the end

You don't need to quote the entire post directly before yours if want to reply to it, unless you are only replying to a specific part of it, which then you would only quote that specific part. -Staff

Re: Yavin Sky

Posted: Sun Jan 02, 2011 10:44 am
by modmaster13
Ok I can spawn, but the sky is completly BLACK. :?
Hidden/Spoiler:
SkyInfo()
{
Enable(1);
FogColor(85,108,142,128);
PS2()
{
FogRange(0, 0);
NearSceneRange(0.5, 85.0, 100.0);
FarSceneRange(5000.0);
SplitOptions()
{
PropClusterEnable(1);
PropClusterFadeAdj(0.6);
PropClusterDensity(0.1);
}
}
XBOX()
{
FogRange(-200.0, 1300.0);
NearSceneRange(0.5, 85.0, 100.0);
FarSceneRange(3000.0);
NearSplitScreenRange(0.2, 110.0, 160.0);
FarSplitScreenRange(0.0);
SplitOptions()
{
FogRange(5.0, 140.0);
PropClusterEnable(0);
}
}
PC()
{
NearSceneRange(30.0, 160.0, 40.0, 200.0);
FarSceneRange(5000.0, 5000.0);

FarSceneRange(5000.0);
FogRange(-100.0, 600.0);
}

}


DomeInfo()
{
Texture("sky_yav2");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Filter(1);
Threshold(150);
Intensity(50);

Softness(1);
SoftnessParam(60);

}
DomeModel()
{
Geometry("sky_yavin_planet");
Offset(100.0);
MovementScale(0.995);
}
LowResTerrain()
{
Texture("sky_yav2_trees");
PatchResolution(10);
MaxDistance(400);
TextureScale(20.0);
FogNear(80.0);
FogFar(430.0);
FogColor(82,45,25);
}

Re: Yavin Sky

Posted: Sun Jan 02, 2011 10:59 am
by DarthD.U.C.K.
do you have the "sky_yav2.tga"-file in your world1-folder? (and all the other tgas and mshs you are referencing in the skyfile?

Re: Yavin Sky

Posted: Sun Jan 02, 2011 11:57 am
by modmaster13
Yes.

I have these files in my world1 folder
Hidden/Spoiler:
sky_yav2.msh and option,
sky_yav2.tga and option,
sky_yav2_planet.tga,
sky_yav2_trees.tga
My three letter world name is data_YTC.

Update

Sorry I forgot to put these in the sky file and the list above as well.
Hidden/Spoiler:
sky_yav2_mountains.msh
sky_yav2_mountains.msh.option
sky_yav2_mountains.tga
sky_yav2_mountains.tga.option
:D

Re: Yavin Sky

Posted: Sun Jan 02, 2011 12:29 pm
by DarthD.U.C.K.
it doesnt work because you removed/didnt add the model of the actual skydome:

Code: Select all

DomeModel()
	{	
		Geometry("sky_yav2");
	}

Re: Yavin Sky

Posted: Sun Jan 02, 2011 1:28 pm
by modmaster13
I can't spawn, again.
Hidden/Spoiler:
SkyInfo()
{
Enable(1);
FogColor(85,108,142,128);
PS2()
{
FogRange(0, 0);
NearSceneRange(0.5, 85.0, 100.0);
FarSceneRange(5000.0);
SplitOptions()
{
PropClusterEnable(1);
PropClusterFadeAdj(0.6);
PropClusterDensity(0.1);
}
}
XBOX()
{
FogRange(-200.0, 1300.0);
NearSceneRange(0.5, 85.0, 100.0);
FarSceneRange(3000.0);
NearSplitScreenRange(0.2, 110.0, 160.0);
FarSplitScreenRange(0.0);
SplitOptions()
{
FogRange(5.0, 140.0);
PropClusterEnable(0);
}
}
PC()
{
NearSceneRange(30.0, 160.0, 40.0, 200.0);
FarSceneRange(5000.0, 5000.0);

FarSceneRange(5000.0);
FogRange(-100.0, 600.0);
}

}


DomeInfo()
{
Texture("sky_yav2");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Filter(1);
Threshold(150);
Intensity(50);

Softness(1);
SoftnessParam(60);

}
DomeModel()
{
Geometry(sky_yav2");
}
Geometry("sky_yavin_planet");
Offset(100.0);
MovementScale(0.995);
}
LowResTerrain()
{
Texture("sky_yav2_trees");
PatchResolution(10);
MaxDistance(400);
TextureScale(20.0);
FogNear(80.0);
FogFar(430.0);
FogColor(82,45,25);
}
Here is my munge log.
Hidden/Spoiler:
ERROR[configmunge world1\YTC.sky]:This file has an extra closing bracket somewhere!
ERROR[configmunge world1\YTC.sky]:[INTERNAL: Chunk nesting underflow]ERROR[configmunge world1\YTC.sky]:[INTERNAL: Chunk nesting underflow] [continuing]
3 Errors 0 Warnings

ERROR[levelpack YTC.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\ytc.config.req(12)...
ERROR[levelpack YTC.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\ytc.config.req(12)...
[continuing]
2 Errors 0 Warnings

ERROR[levelpack YTC.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\ytc.config.req(12)...
ERROR[levelpack YTC.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\ytc.config.req(12)...
[continuing]
2 Errors 0 Warnings

Re: Yavin Sky

Posted: Sun Jan 02, 2011 1:34 pm
by DarthD.U.C.K.
you need to "move" the bracket above DomeModel under the last bracket below FogColor

Re: Yavin Sky

Posted: Sun Jan 02, 2011 2:06 pm
by modmaster13
DarthD.U.C.K. wrote:you need to "move" the bracket above DomeModel under the last bracket below FogColor
There was already a bracket under FogColor, so I just deleted the one above DomeModel. :cpu:
Hidden/Spoiler:
DomeModel()
{
Geometry("sky_yav2");
}

Geometry("sky_yavin_planet");
Offset(100.0);
MovementScale(0.995);
}
LowResTerrain()
{
Texture("sky_yav2_trees");
PatchResolution(10);
MaxDistance(400);
TextureScale(20.0);
FogNear(80.0);
FogFar(430.0);
FogColor(82,45,25);
}
The planet and trees still didnt show up, but the sky did.

Re: Yavin Sky

Posted: Sun Jan 02, 2011 2:28 pm
by DarthD.U.C.K.
:roll: i said you should move the bracket above dommemodel under the bracket below fogcolor, that means that there should two brackets below fogcolor
a general advice: if something doesnt work as expected, look into the shipped files for reference.
and one more thing: why do you want to use the endortreetexture as lowrezterraintexture?

Re: Yavin Sky

Posted: Sun Jan 02, 2011 2:51 pm
by modmaster13
DarthD.U.C.K. wrote:why do you want to use the endortreetexture as lowrezterraintexture?
How do you know I have the endortreetexture as the lowrez terrain texture? Is there any way I can change that?

Re: Yavin Sky

Posted: Sun Jan 02, 2011 2:59 pm
by DarthD.U.C.K.
i know that because you put it in your sky file as lowrezterraintexture, you can change that by changing the texturename below the bracket below "lowrezterrain".

Re: Yavin Sky

Posted: Sun Jan 02, 2011 3:31 pm
by modmaster13
DarthD.U.C.K. wrote:you can change that by changing the texturename below the bracket below "lowrezterrain".
Should I change it to any world?

ex: hot1

P.S. I took your advice by refering to other sky files such as yav2 in the assets folder. I replaced my sky file with the yav2 one. The yavin mountains show up fine, but the other red, yavin planet isn't showing up when the tga and option files are in the world1 folder.

Also, should the planet files be named this?
Hidden/Spoiler:
yav2_planet.tga
yav2_planet.tga.option
If they aren't should they have "sky" in front of them?

Re: Yavin Sky

Posted: Sun Jan 02, 2011 3:44 pm
by acryptozoo
modmaster13 wrote:Also, should the planet files be named this?
Hidden/Spoiler:
yav2_planet.tga
yav2_planet.tga.option
If they aren't should they have "sky" in front of them?
yeah the names are fine
only the msh has "sky" in it