安装 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(越南语)
Українська(乌克兰语)
报告翻译问题






In case I finish and release it, I will inform you.
I have no problem with anyone taking over the mod, I have no personal interest in it. Ive let other mods go to more invested modders before so no problem there. If you release a version Ill just point to yours and deprecate this.
To correct what I stated rearlier, I was mistaken about "Game.FinalizeInit", that is called after the world is loaded. "LongEventHandler.ExecuteWhenFinished" is a substitute for DefsLoaded apparently
Anyway, I used it to call ApplyDefPatches and it works for what I wanted
In regard to the control of how the mod works:
When 1.6 was released I suggested to take over the development of Yayo's Combat, merging the Addon into it. Would have reduced your workload, but as this mod was updated the day after I announced that intention, I considered that there was no interest for it, so I stopped developing the integrated version and stuck with modifying it via Harmony.
You could've just reimplemented the way HugsLib handled "DefsLoaded" though, applying the patches once Defs initialization is done on game start, instead of on loading into the world.
Guess that is how I will use the method in the addon then. I'll look into it tomorrow though, I'm too tired for it now
Ive moved it later in the process now, hopefully it will work better for you now.
To checkk it, I added a debug print to the method and "DefDatabase<ThingDef>.AllDefs" is empty, so the Def patches are not actually applied (but there is also no error, as it just does nothing)
Thanks for the detailed report Syrus!
For reasons unknown to me, the method is also called twice when loading into a map. I have never worked with the "WorldComponent", no idea why it is created twice.
This causes issues with my Yayo's Combat AddOn mod, preventing changing the AmmoDefs, as well as likely also causing the Reloadable-CompProperty to be applied twice (what @Gen_Goldo mentioned).
I suggest executing that method only once, after the game has started and once all Defs have been loaded, iIrc I used "Game.FinalizeInit" for that in another mod.
Long bow
Remaining Charges 21 / 21
Remaining Charges 21 / 21
Remaining Charges 21 / 21
Remaining Charges 21 / 21
Remaining Charges 21 / 21
Looks like everytime you load a save, it adds an extra line to the description
https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3608508970
https://github.com/emipa606/YayosCombat3/releases?q=1.6.3&expanded=true
Afterwards just make sure that version is enabled in your modlist. Then be sure to reenable ammo (which requires a restart after enabling).
Is there something going on with mechanoids after the update though? Before the no-hugs I killed Diabolus with my current squad/weapons more or less effortlessly. I summoned War Queen right after updating and removing hugs and I literally can't make a dent in either the scythers or pikemen, nor the little urchins. I built 100 uranium slug and sentry turrets in dev mode, they barely killed few pikemen before the urchins and scythers mowed them down.
Or it's more like the accuracy is off, all combat logs are like this 99.99% shots on the mechanoids missing https://pastebin.com/hQ2B1QsW