Elin
KK Generate Settings
33 Comments
万剑君 22 Mar @ 12:03am 
MOD核心功能:自定义NPC年龄/性别生成规则,支持精准定制。
主要设置
年龄控制
- 调整儿童/青年/成年/老年比例(总和100%),可设全局年龄区间(如10-40岁),覆盖固定年龄角色(需开启强制模式)。
性别控制
- 设定男女比例(0=全女,100=全男),禁用“???”性别,强制修改固定性别角色(如男→女)。
精准定制
- 通过角色/种族ID单独配置(如指定魅魔全女性),多配置文件按优先级生效:**指定角色 > 指定种族 > 全局设置
安全兼容
- 仅影响新生成NPC,推荐ModOptions可视化操作,Linux/Steam Deck需特殊配置。
典型用途
- 全幼年精灵村|全女性魔族|青年主导城市
- 剧情NPC定制(如妹妹固定为儿童)
错误配置会触发日志警告,弃用参数需手动清理。
🌹彼岸花🌹 9 Feb @ 10:39pm 
thankyouu
'JJ 28 Jan @ 6:32am 
pls someone tell me whats the reason to have this mod?
Krois0s  [author] 10 Jan @ 10:51pm 
[20250111更新 EA23.74]
・前提MODとしてModOptionsに対応(なくても動きます)
・年齢固定のキャラクターについて23.62 NightlyからMODで設定された年齢が表示されていなかったのを修正
・年齢設定の「人間のみ反映」、かつ、「強制年齢モード」にしていた場合、人間でなくとも設定が反映されていたのを修正
Karmapowered 8 Jan @ 4:30am 
(2/2)

In other games, like Skyrim, Fallout 4, Rimworld, etc., there exists usually one central mod that helps doing this. For example :

https://www.nexusmods.com/skyrimspecialedition/mods/53000

I think it would be useful to have one equivalent in Elin as well, and mod authors using it for the additional comfort of their users/players. But there is no rush.

Thank you very much for your hard work and sharing your mods with us.
Karmapowered 8 Jan @ 4:29am 
(1/2)

As promised, I'm back with feedback after playing almost up to 100 days with your mod.

First I noticed that there are still many males with female portraits or females with male portraits. Elders of races that are not ??? also have children portraits sometimes.

As I said before, those are bugs. I believe they are best fixed by the game developper, not this mod.

This mod works fine. I notice less children and less elderly, which is how I set up my configuration file. I'm not particularly prude and want children in my Elin games, but I hope I will never see "let's watch the birds together" on a child during a succubus run for example.

About the mod that I linked to, I think it would be a good thing if mod authors decided among themselves which is the best mod to use to allow users to change their mod configuration in-game, because there's also this mod :

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3379819704

I just want to raise awareness at this point.
Krois0s  [author] 7 Jan @ 10:18am 
I was aware that my MOD requires very complex configurations, so I considered this a potential issue. The MOD you suggested would indeed allow for more flexible settings, so I would like to implement it if possible.

However, due to its flexibility, it seems there are many processes that need to be implemented on my MOD's side.

Therefore, it will take considerable time to implement, and I might even have to give up if it proves too difficult to achieve.
I would appreciate it if you could wait without having too high expectations.
Karmapowered 5 Jan @ 5:47am 
I ran into a bug with the new update and needed to find the mod that created it. Now I'm finally able to play again.

One small suggestion before I resume playing : would this mod be useful for players to change their settings of your mod more comfortably than a config file ?
Karmapowered 5 Jan @ 4:42am 
Thank you for your reply.

I noticed portraits not matching genders or age before using your mod.

I understand what you said about age, which in my opinion is a bug. It's very disconcerting to see an elderly person with the portrait of a young child, or vice versa.

I will report about portraits matching genders or not once I'm able to play with your mod for some longer time.
Krois0s  [author] 5 Jan @ 3:40am 
I have implemented functionality that resets portraits to match the gender when gender changes occur, so it's quite strange that portraits are being assigned that don't match the gender.
There are some androgynous portraits like c_f-37.png - perhaps these are being mistaken for male portraits?
Elin's portraits are stored in the following location:"\Elin\Package_Elona\Portrait", where c_f is for females and c_m is for males.

