更新攻打航舰,加油任务效果
This commit is contained in:
124
weapons/ssm/blue_cruise_missile.txt
Normal file
124
weapons/ssm/blue_cruise_missile.txt
Normal file
@@ -0,0 +1,124 @@
|
||||
# ****************************************************************************
|
||||
# CUI
|
||||
#
|
||||
# The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
|
||||
#
|
||||
# The use, dissemination or disclosure of data in this file is subject to
|
||||
# limitation or restriction. See accompanying README and LICENSE for details.
|
||||
# ****************************************************************************
|
||||
#UNCLASSIFIED
|
||||
# Tomahawk surfaced launched version (has a booster)
|
||||
# All data from internet sources
|
||||
#
|
||||
# No terminal sensor for now.
|
||||
|
||||
infrared_signature BLUE_CRUISE_MISSILE_INFRARED_SIGNATURE
|
||||
constant 1 watts/steradian
|
||||
end_infrared_signature
|
||||
|
||||
optical_signature BLUE_CRUISE_MISSILE_OPTICAL_SIGNATURE
|
||||
constant 1 m^2
|
||||
end_optical_signature
|
||||
|
||||
radar_signature BLUE_CRUISE_MISSILE_RADAR_SIGNATURE
|
||||
constant 1 m^2
|
||||
end_radar_signature
|
||||
|
||||
aero BLUE_CRUISE_MISSILE_AERO WSF_AERO
|
||||
cd_zero_subsonic 0.1
|
||||
cd_zero_supersonic 0.25
|
||||
mach_begin_cd_rise 0.95
|
||||
mach_end_cd_rise 1.3
|
||||
mach_max_supersonic 4
|
||||
reference_area 0.21237 m2 #0.52 meter diameter
|
||||
cl_max 10
|
||||
aspect_ratio 16.0
|
||||
end_aero
|
||||
|
||||
weapon_effects BLUE_CRUISE_MISSILE_LETHALITY WSF_GRADUATED_LETHALITY
|
||||
radius_and_pk 30 m 0.85
|
||||
end_weapon_effects
|
||||
|
||||
platform_type BLUE_CRUISE_MISSILE WSF_PLATFORM
|
||||
icon CALCM
|
||||
category cruise-missile
|
||||
infrared_signature BLUE_CRUISE_MISSILE_INFRARED_SIGNATURE
|
||||
optical_signature BLUE_CRUISE_MISSILE_OPTICAL_SIGNATURE
|
||||
radar_signature BLUE_CRUISE_MISSILE_RADAR_SIGNATURE
|
||||
mover WSF_GUIDED_MOVER
|
||||
#show_status
|
||||
update_interval .5 sec
|
||||
integration_timestep 0.05 sec
|
||||
|
||||
stage 1 # Booster
|
||||
initial_mass 550 lbs
|
||||
fuel_mass 440 lbs
|
||||
thrust 7418 lbf
|
||||
thrust_duration 12 sec
|
||||
aero BLUE_CRUISE_MISSILE_AERO
|
||||
end_stage
|
||||
|
||||
stage 2 # Turbofan
|
||||
initial_mass 2650 lb
|
||||
fuel_mass 500 lb # guess
|
||||
thrust 696.9 lbf
|
||||
burn_rate 350 lb/hr
|
||||
aero BLUE_CRUISE_MISSILE_AERO
|
||||
thrust_delay 1.0 sec # no idea how long before it fires off after the booster falls off...
|
||||
end_stage
|
||||
end_mover
|
||||
|
||||
processor guidance WSF_GUIDANCE_COMPUTER
|
||||
#show_status
|
||||
#show_evaluations
|
||||
#debug
|
||||
guide_to_truth true # for testing
|
||||
|
||||
phase LAUNCH
|
||||
commanded_altitude 5000 ft
|
||||
commanded_flight_path_angle 60 deg
|
||||
next_phase CRUISE when phase_time > 16 sec
|
||||
end_phase
|
||||
|
||||
phase CRUISE
|
||||
commanded_altitude 500 ft agl
|
||||
commanded_speed 910 fps
|
||||
maximum_commanded_g 2 g
|
||||
next_phase TERMINAL if target_slant_range < 1 miles
|
||||
end_phase
|
||||
|
||||
phase TERMINAL
|
||||
commanded_speed 800 fps
|
||||
proportional_navigation_gain 40
|
||||
maximum_pitch_angle 90 deg
|
||||
maximum_commanded_g 10 g
|
||||
end_phase
|
||||
end_processor
|
||||
|
||||
processor fuse WSF_GROUND_TARGET_FUSE
|
||||
end_processor
|
||||
|
||||
comm uplink WSF_COMM_TRANSCEIVER
|
||||
internal_link data_mgr
|
||||
end_comm
|
||||
|
||||
processor task_mgr WSF_TASK_PROCESSOR
|
||||
end_processor
|
||||
|
||||
processor data_mgr WSF_TRACK_PROCESSOR
|
||||
purge_interval 4000 seconds
|
||||
end_processor
|
||||
|
||||
end_platform_type
|
||||
|
||||
|
||||
weapon BLUE_CRUISE_MISSILE WSF_EXPLICIT_WEAPON
|
||||
launched_platform_type BLUE_CRUISE_MISSILE
|
||||
weapon_effects BLUE_CRUISE_MISSILE_LETHALITY
|
||||
quantity 1
|
||||
firing_delay 0.0 sec
|
||||
salvo_interval 2 sec
|
||||
slew_mode azimuth
|
||||
azimuth_slew_limits -180 deg 180 deg
|
||||
tilt 88.9 deg
|
||||
end_weapon
|
||||
189
weapons/ssm/medium_range_radar_missile.txt
Normal file
189
weapons/ssm/medium_range_radar_missile.txt
Normal file
@@ -0,0 +1,189 @@
|
||||
# ****************************************************************************
|
||||
# CUI
|
||||
#
|
||||
# The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
|
||||
#
|
||||
# The use, dissemination or disclosure of data in this file is subject to
|
||||
# limitation or restriction. See accompanying README and LICENSE for details.
|
||||
# ****************************************************************************
|
||||
|
||||
|
||||
|
||||
##############################################################################
|
||||
### signatures
|
||||
##############################################################################
|
||||
infrared_signature SIMPLE_INFRARED_SIGNATURE
|
||||
constant 1 watts/steradian
|
||||
end_infrared_signature
|
||||
optical_signature SIMPLE_OPTICAL_SIGNATURE
|
||||
constant 1 m^2
|
||||
end_optical_signature
|
||||
radar_signature SIMPLE_RADAR_SIGNATURE
|
||||
constant 1 m^2
|
||||
end_radar_signature
|
||||
weapon_effects SIMPLE_EFFECT WSF_GRADUATED_LETHALITY
|
||||
radius_and_pk 100.0 m 0.75
|
||||
end_weapon_effects
|
||||
|
||||
|
||||
##############################################################################
|
||||
### antenna patterns
|
||||
##############################################################################
|
||||
antenna_pattern SEEKER_ANTENNA_B-1B
|
||||
circular_pattern
|
||||
beamwidth 6.0 deg
|
||||
peak_gain 30.0 dB
|
||||
minimum_gain -10.0 dB
|
||||
end_circular_pattern
|
||||
end_antenna_pattern
|
||||
antenna_pattern RADAR_ANTENNA_B-1B
|
||||
circular_pattern
|
||||
beamwidth 3.0 deg
|
||||
peak_gain 30.0 dB
|
||||
minimum_gain -10.0 dB
|
||||
end_circular_pattern
|
||||
end_antenna_pattern
|
||||
|
||||
|
||||
##############################################################################
|
||||
### normal radar sensor; weapon's radar seeker
|
||||
##############################################################################
|
||||
sensor RADAR_SEEKER_B-1B WSF_RADAR_SENSOR
|
||||
off
|
||||
ignore_domain land
|
||||
ignore_domain subsurface
|
||||
selection_mode single #multiple
|
||||
initial_mode SEARCH
|
||||
slew_mode azimuth_and_elevation
|
||||
azimuth_slew_limits -45 deg 45 deg
|
||||
elevation_slew_limits -45 deg 45 deg
|
||||
mode_template
|
||||
scan_mode azimuth_and_elevation
|
||||
azimuth_scan_limits -90 deg 90 deg
|
||||
elevation_scan_limits -90 deg 90 deg
|
||||
frame_time 1.0 sec
|
||||
transmitter
|
||||
antenna_pattern SEEKER_ANTENNA_B-1B
|
||||
power 1.0 kW
|
||||
frequency 10.0 GHz
|
||||
pulse_repetition_interval 3.3 usec #HPRF 300 kHz
|
||||
pulse_width 1.0 usec #30% duty factor
|
||||
end_transmitter
|
||||
receiver
|
||||
bandwidth 1 MHz
|
||||
end_receiver
|
||||
one_m2_detect_range 50.0 km
|
||||
hits_to_establish_track 1 2
|
||||
hits_to_maintain_track 1 3
|
||||
reports_location
|
||||
reports_velocity
|
||||
reports_iff
|
||||
track_quality 1.0
|
||||
end_mode_template
|
||||
mode SEARCH
|
||||
frame_time 0.1 sec
|
||||
end_mode
|
||||
end_sensor
|
||||
|
||||
|
||||
##############################################################################
|
||||
### weapon platform that requires an uplink, and will go active
|
||||
##############################################################################
|
||||
platform_type MEDIUM_RANGE_RADAR_MISSILE_B-1B WSF_PLATFORM
|
||||
|
||||
script_variables
|
||||
bool mDrawTarget = true;
|
||||
WsfDraw draw = WsfDraw();
|
||||
end_script_variables
|
||||
|
||||
execute at_interval_of 1 sec
|
||||
if (mDrawTarget)
|
||||
{
|
||||
WsfTrack tgt = PLATFORM.CurrentTargetTrack();
|
||||
if (tgt.IsValid())
|
||||
{
|
||||
draw.SetDuration(1.0); //same as execute interval
|
||||
draw.SetColor(1, 0, 1); //purple
|
||||
draw.SetLineSize(2); //double thick
|
||||
draw.BeginLines();
|
||||
draw.Vertex(PLATFORM.Location());
|
||||
draw.Vertex(tgt.CurrentLocation());
|
||||
draw.End();
|
||||
}
|
||||
}
|
||||
end_execute
|
||||
|
||||
weapon_effects SIMPLE_EFFECT
|
||||
icon Scud_Missile
|
||||
infrared_signature SIMPLE_INFRARED_SIGNATURE
|
||||
optical_signature SIMPLE_OPTICAL_SIGNATURE
|
||||
radar_signature SIMPLE_RADAR_SIGNATURE
|
||||
|
||||
###########################################################################
|
||||
### straight line movers guide themselves, towards the platform's target
|
||||
###########################################################################
|
||||
mover WSF_STRAIGHT_LINE_MOVER
|
||||
average_speed 3221.5 kts # mach 5
|
||||
update_interval 0.006 sec
|
||||
update_time_tolerance 0.0006 sec # this mover travels 1 meter in 0.00060339 seconds
|
||||
maximum_lateral_acceleration 15.0 g # average turner
|
||||
guidance_mode lead_pursuit # or pure_pursuit
|
||||
guide_to_truth false # guide to perception
|
||||
end_mover
|
||||
|
||||
###########################################################################
|
||||
### simple fuse
|
||||
###########################################################################
|
||||
processor fuse WSF_AIR_TARGET_FUSE
|
||||
max_time_of_flight_to_detonate 100.0 sec
|
||||
end_processor
|
||||
|
||||
###########################################################################
|
||||
### perfect trackers provide target truth data for the missile
|
||||
### no uplink or tracking required for this missile
|
||||
###########################################################################
|
||||
#processor seeker WSF_PERFECT_TRACKER
|
||||
# update_interval 0.5 s
|
||||
#end_processor
|
||||
|
||||
###########################################################################
|
||||
### imperfect radar provide target data for the missile
|
||||
###########################################################################
|
||||
sensor seeker RADAR_SEEKER_B-1B
|
||||
off
|
||||
internal_link track_mgr
|
||||
internal_link weapon_manager
|
||||
end_sensor
|
||||
|
||||
###########################################################################
|
||||
### simple track manager. make sure comm & sensor feed it
|
||||
###########################################################################
|
||||
processor track_mgr WSF_TRACK_PROCESSOR
|
||||
master_track_processor
|
||||
end_processor
|
||||
|
||||
###########################################################################
|
||||
### turns on the weapon radar at the right time
|
||||
###########################################################################
|
||||
processor weapon_manager WSF_WEAPON_TRACK_PROCESSOR
|
||||
turn_on_sensor seeker at_time 30 s before_intercept
|
||||
#turn_on_sensor seeker at_range 3500 m before_intercept
|
||||
coast_time 100 s
|
||||
uplink_required false #this version is active missile only (no no command guidance uplink)
|
||||
end_processor
|
||||
end_platform_type
|
||||
|
||||
|
||||
##############################################################################
|
||||
### simple missile to use, requires uplink
|
||||
##############################################################################
|
||||
weapon MEDIUM_RANGE_RADAR_MISSILE_B-1B WSF_EXPLICIT_WEAPON
|
||||
launched_platform_type MEDIUM_RANGE_RADAR_MISSILE_B-1B
|
||||
weapon_effects SIMPLE_EFFECT
|
||||
quantity 4
|
||||
firing_delay 0.5 sec
|
||||
salvo_interval 5.0 sec
|
||||
slew_mode azimuth_and_elevation
|
||||
azimuth_slew_limits -180.0 deg 180.0 deg
|
||||
end_weapon
|
||||
|
||||
Reference in New Issue
Block a user