Useful Formulas and other information - KCreator/Earth-Defence-Force-Documentation GitHub Wiki

Accuracy rating

accuracy > 0.0005 = S++
accuracy > 0.0025 = S+
accuracy > 0.005 = S
accuracy > 0.01 = A+
accuracy > 0.015 = A
accuracy > 0.02 = A-
accuracy > 0.03 = B+
accuracy > 0.05 = B
accuracy > 0.1 = B-
accuracy > 0.15 = C+
accuracy > 0.2 = C
accuracy > 0.25 = C-
accuracy > 0.3 = D
accuracy > 0.4 = E
accuracy > 0.5 = F
accuracy > 0.6 = G
accuracy > 0.8 = I
accuracy > 1.0 = J
accuracy > 1.2 = K
accuracy > 1.4 = L

Star level result Formula

Part from *SomeWeapon.SGO :

      "type": "ptr",
      "name": "AmmoDamage",
      "value": [
        {
          "type": "float",
          "comment": "Base Value",
          "value": 12000
        },
        {
          "type": "int",
          "comment": "Setting Type",
          "value": 8,
          "options": [
            "AmmoCount = 0",
            "FireCount = 4",
            "AmmoDamage = 8",
            "FireAccuracy = 13",
            "AmmoSpeed = 16",
            "ReloadTime = 21",
            "FireInterval = 25",
            "FireBurstInterval = 29",
            "AmmoExplosion = 32",
            "LockonRange = 36",
            "LockonTime = 41",
            "EnergyChargeRequire = 45"
          ]
        },
        {
          "type": "int",
          "comment": "Save Data Position???",
          "value": 1
        },
        {
          "type": "int",
          "comment": "Max Star Level",
          "value": 8
        },
        {
          "type": "float",
          "comment": "parameter_1 (p1)",
          "value": 0.5
        },
        {
          "type": "float",
          "comment": "parameter_2 (p2)",
          "value": 0.5
        }
      ]

If the setting type int is an odd number, such as for EnergyChargeRequired, then multiply p1 with (-1) because the value gets lower as star rating increases

result = BASE_VALUE * (p1 * (TARGET_LEVEL / 5)^p2 - p1 + 1)

LaTeX:

Weapon Categories

EDF 5

Class Category ID
Ranger Assault Rifles 000
Ranger Shotguns 1
Ranger Sniper Rifles 2
Ranger Rocket Launchers 3
Ranger Missile Launchers 4
Ranger Grenades 5
Ranger Special 6
Ranger Support 7
Ranger Vehicle 1 8
Ranger Vehicle 2 9
Ranger Vehicle 3 10
Wing Diver Short Range 100
Wing Diver Kinetic Weapons 101
Wing Diver Energy Weapons 102
Wing Diver Pulse Weapons 103
Wing Diver Long Range 104
Wing Diver Ranged Weapons 105
Wing Diver Homing Weapons 106
Wing Diver Special 107
Wing Diver Plasma Cores 108
Fencer CC Strikers 200
Fencer CC Piercers 201
Fencer Shields 202
Fencer Autocannons 203
Fencer Cannons 204
Fencer Missile Launchers 205
Fencer Support Boosters 206
Fencer Support Shields 207
Fencer Support Aiming 208
Fencer Support Actuator 209
Air Raider Artillery Units 310
Air Raider Gunships 311
Air Raider Bombers 312
Air Raider Missiles 313
Air Raider Satellites 314
Air Raider Engineer Long 301
Air Raider Engineer Bomb 303
Air Raider Engineer Cannon 304
Air Raider Engineer Support 302
Air Raider Engineer Special 305
Air Raider Engineer Vehicle 1 306
Air Raider Engineer Vehicle 2 307
Air Raider Engineer Vehicle 3 308
Air Raider Engineer Vehicle 4 309
Air Raider Engineer Vehicle 5 320

EDF 4.1

Class Category ID
Ranger Assault Rifles 00