Assembly Mechanics (Game Mechanics)

From SWGANH Wiki
Revision as of 08:15, 16 May 2008 by Ready (Talk | contribs) (Part III. Calculating the Initial Percentage)

Jump to: navigation, search




Game Mechanics - Assembly Mechanics

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.


Navigation

Description

Assembly Mechanics

Related Tags

25% This document has been partially completed.

Mechanics This document is about game mechanics.

Assembly Overview

There are two factors that go into the process of determining an item's statistics; these are Assembly and Experimentation. Assembly is the starting point of this process. Assembly in its literal sense, is the putting together of the components and resources to create an item. Most crafted items have a set of experimental lines in which have individual properties under them. These properties are a control and bottleneck for the value of the stats that are associated with them. The properties are associated with a particular resource stat and the amount to which that stat weights or factors into the increase/decrease of the stats of this item. The value that gets returned from this process of weighting factors comes in a percentage range from 0 to 100%. The total length of the range between 0 and 100 is determined by the weighting factors of the resources and experimental property. When an item is assembled or experimented on, a portion is added to the range. For every increase in the value in the range beyond 0, the item's stats increases. The process of assembly is to add a starting value to the range up to a maximum of 30%. Experimentation will add onto this base starting value on up to a maximum of 100%.

For a closer look at the mathematics behind this process, see the Formulas in Review section below.




Part I. Assembling the item

Assembling an item begins at stage 2 of the crafting process when the player is inputting resources into the draft schematic slots. After the appropriate slots requirements have met, the player may advance the crafting process by clicking the Assemble button on the lower right. Upon clicking this, the game performs a number of calculations on the item which involved a number of factors such as player skill modifiers, a random chance roll, and environmental effects on the roll. These factors are designed to determine the type of success that the assembly attempt will have produced.



Crafting: Stage 2

Success with the exception of critical failures, have no bearing on the starting values of the items. The various types of success rates available to assembly results are as follows:


Assembly Result
The item assembly was a critical failure.


The item assembly barely succeeded.
The item assembly was 'ok'.
The item assembly was only marginally successful.
The item assembly was a moderate success.
The item assembly was a success.
The item assembly was a good success.
The item assembly was a great success!
The item assembly was an amazing success!!!


As shown above, Each type of success will vary depending on the success roll made. The only success rate of consequence are Critical Failures. When a critical failure occurs, the player loses all resources used (but not components) and the item fails to be produced. Essentially the player must start over with crafting the item if a critical failure event happens.



Part II. The Assembly Success & Roll Detailed

As mentioned previously, after clicking the assemble button on the crafting menu, a process takes place in which determines the success choice that is displayed to the player. The following will help detail that process.


Note: There is no known formula for success rate and roll for Assembly, so I will be borrowing information from the Experimentation Success result formula as Lunariel claims that they are similar.


The result a player receives is based upon two things which will be called the Success Rate, and the Roll.




Here's a model of how it works.

Result = Rating + Roll
Risk = 100 - Rating (Any rating at 100 or higher shows as zero risk)

Note: for assembly, insert Assembly modifiers for Experiment_Skill. As for points used, assembly has no allocation of points so this presents a problem with the formula for use with assembly.


Roll: Random roll. Rolling below a limit will always give a critical failure regardless of your rating and above another limit will always give amazing success. (Think of it as in RPGs where an original 1 or 20 on 20-sided die overrides your base chance.) Research City, Bespin Port and maybe crafting stations and tools modifies your roll before checking the limits and thus lessens your chance of critical failures. As well as improving your chance for amazing success. (The impact of crafting stations and tools seems to be fairly small if any.)


Risk: This is your chance of getting any kind of failure. Note that the lower results like marginally successful are not technically considered failures even though it feels like it. At zero risk you can no longer get any type of failure except critical from the override on the roll.



Rating: Calculated from your experiment skill and modified by average MA on the resources and how many points you spend. 900 MA is a 10 skill bonus, 100 MA is a -10 skill penalty. Each extra point used at the same time is a -5 skill penalty. The formula for the rating is:


50 + (Average_MA - 500)/40 + Experiment_Skill - 5 x Points_Used



Average_MA is the MA of the resources weighted by relative quantity just like the experiment qualities and resources without MA are not counted. It is weighted by resource quantity If none of the resources have MA, the Average_MA is considered zero. Average_MA follows the same rules as if it had a hidden 'MA 100%' experiment line. Points_Used is how many points you spend at once. Points_Used is 1 if you only use one point. (If you try to spend points in multiple lines at once, you get penalized pretty badly and the formula changes a bit) With 75% chance, the red failure bar will show 25%. At 100% or above chance, the red bar is no longer visible.

If you have 55 in skill, you get 100% with MA 500. At 100 skill you have 145% with MA 500. This means you can only test out the formula at a fairly low skill while the red bar is still there.

Once you get 100% you can no longer get any failures, except criticals. But the system considers even marginally successful as a success. As you get higher above 100% the worst type of successes are gradually no longer possible. I believe that if your success rate is high enough, you can't get below great success either.

But there are two parts affecting the experiment result and the other one is the experiment roll. The roll is basically a random number which is added to your success rate to give the final result. But the roll has special cases. Like RPGs where a roll of 1 or 20 on d20 will always hit or miss regardless of your base chance. So if the roll is below a certain number, it will force a critical failure, if it's above another number, it will force an amazing success. This ensures you can get amazing with almost no skill and that you can always get a critical. Fortunately things which gives bonus to your rolls are applied before checking for the special cases. Which is why you then get less critical and more amazing results. High enough bonus might theoretically prevent any criticals at all.

This means that once you are above 100% (no red bar) you will only get failures from the roll and not from your skill. So things which affects the roll are more important to avoid failures. Like being in a research city or drinking Bespin Port. Both the success rate and the roll matters for getting more amazing successes, but for being able to use more points at once, probably only the skill matters. And there is a possibilty that there is a cap on your skill in this formula. But then you can't use the failure bar to test it out since your skill is too high to even get a red line. A force sensitive master crafter with +25 clothing would have a mean success rate without a cap.

The MA is the surprise factor. Having 100 in MA will be just like losing 10 skill points, while 900 in MA is a 10 point bonus. Unfortunately this MA is considered zero if none of the resources have MA effectively giving a -12.5 skill penalty.

I strongly suspected Complexity to affect the chance, since it rises as you experiment. But it doesn't affect the chance at all. Also testing with various levels of crafting stations from public to 40+, there is no difference either. But both of them may affect the roll instead. The only way to find out would be to do tons of experiments with the same materials and use statistics. I remember an old post from someone who did this testing, but can't seem to find it again. Anyone with a link ?

And being in a research city doesn't affect the success formula either. But that is documented as affecting only the roll, so no surprise there. I have seen noticably better results from rolls in a research city than outside, but haven't done any tests on stations or complexity.


With Novice Medic only, the red failure bar will normally show 57%. (100 - (50 + -12.5 + 10 - 5) = 57.5 which is then truncated to 57)



Things that Affect Success Rate and Rolls are:


Success rate

  • 1) Experimentation / Assembly Skill including skill clothes. Any possible cap is unknown.
  • 2) Mallability of the resources used. (Higher MA is better)
  • 3) Number of experiment points spent in each attempt. (Fewer is better)
  • 4) Force Experimentation modifiers. Adds to the experimentation skill modifiers to factor in for success rate during experimentation.
  • 5. Force Assembly modifiers. Adds to the Assembly skill modifiers to factor in for success rate during assembly.


Roll


  • 1) Being in a Research City.
  • 2) Drinking Bespin Port.
  • 3) Crafting Tool Quality.
  • 4) Crafting Station Quality.
  • 5) Crafting Technique force sensitive skill modifiers act as a bonus to the roll.



Part III. Calculating the Initial Percentage

After a roll check has been made and a non critical failure success type has been established, the next phase of the assembly process is in calculating the Initial Percentage for the experimentation line.