However, as you can see from the filenames, the portraits don't have any age concept built into them. This makes it difficult to select portraits based on age.
Whether the character is a child or elderly, if they're male, the portrait is randomly selected from c_m, and if female, from c_f - this is actually the same behavior that occurs in the vanilla game.
Karmapowered 5 Jan @ 1:35am 
Does this mod also fix the portraits of generated NPCs ?

Sometimes I get male portraits for females, elder portraits for chidren or equivalent non-sense because of RNG/randomness.

Thank you for sharing your mod with us.
Esealit 2 Jan @ 12:52am 
Thanks. Tired of seeing little girls in their 30s.
Krois0s  [author] 31 Dec, 2024 @ 10:39pm 
[20250101更新_EA23.70]
Target設定を正式機能に(コンフィグファイルの説明文変えただけ)
Krois0s  [author] 24 Dec, 2024 @ 2:58am 
targetはカンマ区切りで複数指定できます。(or)
targetCharaにはキャラのID、targetRaceには種族のIDが使えます。
target設定はKKGenerateSettings_*.cfgでのみ有効です。

targetChara = sister,cat,dog
targetRace = roran,norland
Krois0s  [author] 23 Dec, 2024 @ 3:20am 
KKGenerateSettings_child.cfgなどの設定ファイルはKKGenerateSettings.cfgをコピーして作ってください。
KKGenerateSettings_*.cfgというファイル名なら認識されます。*の部分は任意の名前をつけてください。(英字推奨
target設定はKKGenerateSettings_*.cfgでのみ有効です。KKGenerateSettings.cfgに記載した場合は無視されます。

うまくいかない場合はログを確認してください。
(Elin)/BepInEx/LogOutput.log
Krois0s  [author] 23 Dec, 2024 @ 3:17am 
※キャラ設定・種族設定の使用例[20241223更新版]

KKGenerateSettings.cfg … 年齢設定:False target:None
KKGenerateSettings_child.cfg … 年齢設定:子供100% targetChara:banker
KKGenerateSettings_young.cfg … 年齢設定:若者100% targetChara:janitor
KKGenerateSettings_adult.cfg … 年齢設定:大人100% targetRace:norland

の場合

銀行員 → 子供
清掃員 → 若者
売人 → 大人
猫 → デフォルトの年齢

となります。上記の猫以外はすべてノーランド人ですが、キャラ設定を優先します。
Krois0s  [author] 23 Dec, 2024 @ 3:17am 
[20241223更新_EA23.64]
キャラ別・種族別の設定方法を変更、1キャラ、1種族ごとに1設定ファイルではなく、1つの設定ファイルに複数対象を記載できるように。
(前の設定でファイル作っちゃった人すみません)
Krois0s  [author] 18 Dec, 2024 @ 2:53pm 
[20241218更新_EA23.55]
キャラ別・種族別の設定を行えるように(テスト版)
ageRangeの完全廃止
Krois0s  [author] 18 Dec, 2024 @ 2:45pm 
※キャラ設定・種族設定の使用例

KKGenerateSettings.cfg … 年齢設定:False
KKGenerateSettings_roran.cfg … 年齢設定:若者100%
KKGenerateSettings_sister.cfg … 年齢設定:子供100%

の場合

猫→デフォルト
少女→若者
妹→子供

となります。
妹はローランですが、キャラ設定のほうが優先されます。
ファイル名に記入するのはキャラ名、種族名ではなくIDであることに注意してください。例えば使徒は英語版ではapostleですが、IDはservantです。
Krois0s  [author] 18 Dec, 2024 @ 2:40pm 
まだテスト版ですが、キャラ別、種族別に設定ファイルを読み込む機能を追加しました。
表記バージョンが23.55以上であることを確認してください。低い場合は、MODを再サブリクションしてください。

例えばサキュバス限定の設定したい場合、「KKGenerateSettings.cfg」をコピーして同じフォルダに「KKGenerateSettings_succubus.cfg」ファイルを作ってください。
サキュバスは追加の設定に従い、それ以外は「KKGenerateSettings.cfg」の設定に従います。
種族だけではなくキャラで指定することも可能です。
キャラ>種族>基本の順に従います。

ファイル名に使うIDは以下などで確認できますが、思いっきりElinの内部データなので注意してください。(もう少し良い方法がないか考え中です)
https://docs.google.com/spreadsheets/d/1CJqsXFF2FLlpPz710oCpNFYF4W_5yoVn/
junki-m 13 Dec, 2024 @ 3:50pm 
とても助かります。
ついては、厚かましいのは承知の上で要望したいのですが、特定の種族ごとに性別や年齢を設定するようなことは可能でしょうか(サキュバスは女性しか生成されない、といった風に)?
MOD開発には無知なので、滅茶苦茶なことを言っていたら申し訳ないのですが、ご検討いただけるととてもありがたいです。
Karrum 13 Dec, 2024 @ 5:12am 
thank you for this mod!
Dracon 8 Dec, 2024 @ 2:48pm 
Just in case: You need to look in the Elin folder, not in the mod folder. I was just about to post that it doesn't work for me either until I decided to also check that one.
Krois0s  [author] 17 Nov, 2024 @ 7:50pm 
LogOutput.log is always generated regardless of whether this mod is present or not. The absence of LogOutput.log indicates that the mod loading mechanism (BepinEX) is not functioning properly.
Since this appears to be an issue separate from my mod, I cannot provide support.

However, there was a recent official announcement for Linux/Steam Deck users that might be helpful. I've added the link in the description section.
Krois0s  [author] 9 Nov, 2024 @ 1:13am 
If the config file is not being generated, it's likely that the MOD is not enabled. Please check the "\steamapps\common\Elin\BepInEx\LogOutput.log" file and verify if you can see the line "[Info : BepInEx] Loading [GenerateSettings 1.0.0]".:2017eyeball:
秋雨如弦 4 Nov, 2024 @ 10:42pm 
他们说这个开了没用
SUPER野うさぎですぺこ 4 Nov, 2024 @ 1:38am 
再サブスクライブしてゲームを再起動した後、新しいファイルを無事に取得できました。本当にありがとうございます!
dilinhuo 4 Nov, 2024 @ 12:53am 
用于调整npc生成设置
Krois0s  [author] 3 Nov, 2024 @ 11:47pm 
ワークショップMODの更新がユーザーに配信されるタイミングがよくわからないんですよね…:steamsad:私も昼まで古い状態のままだったので、手動で再スクライブしたら更新されました、それでもダメだったら教えていただけると助かります
SUPER野うさぎですぺこ 3 Nov, 2024 @ 11:36pm 
申し訳ありませんが、更新後に新しい KKGenerateSettings.cfg ファイルが生成されていないようです。中身を確認したところ、コードは依然として以前のままでした。今回の新機能について、手動でコードを入力する必要があるのでしょうか?ご不便をおかけしてしまい、本当に申し訳ありません。
SUPER野うさぎですぺこ 3 Nov, 2024 @ 8:09pm 
ご返信をいただきありがとうございます。いつも楽しませていただいており、これからの開発も心から応援しております。無理をせず、ご自身のペースで取り組んでください。本当にありがとうございます。
Krois0s  [author] 3 Nov, 2024 @ 9:32am 
こんばんわ、ご丁寧に恐縮です。
初めて作ったMODなのであまり拡張性が良くなく、もう少し柔軟な設定をできたらなとは思っていましたが
ご提案の内容であれば対応できそうですので、まもなく更新予定です。
なにか問題があればお知らせください。
SUPER野うさぎですぺこ 2 Nov, 2024 @ 8:31pm 
こんにちは。素晴らしいMODを制作していただき、誠にありがとうございます。現在の年齢設定について少しご提案させていただきたいです。

性別設定のように、年齢設定も単一の選択ではなく、異なる年齢層に対して割合で設定できるようにしていただけますと大変嬉しいです。例えば、「子供20%、青年60%、老年20%」のように、複数の年齢層のキャラクターがバランスよく生成されることが理想です。このような設定があれば、より多様なキャラクターの生成が可能となり、ゲームの魅力が一層増すと考えております。

もちろん、開発には多くのご苦労があることと存じますが、ご検討いただけますと幸いです。これからの素晴らしい更新を楽しみにしております。本当にありがとうございます。