RimWorld

RimWorld

Fixed Pawn Generate
76 Comments
白金trigger 3 Sep @ 8:35pm 
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3560716209 效果很不错啊,可以把我这个模组当作示例。
Lotus Land  [author] 2 Sep @ 8:28pm 
@白金trigger 具体可以参考我的碧蓝档案mod: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3284538085

github的资料有点过时了
白金trigger 2 Sep @ 8:04pm 
兄弟你能不贴两个模组案例,光看github readme有点少啊。
nguyenanh2132 8 Aug @ 3:41am 
That is just fantastic!
Lotus Land  [author] 7 Aug @ 7:35pm 
@nguyenanh2132 No, but I might create a UI to export characters in the future.

This mod includes some unique features like portrait, other mods can't edit them
nguyenanh2132 7 Aug @ 6:55pm 
Came here through the mod, so ain't that handy!

Will there be a way to port over pawns saved in character editor and pawn editor in the future?
Lotus Land  [author] 7 Aug @ 5:23pm 
@nguyenanh2132 The instructions on GitHub are slightly outdated. You can refer to my BlueArchive mod for more examples.
nguyenanh2132 7 Aug @ 3:04pm 
this mod looks amazing! I can't begin to imagine how much I could do with it
Eirin the medic GF 31 Jul @ 3:04am 
Thank you!
Lotus Land  [author] 30 Jul @ 10:30pm 
@Eirin the medic GF Thanks, I did overlook this issue, and I will try to improve it.
Eirin the medic GF 30 Jul @ 10:25pm 
sorry cuz I don't much about modding so I might be stupid, but according to dub's performance analyser this is costing me 4ms

FixedPawnGenerate.GroupIncludes_Patch:Postfix
Eirin the medic GF 30 Jul @ 9:56pm 
According to performance analyzer the mod is eating up loads of resources ever since the update to blue archive characters that adds the kivotos faction. when map saving mods gets updated i might move my colony to a different save and see if that fixes it.
Lotus Land  [author] 30 Jul @ 7:36pm 
@Eirin the medic GF Are you sure? I'm not using performance-intensive operations in the ticks
Eirin the medic GF 30 Jul @ 7:10pm 
This mod have been causing huge performance issue for me. any ideas?
16116622 21 Jul @ 1:43am 
大佬,我开局剧本里使用了<li Class="FixedPawnGenerate.ScenPart_ConfigPage_ConfigureStartingFixedPawns">来生成开局人物,直接使用这个剧本表现正常,但是保存剧本再读取就失效了,实际还是生成随机的人物.

