Skip to content

Populates artificial world and guild chat for single player servers to make it feel more lively.

Notifications You must be signed in to change notification settings

Day36512/ActiveChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

Eluna Lua Script: Lively World & Guild Chat

This script is designed for AzerothCore using Eluna Lua scripting to simulate world and guild chat environment. It's intended single-player servers, adding a layer of immersion and social interaction by populating the chat with artificial conversations between non-existent players. This makes the game world feel more populated and lively.

Note: I am not the original author. If you are the original author please contact me so I can give you proper credit. I just modified and made things better.

If you do happen to expand on the text, please make a pull request so we can all share in the fun.

Active Chat

Installation

  • This script requires the Eluna module for your server.
  • Simply download the zip and extract the folder to your server's lua_scripts folder.

Features

  • Artificial World and Guild Chat: Mimics live conversations in both world and guild chat channels.
  • Interactive Chats: Includes back-and-forth dialogues between fake players.
  • Customizable Text Tables: Comes with a variety of predefined texts that can be easily expanded or modified to suit your desires.
  • Extendable and Modifiable: Designed with flexibility in mind, allowing you to easily add new content or adjust existing tables.

Configuration

The script is easily configurable with simple variables:

local enableScript = true  -- Enable or disable the script
local talk_time = {1000,10000} -- World chat interval (ms)
local guild_talk_time = {10000,30000} -- Guild chat interval (ms)

Content Tables

The script includes a wide range of predefined, randomly picked content, such as:

  • Zones
  • Instances
  • Roles and Classes
  • Battlegrounds

To add new text to npc_text.lua and npc_text_guild.lua, follow these steps to ensure your additions are correctly formatted and integrated into the script. The examples provided give a template for how to structure your new chat lines and interactive chats.

Adding to npc_text.lua and npc_text_guild.lua

  1. Open the npc_text.lua or npc_text_guild.lua file in Notepad++.
  2. Locate the section where chat text is added.
  3. To add a simple chat line, just insert a new line with your text enclosed in quotes, followed by a comma. For example:
"This is a new world chat message.",
  1. For interactive or multi-line chats, use curly braces {} to group the lines together, with each line as a string within the braces, separated by commas. For instance:
{"This is the first line of an interactive chat.", "This is the response or the next line.", "And this could be a witty comeback or conclusion."},
  1. Ensure each new entry is separated by a comma from the previous one.

To use zone, dungeon, class, and role placeholders in your chat system, you'll need to integrate these elements into the chat text. These placeholders allow the script to insert relevant game information into the chat lines, drawing from random relevant placeholders, making the conversations feel more varied.

Random Placeholders:

  • %zone% for random listed game zone.
  • %instance% for random listed dungeons or raids.
  • %class% for random player classes.
  • %role% for random player roles (Tank, DPS, Healer).
  • %bg% for various battlegrounds
  • %zone% for various zones

Example chat line with placeholders:

Copy code
"Looking for more for %instance%, need a %role% and two %class%s."

These placeholders will iterate through the appropriate table and randomly insert appropriate text.

About

Populates artificial world and guild chat for single player servers to make it feel more lively.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages