How do i add dome models to Yavin Sky?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

How do i add dome models to Yavin Sky?

Post 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
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Yavin Sky

Post 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);

}
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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?
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Yavin Sky

Post by acryptozoo »

its called ABC.sky replace ABC with your 3 letter name
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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.
Last edited by modmaster13 on Sat Jan 01, 2011 4:17 pm, edited 1 time in total.
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Yavin Sky

Post 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);
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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);

}




}
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Yavin Sky

Post 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
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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);
}
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Yavin Sky

Post 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?
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Yavin Sky

Post 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");
	}
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Yavin Sky

Post by DarthD.U.C.K. »

you need to "move" the bracket above DomeModel under the last bracket below FogColor
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Yavin Sky

Post 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?
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Yavin Sky

Post 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".
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yavin Sky

Post 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?
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Yavin Sky

Post 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
Post Reply