安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
Thanks, I'm happy you like them! :D
As for the modExtension, It is in BS_BaseRobotHumanoid and similar. I've coded my modextension loading so it can load any number of the same "BigAndSmall.PawnExtension" from the same pawn and simply checks all of them. (iirc. vanilla just fetches the most recent one).
In the case of tags is "isMechanical" I simply check if it is true in _any_ pawnExtensions in the inheritance structure.
If you search my framework mod using something like VSC you'll see ""isMechanical>true</isMechanical>" in 3 different hediffs. Two for mechanical humanlikes, and 1 for mechanoids-made sapient.
For example: BigSmall_Framework\1.6\SimplyRaces\Defs\Abstract\RobotBasic\RaceTracker_BaseMech.xml
Ah, I can see the defs have RaceExtension, and the RaceExtension has <raceHediff>, and going in the raceHediff (BS_TVAndroid for example), I see it has BigAndSmall.PawnExtension. (wow this is very in-depth.)
But the BigAndSmall.PawnExtension doesn't seem to have isMechanical specified. Does isMechanical's value defaults to true in BigAndSmall.PawnExtension?
Also... I think I might just hardcode the defnames if there isn't a good indicator. So far I found these:
BS_CommandoBot
BS_CommandoBot_NonSapient
BS_CommandoBotPersona
BS_SynthRace
BS_TVAndroid
BS_TVAndroid_Sapient
Hopefully these would cover all the mechanical life forms?
+) Shamelessly using this chance of communication to tell you I love how creative you are with your mods, especially all the clever mechanics that can change gameplay (I friggin love mimic's mechanics). Sending you love.
If you don't mind checking mod extensions they do have a `isMechanical=true` in a pawnExtension, typically on a hediff.
E.g.
<li Class="BigAndSmall.PawnExtension">
<isMechanical>true</isMechanical>
</li>
I might be able to see about exposing something easier though...
@Azathoth
I've talked to Helixien, and I think there is a fix on the way.
Normally I filter out mechanical lifeforms with def.race.isFlesh==false, but it seems you use isFlesh as true. So I was wondering if there was other particularity that I could look for maybe, and use it to filter your mechs out?