[QUESTION] How are combinedskill calculated ?

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
User avatar
RedEclipse
Posts: 1269
Joined: Sat, 11. Sep 04, 16:43
x4

[QUESTION] How are combinedskill calculated ?

Post by RedEclipse » Mon, 26. May 14, 20:50

I tried to search before but ... :p

How different NPC's combinedskill is calculated ?

I would want to work with new skill combinaison, I'd like to know what I'm dropping before.
eg, for ingeneers :
Repair = (Ingeneering * 3 + Science * 2 + Morale) / 6
Analyse = (Ingeneering * 2 + Science * 3 + Morale) / 6

And so on (maybe).
-edit- would do :

Code: Select all

	  <set_value name="$RE_TechnicalSkill" exact="((this.defensible.engineer.skill.engineering * 5) + (this.defensible.engineer.skill.science * 4) + (this.defensible.engineer.skill.morale * 3) + (this.defensible.engineer.skill.management * 2) + this.defensible.engineer.skill.leadership) / 15"/>
	  <set_value name="$RE_AnalyseSkill" exact="((this.defensible.engineer.skill.science * 5) + (this.defensible.engineer.skill.management * 4) + (this.defensible.engineer.skill.morale * 3) + (this.defensible.engineer.skill.engineering * 2) + this.defensible.engineer.skill.leadership) / 15"/>
	  <set_value name="$RE_DroneSkill" exact="((this.defensible.engineer.skill.engineering * 5) + (this.defensible.engineer.skill.leadership * 4) + (this.defensible.engineer.skill.morale * 3) + (this.defensible.engineer.skill.navigation * 2) + this.defensible.engineer.skill.combat) / 15"/>
That makes ingeneers having most important skills in :
engineering (12x)
science (9x)
morale (9x)
management (6x)
leadership (6x)
navigation (2x)
combat (1x)
And boarding is left untested.
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.

User avatar
RedEclipse
Posts: 1269
Joined: Sat, 11. Sep 04, 16:43
x4

Post by RedEclipse » Tue, 27. May 14, 10:53

This is hardcoded... May a gameplay dev answer to this, please ? I tried 2 hours yesterday figuring how it was.

Many, many thanks.
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.

CBJ
EGOSOFT
EGOSOFT
Posts: 51919
Joined: Tue, 29. Apr 03, 00:56
x4

Post by CBJ » Wed, 28. May 14, 10:40

The relevance of each skill depends on the type of NPC. For example for a pilot there's a ratio of 5:3:2 for navigation, combat and morale, and for an architect it's 3.5:3.5:3 engineering, management and navigation. For an engineer the only relevant skill is, as you might expect, engineering.

User avatar
RedEclipse
Posts: 1269
Joined: Sat, 11. Sep 04, 16:43
x4

Post by RedEclipse » Wed, 28. May 14, 10:55

Ok, many, many, many thanks :)
Combined is used for commanders and defense officers aswell, it's the same as pilots ?
How morale gets in the equation ?

So, there's some skill some "NPC class" don't care at all (yet) ? I know fees are calculated based on combinedskill, maybe a problem would be skill spread by origin : for example an ingeneer coming from Albion gets 2-5 in engeneering, but other "bonus" in other skills that the player don't care. Well... I'll change this too :)
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.

CBJ
EGOSOFT
EGOSOFT
Posts: 51919
Joined: Tue, 29. Apr 03, 00:56
x4

Post by CBJ » Wed, 28. May 14, 11:26

Commanders are 4:3.5:2.5 for leadership, navigation and morale; defence officers are 4.5:3.5:2 for leadership, combat and morale. Morale is just another "skill" value that each NPC has. Skills ranges are defined in the characters.xml file, and which characters are used where is defined in charactergroups.xml. Please note that the exact numbers used in the combined skill calculation may be subject to change without notice.

User avatar
RedEclipse
Posts: 1269
Joined: Sat, 11. Sep 04, 16:43
x4

Post by RedEclipse » Wed, 28. May 14, 12:05

Fine :)
If you change this, it would be cool to document because when I crawled the web for answers, I saw a lot of people asking "what skills does" questions.
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.

