3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 344|回复: 2
打印 上一主题 下一主题

[MOD] 【搬运】详细能力描述

[复制链接]

2284

主题

3418

帖子

14万

积分

游戏终结者

Rank: 14Rank: 14Rank: 14Rank: 14

贡献度
21648
金元
616390
积分
148231
精华
0
注册时间
2006-12-25
跳转到指定楼层
主题
发表于 2026-2-26 09:15 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
转自n网:https://www.nexusmods.com/mewgenics/mods/30


Provides detailed descriptions for character abilities using data scraped from the game's files.
利用从游戏文件抓取的数据,提供角色能力的详细描述。


There are too many abilities to go through manually, so I received help in automating the process using an LLM. Some of the descriptions might be awkward or incorrect as a result; please let me know any issues you find.
功能太多,无法手动完成,所以我得到了利用大型语言模型(LLM)自动化流程的帮助。因此,有些描述可能会显得尴尬或不准确;如果你发现任何问题,请告诉我。

COMPATIBILITY: due to how modding .csv files works, this mod is incompatible with those that edit the description entries of abilities (the ones that have keys end with _DESC) in the files listed below.
兼容性: 由于.csv 文件的模组设计方式,该模组与以下文件中修改能力描述条目(键尾以_DESC 结尾的模组)不兼容。

I edited the /data/text/abilities.csv and /data/text/items.csv file using the following logic:
我用以下逻辑编辑了 /data/text/abilities.csv 和 /data/text/items.csv 文件:

1. Find cells in column A that end with _DESC. These are used as descriptions for abilities, and the file stores all their translations as well. (I didn't edit any of the translations because, as mentioned, these detailed descriptions are simply values copied from the game's code written in english)
1. 在 A 列中寻找以_DESC 结尾的单元格。这些被用作能力描述,文件中也存储了所有翻译。(我没有编辑任何翻译,因为如前所述,这些详细描述只是从游戏英文代码中复制的数值)

2. For each of those cells, find their full text inside .gon files stored in /data/abilities or /data/weapons. These strings are stored inside data structures for the individual abilities, for example inside basic_attacks.gon you can find:
2. 对于这些单元格,在 .gon 文件中查找其全文,存储在 /data/abilities 或 /data/weapons 中。这些字符串存储在各个能力的数据结构中,例如在 basic_attacks.gon 中你可以找到:

BasicRanged {
    template lobbed_attack
   
    meta {
        name "ABILITY_LOBBEDSHOT_NAME"
        desc "ABILITY_LOBBEDSHOT_DESC"
        animate_name false
    }

    target {
        min_range 3
        max_range 5+bonus_range
    }

    damage_instance {
        damage 4+bonus_ranged_damage
    }
}

3. From here we take the relevant info, like min range, max range, and whether or not it scales with ranged damage, and append it to the column B in the abilities.csv file from step 1
3. 接下来我们把相关信息,比如最小射程、最大射程,以及是否随远程伤害加成,然后附加到第一步 abilities.csv 文件的 B 列

4. Some abilities inherit their properties from others. For example, ScatterShot and ScatterShot2:
4. 某些能力会继承他人的属性。例如,ScatterShot 和 ScatterShot2:

ScatterShot {
    template lobbed_attack
   
    meta {
        name "ABILITY_SCATTERSHOT_NAME"
        desc "ABILITY_SCATTERSHOT_DESC"
        class Hunter
    }

    graphics {
        
    }

    cost {
        infcantrip true
        mana 7
    }

    target {
        max_aoe 3

        min_range 3
        max_range 6+bonus_range

        aoe_chance .5
        restrictions none

        can_multihit true
    }

    damage_instance {
        damage 5+bonus_ranged_damage
        type ranged
    }
}

ScatterShot2 {
    variant_of ScatterShot

    meta {
        desc "ABILITY_SCATTERSHOT2_DESC"
    }

    target {
        max_aoe 4
        aoe_restrictions [exclude_allies]
    }
}

For ScatterShot2, values from ScatterShot were used in addition to its own properties.
对于 ScatterShot2,除了其自身属性外,还使用了 ScatterShot 的值。

I only scraped values that I found in /data/ability_templates/ability_templates.gon
我只抓取了我在 /data/ability_templates/ability_templates.gon 里找到的数值
There's probably other stuff missing, but this is what I have for now.
可能还有其他东西缺失,但这就是我目前掌握的。

Detailed Ability Descriptions.zip-30-1-3-1-1771919431.zip

787.3 KB, 下载次数: 50

回复

使用道具 举报

21

主题

2万

帖子

3万

积分

游戏天王

Rank: 11Rank: 11Rank: 11Rank: 11

贡献度
466
金元
284557
积分
30320
精华
0
注册时间
2018-10-5

元气女仆(永久)量子Doro3DM小黄鸡拉姆雷姆尼禄·克劳狄乌斯锦鲤

舒服的沙发
发表于 2026-2-26 22:08 | 只看该作者
谢谢分享!谢谢!
回复 支持 反对

使用道具 举报

1

主题

913

帖子

933

积分

超级玩家

Rank: 5Rank: 5

贡献度
0
金元
9329
积分
933
精华
0
注册时间
2018-8-20
硬硬的板凳
发表于 2026-2-27 22:57 | 只看该作者
感谢分享
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-3-16 02:04 , Processed in 0.031420 second(s), 19 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表