[MOD] AutoTrain
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
[MOD] AutoTrain
workshop link
dropbox
Ship&station crews gain skills while working.
If used together with AutoCrew, it will reduce the initial skills for auto-hired employees so there is space for improvement.
Skill gains can happen during
* patrol (captain, defence, engineer),
* general movement (captain/pilot),
* station daily work (manager, defence, specialist)
* trade (captain, engineer),
* full repair of a component (engineer)
* kills (defence)
Tested on 4.0 only
Skill increase should be relatively slow, but when installing the mod on a save with many employees you might get an initial flood of skillups. It will settle down once only new hirelings need to be trained.
If you feel it needs more balance drop me feedback (quite possible).
below the original discussion:
--------------------------------------------------------------------------------------------
I got curious if its possible to have NPCs get trained during everyday actions - so i put the code together, but i can't test and balance it reliably.
If anyone is willing to help with that let me know and ill upload a test version somewhere.
Idea is to train your ship crew automatically when they complete a task (a single skill gains one more star with a low chance).
Chances are a bit higher to increase the main skill (nav for captains, combat for DO). And having a used skill maxed will reduce chances for further trainings by about 30%.
Skills not used by the NPC will stay as they are.
* captain: 5% chance after finishing a generic move to order (used by most move and trade related commands)
* defence: 1-25% on enemy ship destruction
* engineer: 1% on completing repair of any component
It reduces AutoCrew's initial skill values (without depending on it) so optionally both can be used at the same time.
I mean it should work with ot without AC just as well.
dropbox
Ship&station crews gain skills while working.
If used together with AutoCrew, it will reduce the initial skills for auto-hired employees so there is space for improvement.
Skill gains can happen during
* patrol (captain, defence, engineer),
* general movement (captain/pilot),
* station daily work (manager, defence, specialist)
* trade (captain, engineer),
* full repair of a component (engineer)
* kills (defence)
Tested on 4.0 only
Skill increase should be relatively slow, but when installing the mod on a save with many employees you might get an initial flood of skillups. It will settle down once only new hirelings need to be trained.
If you feel it needs more balance drop me feedback (quite possible).
below the original discussion:
--------------------------------------------------------------------------------------------
I got curious if its possible to have NPCs get trained during everyday actions - so i put the code together, but i can't test and balance it reliably.
If anyone is willing to help with that let me know and ill upload a test version somewhere.
Idea is to train your ship crew automatically when they complete a task (a single skill gains one more star with a low chance).
Chances are a bit higher to increase the main skill (nav for captains, combat for DO). And having a used skill maxed will reduce chances for further trainings by about 30%.
Skills not used by the NPC will stay as they are.
* captain: 5% chance after finishing a generic move to order (used by most move and trade related commands)
* defence: 1-25% on enemy ship destruction
* engineer: 1% on completing repair of any component
It reduces AutoCrew's initial skill values (without depending on it) so optionally both can be used at the same time.
I mean it should work with ot without AC just as well.
Last edited by pref on Sun, 6. Mar 16, 23:00, edited 3 times in total.
-
- Moderator (English)
- Posts: 7519
- Joined: Tue, 30. Mar 04, 12:28
There's already a time-linked training mod, which pref may be aware of.
-
- Moderator (English)
- Posts: 7519
- Joined: Tue, 30. Mar 04, 12:28
I dunno if it could be useful but the following might offer hooks for Managers and free traders (Captain, Pilot):
http://forum.egosoft.com/viewtopic.php?t=355582• Beta 6 Added money statistics for employees (improves feature introduced in 4.00).
Well, it kinda works so far. Getting a more or less balanced growth on all npc roles.
Maybe too fast, not sure on speed.
workshop link
Maybe too fast, not sure on speed.
workshop link
-
- Posts: 1055
- Joined: Sat, 3. Mar 12, 20:58
Hi pref!
Sorry for the dumb question, but the skills crew as they result in actual game? I have not understood the difference between them. What change?
If they have a big impact on ship movements, I recommend using a range time equivalent to 300+ hours to go from 0 to 5. My game lasts 700+ hours and if the skills bring an economic advantage too large, it is good to balance their rise more slowly as possible.
example:
I buy 50 employees at the beginning the game with 1/2 stars and use them for my ships and stations. If skills have a major advantage, not good to have five stars after 30 hours of gameplay. It 'good to have 5 stars after 300 hours of gameplay. By doing so you know that you need 300+ hours of gameplay to maximize skills. This would be very similar to the time necessary to obtain X3 marine 5 stars
In your case you make use of percentages rather than seconds, so if you want to balance good, keep these chances very very low.
example:
if an employee takes a big advantage (sells very fast, quickly destroys many enemies, etc), will have lots of chances to increase their skills. Here, this should not happen. If you count ship operations for "chance", just apply a very very low percentage for it to happen. So "1 star random skill chance" happens every five or six hours maybe.
Sorry but I do not know English well, I hope I explained well!
Bye!
Sorry for the dumb question, but the skills crew as they result in actual game? I have not understood the difference between them. What change?
If they have a big impact on ship movements, I recommend using a range time equivalent to 300+ hours to go from 0 to 5. My game lasts 700+ hours and if the skills bring an economic advantage too large, it is good to balance their rise more slowly as possible.
example:
I buy 50 employees at the beginning the game with 1/2 stars and use them for my ships and stations. If skills have a major advantage, not good to have five stars after 30 hours of gameplay. It 'good to have 5 stars after 300 hours of gameplay. By doing so you know that you need 300+ hours of gameplay to maximize skills. This would be very similar to the time necessary to obtain X3 marine 5 stars

