project-navigation
Personal tools

Author Topic: Updating soldier stats  (Read 11568 times)

wolf-the-white

  • Guest
Updating soldier stats
« on: December 28, 2007, 10:04:51 pm »
As the soldiers start with quite low values now they need to get better while playing. (rev 13697)

At the moment  there is a counter for kills for each weapon-type and after a certain amount of kills the skill raises(i think it gets the same points as it needs to triger this).
I made a test and it seems to work, but I am not sure if the counter is kept for the next missions. My test said that it is not the case.(someone should check this)

But I think perhaps it would be nicer to make it more randomly. So for each kill the possibility to raise some skills. e.g. for a kill with close skill
40% to get 2 more points in close skill
15% to get 1 more point in acc
15% to get 1 more point in speed
etc

With this possibiliies it would be easy to make later more complex additions. E.g. higher probablitity for 1st kill of a kind and perhaps less if he killed already a lot of them ... same could apply for the used weapon (less influrnce)

To avoid playing the same mission again and again for higher stats, the random numbers could be made in advance for the next 15 kills? And be part of the savegame.

Well let's hear other opinions


regards
WOLF

Surrealistik

  • Guest
Re: Updating soldier stats
« Reply #1 on: December 28, 2007, 10:28:39 pm »
I don't like the addition of randomness. Ideally the advancement of the accuracy and weapon proficiency stats should depend on:

A: The difficulty of a shot made (as determined by estimates). The more difficult, the greater the 'experience' a successful shot will award for the progression of its respective stats. This makes sense. You should not be awarded a slew of experience in accuracy or weapon use for doing something as skilless as spamming your minigun on full auto at point blank range.
 
B: The type of skill used (of course).

Furthermore a kill should not be a requirement for earning experience towards progression. Successful non-terminal hits should also award experience, although not as much. Experience awarded per hit may also be modified per weapon/fire mode (so low damage full auto weapons and shotties cannot be abused to increase experience excessively).
« Last Edit: December 28, 2007, 10:38:56 pm by Surrealistik »

wolf-the-white

  • Guest
Re: Updating soldier stats
« Reply #2 on: December 29, 2007, 02:23:54 pm »
Well i am not perfecly sure about the current code but, as i undrstood it there is a random in the amount you get if the increase is triggered. And in the same function the progress is made slower for higher skills.

@surrealistik:
 i see there great balancing problems between the diff.weapons ...and in addition i don't want ppl do difficult shot over easy ones just for the skill... i think this kind of training should be placed in the base.

Experience though little on hits alone might be exploitable if the target is healable.

Well perhaps  BTAxis can tell us how he(hope i am right there ;) ) has planned it .

Surrealistik

  • Guest
Re: Updating soldier stats
« Reply #3 on: December 29, 2007, 06:42:22 pm »
The advantage of the realistic approach, awarding more experience for more difficult shots, not only satisfies concerns of plausibility, but also prevents stat progression from occuring overtly quickly. While it is theoretically exploitable if you go through all the trouble to keep a target alive with medikits, and incapacitated with flashbangs, that is a negligible concern, especially if caps are involved on individual missions. Furthermore, medikits may be rendered unusable on the aliens.

Some randomness in so far as the extent or scope of progression is tolerable, especially if it's minor, but the idea that a soldier has only a random chance of honing/developing his skill from a successful attack seems a bit silly, especially when this randomness does not consider the difficulty involved with landing that attack.

Punkiee

  • Guest
Re: Updating soldier stats
« Reply #4 on: January 03, 2008, 10:27:59 am »
The more difficult, the greater the 'experience' a successful shot will award for the progression of its respective stats.

A soldier pelting at his enemies from miles away with shots from the hip will thus learn more (experience) then a soldier sneaking up closer to aim the bullet exactly in the kissers. Does not make sense to me. This method is too simple to represent reality close enough in all possible scenarios while keeping it playable.

Only counting kills is a method complying with KISS (keep it simple, stupid) and archives almost the same. Furthermore it is less exploitable. Calculating with hits/shots/damage might improve balance here.

I doubt that randomness in rewards will improve gameplay.

Offline brackxs

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: Updating soldier stats
« Reply #5 on: January 08, 2008, 11:08:15 am »
i think rewarding extraordinary good results in a skill with advancement in capabilities is only one side of the coin. more often you learn from failure as much as from success.