User avatar
spankahontis
Posts: 3242
Joined: Tue, 2. Nov 10, 21:47
x4

Post by spankahontis » Wed, 26. Nov 14, 21:45

Yeah, be good if low morale could cause Mutiny's, the lower it is the higher the chance.
Ragna-Tech.. Forging a Better Tomorrow!

My most annoying Bugs list 6.0 Beta 4 + [All DLC]
--------------------------------
Nvidium Worshop Animation Enlarge Broken :(
Building Modules causes low frame rate :o
Massive Framerate drops freezing game! :doh:
Save Corrupted Fixed the Crash! :-D

HailedGorion
Posts: 38
Joined: Sun, 2. Jan 11, 18:35
x3tc

Post by HailedGorion » Thu, 27. Nov 14, 02:44

We definetly should have these info in some kind of tutorial.

Not the values specific, but at least which skills value the most to each type of character.

I never would imagine that defence officers care for leadership attributes and that morale did not affect engineers. =s

Anyhow, good to know now.

Ebron
Posts: 276
Joined: Thu, 13. Mar 08, 20:41
x4

Post by Ebron » Thu, 27. Nov 14, 09:15

In a indirect way you already have that information. When you open the skillset of a NPC, the skills are in order of importance an the ones that are highlighted are those that contribuits to the final score

HailedGorion
Posts: 38
Joined: Sun, 2. Jan 11, 18:35
x3tc

Post by HailedGorion » Thu, 27. Nov 14, 15:47

Ebron wrote:In a indirect way you already have that information. When you open the skillset of a NPC, the skills are in order of importance an the ones that are highlighted are those that contribuits to the final score
Uhmm... I swear I've never noted any highlighted attributes over there. Since I am not at home I can't check this now for myself, but I'll certainly do it later.

Anyhow, I took the liberty to write a simple small guide regarding these precious info.

http://steamcommunity.com/sharedfiles/f ... =347300084

Any feedback/critics would be welcome. If I got myself equivocate with any of the presented info, plz just leave me a comment and I'll fix it.

In addition, does anybody know the attributes ratio for the specialists and marine officers?

Best Regards,

HG

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp » Fri, 28. Nov 14, 08:57

Looks nice and clear to me.

The highlighting is on the stars - important ones are drawn in bold.

EuRoKa
Posts: 402
Joined: Fri, 17. Oct 08, 13:41
x4

Post by EuRoKa » Fri, 28. Nov 14, 18:32

But is there somewhere an overview how the stars affect the NPC's behaviour? I heard that a capatin needs more time to activate his boosters and such. What happens if I hire a 3 star pilot to a gigurum? Is he somehow not trading as fast as a 4 star? Is there also a meaning behind the skills or does it all end up in a final score that will do ...? I mean is it possible that a bad navigation skill ends up in fliying against asteroids? If the particular skill is relevant, how does it differ in managers or pilots? Will a manager's low skill influence a cpatain's high skill? Sorry for so many questions :)
XR Station Match Finder 1.1 <-- check ideal station combinations (for best use of mass-traffic)/production/resources + ware finder.

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp » Fri, 28. Nov 14, 18:52

No problem! However, I am not aware of answers to them on the forum. I think that quote from CBJ is the most detailed thing I have seen so far.

dez505
Posts: 172
Joined: Wed, 6. Nov 02, 20:31
x4

Post by dez505 » Mon, 15. Dec 14, 13:34

EuRoKa wrote:But is there somewhere an overview how the stars affect the NPC's behaviour? I heard that a capatin needs more time to activate his boosters and such. What happens if I hire a 3 star pilot to a gigurum? Is he somehow not trading as fast as a 4 star? Is there also a meaning behind the skills or does it all end up in a final score that will do ...? I mean is it possible that a bad navigation skill ends up in fliying against asteroids? If the particular skill is relevant, how does it differ in managers or pilots? Will a manager's low skill influence a cpatain's high skill? Sorry for so many questions :)
Would love to have this answered :P

architects! how do the skills effect what they do...

Post Reply

Return to “X Rebirth - Scripts and Modding”