Hi guys,
I am trying to change my mods a bit to get the game I want.
In which files (and lines) can I change the max skill level of recruitable NPCs on stations?
Are the levels defined by the roles. xml? Not quite sure what the values mean or I have no reference (for max values).
How can I change th skill levels of all the NPCs that spawn on stations?
Thanks in advance!
Question: Set max skill level?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 1354
- Joined: Sun, 20. Apr 08, 16:20
Re: Question: Set max skill level?
This is the mod that I use to up the number of NPCs in stations with more skills...
https://www.nexusmods.com/x4foundations/mods/27
In the "..\libraries\characters.xml" file you'll see entries such as this ...
Every 3 increments gives you 1 star, so the above would generate a pilot between 1 and 3 stars and everything in between
https://www.nexusmods.com/x4foundations/mods/27
In the "..\libraries\characters.xml" file you'll see entries such as this ...
Code: Select all
<skill type="piloting" min="3" max="9"/>

IEX Download Statistics - LUVi / XRMi ( 3115 / 5415 )
X4 Crexit 324 ; X4 Encounters 3193 (STEAM Unique/Current 6341/3412)
-
- Posts: 783
- Joined: Wed, 5. Dec 18, 06:17
Re: Question: Set max skill level?
Thank you for the hint, after fiddling around with the files and restarting the game a hundret times I figured it out.Moonrat wrote: ↑Thu, 10. Jan 19, 20:55 This is the mod that I use to up the number of NPCs in stations with more skills...
https://www.nexusmods.com/x4foundations/mods/27
In the "..\libraries\characters.xml" file you'll see entries such as this ...Every 3 increments gives you 1 star, so the above would generate a pilot between 1 and 3 stars and everything in betweenCode: Select all
<skill type="piloting" min="3" max="9"/>
So can I create as many new characters as I want? Is there a way to set their spawn frequency? I would like mostly 1-2 star pilotes and a rare and occasional 3-4 star pilot on certain stations.
-
- Posts: 1354
- Joined: Sun, 20. Apr 08, 16:20
Re: Question: Set max skill level?
This other Nexus mod increases the numbers...
I wanted to achieve more or less exactly what you desire so I use both and I've hacked the "\libraries\characters.xml" file within "Various NPCs" so that 3-star NPCs appear sometimes. By upping the "max" value further you could have 4-star and 5-star characters also appearing... I might have to do this soon if Egosoft don't fix or give a clue how the levelling works.
Since I've been using it in combination with the other Nexus mod above there are definitely more NPCs milling about making stations more life-like... this is usually at the lower levels plus my FPS hasn't taken a dive so it's a big


I wanted to achieve more or less exactly what you desire so I use both and I've hacked the "\libraries\characters.xml" file within "Various NPCs" so that 3-star NPCs appear sometimes. By upping the "max" value further you could have 4-star and 5-star characters also appearing... I might have to do this soon if Egosoft don't fix or give a clue how the levelling works.

IEX Download Statistics - LUVi / XRMi ( 3115 / 5415 )
X4 Crexit 324 ; X4 Encounters 3193 (STEAM Unique/Current 6341/3412)