Data Realms Fan Forums
http://45.55.195.193/

Orbit Lands - It's gravitationally delicious!
http://45.55.195.193/viewtopic.php?f=24&t=12872
Page 1 of 21

Author:  TheLastBanana [ Mon Dec 01, 2008 4:59 am ]
Post subject:  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.png
Nice 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.png
And then it continued to revolve, here it's almost made another full circle.
http://img380.imageshack.us/img380/2818 ... 009iy3.png
And next thing you know, I've got space junk on my hands.
http://img75.imageshack.us/img75/716/sc ... 010qc6.png

Now 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

Author:  uberhen [ Mon Dec 01, 2008 5:04 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

And let the reign of TLB as DRL's premiere mapper commence. Nice to see you making a comeback. :)

EDIT: Even in skirmish (just 0 gravity), epic 2 player digger duels FTW.

Author:  macattack [ Mon Dec 01, 2008 5:52 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

I love this.
how do you crank out so much awesomeness so fast. :shock:

Author:  whitty [ Mon Dec 01, 2008 6:05 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

Amazing!

C&C to come.

*EDIT*
Oh. My. God.
You sir, and a genius.

Also...
Use one of my nukes or my bio bombs for epic gravity fun.

Author:  Lord Tim [ Mon Dec 01, 2008 6:12 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

Hooray for Science! I need to get cracking so that I stay numba one Lua master.

Author:  No_0ne [ Mon Dec 01, 2008 6:27 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

ACrabs work great for this map btw

Author:  TheLastBanana [ Mon Dec 01, 2008 6:28 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

They do, until they reach halfway down. Then they fail.
And Lord Tim, I look forward to seeing your Lua :P

Author:  No_0ne [ Mon Dec 01, 2008 6:31 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

I'm tempted to make an actor that walk entirely around the map easily.

Author:  Lord Tim [ Mon Dec 01, 2008 6:36 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

Image

And yes. My Luas shall be great! Just you wait.

Author:  Exalion [ Mon Dec 01, 2008 7:05 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

I put my soldier into orbit. I paused the game to post this once I saw it was working.

He's made quite a few rotations now (like, 10?), and it appears totally safe: I'm not going to crash anytime soon.

Although it isn't exactly a consistant orbit.

Top Work LastBanana!

Author:  smithno13 [ Mon Dec 01, 2008 7:33 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

Just as I was about to start on an essay that is due tomorrow... I see this.
Damn you.
Must... Play... Cortex command...
Screw the essay.

Edit: As soon as I clicked antigravity chocolate in the menu, the physics engine just thought about what it might have to do, and froze.

Author:  Azukki [ Mon Dec 01, 2008 9:44 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

Awesome. It's extremely hard to remove the orbital debris once it's in place though; half the time when you try blocking it with a rocket, it gets blown up and added to the mess itself.

No_0ne wrote:
I'm tempted to make an actor that walk entirely around the map easily.

Radially symmetric actors... now there's something I haven't seen.
It'd be either a funky robot or some insane alien wildlife.
The latter would be somewhat cooler.

I guess an ACrab that worked upside down too would also work.

A GetsHitByMos = 1 MOSRot sprayer and propulsion device would also be handy for this map and general orbital concept.

Author:  Areku [ Mon Dec 01, 2008 11:48 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

This scene is a true masterpiece. Period.

(Also, I managed to make a dummy fly around the planet for some good ten minutes... Until he crashed on another dummy that was flying on the opposite direction...)

Author:  Geti [ Mon Dec 01, 2008 11:59 am ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

was said other dummy put there by you?
TLB is pumping out awesome at a rate of enough/unit time. good work.

Author:  udm [ Mon Dec 01, 2008 4:51 pm ]
Post subject:  Re: Orbit Lands - It's gravitationally delicious!

Banana, you're crazy. You're a crazy madman. But that's why I sincerely hope that you join up with numgun, zalo and Data to work on the next build

Page 1 of 21 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/