• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Is it possible to hook into the chat box for a UI mod?

Aesirkin

Refugee
I've had a group I'm a part of request the creation of a mod that allows for multiple chat channels beyond the existing world, party, and friends.  I think this could be accomplished by utilizing the world chat, and prepending it with a channel name:

[RP] I am an RP message.

[Trade] Anyone want to buy this message?

[Help] How do I make a message?

...

Then I would just need a UI mod that hides the existing chat window and creates a new one with a set of tabs, each of which shows messages prepended with a particular channel ID.  I would then need to prepend the channel to outgoing messages as well.  This way users with the mod would see a tab for each channel, and each channel's messages displayed in a given color.  While those without the mod could still piece together what's going on from the prepended channel names.

Is this possible?  I haven't seen much done with chat in other mods?  If not, is these some other way to accomplish this goal?

 
Back
Top