[MOD] NPCs Gain XP
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
[MOD] NPCs Gain XP
Employees slowly gain experience.
Details:
Each hour all your employees have the chance to improve one random skill by 1 star.
The maximum reachable skill level is 4.
You have to earn the fifth star vanilla style (virtual seminar).
Steam link: http://steamcommunity.com/sharedfiles/f ... earchtext=
Thanks to:
*w.evans
*UniTrader
*lubatomy
*YorrickVander
*wysiwyg
Version:
*0.9
Known issues:
*None.
Mod Incompatibilities:
*None.
X:RB Version
*working for 3.2, 3.5
*should work with all other versions of the game as well
Savegame compatible:
*Yes
Future work:
*Balancing.
*I might change the mod so that employees have to actually do something to imrpove their skills.
E.g. enigneers would have to repair a certain amount of components/hull points to gain the next level.
Feedback and bugreports are welcome.
Details:
Each hour all your employees have the chance to improve one random skill by 1 star.
The maximum reachable skill level is 4.
You have to earn the fifth star vanilla style (virtual seminar).
Steam link: http://steamcommunity.com/sharedfiles/f ... earchtext=
Thanks to:
*w.evans
*UniTrader
*lubatomy
*YorrickVander
*wysiwyg
Version:
*0.9
Known issues:
*None.
Mod Incompatibilities:
*None.
X:RB Version
*working for 3.2, 3.5
*should work with all other versions of the game as well
Savegame compatible:
*Yes
Future work:
*Balancing.
*I might change the mod so that employees have to actually do something to imrpove their skills.
E.g. enigneers would have to repair a certain amount of components/hull points to gain the next level.
Feedback and bugreports are welcome.
Last edited by oliverjanda on Thu, 12. Mar 15, 18:49, edited 4 times in total.
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
Re: [MOD] NpcsGainXp
Just to clarify: completely random? So a fighter pilot can, for example, gain a skill point in Science?oliverjanda wrote:Each hour all your employees have the chance to improve one random skill by 1 star.
When every employee starts with 0 stars, then it needs 28hours to max (4*) everything?
Can I lower this value somehow?
Can I lower this value somehow?
Code: Select all
Und wenn ein Forenbösewicht, was Ungezogenes spricht, dann hol' ich meinen Kaktus und der sticht sticht sticht.
/l、
゙(゚、 。 7
l、゙ ~ヽ /
じしf_, )ノ
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
Re: [MOD] NpcsGainXp
Yes, I wanted to keep the first version as simple and generic as possible.w.evans wrote:Just to clarify: completely random? So a fighter pilot can, for example, gain a skill point in Science?oliverjanda wrote:Each hour all your employees have the chance to improve one random skill by 1 star.
It will actually take longer.Tamina wrote:When every employee starts with 0 stars, then it needs 28hours to max (4*) everything?
Can I lower this value somehow?
You can loger this value: checkinterval="1h"
Indirectly, yes. As I choose the skill randomly, there is a chance I choose one that's already at 4 or 5 stars and then nothing happens. The more 4s and 5s a character has the higher the chance that nothing happens is.Sparky Sparkycorp wrote:Each hour there is a chance of a level-up so duration will be scaled up by the chance.
Last edited by oliverjanda on Sat, 7. Mar 15, 16:12, edited 2 times in total.
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
Re: [MOD] NpcsGainXp
Cool! Now that there's a way to increase non-primary skills, we can use them for stuff. Been wanting to play around with captains' and defence officers' combat skill.oliverjanda wrote:Yes, I wanted to keep the first version as simple and generic as possible.w.evans wrote:Just to clarify: completely random? So a fighter pilot can, for example, gain a skill point in Science?oliverjanda wrote:Each hour all your employees have the chance to improve one random skill by 1 star.
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
- werewolves?
- Posts: 1166
- Joined: Tue, 31. Jan 12, 00:58
Same herewerewolves? wrote:This is cool, it doesn't seem like a cheat either.
Thanks oliverjanda for this mod
OS:MS Windows 10 Pro x64 / Cpu: AMD-FX Piledriver 8350 @4.0Ghz / Mb:GA-990FXA-UD3 / Memory:16Gb DDR3 Crucial Ballistix Tactical @1866
Gpu:Gigabyte Nvidia 770GTX 4GB GDDR5 / Storage:Crucial RealSSD M4 128GB System, WD Caviar Green 2TB HD Data & Games / Display:24" Asus VG248 1920 x 1080 @144Hz + Nvidia 3D Vision Kit
Input Devices:Razer Deathstalker / Razer Oruoboros / Thrustmaster Hotas Warthog / BroadBand:EE 4GEE MobileBroadBand (50Gb PCM)
Gpu:Gigabyte Nvidia 770GTX 4GB GDDR5 / Storage:Crucial RealSSD M4 128GB System, WD Caviar Green 2TB HD Data & Games / Display:24" Asus VG248 1920 x 1080 @144Hz + Nvidia 3D Vision Kit
Input Devices:Razer Deathstalker / Razer Oruoboros / Thrustmaster Hotas Warthog / BroadBand:EE 4GEE MobileBroadBand (50Gb PCM)
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
Hi oliverjanda,
As a suggestion, some random addition to the code will make it yet better. Something like this:
This way each npc will have an individual chance of 33% per 1h cycle.
Cheers!
As a suggestion, some random addition to the code will make it yet better. Something like this:
Code: Select all
<set_value name="$chance" min="1" max="3"/>
<do_if value="$npc.skill.{$chosenSkill} lt 4 and $chance == 2">
Cheers!
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
Hi,Rubini wrote:Hi oliverjanda,
As a suggestion, some random addition to the code will make it yet better. Something like this:
This way each npc will have an individual chance of 33% per 1h cycle.Code: Select all
<set_value name="$chance" min="1" max="3"/> <do_if value="$npc.skill.{$chosenSkill} lt 4 and $chance == 2">
Cheers!
thanks for your suggestion. I'm considering it when I have finished my other 2 mod ideas.
There is already some randomness in choosing the skill.
If the chosen skill is already at 4, there will be no improvement.
Thus, gaining the last star is much more difficult than the first one.
A character without 4 star abilities has a 100% chance of leveling up at the next cylce. A character that has only 5 star abilities but one 3 star ability has a chance of about 15%.
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
Thanks for your feedback!wwdragon wrote:I like the idea of training my guys skills automatically.
I don't like that it's limited to 4 stars; maybe make it changable in your config?
I dislike the training non-primary skills; they'd really just be doing their jobs on my ship, not the rest of it.
I did it this way because it was the easiest way to do it.
I may change it to gaining only the primary skills and/or to actually have to earn the skills someday.
I do not intend to let them increase to 5 stars as that would make things too easy. If you want your employees trained to 5 stars you can take a look a my virtual seminar craftig mod:
http://forum.egosoft.com/viewtopic.php?t=378237
Interesting. I'll have to remember that one for later.oliverjanda wrote:Thanks for your feedback!wwdragon wrote:I like the idea of training my guys skills automatically.
I don't like that it's limited to 4 stars; maybe make it changable in your config?
I dislike the training non-primary skills; they'd really just be doing their jobs on my ship, not the rest of it.
I did it this way because it was the easiest way to do it.
I may change it to gaining only the primary skills and/or to actually have to earn the skills someday.
I do not intend to let them increase to 5 stars as that would make things too easy. If you want your employees trained to 5 stars you can take a look a my virtual seminar craftig mod:
http://forum.egosoft.com/viewtopic.php?t=378237
Pitty I havn't been able to win a single skill book the entire time I've been playing though.
Editing posts since long before I remember.
Maybe have it so they earn appropriate, skills doing their jobs but the player has to pay to "promote" them - though an option for automatic promotions would be needed when you have 100's of staff like many of us have late-game
Also, Captains actively flying around, Defence Officers shooting stuff and Engineers repairing should, ideally, see them gain experience faster. Just sitting idly in a spare ship parked up somewhere should really contribute to their level - obviously a much more challenging coding task of course!
Great idea though, and I think something ES originally intended (or at least spoke about) in the dim and distant past before release.
Scoob.
Also, Captains actively flying around, Defence Officers shooting stuff and Engineers repairing should, ideally, see them gain experience faster. Just sitting idly in a spare ship parked up somewhere should really contribute to their level - obviously a much more challenging coding task of course!
Great idea though, and I think something ES originally intended (or at least spoke about) in the dim and distant past before release.
Scoob.
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47