Page 1 of 1

Blow up my station

Posted: Sun Feb 17, 2008 10:18 pm
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.

Posted: Wed Feb 20, 2008 7:10 am
by Commander McLane
Think it makes sense, so I agree. Let the station be fixed to its place. Amen.