This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| a3_documentation:cvwp:sraam [2025/05/15 23:29] – [HERE IS THE LOGIC.] rock | a3_documentation:cvwp:sraam [2025/11/09 01:54] (current) – rock | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| All the values and ranges I'm using are all calculated relative to the BIS Short Range missile class: | All the values and ranges I'm using are all calculated relative to the BIS Short Range missile class: | ||
| - | |||
| - | {{: | ||
| ===== HERE IS THE LOGIC. ===== | ===== HERE IS THE LOGIC. ===== | ||
| - | Most of BIS' values for SRAAM aren't much different than the ammo_Missile_ShortRangeAABase class values. So lets assume: | + | Most of BIS' values for SRAAM aren't much different than the ammo_Missile_ShortRangeAABase class values. Normally you should find a weapon in game that you can find the real world equivalent of and get the specs. BIS actually has, what they are calling the " |
| - | >**Assumption #1** - With a bit of research you can find that the ' | + | **Assumption #1** - With a bit of research you can find that the ' |
| - | >**Assumption #2** - In the armaverse 5000m (5Km) is equivalent to 16000m (16km) in the real world. The 5000m comes from the max range BIS specified. | + | **Assumption #2** - the __real__ |
| - | Now comes the maths: | + | * A-Darter = 22km |
| + | * AIM-9M = 20km | ||
| + | * Python 3 = 15km. | ||
| - | <code c> (Real World MAX Range) / (Assumed Average Range) = " | + | **Assumption #3** - __For this class or weapon__ and in the armaverse 5000m (5Km) is equivalent to 16000m |
| - | For example | + | Now comes the maths here is an example. |
| - | <code c> (20km) / (16km) = "1.25" </ | + | <code c> |
| + | (Range of the weapon you are configing) / (DATUM Weapon Real World MAX Range) = "RangeRatio" | ||
| + | </ | ||
| - | Now we have the "RangeRatio" we can multiply that by BIS's 5km max range value to give us the ' | + | So when we apply some real world figures we get a ration compared to the ingame |
| - | <code c> (BIS MaxRange) * (RangeRatio) = "NewScaledRange" | + | <code c> |
| + | A-Darter (22km) / (16km) = " | ||
| + | AIM-9M | ||
| + | Python 3 (15km) / (16km) = "0.9375" | ||
| + | </ | ||
| - | (5km) / (1.25) = "6.25 (Km)" = " | + | You can see by the results the figure you get is the " |
| + | |||
| + | <code c> | ||
| + | (BIS MaxRange) * (RangeRatio) = " | ||
| + | |||
| + | A-Darter = (5km) / (1.375) = "6.875 (Km)" = " | ||
| + | AIM-9M = (5km) / (1.25) = "6.25 (Km)" = "6250m" | ||
| + | Python 3 = (5km) / (0.9375) = " | ||
| </ | </ | ||
| - | ===== SOURCES ===== | + | We may massage/ |
| - | - https://en.wikipedia.org/ | + | That is it. The entire logic behind how we chose the range values of our weapons. |
| - | - https:// | + | |
| + | ===== SOURCES ===== | ||
| + | |||
| + | - [[https:// | ||
| + | - [[https:// | ||
| Ammo class from \A3\weapons_f_jets\config.cpp ~Line 144 | Ammo class from \A3\weapons_f_jets\config.cpp ~Line 144 | ||
| + | |||
| <code c> | <code c> | ||
| class ammo_Missile_ShortRangeAABase: | class ammo_Missile_ShortRangeAABase: | ||
| Line 104: | Line 121: | ||
| effectsMissile = " | effectsMissile = " | ||
| muzzleEffect = " | muzzleEffect = " | ||
| + | }; | ||
| + | class ammo_Missile_BIM9X: | ||
| + | { | ||
| + | model = " | ||
| + | proxyShape = " | ||
| }; | }; | ||
| </ | </ | ||