Jump to content

Home

Ebon hawk window background


randydg

Recommended Posts

Originally posted by randydg

Is there anyway to change the background through the cockpit windows? like space, a planet, etc..

 

The view outside the Ebon Hawk cockpit window is handled as room animations in the area. You can change them with a script. AFAIK the room animations are:

 

1 - Peragus

2 - Citadel station

3 - Telos Academy

4 - Nar Shadaa

5 - Dxun

6 - Dantooine

7 - Korriban

8 - M4-78

9 - Space/Starfield

10 - Malachor

11 - Hyperspace

 

The Ebon Hawk cockpit room has the tag 003EBOq.

 

For example, to show the space starfield outside the window you'd call the PlayRoomAnimation() function in a script like this:

PlayRoomAnimation("003EBOq", 9);

Link to comment
Share on other sites

Originally posted by randydg

where do i put the roomanimation script at? do i just place an invisible object with that script?

 

Put it in the Area OnEnter script to ensure the proper planet is set when you enter the ship.

 

Also put it in the script run by the galaxy map when changing planets to make it look like you've arrived at the new destination.

Link to comment
Share on other sites

Originally posted by randydg

can you use this on a planet too change the background?

 

say you want to change the background of nar shadda to say

M4-78 can you just put that script into the onenter section of the planet?

 

Not unless the areas contain an animation for changing the backdrop, which they most likely does not since I can't remember any area in the game where the skybox changes.

 

The room animations are used for a number of things and not specifically for switching backdrops. Essentially whenever something visibly changes in the area that's not related to a placeable, it's done as a room animation. The repaired Jedi Enclave on Dantooine is one of the more visible examples of room animations at work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...