Player Language Skill Gains
I'm in the process of modifying all the quests/chat interaction with npcs so the npcs speak their native language, and won't respond unless the player uses that language as well. This is an attempt to make languages seem more meaningful.
Where is the code stored for language skill gains? I'm wondering if it's possible to give players the abillity to skillup in languages by listening to npcs speak. On live, you could gain skill points by practicing speaking/listening to other people speak the language. |
I don't believe the code functionality currently exists for automatic language skill-ups.
My plan is to implement some awesome quest-based language learning in my custom server. First the player has to gain enough faction with the race through race-specific story-based questing that gets them familiar with the race's role in the world, then they can learn the language through race-specific questing that will help make the player more familiar with the history and motivations of the race. That's my plan, anyway. :) - Shendare |
The language skill up code is handled in zone/client.cpp, under ChannelMessageSend(). When I added it, I only put in functionality for group messages (channel #2), but you could modify that to allow any other channel type you want by just adding it to the if statement.
|
Oh! When was that added in?
Or am I misremembering it not being an available feature? - Shendare |
Excellent, thanks, will go look into it.
|
I don't remember exactly when, but it was added early-ish this year. It was part of the change that added language support for tells and group messages (and drunk talk).
|
Any idea where I can find the corresponding IDs for channels? According to that function, channel id 2 is group (I assume), but I don't know what the other ones are.
|
Quote:
From the changelog.txt: Quote:
|
Quote:
|
Quote:
They are: Code:
0 -- Guild |
All times are GMT -4. The time now is 12:24 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.