Jump to content

Universal Translator Improvement


EvilBrage

Recommended Posts

Simple - add sounds to the playback function. We already have an alternative text for people who can't see the action - for example:

 

user.visible_message("[user] inserts [src] into a data port on [M].", 
"You insert [src] into a data port on [M].", 
"You hear the satisfying click of a wire jack fastening into place.")

 

It's that last line we can pull and place into the translator's output - so instead of something like this:

 

Bob: What are you doing?

Bob: No, you can't do that.

Joe: Sure I can, it's easy.

Bob: Please don't.

Joe: I do what I want.

 

We get a bit more of an idea of what's going on. The sounds are all taken from game files that are already present, mind you.

 

Bob: What are you doing?

You hear the satisfying click of a wire jack fastening into place.

Bob: No, you can't do that.

You hear a beep, and a door opening.

Joe: Sure I can, it's easy.

You hear an ominous click.

Bob: Please don't.

You hear someone fall.

You hear a sickening crack.

Joe: I do what I want.

You hear a terrible sound of ripping tendons and flesh.

You hear a nasty ripping noise, as if flesh is being torn apart.

You hear a loud squelchy grinding sound.

Link to comment
×
×
  • Create New...