Orbit Lands - It's gravitationally delicious!
I know you want it. You've all been saying it since the first build of CC:
"I WANT TO FLY AROUND A PLANET IN ORBIT!"
"Is dynamic gravity possible?"
"Can I make a circle and go around it in orbit?"
"Lolololzz obrit11!"
"I say, fine sir, are you capable of creating a circular or otherwise round orbit of some kind around deformable terrain in such a manner as to simulate space? That would be smashing."
So I tried it using Lua.
And it kinda sorta works.
This here is the planet:
http://img380.imageshack.us/img380/2342 ... 007gx4.pngNice and round, has a brain in the middle.
Everything revolves around it.
Here's some proof for you:
I ordered a rocket with a guy in it and scuttled it mid air.
http://img384.imageshack.us/img384/1038 ... 008oe8.pngAnd then it continued to revolve, here it's almost made another full circle.
http://img380.imageshack.us/img380/2818 ... 009iy3.pngAnd next thing you know, I've got space junk on my hands.
http://img75.imageshack.us/img75/716/sc ... 010qc6.pngNow of course, there have to be some downsides to this, right?
Of course!
Bug list:
People can't walk on the bottom side. They also can't be rotated to fit the orbit. They stay upright. Ask Data if you want this fixed.
Drop ships fail at this. And no, rotating them didn't work either. They try to right themselves and end up flailing in circles.
The game lags a bit when there are a few particles. Less for people unlike me that have more than 1 gigabyte of RAM, but still, it lags a bit. You can change this if you want in the Lua, but then the particles don't fall toward the planet, which is half the fun.
It's a sandbox, there are no enemy spawnpoints. There never will be any because the enemies are not set up to use this gravity.
Gravity in this works a bit differently than the normal CC gravity, so not all the physics will be the same.
Other than that, it works pretty well.
For those of you that feel so inclined, you can change gravity from the console menu using the variable "gravity". It's at 0.25 by default.
For anybody programming in Lua, you can use this if you want. YES, it is possible to have multiple bodies that things rotate around with different gravities, but it will lag a bit more as you'll have to call the function GravitateMovableObject multiple times.
Also Bunmo says that this is called Alderaan. It had something to do with bragging.
List of fun things to do:
Throw grenades into orbit.
Set an actor's health to 0 while he's in orbit. ("HWEH HWURGH HWEH WHUH HERG HARG HWEH")
Set gravity to 5 while a light soldier is standing on the planet's surface. Quicksand anyone?
Attempt to place as many rockets into orbit as possible without them crashing.
Enjoy!
DOWNLOAD HERE