The initial percentage is the starting value for experimentation lines. After this value is calculated, the next phase of crafting would be to begin experimentation and add on to this value through that process. Several important values in relation to the experimentation derive from this stage of crafting. The first is the initial percentage, and the second is the Maximum Experimental Percentage. The maximum experimental percentage is the total amount to which an item can be experimented to. This is based off of the Weighted Resource Value (also known as weighted average).

To begin calculating the initial percentage, several steps must be carried out beginning with finding out the Weighted Resource Average first. The following is a list of steps, in order, that are necessary to achieve the final calculation of the initial percentage.


Initial Percentage Calculation Process:

Initial Assembly Percentage





Part IV. Calculating the Experimentation Line Cap


http://forums.swganh.org/viewtopic.php?f=23&t=233


To reveal the mystery abour crafitng, and why you get different stats at the same experimental percentages on two different crafting sessions. You first have to calculate the weighted average for each single stat line. Since Estei and me found that the displayed percentage for assembly and experimentation is an average of each line, meaning that the displayed percentages for Experimental Damage is the average for Speed, Min, Max and Wound Chance. Same thing goes for Experimental Efficiency which is the average of Health, Action, Mind and Force Cost. To calculate the displayed assembly percentage you need to know the weighted average of all the available lines and then divide that number by four. And knowing the percentages for each line is very important since using resouces that gives you a better displayed percentages might not be the best for the single line.






http://forums.swganh.org/viewtopic.php?f=23&t=199&sid=b46cad20d33b55015ee6ed5597c57430

Almost every item that can be experimented on has stats . These stats are tied to particular experimentation categories. Wind generators have two categories: Efficiency (tied to extraction rate) and Storage (tied to hopper size).

The experimental categories are displayed as percentages between 0% and 100%. The success type of the experiment ("good success", "great success", "moderate failure") determines how much improvement (or deterioration) is applied to that percentage. For example, a "great success" increases the category +7 for every point you spent; spend 5 points and get a great success, and the percentage increases by 35.

Stats on in-game items have a minimum value (at 0% experimentation) and a maximum value (at 100%). The actual value of the stat is calculated using a linear scale between these two points and the experimental percentage you reached. You take the minimum stat value and add the stat range (Max - Min) times the experimental percentage.

For example, crafting tools have a minimum effectiveness value of -15 and a maximum effectiveness of 15. If you experiment Effectiveness to 65%, the actual stat will be:

-15 + (15 - (-15) ) * 0.65 = -15 + 30 * 0.65 = 4.5

The higher you experiment a category, the closer you get to the max possible on the stats associated with that category. In elite crafting professions (mainly weaponsmith and armorsmith), items have subcomponents which also influence final stats.

The limits on the "best" item you can make is determined by the hard-coded maximum at 100% experimentation,and resource quality. Resource stats determine both the maximum experimentation percentage and (along with the assembly success) the starting experimentation percentage







http://forums.swganh.org/viewtopic.php?f=23&t=214


Every time you experiment, the item complexity raises by 1, which raises the risk of failure. (I also heard that higher complexity item requires higher rate of insurance, though I cannot verify this). It�s recommended to spend multiple points every experiment to reduce the chance of failure. Also you should only spend points in one attribute only in every experiment attempt since addition attributes beyond the first attribute adds +5% to the total risk. It�s better to spread the experiments on several attempts and one attribute per attempt.

stats

Your assumption is correct, all experimentation in SWG uses this formula :

Stat = [Base value at 0% experimentation] + ([Increase/%] x [Experimental Percentage])

For example : X-Wing : Mass = 97500 + (5000 x E) with E = Experimental Percentage

The initial and maximum Experimental Percentage depend on the resource stats, resource amounts and the applicable stat percentages for the item youre making. These values make up the Weighted Resource Value and determine the initial and maximum experimental percentage this way :

Initial EP = 0.00000015 x WRV^2 + 0.00015 x WRV Maximum EP = 0.001 x WRV

Source References

Source Source in Context

Bold text