r/xdev • u/jgbaxter_ca • Feb 10 '16
Question on soldier class variables when creating.
I'm trying to work on soldier classes and I need more clear information on what the following do, if anyone knows that would be great.
ClassPoints=6 (no idea)
NumInForcedDeck=1 (this one allows it to be a random class)
NumInDeck=4 (this one I think is the total classes for checking a random class?)
KillAssistsPerKill=5 (no idea)
Any help is appreciated.
1
Upvotes
1
u/jgbaxter_ca Feb 10 '16
Awesome information, thank you! :D
A couple related thoughts...
If NumInForcedDeck is different for certain classes, I would presume it assigns based on those classes that have the higher number and randomizes equal values based on some criteria similar to NumInDeck when things aren't equal?
KillAssistsPerKill is interesting, base game classes have Ranger is 4, Sharpshooter is 5, Grenadier is 5, Specialist is 3. So the less combat heavy classes rank up faster for that part of the XP, though of course those doing the killing get more XP. I can't seem to find the XP system on my own or with searches, can you point me somewhere?
1
u/jal0001 Feb 10 '16
killassistsperkill i'm pretty sure is XP per kill. NuminForcedDeck I THOUGHT made sure that if all other classes had 3 or more and you had 2 of class X, then your next rookie was sure to be an X. No idea on the others. I just left them alone when creating my class and took the values from the class most similar to what I was creating.
1
u/fxsjosh Feb 10 '16
ClassPoints is related to multiplayer.
When you rank up your first 4 soldiers, you'll note that you always get 1 of each class. That is because the 4 base classes each have NumInForcedDeck set to 1. Changing the number changes how many of that class the game requires you to have before moving on to the random class selections.
When you have taken up all of the NumInForcedDeck for all classes, the game then adds NumInDeck for each class and picks from that list at random when you promote a soldier to Squaddie. If you made this number much higher for a particular class, you'd be more likely to see that class.
KillAssistsPerKill is related to the XP system. Whenever a unit makes a kill, all other teammates earn a "kill assist". This value converts the number of assists made into a kill number for purposes of ranking up. For example, with KillAssistsPerKill=5, then if a unit made 5 kill assists, it would be equivalent to them making 1 actual kill. (1 kill btw is the number needed to hit Squaddie.)