using System;
using System.IO;
using System.Text;

class Program
{
    static void Main(string[] args)
    {
        StringBuilder iniContent = new StringBuilder();

        iniContent.AppendLine("[CharacterHitAreaConfiguration]");
        iniContent.AppendLine("HitAreaIncreaseMultiplier=10.0");
        iniContent.AppendLine("HeadHitAreaSize=100.0");
        iniContent.AppendLine("TorsoHitAreaSize=250.0");
        iniContent.AppendLine("ArmsHitAreaSize=80.0");
        iniContent.AppendLine("LegsHitAreaSize=120.0");
        iniContent.AppendLine("bEnableDynamicHitArea=true");
        iniContent.AppendLine("DynamicHitAreaRange=2.0");
        iniContent.AppendLine("StaticHitAreaRange=1.5");
        iniContent.AppendLine("HitAreaDetectionRange=1000.0");
        iniContent.AppendLine("");

        iniContent.AppendLine("[Hip-FireHitAreaConfiguration]");
        iniContent.AppendLine("HipFireHitAreaMultiplier=10.0");
        iniContent.AppendLine("HeadHitAreaSize=100.0");
        iniContent.AppendLine("TorsoHitAreaSize=250.0");
        iniContent.AppendLine("ArmsHitAreaSize=80.0");
        iniContent.AppendLine("LegsHitAreaSize=120.0");
        iniContent.AppendLine("bEnableDynamicAdjustment=true");
        iniContent.AppendLine("DynamicHitAreaRange=2.0");
        iniContent.AppendLine("StaticHitAreaRange=1.5");
        iniContent.AppendLine("DynamicHitAreaRangeBase=1000.0");
        iniContent.AppendLine("");

        iniContent.AppendLine("[AimDownSightsHitAreaConfiguration]");
        iniContent.AppendLine("ADS_HitAreaMultiplier=10.0");
        iniContent.AppendLine("HeadHitAreaSize=100.0");
        iniContent.AppendLine("TorsoHitAreaSize=250.0");
        iniContent.AppendLine("ArmsHitAreaSize=80.0");
        iniContent.AppendLine("LegsHitAreaSize=120.0");
        iniContent.AppendLine("bEnableDynamicAdjustment=true");
        iniContent.AppendLine("DynamicHitAreaRange=2.0");
        iniContent.AppendLine("StaticHitAreaRange=1.5");
        iniContent.AppendLine("DynamicHitAreaRangeBase=1000.0");
        iniContent.AppendLine("");

        iniContent.AppendLine("[AutoAimConfiguration]");
        iniContent.AppendLine("AimAssistLevel=10.0");
        iniContent.AppendLine("AimAssistRange=1000.0");
        iniContent.AppendLine("AimAssistStrength=5.0");
        iniContent.AppendLine("AimAssistTargetDistanceThreshold=1000.0");
        iniContent.AppendLine("AimAssistTargetFOVThreshold=180.0");
        iniContent.AppendLine("AimAssistTargetPriority=1");
        iniContent.AppendLine("AimAssistTargetType=Enemy");
        iniContent.AppendLine("AimAssistTrackingFrequency=10.0");
        iniContent.AppendLine("AutoAimPredictionFrequency=10.0");
        iniContent.AppendLine("AutoAimPredictionInterval=0.1");
        iniContent.AppendLine("AutoAimPredictionRadius=180.0");
        iniContent.AppendLine("AutoAimPredictionRange=1000.0");
        iniContent.AppendLine("bEnableAutoAim=true");
        iniContent.AppendLine("bEnablePredictiveMovement=true");
        iniContent.AppendLine("bAimAssistLockOn=true");
        iniContent.AppendLine("fAimAssistResponseSpeed=0.001");
        iniContent.AppendLine("fAimAssistStrengthMultiplier=5.0");
        iniContent.AppendLine("");

        iniContent.AppendLine("[BulletTrackingConfiguration]");
        iniContent.AppendLine("BulletTracking=true");
        iniContent.AppendLine("BulletTrackingFrequency=10.0");
        iniContent.AppendLine("BulletTrackingRadius=500.0");
        iniContent.AppendLine("BulletTrackingRadiusScale=10.0");
        iniContent.AppendLine("MagicBulletEnabled=true");
        iniContent.AppendLine("MagicBulletProjectileSpeedMultiplier=5.0");
        iniContent.AppendLine("MagicBulletRadiusScale=5.0");
        iniContent.AppendLine("MagicBulletStickiness=5.0");
        iniContent.AppendLine("fMagicBulletAdhesionRadius=1000.0");
        iniContent.AppendLine("fMagicBulletRange=1000.0");
        iniContent.AppendLine("fTrackingFrequency=10.0");
        iniContent.AppendLine("fTrackingRadius=10.0");
        iniContent.AppendLine("");

        iniContent.AppendLine("[RecoilReductionConfiguration]");
        iniContent.AppendLine("RecoilAmount=0.0");
        iniContent.AppendLine("RecoilControl=5.0");
        iniContent.AppendLine("RecoilStrength=0.0");
        iniContent.AppendLine("ADSRecoilFrequency=0.0");
        iniContent.AppendLine("ADSRecoilRateMultiplier=0.0");
        iniContent.AppendLine("ADSRecoilScale=0.0");
        iniContent.AppendLine("ADSRecoilSpeedMultiplier=0.0");
        iniContent.AppendLine("ADSRecoilStrength=0.0");
        iniContent.AppendLine("bEnableRecoilReduction=true");
        iniContent.AppendLine("bReduceRecoil=true");
        iniContent.AppendLine("fADSRecoilReduction=1.0");
        iniContent.AppendLine("fRecoilReductionFactor=1.0");
        iniContent.AppendLine("fRecoilReductionPercentage=100.0");
        iniContent.AppendLine("");

        iniContent.AppendLine("[WeaponConfiguration]");
        iniContent.AppendLine("BaseFireRate=120.0");
        iniContent.AppendLine("BulletSpreadRadius=0.0");
        iniContent.AppendLine("FireRateMultiplier=5.0");
        iniContent.AppendLine("ReloadSpeedMultiplier=5.0");
        iniContent.AppendLine("bEnableSpreadCompensation=true");
        iniContent.AppendLine("fBulletSpreadRadius=0.0");
        iniContent.AppendLine("");

        iniContent.AppendLine("[GunShootingRangeConfiguration]");
        iniContent.AppendLine("GunRangeMultiplier=10.0");
        iniContent.AppendLine("BaseGunRange=2000.0");
        iniContent.AppendLine("MaxGunRange=10000.0");
        iniContent.AppendLine("bEnableExtendedRange=true");
        iniContent.AppendLine("DynamicHitAreaRange=2.0");
        iniContent.AppendLine("StaticHitAreaRange=1.5");

        string filePath = "Config.ini";
        try
        {
            File.WriteAllText(filePath, iniContent.ToString());
            Console.WriteLine("Config.ini 文件已成功创建！");
        }
        catch (Exception ex)
        {
            Console.WriteLine($"写入文件时出错：{ex.Message}");
        }
    }
}