Difference between revisions of "Weighted Resource Average (Game Mechanics)"

From SWGANH Wiki
Jump to: navigation, search
(Weighted Resource Average)
(Weighted Resource Average)
Line 88: Line 88:
 
{|
 
{|
 
|-
 
|-
|<center>'''((((70*800) + (70*950) + (35*700) + (40*600) + (30*700) + (30*900)) +'''</center>
+
|<center>'''((((70 x 800) + (70 x 950) + (35 x 700) + (40 x 600) + (30 x 700) + (30 x 900)) +'''</center>
|<center>'''(((70*900) + (35*900) + (40*800) + (30*400) + (30*600))'''</center>
+
|<center>'''(((70 x 900) + (35 x 900) + (40 x 800) + (30 x 400) + (30 x 600))'''</center>
 
|-
 
|-
 
|<center>------------------------<br>'''(70 + 70 + 35 + 40 + 30 + 30 ))'''</center>
 
|<center>------------------------<br>'''(70 + 70 + 35 + 40 + 30 + 30 ))'''</center>

Revision as of 18:40, 15 May 2008




Game Mechanics - Mechanics Category

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

Template (Game Messages)

Related Tags

0% This document has not been started.

Mechanics This document is about game mechanics.

Weighted Resource Average

This section describes how the weighted average experimental quality is calculated based on resource attributes. Essentially, for each experimental statistic there is weighted average quality that depends on

  • a) the attributes of each resource used
  • b) the amount of each resource required by the schematic
  • c) the weighting of each attribute.


Depending on the number of resources and attributes, this can be very simple (for example, in the case of batteries, only one resource and one attribute) or very complex (multiple resources and multiple attributes, each with different weights).


To illustrate examples, lightsaber and armor schematics will be used.


The Basics

When you experiment on a piece of armor, you get three options, one of which is Experimental Quality. Experimenting on experimental quality raises the base resists of the item. However, in order to know how experimentation will effect the base item, you first need to calculate the weighted average quality of the item for that particular experimental statistic.

The weighted average quality for Experimental Quality on all armor is based on the Overall Quality and Shock Resistance at a 50-50 ratio. The shock resistance of each material multiplied by the quantity used divided by the sum of the total quantites of the materials used. This will give you the average shock resistance for the item. The same process is performed for Overall Quality and a weighted average of the two (50/50 in this case) is determined. For materials that do not have one of the values (for example solid petrochem fuel), the equation simply removes that factor from the calculation.

For example, say you're making a composite helm using the following materials (we're only going to list the OQ/Shock of these theoretical materials, since that's all applies to resistances): Intrusive Ore 800 OQ 900 Shock Solid Petrochem Fuel 950 OQ Nabooian Fiberplast 700 OQ 900 Shock Aluminum 600 OQ 800 Shock Beyrllius Copper 700 OQ 400 Shock Wooly Hide 900 OQ 600 Shock

You're looking effectively using the following total quality of material...


((((70 x 800) + (70 x 950) + (35 x 700) + (40 x 600) + (30 x 700) + (30 x 900)) +
(((70 x 900) + (35 x 900) + (40 x 800) + (30 x 400) + (30 x 600))
------------------------
(70 + 70 + 35 + 40 + 30 + 30 ))
------------------------
(70 + 36 + 40 + 30 + 30))))
------------------------------------------------------------------------
( 2 )


In the above equations, the average OQ would be 796 while the average SR would be 729. Consequently, the weighted average material rating for this experimental attribute would be 762.5.

The full equation for finding the weighted average attribute quality is described below:

General equation:

OQ1: Material 1 Overall Quality SR1: Material 1 Shock Resistance n1: Number of Material 1 required in schematic

OQ2: Material 2 Overall Quality Material 2 does not have a Shock Resistance n2: Number of Material 2 required in schematic

OQ3: Material 3 Overall Quality SR3: Material 3 Shock Resistance n3: Number of Material 3 required in schematic


( ( (( OQ1 x n1 ) + ( OQ2 x n2 ) + ( OQ3 x n3 )) ) + ( (( SR1 x n1 ) + ( SR3 x n3 )) ) )
( n1 + n2 + n3 ) ( n1 + n3 )
--------------------------
( 2 )



( ( (( OQ1 x n1 ) + ( OQ2 x n2 ) + ( OQ3 x n3 )) ) +
( (( SR1 x n1 ) + ( SR3 x n3 )) ) )
------------------------
( n1 + n2 + n3 )
------------------------
( n1 + n3 )
------------------------------------------------------------------------
( 2 )

1. 50/50
2. 33/66
3. 100
4. 25/25/50
5. 25/75
6. 20/50/30
7. 75/25
8. 66/33
9. 33/33/33
10. 50/25/25
11. 40/20/40
12. 60/40
13. 66/16/16
14. 40/60
15. 25/25/25/25

Source References

Source Source in Context