Interaction with other ships

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
hoqllnq
Commodore
Commodore
Posts: 154
Joined: Sun Jan 08, 2006 7:32 pm

Interaction with other ships

Post by hoqllnq »

Greetings, commanders!

I would like to have more/better interaction with other ships. See more evidence that they notice what I do and have opinions about me.

The thought started when I was messing with convoys, and they hardly responded at all. (This has been discussed before, but that was in 2009, so I thought I'd risk it. https://bb.oolite.space/viewtopic.php?f=6&t=6975 )
Then I thought some more about ways to interact/communicate with other ships in general. Right now it is a bit cold. Other ships either want to kill me or don't care about me at all. It would be nice to have a broader spectrum of feelings. I have no idea how smart the ship AI are, so I will work off of the assumption that they're extremely smart and practically sentient. Also, these are just 'thinking out loud' ideas. (So sorry for the rambling that is probably ahead..)

I want to have more apparent influence on the behaviour of other ships around me. So I need ways to relay meaning/intent to them. I don't want to be typing text that an AI has to interpret, as the functionality/clunkiness ratio would be too low. (Although I don't mind that other ships use text towards me.) A menu driven thing would also kill the immersion.

I'd like to do it in a way that is natural to the environment.
So what do I have at my disposal that others can notice?

* Lasers obviously - Can be seen from halfway across the solar system but only when you're looking in the right direction.
Other ships do respond to it, but only to being hit (or very near miss? or seeing someone else get hit?), not to merely seeing someone fire, and therefor only in a negative way.
Lasers may prove tricky to use for sending a non aggressive message.

* ECM - Can be 'seen/heard' only from within radar range but is omnidirectional.
I don't think other ships respond to it.

