Author Topic: BlockoStation - Duplorcator getStack SimSet saving, and RIP Joe Rahl  (Read 3472 times)

average ss13 clone with a few twists

Now with v21, I can do special orbiting stuff with the sun.
Also, atmos with zonebrick cubes that are automatically planted.


Backstory:

A few billion years in the future, blockheads built a space station because the Sun gave way and became a white dwarf.  Blockheads are made out of very sturdy plastic, so some lasted through the catastrophic events, but the rest melted or exploded into fragments from the supernova.

They couldn't live on Earth anymore, it was too cold. They sent the spacestation away, along with the 16-32 surviving blockheads, and then sent it to Kappa-175, a type OIII star. The orbit was far away so they wouldn't melt.

The blockheads upgraded their station, and life was enjoyable, until they needed a central control. They built a control center at a planet, and founded BlockCom.

Little did they know that this was a massive solar system, with lots of planets and other stations, some that are abandoned, some that have valuable resources, some with mutalids, and others with blockheads that revolted against BlockCom. Various events happened, but the blockheads persevered.
« Last Edit: September 01, 2012, 10:22:51 PM by Axolotl »

Screenshot of the environment:


goddamnit the server loving froze and I didn't saveEnvironment

I will remake it.

"1-5% complete"

Why make a topic then?

Count me in. Sounds good.

OK, made a new environment.
Code: (Environment) [Select]
$EnvGuiServer::SimpleMode 0
$EnvGuiServer::SkyFile Add-Ons/Sky_SpacePack/Space1.dml
$EnvGuiServer::WaterFile NONE
$EnvGuiServer::GroundFile Add-Ons/Ground_White/white.ground
$EnvGuiServer::SunFlareTopTexture base/lighting/corona2.png
$EnvGuiServer::SunFlareBottomTexture base/lighting/lightFalloffMono.png
$EnvGuiServer::DayOffset 0
$EnvGuiServer::DayLength 300
$EnvGuiServer::DayCycleEnabled 0
$EnvGuiServer::DayCycle Add-Ons/DayCycle_Default/default.daycycle
$EnvGuiServer::Sunational socialistmuth 0
$EnvGuiServer::SunElevation 10.0000
$EnvGuiServer::DirectLightColor 0.600000 0.650000 0.750000 1.000000
$EnvGuiServer::AmbientLightColor 0.500000 0.500000 0.500000 1.000000
$EnvGuiServer::ShadowColor 0.300000 0.300000 0.400000 1.000000
$EnvGuiServer::SunFlareColor 0.800000 0.850000 1.000000 1.000000
$EnvGuiServer::SunFlareSize 0.600000
$EnvGuiServer::VisibleDistance 1000
$EnvGuiServer::FogDistance 1000
$EnvGuiServer::FogHeight
$EnvGuiServer::FogColor 0.000000 0.000000 0.000000 1.000000
$EnvGuiServer::WaterColor 1.000000 1.000000 1.000000 0.000000
$EnvGuiServer::WaterHeight 0
$EnvGuiServer::UnderWaterColor 0 0 128 128
$EnvGuiServer::SkyColor 1.0 1.0 1.0 1.0
$EnvGuiServer::WaterScrollX 0
$EnvGuiServer::WaterScrollY 0
$EnvGuiServer::GroundColor 1.000000 1.000000 1.000000 0.000000
$EnvGuiServer::GroundScrollX 0
$EnvGuiServer::GroundScrollY 0
$EnvGuiServer::VignetteMultiply 0
$EnvGuiServer::VignetteColor 0.000000 0.000000 0.000000 0.392157
"1-5% complete"

Why make a topic then?
To share this idea

OK, working on a bit of code that makes the sun move in an orbit (the orbit can be stretched tilted in degrees).

It'll be nice if you release that code for way better SpaceSpation or Space RP's.

Orbiting illusion script is complete.

Code: [Select]
//----------PROJECT: Blocko Station 13
//----------AUTHOR: Axolotl (BL_ID 32440)
//----------SCRIPT: Orbiting Sun
//Orbiting script, makes the sun change its azimuth based on a time

$BlockoStation13::SunRevolution = 360; //amount of seconds it takes for one revolution
$BlockoStation13::SunTilt = 10;

function mScale(%in, %oldMin, %oldMax, %newMin, %newMax){return (%in / ((%oldMax - %oldMin) / (%newMax - %newMin))) + %newMin;}

package BlockoStation13_Sun
{
    function BlockoStation13_SunTick()
    {
        cancel( $BlockoStation13::loop );
$BlockoStation13::lastLoopTime = getSimTime();

        %posOnRev = ($BlockoStation13::lastLoopTime % ($BlockoStation13::SunRevolution * 1000) ) + 1;
        
        %degrees = mScale(%posOnRev,1,($BlockoStation13::SunRevolution * 1000),1, 360);
        %sine = mSin(mDegToRad(%degrees));
        
setSunational socialistmuth(%degrees);
setSunElevation(%sine * $BlockoStation13::SunTilt);
        
$BlockoStation13::loop = schedule( 33 , 0, "BlockoStation13_SunTick"); //this doesn't cripple the server
    }
};

if(!isObject(FakeAdminClient)) //Create a fake client that can be passed to serverCmds, allowing
{ //us to call it even if there are no admins on the server
new AiConnection(FakeAdminClient);
FakeAdminClient.isAdmin = 1;
FakeAdminClient.isSuperAdmin = 1;
}


function setSunational socialistmuth(%amount)
{
    if(%amount > 360)
%amount-=360;
    if(%amount < 0)
%amount+=360;

    serverCmdEnvGui_SetVar(FakeAdminClient,"Sunational socialistmuth",%amount);
}

function setSunElevation(%amount)
{
    serverCmdEnvGui_SetVar(FakeAdminClient,"SunElevation",%amount);
}

activatepackage(BlockoStation13_sun);
BlockoStation13_SunTick();
Adam487 did the environment change hack part, I just got it out of his environment events.
« Last Edit: September 01, 2012, 11:15:48 PM by Axolotl »

I think I got the atmos system sort of planned out, but idk what to do.

If I would make the generator do a 643 area full of atmos zonebricks, then it would spike the brickcount to 262144.

1282*8 would equal 131072. 962*8 would equal 73728.

Hmmm...

ss13 in blockland?
finally