You can't disable the players ship in the sense you mean.
Also there are always frames of reference, such as planets, suns, other ships and indeed space dust...
Tractor Beams and abandoned ships.
Moderators: winston, another_commander
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Well, you say that, but often enough on these boards as soon as something is delared impossible somebody finds a way to do something as near-as-dammit similar. Your ship is "disabled" every time you engage the docking computer (Unless you hit it again) so maybe there's some way to allow such an enemy to hijack that? Just an idea.Thargoid wrote:You can't disable the players ship in the sense you mean.
Also there are always frames of reference, such as planets, suns, other ships and indeed space dust...
Distant frames of reference will hardly seem to move, ships near enough to matter will be too fast and probably moving too erratically to judge by and you yourself'll be to slow to see any dust. All in all probably not easy to tell who is moving toward who.
Yes and no (also as I seem sometimes to be the one who does the doing).tonyhippy wrote:Well, you say that, but often enough on these boards as soon as something is delared impossible somebody finds a way to do something as near-as-dammit similar. Your ship is "disabled" every time you engage the docking computer (Unless you hit it again) so maybe there's some way to allow such an enemy to hijack that? Just an idea.
You can for example apply "performStop" to the player ship to stop it, but there would be nothing to stop the player pressing the accelerate key to speed up again. You would have to hit them with performStop every 0.25s or so to overcome that.
Similarly you could set the player ship position and/or orientation every 0.25s to overcome the flight keys. But it then gets complicated to have anything else act on the ship.
It wouldn't be too difficult to "freeze" the player ship in place for a period of time, but to actually get something to happen to it during that time (e.g. be towed by a tractor beam) is another matter entirely.
So perhaps not quite as impossible as I first thought (says he slipping into doer mode), but still not something I'd want to try and script with any great hope of it working well.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Killer Wolf
- ---- E L I T E ----
- Posts: 2278
- Joined: Tue Jan 02, 2007 12:38 pm
Just gave this a quick try (recording the player ship's orientation and position and then returning it to those settings every 0.25s).
It works, but not very well. In the time between the updates (which are as quick as Oolite can do) there is time for the ship to move, and particularly rotate, by quite a visible amount. It basically looks like one of those naff "timeloop" effects you see on TV occasionally.
It works, but not very well. In the time between the updates (which are as quick as Oolite can do) there is time for the ship to move, and particularly rotate, by quite a visible amount. It basically looks like one of those naff "timeloop" effects you see on TV occasionally.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link