Bugging out using AIs

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Draco_Caeles
Dangerous
Dangerous
Posts: 105
Joined: Sat Apr 15, 2006 11:40 pm
Location: North-west England

Bugging out using AIs

Post by Draco_Caeles »

Would it be possible to make an AI function that just bugs a ship out if it's under attack, without actually making it go anywhere?

I want to write an AI that just makes a ship disappear but it won't wormhole itself. Also, the only AI commands I can see make it search for a destination before it witchspaces, and that's not what I want either. I just want it to flash out of existence :)
User avatar
Odo987
Dangerous
Dangerous
Posts: 121
Joined: Fri Mar 03, 2006 3:56 am
Location: San Francisco
Contact:

Post by Odo987 »

If you stand in the way of an Orbital Shuttle it pops out of existance. Maybe that's a good starting point?
Attacking a Navigational Beacon is illegal. Police are on their way.
User avatar
Draco_Caeles
Dangerous
Dangerous
Posts: 105
Joined: Sat Apr 15, 2006 11:40 pm
Location: North-west England

Post by Draco_Caeles »

Mmm. It's 'landing' on a planet, as far as I can tell, which requires it to be within a certain distance of the planet. This is going to be a deep-space thing.
User avatar
Odo987
Dangerous
Dangerous
Posts: 121
Joined: Fri Mar 03, 2006 3:56 am
Location: San Francisco
Contact:

Post by Odo987 »

Draco_Caeles wrote:
Mmm. It's 'landing' on a planet, as far as I can tell, which requires it to be within a certain distance of the planet. This is going to be a deep-space thing.
Try it. Stand in front of an orbital shuttle shortly after it leaves the station. Pop. I'm not sure if Aegidian has fixed it in the latest version. But whatever code it's using might come in handy.
Attacking a Navigational Beacon is illegal. Police are on their way.
User avatar
Draco_Caeles
Dangerous
Dangerous
Posts: 105
Joined: Sat Apr 15, 2006 11:40 pm
Location: North-west England

Post by Draco_Caeles »

Hah! :D

It works, yes... but it would be nice for there to be a witchspace jump flash :)
Space Corps Directive #7214
To perserve morale during long-haul missions, all male officers above the rank of First Technician must, during panto season, be ready to put on a dress and a pair of false breasts.
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1760
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

So you *don't* want it to miraculously disappear, but hyper-space out?

:?
User avatar
Draco_Caeles
Dangerous
Dangerous
Posts: 105
Joined: Sat Apr 15, 2006 11:40 pm
Location: North-west England

Post by Draco_Caeles »

I want it to hyper out, but without actually appearing anywhere at the other end.

AFAICT all the hyperspace commands require the ship to jump to somewhere. I just want it to jump...
Space Corps Directive #7214
To perserve morale during long-haul missions, all male officers above the rank of First Technician must, during panto season, be ready to put on a dress and a pair of false breasts.
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1760
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

Ah.

So one can't follow it throught the wormhole? Hmmmm....

Not sure that's possible to do w/o Giles' intervention of changeing some game-code...
User avatar
Draco_Caeles
Dangerous
Dangerous
Posts: 105
Joined: Sat Apr 15, 2006 11:40 pm
Location: North-west England

Post by Draco_Caeles »

Yeah, that's what I meant.

I know it would need a code change, but I wondered if it might be worth it.
Space Corps Directive #7214
To perserve morale during long-haul missions, all male officers above the rank of First Technician must, during panto season, be ready to put on a dress and a pair of false breasts.
Post Reply