* Proximity - Only works at close range
Other ships only respond just enough to avoid collision.
Now this is weird to me. If another ship comes within 5~10 km from me, I pay attention.
Especially escorts should not like this and let me know. Getting too close to a convoy and getting warned off by the escorts could even be an offence, and vipers could respond when they witness it.
But not just convoys/escorts. All ships should be annoyed if I come too close, and either get away from me or convince me to get away from them. (After all, even if I don't fire, my ship is a pretty good kinetic weapon in skilled hands.)


* Targeting?
Other ships can turn red on my radar (it also makes a *ding* sound), i.e. turn aggressive, without hitting me or even firing.
Now for me targeting another ship does not seem to be quite the same thing, nor should it be, as missile lock by player is used for other things than firing missiles. But ID lock and missile lock are still things that might be used, possibly in combination with the other things.

* Other things? - You tell me..



I don't want to have complex conversations, just simple things that the AI could easily decide on:

* Help me.
ECM could be considered a distress call.
Other ships, depending on their role, could decide to respond and target my target.
Distress calls are already a thing for other ships.

* What's up?
It would be nice if I could ask other ships what's up.
they could respond according to their role:
Trader: "We're shipping cargo to the main station."
Viper: "Please move along"
Hunter: "Keeping the lanes clean for profit." "I'm hunting wabbit!"
Pirate: *Ding* "What you got for us?"
When under attack: "Not now!" "Are you blind?"

Maybe ECM while not under attack, or proximity but not too close.


* Come with me, follow me.
I can't come up with a way to relay this sentiment, and it might also be tricky as it would need to AI to 'change plans' if they were to comply.

* Get away from me, leave me alone.
Lasers would seem suitable.
But a direct hit would be an act of aggression and an offence.
It would be nice if ships respond to a shot in their general direction or in front of them.
If they're not in the fighting mood it could make them change course away from me,
or it might just push them into the fighting mood.
This is also something that others might do to me: shoot in my direction but not at/near me. Especially (again) escorts when I get too close.


I guess it boils down to two things:
1 - Assign (more) meaning to things I do that others can see/hear/feel/sense. (Rambled on this above.)
2 - Have the AI respond to these meanings. (Have no clue.)

So I will have some shots in the dark on #2, the AI..

Right now, others have 2 possible feelings towards me: "want to kill" and "don't care".
Other possible useful feelings might be:
* "Want to get away from" (even when not under attack)
A trader when it sees me kill another trader, any ship when I fire in its direction, .. when I'm fugitive, etc..
I think there is already 'flee mode', but this would be less strong and not necessarily combat related.

* "Like to have/be around" (or just generally "positive")
A trader when they see me kill a pirate, etc.. Other ships, including vipers, already compliment me on good shots when I take their side in combat.

* "Want to protect / prevent from being harmed"
Someone who feels positive about me sees me get shot.
..but not at all cost. Escorts will help me if it doesn't get them too far off course and doesn't endanger their mother.


If all/some/much of this is OXPable, I have never seriously looked into creating OXPs but I might.
So I wasn't kidding about the rambling... if you made it this far, thank you.


PS: A while ago I started flying escort missions and RRS missions. Being with one or more other ships adds a lot of depth for me. I can tell that they know I'm one of them. They tell me stuff and they somewhat respond to my actions (but especially lack thereof). They care about me in another way than wanting to kill me. Altho my influence on the outcome of the mission is probably limited, it doesn't feel that way, which is what counts. So even this limited interaction adds a lot for me; it would be nice if I can have some of that in the general ooniverse, outside missions.
User avatar
tsoj
Deadly
Deadly
Posts: 199
Joined: Wed May 18, 2016 8:19 pm
Location: Berlin
Contact:

Re: Interaction with other ships

Post by tsoj »

i know thats not ecxactly what youre searching for
anyways, should be worth a try: http://wiki.alioth.net/index.php/BroadcastComms_MFD
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Interaction with other ships

Post by another_commander »

Back when I had time to play with the code as much as I fancied, I had thought about using the Weapons Offline / Online functionality to make interaction with NPCs more interesting. IDing a ship with Weapons Online (or locking a missile, which can happen only when online) would be considered a hostile action and for the NPCs it would be the equivalent of seeing a yellow ship on the scanner turning red. It involved a bit more work than originally anticipated and also involved messing with the AI (something which always gives me shivers), so it didn't go too far, but I'd like to just throw the idea here, seeing that alternative interactions are considered.
User avatar
hoqllnq
Commodore
Commodore
Posts: 154
Joined: Sun Jan 08, 2006 7:32 pm

Re: Interaction with other ships

Post by hoqllnq »

tsoj wrote: Tue Mar 07, 2017 10:44 pm
i know thats not ecxactly what youre searching for
anyways, should be worth a try: http://wiki.alioth.net/index.php/BroadcastComms_MFD
It is not exactly, but it is still interesting and possibly kind of close in certain aspects: I can decide what I want to say and the AI can respond to it in different ways or not at all.
I have not yet tried this OXP, so I will and see how I like it. Will also look inside the OXP as an example of how to influence the AI.
The biggest difference is probably that I'd like to send messages using 'body language': proximity, ECM, lasers, missile/ID targeting. Especially proximity should be a very powerful message. (You can try this in real life, at the office, in traffic, at the grocery store. See what happens...)
Thanks!
User avatar
hoqllnq
Commodore
Commodore
Posts: 154
Joined: Sun Jan 08, 2006 7:32 pm

Re: Interaction with other ships

Post by hoqllnq »

another_commander wrote: Wed Mar 08, 2017 8:42 am
(...) IDing a ship with Weapons Online (or locking a missile, which can happen only when online) would be considered a hostile action and for the NPCs it would be the equivalent of seeing a yellow ship on the scanner turning red. (...)
First I thought that this would be too drastic. That merely missile-targeting someone should not signify 'intent-to-kill'. Mostly because missile targeting is something I personally do a lot without intent to kill, but just to track direction and distance.
However, I now think this would not be a bad thing. It would just mean that I have to be more conscious about when to put weapons online/offline and whom I aim them at, which sounds very reasonable. So if I want to introduce the concept of 'body language', it is only natural that that also introduces to concept of acceptable behaviour and of misinterpreted body language.
Thanks!
GadflyBee
Poor
Poor
Posts: 6
Joined: Mon May 29, 2017 4:29 am

Re: Interaction with other ships

Post by GadflyBee »

* Get away from me, leave me alone.
Lasers would seem suitable.
I do this every so often with fricking Cobras getting all up in around the asteroid I'm mining at. A shot across the bow and my indicator flashes red and those jerks start clearing off.

Don't know what happens if I try to pull that in view of a cop, though...
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Interaction with other ships

Post by phkb »

tsoj wrote:
anyways, should be worth a try: http://wiki.alioth.net/index.php/BroadcastComms_MFD
Just for the record, BroadcastComms doesn't really interact with the AI very much - occasionally it will give it a nudge, but it's not sending AI messages directly. Most of the things it does are done by manipulating the properties of each ship.

NPC AI is on my list of things to learn though.
User avatar
Alex
---- E L I T E ----
---- E L I T E ----
Posts: 770
Joined: Mon Oct 06, 2008 10:49 pm
Location: Oz. The land of some gold but mostly rust

Re: Interaction with other ships

Post by Alex »

hoqllnq wrote: Tue Mar 07, 2017 10:24 pm
But not just convoys/escorts. All ships should be annoyed if I come too close, and either get away from me or convince me to get away from them. (After all, even if I don't fire, my ship is a pretty good kinetic weapon in skilled hands.)
I like this idea of NPC ships having some reaction to proximity and intent.
Absolutely no idea how it could be done. But, I do know it does work when docking.
I tend to dock a bit faster than most. (No docking protocols or stuff like that in my Ooniverse) When I find a ship or 2 lining up in front of the station. I come up fast behind, match their speed then give them a gentle nudge, They peel away or hit the station. If they are far enough out, I just leapfrog them.

This idea of having proximity interactions out side the safety zone. Sounds good.
LOOK OUT!!!
OOPS..
"Press Space" Commander
If you do not see "Press Space" more often than you want.. Your not trying!
Post Reply