Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

enabling chat module with NPC ships

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

inquisiteur
Average
Average
Posts: 9
Joined: Fri Jun 08, 2007 10:25 am

enabling chat module with NPC ships

Post by inquisiteur »

Would add a lot of atmosphere if whe had a small chatbox where we could:

Threaten other ships life and ask them to dump all their cargo (with a probability based on various factors to have them do so) - important feature

Ask them for some fuel If we are facing fuel shortage (like in the original sid meyers pirates! when it comes to food) - not as importante but fun

Insult/Taunt enemy AI - with any consequence the coder should think to be appropriate

NPC should be able to do the same (priates will requested from us to dump our cargo, helpless traders for fuel, etc... but this feature would come later.

I think interactif with NPC would add a lot of fun in the Elite Universe.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

talking is done by laserfire. ;)

Although there are no messages encoded in the beam, the message implied by unprovoked attack is clear: "Gimme your cargo!".
Riding the Rocket!
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

The diplomacy of the lance has an appealing unequivocalilty to it... still, it would be fun if the "surrender or die" had any effect.
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

frontier (etc) had commsmessages...
unfortunately the responces to these were barely functional.

Imperial Courier Ironass: "Surrender or die!"
solitary sidewinder: "Ha Ha Ha!"

hmm :(

not to mention the distresscall which would attract pirates 150LY from civilisation, but never any help even at Sol.
:x
Riding the Rocket!
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

I meant an inteligent response!
<Lone pirate attacks 5 ship convoy>
Pirate: "Surrender or die!"
Convoy leader: "Ha, ha!"
<Pirate destroys 2 ships and is blasting away at a third>
Convoy leader: "Stop, please! We surrender!"
Pirate: "Then eject all your cargo for me to pick and choose. If I'm not satisfied, I'll just finish you off!"
Convoy leader: "Have mercy! All we have is 70 tons of food!"
Pirate: "You should have said so in the beguinning instead of wasting my time. Die!"

The request for mechanical help could result in a repair/tow ship being sent (even if for a stiff salvage fee), but as for the "Help! I'm under attack!" message, there isn't much to be done given the scale of the systems in FE2 and FFE.

Player: "Help! I'm under attack!"
Davies Colony Flight Control: "We have received your FDR data and identified the prepertators. They are now being charged with Piracy and Attempted Murder.
The nearest patrol ship will intercept your current trajectory in T-1day, 7hours, 24 minutes and 13 seconds, we recommend you to perform evasive manoeuvres until then or we may have to upgrade the charges."
Player: "Ohhh! Aren't you bastards a helpful bunch? Thanks a lot, really..."
Davies Colony Flight Control: "You're fined in 600Cr. for insulting a police officer. Have a nice day!"
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
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 »

Has my support. But I don't know if it's on Ahruman's list.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

It’s on my internal “things that would be quite nice but which, realistically, I’ll never get around to” list.
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 »

That's not a nice list. :( How can we persuade you to put it at least on the "things that would be very nice and game enhancing, so I give it a try" list?
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

You can’t. Sorry. Find someone else to do it.
OBese87
Poor
Poor
Posts: 7
Joined: Mon Jul 02, 2007 5:49 am
Location: Downstairs

Post by OBese87 »

Preset commands like: Distress/Assist calls and Surrender calls, these are the only two I can really think of. Would be a good add-on.
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 »

OBese87 wrote:
Preset commands like: Distress/Assist calls and Surrender calls, these are the only two I can really think of. Would be a good add-on.
There are a couple of other things you could do. Have a look here for my suggestions.
User avatar
Wiggy
Deadly
Deadly
Posts: 222
Joined: Fri Jan 21, 2005 1:12 pm
Location: London, Engerland

Post by Wiggy »

I came up with the idea :idea: some time ago for players to reply to NPC comms, or possibly initiate them with either a positive or a negative pre-set comment.

So, in reply to "Help, pirates are attacking", you could have one button to reply with a message "Hold on! I shall come to your aid", and another which would trigger "Sorry, mate. you're on your own."
The options would become available when you pressed the comms log button.
Similarly, when the cops tell you to leave the system, you can reply with + button "Certainly, officer, happy to comply.", or with - button "You'll never take me alive, copper!"

I think this would be relatively easy to implement.
Having 'intelligent' coversations would require an engine for itself.
You came in that? You're braver than I thought!
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

Vegastrike has a semi-intelligent comms implimented, simular to Wiggy's idea.

You can target a ship, open a comms channel, then you'de have a short list of messages to send to them which ranged from a nasty insult to seriously sucking up.
The messages you sent determined how the AI ship reacted: Nastygrams would get them to turn and attack, kissing up would cool their tempers so they left you alone.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
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 »

Wiggy wrote:
I came up with the idea some time ago for players to reply to NPC comms, or possibly initiate them with either a positive or a negative pre-set comment.

...

I think this would be relatively easy to implement.
Having 'intelligent' coversations would require an engine for itself.
Well, I came up with this idea as well (posted the link twice in my above posts, won't do it again). And there were a couple of other possible communications/interactions as well.

The point is: I don't know how easy the implemetation would be, but it would need to be implemented in the code. It's not OXPable, as it would need keystrokes to be defined for the preset answers. And this can't be done with an OXP. Even the usual missionscreen-scripting with up and down and enter, can't be made usable for the comms log via an OXP.

Ahruman's view on working on this is quite clear. And I guess it won't be a good idea to have two or more people fiddling with different parts of the code at the same time. So that's for now the end of it, I'd say.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

This would be a hack/compromise....but...

for comms inflight:
how about pausing the game and forcing view to mission_screen.
offer option, stuck in mission_screen untill a choice is made.

But this may lead to other problems....one that might crop up is the 'docked in interstellarspace, but arriving in target system' bug.
But only if gamepause and mission_screen are linked to STATUS_DOCKED.
Riding the Rocket!
Post Reply