


My grammer is poor, I am very sorry if you get confused or annoyed at my interpretation.
为了使得敌人的血条、标志都能正常隐藏,这个模组使用了HidePermanentCockpitRui()函数,可能带来一些视觉上的错误表现。
In order to make the enemy health-bar, name and icon invisible, this mod uses HidePermanentCockpitRui().(This may cause some strange visual performances.)
你可在配置文件中关闭对这个函数的启用,它默认是打开的。
If you want to get that off, just modify the HidePermanentCockpitRui from true to false in the mod.json. Default value is true.
将所有玩家包括你的名字和网络名匿名,替换成别的文字。可以用来防止炸弹人。
替换只包括计分板和击杀提示。
This will make the other players’ names look like “Pilot0000” or “******” in the scoreboard(the pitch icon was changed with yours) and the obituary.
所有设置都在配置文件,每次修改需要重启游戏。
You can configure the performance in the mod.json.
3种:将名字替换为纯数字的Digital、将名字替换为指定字符串的Replace、将名字替换为铁御1234的Apexlike。例子见下:
It offers 3 modes: Digital | Replace | Apexlike. They may look like "28791512", "APLACEHOLDER", "Pilot1234". Examples below:
Digital
This will make the names as random numbers. And these numbers change dynamically.
29813
241215
Replace
Turn the names into a placeholder.
Player
Player
Apexlike
Names are hashed into some numbers with a custom prefix ahead.
Pilot111
Pilot222
如果你不是开发者,略过这里。
Ignore this part if you dont want to develop.
我修改了下面这个文件,增加了三个回调函数。
cl_obituary.gnut was modified. 3 callbcacks added.
AddCallback_Obituary( array<string> functionref( entity, entity, array<string> ) callbackFunc )Added with Obituary( entity attacker, string attackerClass, entity victim, int scriptDamageType, int damageSourceId, bool isHeadShot, bool victimIsOwnedTitan = false, bool forceDisplay = false )
Obituary is created in that function.
这是用来修改击杀信息中人名的。
This mod use this to modify the attacker/victim names.
void function AddCallback_Obituary( array<string> functionref( entity, entity, array<string> ) callbackFunc )
AddCallback_PrintObituary( void functionref( ObitStringData ) callbackFunc )Added with void function Obituary_Print( string attackerDisplayName, string weaponDisplayName, string victimDisplayName, vector attackerColor, vector weaponColor, vector victimColor, weaponIcon = null, string attackerPetDisplayName = "", string victimPetDisplayName = "" )
我不知道干嘛的,但是寻思可以这样写。
Actually I don’t know what this function used for. If you wanna modify the obituary, don’t use this.
void function AddCallback_PrintObituary( void functionref( ObitStringData ) callbackFunc )
AddCallback_PrintObituaryLocalized( string functionref( string ) callbackFunc )Added with void function Obituary_Print_Localized( string localizedPrint, vector altColor1 = <255, 255, 255>, vector altColor2 = <255, 255, 255>, vector altColor3 = <255, 255, 255>, vector backgroundColor = <255, 255, 255>, float backgroundAlpha = 0.0 )
The Obituary(...) will call Obituary_Print_Localized(...). The obituary string will be localized here.
可以用来修改击杀信息中的武器名称。
If you wanna modify the weapon names in obituary, may you can use this.
void function AddCallback_PrintObituaryLocalized( string functionref( string ) callbackFunc )
我不知道为什么,它们有时候会报错。但我认为玩家名称中应该不具有ASCII表外的字符,又或者我写错了那张表?
I dont know why these func sometimes get error. There should be only ascii chars in the names. Did I get wront with this?
// 返回字符的Ascii码
// Return the ascii code of a char in string. Return -1, if the string.len() != 1
int function Ord(string c)
// 从Ascii码得到字符
// Return the char.
string function Chr(int code)
配置文件路径在游戏下Northstar\mods\L1Nexus.AnonymousMode<br> The config file exists in the Northstar\mods\L1Nexus.AnonymousMode\
修改这些变量来控制模组表现。修改后必须重启游戏。
It contains some Convars you can modify. Restart the game after modifing.
"ConVars": [
// 对玩家名的操作
// mode for players' names
{
"Name": "l1nexus_anonymous_mode",
// Digital/Replace/Apexlike/Ignore
"DefaultValue": "Apexlike"
},
// 替换所有玩家的名字的占位符
// used as all players names in Replace mode
{
"Name": "l1nexus_anonymous_placeholder",
"DefaultValue": "******"
},
// Apexlike 模式下的前缀
// used for prefix in Apexlike mode
{
"Name": "l1nexus_anonymous_prefix",
"DefaultValue": "Pilot"
},
{
"Name": "l1nexus_anonymous_HidePermanentCockpitRui",
"DefaultValue": "true"
},
// 方便开发用的变量,不需要设置为true
// devMode, show player's complete name behind the modified
{
"Name": "l1nexus_anonymous_devMode",
"DefaultValue": "false"
},
// 网路tag替换为空、不更改和改动[ADV]或自定义
// Only hide the network or, ignore this, or replaced to [ADV], or custom
{
"Name": "l1nexus_anonymous_tag_mode",
// Empty/Ignore/ADV/Custom
"DefaultValue": "ADV"
},
// 自定义的网络名称
// Clantag used for all players
{
"Name": "l1nexus_anonymous_custom_tag",
// Empty/Ignore/ADV/Custom
"DefaultValue": "VDA"
}
]
Update hash functions
Change the functions and callbacks names
ascii_table.nut.