
-Oz
Moderators: winston, another_commander
I discur. All planets have poles. Some also have ice caps. :-)ovvldc wrote:I'd go for slightly smaller poles :). And not every planet has them. Depends on temperature (duh).
I couldn't figure out why I got the translucent planets when using shipWillLaunchFromStation and willExitWitchSpace either, but it did give me an idea about adding clouds using a transparent texture with faster rotation.Kaks wrote:3) [edit] It's quite annoying when restarting a savegame...[/edit] I've tried changing the triggering event to this.shipWillLaunchFromStation, but if I do that the new planet texture is somehow translucent... strange...
Code: Select all
this.multiple=10;
this.startUp = function()
{
Log("Initialising OXP " + this.name);
this.systemDone=false;
}
this.reset = function()
{
this.systemDone=false;
}
this.movePlanet = function()
{
let p = system.mainPlanet;
if(p) p.setPosition(p.position.add(p.position.subtract(system.sun.position)).multiply(this.multiple));
this.systemDone=true;
}
this.shipWillLaunchFromStation = function()
{
addMoons();
addPlanets();
// addGriffExtra();
homePlanet();
if(!this.systemDone) this.movePlanet();
}
this.shipWillExitWitchspace = function()
{
addMoons();
addPlanets();
// addGriffExtra();
homePlanet();
this.movePlanet();
}