Blow up my station

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Blow up my station

Post by Cmdr James »

I think that as the main station should not be killable, on StationEntity, we should add this

Code: Select all

 - (void) adjustVelocity:(Vector) xVel
{
	if (self != [UNIVERSE station])  [super adjustVelocity:xVel]; //dont get moved
}
Otherwise we can sometimes get some of the weird problems we have previously discussed where you can shoot the station off at high speed.

By moving the station you can have all kinds of weird things, like what happens if it goes into a wormhole? In fact, I guess it is possible to have a wormhole hit a station anyway (a wormhole missile might get implemented sometime?)

At the moment, I think Stations can be nudged into the planet, and pass through and disappear into space on the other side (they dont take heat damage). All kinds of odd things make more sense if they become immobile (scripted and other things not the main station should be unaffected).

I am sure there are some with collisions, I am also looking at ShipEntity collideWithShip.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Think it makes sense, so I agree. Let the station be fixed to its place. Amen.
Post Reply