英文:
Is there a table that governs spell names for different locales?
问题
我想更改自定义法术的名称和描述以适用于不同的语言环境。对于NPC名称,我们只需更改creature_template_locale
,但是对于法术,没有相应的表格。
我该如何更改法术名称和描述以适用于不同的语言环境?
我查看了acore_world
中所有可用的语言环境,但没有找到相关的内容。
英文:
I would like to change the name and description of a custom spell for a different locale. For NPC names, we simply change creature_template_locale
but there are no corresponding tables for spells.
How would I go about changing spell names & descriptions for different locales?
I looked through all available locales in acore_world
and found nothing relevant.
答案1
得分: 1
法术从DBC文件中读取。您可以使用Stoneharry的wowspelleditor等工具从这些文件中提取数据,并将调整后的数据写入世界数据库的spell_dbc
表中,该表用作覆盖。
英文:
Spells are read from DBC files. You can extract data from these files using e.g. Stoneharrys wowspelleditor and write the adjusted data into the spell_dbc
table of the world database, which serves as an override.
答案2
得分: 1
法术名称/描述存储在客户端的DBC文件中,您需要使用像Stoneharry的法术编辑器或WDBX编辑器这样的工具来编辑它们。您还需要一个工具来打开存储DBC文件的MPQ文件,例如Ladik的MPQ编辑器(这两者都可以在GitHub上找到)。然后,您需要重新打包DBC文件成为一个patch-#.MPQ文件(或者一个名为patch-#.MPQ的文件夹),并将其发送到任何用于连接到服务器的客户端以及服务器本身。如果您的自定义法术已经在游戏中显示出来,那么您很可能已经知道这是如何工作的。
根据Honey55的建议,仅在服务器的spell_dbc
表中包含更新的本地化内容,据我所知,不会使未下载补丁的客户端看到本地化字段的文本。
英文:
Spell names/descriptions are contained in the client's DBC files, which you'd need a tool like Stoneharry's Spell Editor or WDBX Editor to edit. You'd also need a tool to open the MPQ files the DBCs are stored in, such as Ladik's MPQ Editor (both can be found on Github). You'd then need to repackage the DBC into a patch-#.MPQ file (or a folder named as patch-#.MPQ) and send it to any client you'd use to connect to the server, as well as the server itself. If you've already got your custom spell showing up in-game, you likely already know how this works.
Only including the updated locales in the spell_dbc
table of your server as Honey55 suggested won't make the localized fields text appear for the clients that don't have the patch downloaded as far as I know.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论