How do I duplicate and move a skydome effect?

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

Post Reply
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

How do I duplicate and move a skydome effect?

Post by SkinnyODST »

Hidden/Spoiler:
DomeModel()
{
Geometry("geo_sky_explosions");
rotationspeed(0.003, 0,1.0,0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_1", 1.0);


Effect("spa_sfx_skydomeexplosions", "hp_sky_4", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_5", 1.0);

Effect("spa_sfx_skydomeexplosions", "hp_sky_7", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_8", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_9", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_10", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_11", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_12", 1.0);

Effect("spa_sfx_skydomeexplosions", "hp_sky_14", 1.0);
Effect("spa_sfx_skydomeexplosions", "hp_sky_15", 1.0);



}

}


//Rep fighters
SkyObject()
{
Geometry("rep_fly_gunship_DOME");
NumObjects(20);
Height(80, 140);
VelocityZ(80, 120);
VelocityY(-10, 10);
Distance(600);
InDirectionFactor(0.5);
}

//CIS fighters
SkyObject()
{
Geometry("cis_fly_droidfighter_DOME");
NumObjects(20);
Height(80, 140);
VelocityZ(80, 100);
VelocityY(-10, 10);
Distance(300);
InDirectionFactor(0.5);
}


- These are the codes for the battle in Geo`s sky dome.
I put this on my map and it`s fine, but there is a certain spot where the explosions and vehicles don`t go. So it`s just an empty spot in the sky with nothing happening. I want to duplicate it and move the duplicate over a bit so it covers that spot. How can I do this?
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: How do I duplicate and move a skydome effect?

Post by thelegend »

Take a look in the skydome mesh. There should be hardpoints referring to the effect in your sky file. You can simply add, duplicate them and put their names in your sky file.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: How do I duplicate and move a skydome effect?

Post by SkinnyODST »

thelegend wrote:Take a look in the skydome mesh. There should be hardpoints referring to the effect in your sky file. You can simply add, duplicate them and put their names in your sky file.
No idea what you mean so I guess I`ll just leave it
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: How do I duplicate and move a skydome effect?

Post by thelegend »

I mean, and please excuse me for misunderstandings, that you import the geonosis skydome .msh in XSI and see where "cones" are placed. These could also be simple nulls referring as hp_sky_1, hp_sky_2.... These HardPoints are read by your sky file:
Effect("spa_sfx_skydomeexplosions", "hp_sky_1", 1.0);

Keep adding more of them with a unique hp number and don't forget to add them inside your .msh.
Post Reply