| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #include "difficulty.h"cxx . . $ `<file>/Descent3/difficulty.h`/ |
| 20 | |
| 21 | // Notes: |
| 22 | // |
| 23 | // 1. Don't mess with target leading (other than algorithm type) as it will make robots |
| 24 | // turn strangely (or at least never scale it up beyond 1.0) |
| 25 | |
| 26 | const float Diff_ai_dodge_percentcxx . . $ Diff_ai_dodge_percent.[5] = {0.04f, 0.10f, 1.00f, 1.00f, 1.50f}; |
| 27 | const float Diff_ai_dodge_speedcxx . . $ Diff_ai_dodge_speed.[5] = {0.20f, 0.30f, 1.00f, 1.25f, 1.50f}; |
| 28 | const float Diff_ai_speedcxx . . $ Diff_ai_speed.[5] = {0.70f, 0.80f, 1.00f, 1.10f, 1.20f}; |
| 29 | const float Diff_ai_rotspeedcxx . . $ Diff_ai_rotspeed.[5] = {0.70f, 0.80f, 1.00f, 1.10f, 1.20f}; |
| 30 | const float Diff_ai_circle_distcxx . . $ Diff_ai_circle_dist.[5] = {1.10f, 1.00f, 1.00f, 1.00f, 1.00f}; |
| 31 | const float Diff_ai_vis_distcxx . . $ Diff_ai_vis_dist.[5] = {0.80f, 0.90f, 1.00f, 1.10f, 1.20f}; |
| 32 | const float Diff_player_damagecxx . . $ Diff_player_damage.[5] = {0.30f, 0.60f, 1.00f, 1.50f, 2.00f}; |
| 33 | const float Diff_ai_weapon_speedcxx . . $ Diff_ai_weapon_speed.[5] = {0.50f, 0.75f, 1.00f, 1.20f, 1.40f}; |
| 34 | const float Diff_homing_strengthcxx . . $ Diff_homing_strength.[5] = {0.20f, 0.70f, 1.00f, 1.20f, 1.40f}; |
| 35 | const float Diff_robot_damagecxx . . $ Diff_robot_damage.[5] = {2.75f, 1.50f, 1.00f, 0.80f, 0.60f}; |
| 36 | const float Diff_general_scalarcxx . . $ Diff_general_scalar.[5] = {2.50f, 1.75f, 1.00f, 0.75f, 0.50f}; |
| 37 | const float Diff_general_inv_scalarcxx . . $ Diff_general_inv_scalar.[5] = {0.50f, 0.75f, 1.00f, 1.75f, 2.50f}; |
| 38 | const float Diff_shield_energy_scalarcxx . . $ Diff_shield_energy_scalar.[5] = {2.25f, 1.5f, 1.0f, 0.75f, 0.5f}; |
| 39 | const float Diff_ai_turret_speedcxx . . $ Diff_ai_turret_speed.[5] = {0.6f, 0.7f, 1.0f, 1.0f, 1.0f}; |
| 40 | const float Diff_ai_min_fire_spreadcxx . . $ Diff_ai_min_fire_spread.[5] = {.30f, .15f, 0.0f, 0.0f, 0.0f}; |