X4: Foundations

X4: Foundations

37 ratings
upb Player NPCs
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
974.541 KB
27 Mar, 2024 @ 3:50pm
18 Jun @ 1:53pm
21 Change Notes ( view )

Subscribe to download
upb Player NPCs

Description
It provides the ability to have personnel belonging to the faction specified by the player.

# Attention!
  • You may need to disable UI Protection mode ("Settings" -> "Extensions" -> "Protected UI Mode") before you can see the manager screen.
  • To access the manager or settings screen, the 'upb_lua_loader' mod (ver. 2.00) must be installed.
  • If you are using 'Mod Support Api Community Edition' you may have problems opening windows.

    If the mod works when you start a new game but doesn't work when you load an old save game, try the following steps;
    1- Disable upb PlayerNpcs mod.
    2- Restart the game and load your save file, then save your save file.
    3- Re-enable upbPlayerNpcs mod and start the game again.
    4- Load your last saved save file.
    If you're still having problems, contact me on Discord (#fikrethos).

  • Compatible for x4 6.xx and 7.xx.
    Note: There is a preview version on the nexus mode page[www.nexusmods.com] that fixes compatibility
  • For options screens can be accessed from the upb_Mods menu by talking to the NPC or player owned ships pilot or Spec Officer Nurcan.

Description
  • The racial faction and gender type of the personnel recruited to the ship through ship production or ship upgrades can be selected optionally specified in the settings.
    When the NPC option is activated in the settings, this process is carried out the same regardless of the race and faction of the NPC shipyards or wharfs.
  • The race, faction and gender of the personnel wandering around the stations can be adjusted. (Only valid for player stations.)
  • Traders' racial factions and genders can also be adjusted. (Only valid for player stations.)
Note: Factions of each race included in the game (including installed DLCs) are automatically detected.

## UPB MODs. Access Options:
There are 5 different methods to access UPB MODs.
!!! If the option is not opened with the first 4 steps, you are probably using another mod that adds menu options.
  • 1- Talk to NPC ship captains. it will appear in the bottom left (#3) position.
  • 2- Talk to any player ship captain or player station managers. Under the more option, if no other mod has added it to the menu options, it will appear in the left (#2) position.
  • 3- Talk to Player fleet commander or ship captain if not in the fleet.
    If there is a "..more. (Mods)" option, that is, if ECM (Extended Conversations Mod v0.20 on Nexus) is installed, it is in this menu.
  • 4- Talk to any subordinate ship in the player's fleet.
    a- if there is a "..more. (Mods)" option, that is, if ECM (Extended Conversations Mod v0.20 on Nexus) is installed, it is in this menu.
    b- Otherwise it will appear in an empty slot (#3) in the menu. ( ! unless another mod(s) has added this menu option. )
  • 5- In this case, use the 'Upb Equipment Modification And Reqruit Service' Mod.
    This new mode assigns a Spec officer you can talk to when you land at the shipyard or wharf (player or npc) stations.
    To access UPB MODs, talk to Spec. Officer Nurcan ARIKAN HOS.

# Turkish:
Oyuncunun belirlediği factiona ait personele sahip olabilme özelliği sağlar.
  • Gemi üretimi ya da gemilerin yükseltme yoluyla gemiye alınan personellerin ırk hizipi ve cinsiyet türü ayarlarda belirtilen isteğe bağlı olarak seçilebilir.
    Ayarlarda NPC seçeneği aktif edildiğinde NPC shipyards ya da wharfs hangi ırk ve hizipe bağlı olduğuna bakmaksızın bu işlem aynen gerçekleştirilir.
  • İstasyonlarda gezinen personellerin ırk hizipleri ve cinsiyetleri ayarlanabilir. (Sadece oyuncu istasyonları için geçerli.)
  • Traderlerin ırk hizipleri ve cinsiyetleri de ayarlanabilir. (Sadece oyuncu istasyonları için geçerli.)

Note: Oyuna dahil olan (kurulu DLC'ler dahil) her ırkın factionları otomatik algılanır.
73 Comments
netupb  [author] 12 Jul @ 11:18pm 
@Pitagora, I tested it with the Community Edition. I had no problems. If we can talk on Discord, I can investigate the source of the problem.
Pitagora 12 Jul @ 2:01pm 
The procedure of unload and reload the mod didn't work for me, I've also lost my settings from the previous version this way, I had to roll back to the previous save.
Indeed I'm using "Mod Support Api Community Edition" but it's a must have mod imo.
I love this npc mod too, please don't stop investigate the issue.
Thank you.
FuryoftheStars 8 Mar @ 6:52pm 
Confirmed that for me it is fixed, thank you. Didn't have to do anything beyond letting Steam update it and load my save.
posthum 8 Mar @ 9:52am 
Thanks again!
netupb  [author] 8 Mar @ 8:54am 
@posthum, yes it works, but 1 person had a problem like this. the problem does not occur when starting a new save but it causes a problem in the saved game, I could not determine the source of the problem because it did not give an error line in debug mode.

We solved the problem for this type of situation as follows;
1- Disable upb PlayerNpcs mode.
2- Restart the game and load your save file and then save your save file.
3- Re-enable upbPlayerNpcs mode and start the game again.
4- Load your last saved save file.
The problem will be solved.
posthum 8 Mar @ 8:41am 
Thank you for maintaining this, does it currently work?
FuryoftheStars 8 Mar @ 8:29am 
Yeah, it's too bad the devs didn't have some native features for that kind of stuff so 3rd party mods weren't needed to allow compatibility between em all. 😕
netupb  [author] 8 Mar @ 7:11am 
@FuryoftheStars, this will also be an answer for @G.A. I have written mods without interfering with the game's own UI codes so far. I didn't want to use them in order not to be dependent on the other extra mods you mentioned. Yes, I am aware that it would be easier to access. But I didn't want to wait for the updates of other mods with every new update.
FuryoftheStars 8 Mar @ 6:10am 
A question, though: instead of adding chat options to npcs (which could conflict with other mods and prevents altering settings on a new game until you find/hire an npc), what would your thoughts be on using kuertee's ui extension mod? That mod adds a new submenu to the main menu in game (which I think would be a perfect place for your mod options), and then also allows adding of new buttons and subsequent ui elements to the player information screen (and maybe the map), which would be the perfect place for the other screens you have. I'm not sure if this game's modding supports it, but could even do it as an option: without kuertee's mod, it adds the chat options; with it does not have the chat options and instead uses the menu and other screens.
FuryoftheStars 8 Mar @ 6:10am 
Thanks for the fix. Apologies, it'll be a while before I can test. I posted as I was going to bed last night and I likely won't fire up the game again until tonight... or tomorrow night.