View unanswered posts | View active topics It is currently Sun Dec 01, 2024 3:40 am



Reply to topic  [ 306 posts ]  Go to page 1, 2, 3, 4, 5 ... 21  Next
 Orbit Lands - It's gravitationally delicious! 
Author Message
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
 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


Mon Dec 01, 2008 4:59 am
Profile WWW
User avatar

Joined: Wed Jan 24, 2007 11:53 pm
Posts: 589
Location: Silicon Valley, California
Reply with quote
Post 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.


Mon Dec 01, 2008 5:04 am
Profile
User avatar

Joined: Wed Jul 09, 2008 1:34 am
Posts: 218
Location: Monkey Island: It is teh fluffy here.
Reply with quote
Post Re: Orbit Lands - It's gravitationally delicious!
I love this.
how do you crank out so much awesomeness so fast. :shock:


Mon Dec 01, 2008 5:52 am
Profile WWW
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post 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.


Last edited by whitty on Mon Dec 01, 2008 6:26 am, edited 2 times in total.



Mon Dec 01, 2008 6:05 am
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Orbit Lands - It's gravitationally delicious!
Hooray for Science! I need to get cracking so that I stay numba one Lua master.


Mon Dec 01, 2008 6:12 am
Profile
User avatar

Joined: Wed Feb 14, 2007 5:37 am
Posts: 350
Reply with quote
Post Re: Orbit Lands - It's gravitationally delicious!
ACrabs work great for this map btw


Mon Dec 01, 2008 6:27 am
Profile WWW
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post 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


Mon Dec 01, 2008 6:28 am
Profile WWW
User avatar

Joined: Wed Feb 14, 2007 5:37 am
Posts: 350
Reply with quote
Post Re: Orbit Lands - It's gravitationally delicious!
I'm tempted to make an actor that walk entirely around the map easily.


Mon Dec 01, 2008 6:31 am
Profile WWW
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Orbit Lands - It's gravitationally delicious!
Image

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


Mon Dec 01, 2008 6:36 am
Profile
User avatar

Joined: Fri Mar 02, 2007 6:59 am
Posts: 1726
Location: NSW, Australia
Reply with quote
Post 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!


Mon Dec 01, 2008 7:05 am
Profile

Joined: Sun May 18, 2008 5:47 am
Posts: 265
Reply with quote
Post 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.


Mon Dec 01, 2008 7:33 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post 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.


Mon Dec 01, 2008 9:44 am
Profile
User avatar

Joined: Fri Oct 17, 2008 9:46 pm
Posts: 5212
Location: The Grills Locker.
Reply with quote
Post 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...)


Mon Dec 01, 2008 11:48 am
Profile WWW
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post 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.


Mon Dec 01, 2008 11:59 am
Profile WWW

Joined: Fri Mar 07, 2008 9:09 am
Posts: 44
Reply with quote
Post 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


Mon Dec 01, 2008 4:51 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 306 posts ]  Go to page 1, 2, 3, 4, 5 ... 21  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.025s | 14 Queries | GZIP : Off ]