0 of 0

File information

Last updated

Original upload

Created by

user2046

Uploaded by

user2046

Virus scan

Safe to use

Tags for this mod

About this mod

Adds an option to station transporter labeled 'Civilian Labor Force' which takes you to the recruiter's room

Requirements
Permissions and credits
Changelogs

To make sure you don't have any conflicts with other mods you use, PLEASE SAVE your game before hiring an NPC when you
use this mod for the first time. If you find that your ship is broken after hiring then you have an unknown conflict. This mod was
only tested on a clean game and unfortunately I do not have time to resolve conflicts.

THANK YOU to arshiba (x4 forums) who, after reading my own bug report, took the time to completely refactor the code for version 5.00. Users should now no longer need to start a new game. There may be some save bloat from my old version, sorry, but to lessen that you are encouraged to undock and fly to a different sector and save (without docking) before installing version 5.00.


Everything else about the mod:

Spoiler:  
Show


DESCRIPTION


Based on the original Recruitment Service by LitauenLitauen (and with permission) which added the recruitment NPC to Argon Prime, this mod adds the NPC to any station by creating a new room (so you can now declare war on Argon and hire crew from another faction's station). It also extends the featureset:

  • Players can choose to hire male, female or let the game decide by selecting "any available"
  • Limited to Argon crew members, sorry. Maybe a future update or another modder can add other races
  • Two additional models are now randomly selected so in addition to caucasian, also african and asian are possible (* see MODELS below)
  • Players can edit the XML to configure prices (* see CONFIG below)


HOW IT WORKS

When the player spawns (gamestart) or docks (passenger or as pilot) on any station / wharf / etc., the mod will attempt to create a room, spawn the NPC recruiter and add an option to the station transporter labeled 'Civilian Labor Force'. The old method of spawning the NPC in the manager's office stopped working for Teladi stations after X4 Timelines 7.00

Once you enter the office, speak to the NPC titled CLF Recruiter. She will ask you what type of crew you want, followed by what gender you prefer, followed by how many and finally which ship you want to place them in. This ship must be docked at the same station that you are on.

If you have enough money and space on the ship, the game will generate the appropriate number of crew and apply them to the ship.


MODELS

The models are randomly chosen by the game. The original version of the mod only used caucasian (race_cau) as the model type in the character macro. To preserve the changes to outfits, I didn't edit those macros except to add the ability for the game to choose african (race_afr) or asian (race_asi) as well.


CONFIG

This mod has a loose XML file in its 'MD' folder that contains the pricing for the different crew members. If you open the XML file in a text editor and search for the phrase: CHANGE BELOW values you will see instructions on how to change the prices. Note that this data can be found in two places. One is for when you start a new game and the other is for when you load a save game. They do not have to match but any changes you make to the save game numbers will override any values that were previously saved.

For example. If you set the new game section to 10,000cr and the save game section to 5,000cr then your price will be 10,000cr when you start a new game but when you save and reload the game it will be 5,000cr for every save/load unless you change the save game section again.

  • NOTE:  DO NOT change the "name=" parameter or the script will break. Only change the numbers under the "EXACT=" section (and include the "Cr")

INSTALLATION

Just place the folder 'recruitment_svc_ext' in your x4_game\extensions folder. This will work on Windows 7 even with the loose file in the MD folder



IN PROGRESS ( a guideline, no ETA)

  • 2021-03-31
    • Looking for better method of selecting ship
    • Reworking character selection (outfit, race, etc.) so you don't have so many copies of the same NPC



TODO (a "wishlist" of features, very low priority (possibly never...))

  • Add option to hire faction appropriate npc based on station (eg: Argon, Teladi, etc. instead of only Argon)
  • Find a better way to allow player to choose target ship. Currently the UI is limited to 5 choices without adding extra "more..." pages so the script only offers the first 5 ships you have docked at the station
  • Update voice assets. Currently using the ones from the original mod.



CHANGELOG AND KNOWN ISSUES

  •  Color Key - for reference

  •     NOTE: For colorblind readers, similar words will also use text to differentiate between the two types, eg: BUG (critical).
  •     NEW - added feature
  •     FIXED - something was broken, now it isn't. There should be a crossed out BUG in a previous entry with similar description
  •     BUG (critical) - A broken feature or one that produces unexpected results (may cause the mod to not function but won't break your game)
  •     BUG - A critical bug has been fixed
  •     BUG (annoy) - A feature that requires extra steps than intended to get expected results
  •     BUG - An annoyance has been fixed
  •     UPDATE - The new version uploaded with the fixes and new features listed for that entry

  • Latest Update (2021-08-05):

Spoiler:  
Show


  • UPDATE: This changelog is deprecated, please see the one at the top of the description page.



  • Previous Updates:

Spoiler:  
Show


2021-03-30

  • UPDATE: 2.0-BETA
  • Works with 4.0
  • Published a new version of the mod, see caution at the top of this page
  • I have had success with this version, following the instructions above but I am still working on the mod. I wanted to give people the
    opportunity to use it because I may be a bit slow with updates.
  • UPDATE: I have removed the download for 1.3.1 because of the bug listed below. After investigating it more, I felt it did not meet my standards as something that would quailfy for a workaround. The bug is potentially damaging late game after players have put too much time into their game.

2021-03-16


    I will fix this issue before the next release. I can't give a timeframe but over the past few days I've got about 1/3 there already, and I also fixed the ability for players to install the mod on a save that has never had it installed. Sorry and thanks for your patience.

2021-03-12

  • UPDATE: 1.3.1
  • FIXED: A bug where the in game "mod loaded" message didn't appear
  • Changed debug log directory
  • Updated included readme
  • BUG (critical): Available crew slots is reported incorrectly which may result in "not enough room" error when hiring crew
    Workaround: Hire a crew member, then promote them to pilot or move them to another ship, then hire more crew. This is important or it WILL break your ship's "crew info" screen from the map

2021-03-11

  • UPDATE: 1.3.0
  • NEW: Added ability for player to select gender of hired crew (or "any available" for random selection)
  • NEW: Added chance for additional skin types (caucasian (race_cau), african
    (race_afr), asian (race_asi)). NOTE: Currently only Argon models are used, these skin types are part of the base game

2021-03-07

  • UPDATE: 1.2.1
  • NEW: The NPC will attempt to spawn when the player starts on a station. You no longer need to undock/dock first
  • FIXED: A bug where the NPC wouldn't spawn if you weren't piloting the ship when docking
  • FIXED: A bug where loading a game sometimes resulted in the NPC not spawning until you docked at a new station

2021-03-06

  • FIXED: A Duplication bug. NPC should properly spawn now when you load a save or change sectors
  • FIXED: A bug where price changes weren't being applied when loading a save game
  • Uploaded new file and restored link (NOTE: I still have not changed version number of the mod itself)

2021-03-04

  • Temporarily removed download link
  • BUG (critical): When loading a saved game while on a  station, the NPC might be spawned
    and bugged. In this case she will say all her dialog lines when you click once to talk to her. Hiring one crew member results in hiring all crew to fill your ship instead of just one (and she charges you for each one).

2021-03-03

  • FIXED: File updated to fix broken debug output. If you downloaded before this date and want debug messages, download again
  • BUG(critical): If you don't start a new game, the mod should work but all hiring
    amounts are NULL so you end up getting free crew. This is due to how the game loads extensions and saved data. It doesn't matter if it is a loose or CAT version.

2021-03-02

  • Initial Release 1.2.0
  • NPC should spawn at all facilities, not just Argon, so now you can declar war on them and use the service from another faction's station