(大佬的碧蓝档案mod似乎也有这个bug)
Lotus Land  [author] 20 Jul @ 11:13pm 
@红莲 是不是没有制作小孩的服装的贴图?
红莲 20 Jul @ 10:16am 
小孩穿衣服会出现贴图错误的红叉叉
Lotus Land  [author] 10 Jul @ 5:11am 
@2325647231 修好了
Lotus Land  [author] 10 Jul @ 1:49am 
@2325647231 是立绘功能出了问题,我会尽快修复
2325647231 9 Jul @ 3:00am 
大佬,能不能我没弄差分文件的话就用原本的功能,我自制的mod用了你的前置,现在选中角色就报错了
TheMinaGames 17 Jun @ 12:06pm 
Thank you very much, now my custom xenotypes spawn in the world! ♂
Fleurety 31 May @ 7:57am 
和我们组的理念好像有些共同点哦,有兴趣聊聊吗
我们画师也有在画ba,不知道你喜欢那个画风吗?
Lotus Land  [author] 14 May @ 7:42pm 
好的,看来我弄的这套代码还是有些问题
Yuuka 100KG 14 May @ 11:45am 
关闭自然生成人物关系就行了 我的问题
Yuuka 100KG 14 May @ 11:09am 
与android 1.5冲突 会导致无法打印自动人形
THE__333 17 Feb @ 12:28am 
鼠族异象有个蒙尘怀表一出现就卡顿
Lotus Land  [author] 16 Feb @ 12:11am 
@THE__333 请问这个错误是在什么情况下发生的呢?
Lotus Land  [author] 15 Feb @ 11:47pm 
@THE__333 确实,我来修复一下
THE__333 15 Feb @ 8:24pm 
at RatkinAnomaly.RAUtility.DuplicatePawnByWatch (Verse.Pawn victim, System.Boolean replace) [0x00053] in <108c059923f34d1587d0311cfc3704ab>:0
at RatkinAnomaly.RAComponent.WatchTracker () [0x0011a] in <108c059923f34d1587d0311cfc3704ab>:0
at RatkinAnomaly.RAComponent.WorldComponentTick () [0x0004d] in <108c059923f34d1587d0311cfc3704ab>:0
at RimWorld.Planet.WorldComponentUtility.WorldComponentTick (RimWorld.Planet.World world) [0x00016] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
THE__333 15 Feb @ 8:24pm 
- POSTFIX Lotus.FixedPawnGenerate: Void FixedPawnGenerate.FixedPawnHarmony+PawnDuplicatePatch:Postfix(Pawn pawn, Pawn __result)
- POSTFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:DuplicatePostfix(Pawn pawn, Pawn __result)
at RatkinAnomaly.RAUtility.TryDuplicatePawn_RA (Verse.Pawn originalPawn, Verse.Pawn& duplicatePawn, RimWorld.Faction faction) [0x00007] in
THE__333 15 Feb @ 8:23pm 
和鼠族异象冲突了
Exception in RimWorld.Planet.WorldComponentUtility.WorldComponentTick: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 3497830]
at RimWorld.GameComponent_PawnDuplicator.Duplicate (Verse.Pawn pawn) [0x001de] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX Lotus.FixedPawnGenerate: Void FixedPawnGenerate.FixedPawnHarmony+PawnDuplicatePatch:Prefix(Pawn pawn, Pawn __result)
- PREFIX Lotus.FixedPawnGenerate: Void FixedPawnGenerate.FixedPawnHarmony+PawnDuplicatePatch:Prefix(Pawn pawn, Pawn __result)
- PREFIX Lotus.FixedPawnGenerate: Void FixedPawnGenerate.FixedPawnHarmony+PawnDuplicatePatch:Prefix(Pawn pawn, Pawn __result)
- POSTFIX Lotus.FixedPawnGenerate: Void FixedPawnGenerate.FixedPawnHarmony+PawnDuplicatePatch:Postfix(Pawn pawn, Pawn __result)
Lotus Land  [author] 1 Jan @ 6:27pm 
已修复
Lotus Land  [author] 1 Jan @ 3:46pm 
@Niko的三箱兄弟 是bug了,我来修复
P90 USER 1 Jan @ 3:29am 
为什么会在选人界面刷出自己写的pawn的时候出现Error while generating pawn. Rethrowing. Exception: System.ArgumentException: An item with the same key has already been added. Key: TestNickName
这样的红字
Lotus Land  [author] 28 Dec, 2024 @ 1:07am 
@stonewell3220 Fixed, thanks for your feedback
stonewell3220 27 Dec, 2024 @ 10:46pm 
There is an problem: when used in conjunction with "Vehicle," vehicles cannot be dismantled.
Lotus Land  [author] 27 Dec, 2024 @ 8:49pm 
@16116622 更新了。要是还遇到什么问题,欢迎提供反馈
Lotus Land  [author] 27 Dec, 2024 @ 4:15pm 
@16116622 哦,是之前更新改动了一些生成机制,稍后修复。我还以为没什么人用这个mod呢
16116622 27 Dec, 2024 @ 6:34am 
大佬你好,我看示例中FixedPawnUtility.GetRandomFixedPawnDefByWeight说明了会有唯一性检查,但是实际还是会返回已生成过的Pawn,xml里也写了<isUnique>true</isUnique>
幽灵的二次死亡 14 Jul, 2024 @ 5:03am 
确认修复了。感谢你制作的mod!
Lotus Land  [author] 14 Jul, 2024 @ 1:40am 
@幽灵的二次死亡 是的,真不好意思,已经修复了
幽灵的二次死亡 13 Jul, 2024 @ 11:42pm 
作者你好,我打了这个mod和你的Characters - Blue Archive,以及不少其它mod。7月12日玩的时候还是正常的,但7月13日晚上再加载之前的存档时,提示生成地图失败,导致坏档了。7月14日创建新游戏后可以正常游玩,但是使用通讯台招募碧蓝档案角色这个功能没有用(白银足够),小人走过去互动了一下,但什么结果都没有。我看这个mod在13日有一个更新记录,猜测是不是更新导致了什么bug或者mod冲突?
Lotus Land  [author] 8 Jul, 2024 @ 2:15am 
你看,目前创意工坊里大部分是服装、发型、种族mod,很少有角色mod。之前有另一个碧蓝档案的mod也是可以召唤特定角色,但是兼容性实在太差。用这个mod做前置的话就可以很简单地创建特定的人物,而且可以更好地兼容。
Lotus Land  [author] 8 Jul, 2024 @ 2:07am 
@zyzyhasl 因为这个mod本来就是作为其他mod的前置而开发的,所以目前并没有计划兼容其他的自定义角色
zyzyhasl 8 Jul, 2024 @ 1:44am 
哇,大佬还整了个通讯台召唤啊,棒!扩展下兼容性呗,也可以识别召唤其他的自定义角色
zyzyhasl 8 Jul, 2024 @ 1:32am 
我觉得既然设置了自定义人物,那必然是打算让她出的
zyzyhasl 8 Jul, 2024 @ 1:31am 
我建议50%,最好能自定义。。。。
Lotus Land  [author] 7 Jul, 2024 @ 8:27pm 
@zyzyhasl 哈哈哈,我本意是想避免开局选人界面里全是自定义的角色,而没有普通生成的角色。你这么说的话,那我下次更新把生成率调到25%好了
zyzyhasl 6 Jul, 2024 @ 9:10pm 
咕,大佬,这个开局选人界面生成率能自定吗?对我这种非酋有点低啊
zyzyhasl 6 Jul, 2024 @ 8:26am 
谢谢大佬!