(can you imagine to learn a lot from a lucky shot? i can't.)

usually the (unaided) learning speed in some completely new skill is as follows:

* one usually has some "inherent" probability of success, applying the skill untrained
* when new to a skill you experiment rather than train the skill since you don't even know how to perform the skill perfectly. this is rather slow and you learn mostly from success (which is rather rare).
* you find out how to perform the skill. you learn now more rapidly and you learn as much from success as from failure.
* you perfect the skill. you learn mostly from failure (which is rather rare)

so seemingly a realistic function for learning must depend on both success and failure. the easiest way to implement this is the use of two flags for each skill: one flag denoting successfull usage of the skill while the other denotes the faulty usage of a skill. after each usage of the skill check if this was faulty/neutral/successfull and set the according flag to one. if both falgs are one, increase the skill infinitesimally and reset the flags.

Surrealistik

  • Guest
Re: Updating soldier stats
« Reply #6 on: January 08, 2008, 07:02:37 pm »
Quote
A soldier pelting at his enemies from miles away with shots from the hip will thus learn more (experience) then a soldier sneaking up closer to aim the bullet exactly in the kissers. Does not make sense to me. This method is too simple to represent reality close enough in all possible scenarios while keeping it playable.

So, discharging a full auto weapon at close range is supposed to result in more accuracy experience for example, than an aimed shot at a long distance? And the example you've provided does make sense, because the latter isn't going to enhance one's accuracy as it doesn't require any whatsoever, whereas firing at your enemies, and hitting at long range with snap shots is exceptionally skillful, requires accuracy, and contributes to its development. When you hit an opponent at such ranges, you come to recognize associated techniques which will improve one's ability to aim. While the method is simplistic, it is accurate enough.

Quote
Only counting kills is a method complying with KISS (keep it simple, stupid) and archives almost the same. Furthermore it is less exploitable. Calculating with hits/shots/damage might improve balance here.

Only counting kills is grossly inaccurate. While it may be less exploitable, the exploitability of a hit based system can be largely negated by applying weapon/fire mode experience modifiers. This way, high volume of fire weapons (especially those which feature low projectile damage) contribute much less experience per shot, than others such as the sniper rifle.

Quote
so seemingly a realistic function for learning must depend on both success and failure. the easiest way to implement this is the use of two flags for each skill: one flag denoting successfull usage of the skill while the other denotes the faulty usage of a skill. after each usage of the skill check if this was faulty/neutral/successfull and set the according flag to one. if both falgs are one, increase the skill infinitesimally and reset the flags.

I do agree that failed attempts should play a role of some sort. However I'm not so sure if success and failure should be equally weighed like this. Generally, one can learn much more from success than from failure. Failure tells you what not to do. Success tells you what to do. Even if you are successful purely because of luck, careful analysis of that lucky shot will often reveal a number of factors and techniques, inadvertant or otherwise, that contributed to a favourable outcome. Personally I feel that missed shots (assuming you have a viable target and are not just firing at a wall per say) which have a reasonable probability of success (to prevent exploitation) should result in a minor amount of experience.
« Last Edit: January 08, 2008, 07:09:33 pm by Surrealistik »

Punkiee

  • Guest
Re: Updating soldier stats
« Reply #7 on: January 09, 2008, 08:59:05 pm »
So, discharging a full auto weapon at close range is supposed to result in more accuracy experience for example, than an aimed shot at a long distance?
I never said that. And it is not correct too. Spraying does give you experience,.... in spraying. Aiming gives you experience,... in aiming.
Weaponfire mode is a function of the distance and gives you an associated chance to hit. As such the chance to hit someone is associated with the weaponmode you are using in a given situation. And thus the reward shouldnt be related to the probability of the hit, but with the firemode. Because the chance to hit is associated with it, you dont need to take the distance or chance to hit another time into account with the reward, because it already IS related to it.

Quote
Only counting kills is grossly inaccurate. While it may be less exploitable, the exploitability of a hit based system can be largely negated by applying weapon/fire mode experience modifiers.
see my remark above. Because the modifier already is taken into account, adding the factor to equation another time and rebalancing will have the same effect as rebalancing the modifiers the current method, without all the fuzz.

Surrealistik

  • Guest
Re: Updating soldier stats
« Reply #8 on: January 09, 2008, 10:57:20 pm »
Quote
I never said that. And it is not correct too. Spraying does give you experience,.... in spraying. Aiming gives you experience,... in aiming.

Spray and pray at close range does very little to improve one's skill in any respect. Further to cite the specific example you are talking about, aiming at a distance does require more skill, and thus results in more skill when done successfully as opposed to at point blank range. That is undeniable. While my initial response did not address your theoretical situation verbatum, the same idea applies; you are essentially arguing that someone who does something that is much less skill intensive, and that definitively features much less room for improvement should benefit from the same increase in experience as someone who does the inverse. That is nonsensical of course.

Quote
Weaponfire mode is a function of the distance and gives you an associated chance to hit. As such the chance to hit someone is associated with the weaponmode you are using in a given situation. And thus the reward shouldnt be related to the probability of the hit, but with the firemode. Because the chance to hit is associated with it, you dont need to take the distance or chance to hit another time into account with the reward, because it already IS related to it.

Here's the problem with this perspective. It doesn't factor in the shooter's existing skill. The percentage probability does. Obviously, a crackshot doesn't have as much to learn from a particular shooting experience as a greenhorn rookie, regardless of firemode. It is obvious that there isn't much to learn from a shot that features a 95% hit probability as opposed to one which features a 40% hit probability.

Quote
see my remark above. Because the modifier already is taken into account, adding the factor to equation another time and rebalancing will have the same effect as rebalancing the modifiers the current method, without all the fuzz.

I don't see your point here, although this may be due to a lack of clarity in the writing. The existing system certainly does not model skill improvements nearly as accurately as one that awards experience for successful shots and certain misses, even if we factored in modifiers that reflect weapon accuracy. This is precisely because most shots, whether they are hits or misses, whether terminal or not, help develop skill. It is further important if we are going this route, as we should, that in addition to a probability based experience modifier, a weapon specific one applies as well. For example without such modifiers, we might have a grossly inaccurate, but fast firing pea shooter, such as the flechette loaded Riot Shotgun, Grenade Launcher or Minigun, resulting in a great deal of undeserved experience in accuracy and weapon skill. This is because:

A: Experience bonuses are sensibly awarded in an amount proportional to the difficulty of the shot, and these weapons compensate for inaccuracy with their rate of fire.

B: Each missed shot contributes a certain amount of experience.

C: These weapons can be used repeatedly on armored targets.

As a result, weapon and firemode specific experience modifiers must be implimented. Having missed shots contribute an amount of experience inversely proportional to the difficulty of the shot (because you can generally learn more from failures when you are already skilled, whereas when unskilled you learn more from success since you lack understanding of fundamental techniques) may be a sensible approach that would help mitigate this problem from a hit probability perspective, but alone, this measure would be insufficient.
« Last Edit: January 09, 2008, 10:59:42 pm by Surrealistik »

Punkiee

  • Guest
Re: Updating soldier stats
« Reply #9 on: January 11, 2008, 04:13:50 pm »
...you are essentially arguing that someone who does something that is much less skill intensive, and that definitively features much less room for improvement ...
Nope, i cant see it. In what manner did I say that?

Spray and pray at close range does very little to improve one's skill in any respect.
Using spray and pray improves your skill in spraying and praying. Exercise results in mastery. Aiming will result in more skill in aiming, not is spraying and praying. In your example, there are 2 diferent skilltypes (close comat vs accuracy) and 2 different weaponmodes (aimed shot vs auto).

Quote
Here's the problem with this perspective. It doesn't factor in the shooter's existing skill. The percentage probability does. Obviously, a crackshot doesn't have as much to learn from a particular shooting experience as a greenhorn rookie, regardless of firemode. It is obvious that there isn't much to learn from a shot that features a 95% hit probability as opposed to one which features a 40% hit probability.
That a pro learns as much (in xp points) from a kill/shot as a newbie (while you argue it shouldnt) is not a problem if and only if there is another mechanism that compensates for it. And that mechanism might very well be the nonlinear experience required to reach the next level in skill proficiency. 1st level: 500 points, 2nd level 1500 points, 3th level 5000 points, etc. This mechanism is used in almost every game and i cant recall readily a game that features a different approach. Therefore with such a mechanism the shooters existing skill is irrelevant.

Quote
For example without such modifiers, we might have a grossly inaccurate, ...

I see the introduction of this mechanism as a source of unbalanced skilleveling. You see the absence of it as a problem for unbalanced skilleveling. Currently the situation is that there is no such mechanism. Please give us an example that currently results in unbalanced skilleveling. If you think weapon and firemode give rise to unbalanced skilleveling (and thus should have an explicit modifier) then please give an example.

Surrealistik

  • Guest
Re: Updating soldier stats
« Reply #10 on: January 11, 2008, 11:45:48 pm »
Quote
Nope, i cant see it. In what manner did I say that?

Quote
A soldier pelting at his enemies from miles away with shots from the hip will thus learn more (experience) then a soldier sneaking up closer to aim the bullet exactly in the kissers. Does not make sense to me.

Here you are effectively saying that a soldier who does something particularily skill intensive should receive the same amount of experience as a soldier who does not, as it does not make sense to you that the reward for doing the former should be greater than that for the latter.

Quote
Using spray and pray improves your skill in spraying and praying. Exercise results in mastery. Aiming will result in more skill in aiming, not is spraying and praying. In your example, there are 2 diferent skilltypes (close comat vs accuracy) and 2 different weaponmodes (aimed shot vs auto).


There's a reason it's called spray and pray. The reason? Because you effectively give aim and control over to chance largely (hence the 'pray' component), in exchange for superior albeit inaccurate firepower (hence the 'spray' component). Consequently, because of the prominence in chance, skill plays a consequently inferior role. The implication of this of course, is that there's little actual skill development that results. Spray and pray is by no means skill intensive. It's inherant in the name, as well as the practice. The fact that it may or may not draw on differing skills (assault would be more appropriate than close combat) is irrelevant to my statement. The fact remains that the action does not, and should not contribute much to skill development.

Quote
That a pro learns as much (in xp points) from a kill/shot as a newbie (while you argue it shouldnt) is not a problem if and only if there is another mechanism that compensates for it. And that mechanism might very well be the nonlinear experience required to reach the next level in skill proficiency. 1st level: 500 points, 2nd level 1500 points, 3th level 5000 points, etc. This mechanism is used in almost every game and i cant recall readily a game that features a different approach. Therefore with such a mechanism the shooters existing skill is irrelevant.

This solution is insufficient because while it may account for skill discrepancies between various soldiers, it does not account for the skill and improvement potential discrepancies between individual shots. As stated, there is much more to learn from a shot with an estimated 40% success rate, versus one with an 95% success rate. Under this model, a soldier would inappropriately receive an equal amount of experience for succeeding at each.

Quote
I see the introduction of this mechanism as a source of unbalanced skilleveling. You see the absence of it as a problem for unbalanced skilleveling. Currently the situation is that there is no such mechanism. Please give us an example that currently results in unbalanced skilleveling. If you think weapon and firemode give rise to unbalanced skilleveling (and thus should have an explicit modifier) then please give an example.

Actually, what I'm saying is that IF per shot experience rewards are alloted, as they should be, then certain supplimental mechanisms which were introduced in my previous post must be implimented to prevent abuse. In addition, I am also saying that the current system is grossly flawed in that it does not faithfully abstract realistic skill development whatsoever. You are correct in asserting that per shot experience awards are a source of unbalanced skill leveling, assuming that tempering fire mode specific modifiers are not introduced. However, if you adjust experience outputs via this method to factor in such things as fire rates, spread and damage, then these problems will prove largely moot.

To better illustrate what I mean, assume you are awarded experience on a per shot basis for hits, and misses. You are using a riot shotgun loaded with flechette rounds, and your opponent has medium or better armour. There are no experience modifiers save those associated with hit probability. Assuming you have enough flashbangs to keep the alien helpless and immobile, you could effectively milk it for huge quantities of undeserved skill advancement, because each flechette round translates into many shots, and you discharge 7 of them on full auto. Further, each flechette shot does very small amounts of blast damage, which are easily reduced to the minimum of 1 versus the alien's armour, allowing you to fire at it for a considerable period of time. Obviously this is problematic, and clearly demonstrates the need for firemode specific modifiers, ones that would adjust experience yields for such peashooters downwards. There is a realistic aspect to this as well; generally, some weapons and firemodes take more skill to effectively use than others. Full auto versus aimed shots as a prime example, or a minigun versus a sniper rifle.

Offline brackxs

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: Updating soldier stats
« Reply #11 on: January 12, 2008, 12:12:17 pm »
I think there is an important factor missing in this discussion: What are the soldiers doing in between missions? healing and eating and sleeping? i don't think so. while combat missions are important to make the soldiers understand how their training pays off in appropriate situations the skills a soldier accumulates are mainly from training. so battlefield experiences will maybe result in promotions but most of the time not in skill improvements.

that is why i want to introduce another system of skill improvement: training camps. imagine: training takes time and ressources and the effect depends on some primary skills as e.g. intelligence and physical fitness. in order to make this not overly exploitable restrict the number of training sessions allowed to 1. money available and 2. rank of the tranee (e.g. two training sessions per rank). let these training camps take a week or so. voila.

Surrealistik

  • Guest
Re: Updating soldier stats
« Reply #12 on: January 13, 2008, 01:43:14 pm »
I completely support with the proposal of a training facility or gym of some sort. It's sensible and plausible. The existing team room is more recreational than anything else. Each such training facility would only be able to enroll a maximum # of soldiers (10 perhaps) and each enrollment would count as an additional recurring expense while in effect. In return, enrolled soldiers will gain experience in the speed, health, strength and accuracy skills, and up to two selected weapon skills. Signifigantly injured soldiers obviously would not be able to partake in training.

Offline Robb77

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Re: Updating soldier stats
« Reply #13 on: January 14, 2008, 04:46:55 pm »
great game i do miss the glitch that makes the soldiers stats full what about a cheat code for this

Offline brackxs

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: Updating soldier stats
« Reply #14 on: January 19, 2008, 03:22:49 pm »
In return, enrolled soldiers will gain experience in the speed, health, strength and accuracy skills, and up to two selected weapon skills. Signifigantly injured soldiers obviously would not be able to partake in training.

plus maybe a shooting range?