In your case you make use of percentages rather than seconds, so if you want to balance good, keep these chances very very low.
example:
if an employee takes a big advantage (sells very fast, quickly destroys many enemies, etc), will have lots of chances to increase their skills. Here, this should not happen. If you count ship operations for "chance", just apply a very very low percentage for it to happen. So "1 star random skill chance" happens every five or six hours maybe.
Sorry but I do not know English well, I hope I explained well!
Bye!
Specification:
CPU: Core i7 6700k @ 4.0Ghz - Mobo: MSI Z170A-G43 PLUS - RAM: 4x4GB Cricial Ballistix Sport DDR4 2400Mhz - GPU: Zotac nVidia GTX970 4GB GDDR5 - SSD: Samsung 840 Pro 256GB – HDD WD Caviar Black 1TB – HDD WD Caviar Blue 1TB – HDD WD Caviar Black 2TB - Alimentatore: Enermax Liberty 620w - Case: iTek Iron Soldier - Monitor: 24” Asus VS247NR - Windows 10 Pro 64-Bit - Tastiera: Logitech G15 – Mouse: Red Dragon Perdition
Xenon Love! \#/ 
CPU: Core i7 6700k @ 4.0Ghz - Mobo: MSI Z170A-G43 PLUS - RAM: 4x4GB Cricial Ballistix Sport DDR4 2400Mhz - GPU: Zotac nVidia GTX970 4GB GDDR5 - SSD: Samsung 840 Pro 256GB – HDD WD Caviar Black 1TB – HDD WD Caviar Blue 1TB – HDD WD Caviar Black 2TB - Alimentatore: Enermax Liberty 620w - Case: iTek Iron Soldier - Monitor: 24” Asus VS247NR - Windows 10 Pro 64-Bit - Tastiera: Logitech G15 – Mouse: Red Dragon Perdition


Thanks! I try to provide a slow growth, and plan to drop skill chances a little further once they are balanced compared to eachother.
Currently with a loop of fabs taking one page in the property list operating 30 ships drops an increase every couple minute (100+ employees).
The frequent events that happen every few mins have a 1-5% chance to trigger a skill increase.
Skills in general result in better pathing, combat moves and things like that.
It has no huge economic impact, rather how well ships move, or if they jump without fuel, or how they use missiles for ex. It mostly affects general speed of command execution, or in zone behaviour as i saw.
Currently with a loop of fabs taking one page in the property list operating 30 ships drops an increase every couple minute (100+ employees).
The frequent events that happen every few mins have a 1-5% chance to trigger a skill increase.
Skills in general result in better pathing, combat moves and things like that.
It has no huge economic impact, rather how well ships move, or if they jump without fuel, or how they use missiles for ex. It mostly affects general speed of command execution, or in zone behaviour as i saw.
What for? Does not the mod work without it?
Code: Select all
<dependency id="ws_604564648" optional="true" name="AutoCrew" />
As far as i know, optional dependencies only affect load order. So, if AutoCrew and AutoTrain were ever installed together, that line would make sure that AutoTrain would be loaded after AutoCrew.alexalsp wrote:What for? Does not the mod work without it?Code: Select all
<dependency id="ws_604564648" optional="true" name="AutoCrew" />