红方渗透侦察,通信保障,抵近干扰部署完成

This commit is contained in:
2025-10-23 16:29:06 +08:00
parent 25c9608b8e
commit 7cdc44e10d
20 changed files with 764 additions and 157 deletions

View File

@@ -11,7 +11,7 @@
# * ****** with 2-18GHz jam ****** *
# * * ************************************** * *
//include_once weapons/jammer/radar_jammer_2_18ghz.txt
include_once weapons/jammer/radar_jammer_2_18ghz.txt
include_once weapons/jammer/comm_jammer_30m_3g.txt
include_once signatures/fighter_sigs.txt

View File

@@ -0,0 +1,62 @@
# File generated by Wizard 2.9.0 on Oct 23, 2025.
include_once sensors/radar/acq_radar.txt
include_once signatures/copter_signature.txt
include_once weapons/sam/large_sam.txt
include_once behavior/behavior_fire.txt
platform_type ARMED_COPTER WSF_PLATFORM
icon mh-60
infrared_signature COPTER_INFRARED_SIGNATURE
optical_signature COPTER_OPTICAL_SIGNATURE
radar_signature COPTER_RADAR_SIGNATURE
mover WSF_AIR_MOVER
end_mover
sensor acq_radar ACQ_RADAR
on
internal_link data_mgr
ignore_same_side
end_sensor
processor data_mgr WSF_LINKED_PROCESSOR
report_to commander via sub_net
end_processor
comm sub_net DATALINK
network_name <local:slave>
#internal_link task_mgr
end_comm
processor track_mgr WSF_TRACK_PROCESSOR
purge_interval 60 sec
end_processor
script_variables
string weapon_name="sam";
end_script_variables
processor task_mgr WSF_SCRIPT_PROCESSOR
update_interval 5 sec
advanced_behavior_tree
btt on
selector
behavior_node behavior_fire
end_selector
end_advanced_behavior_tree
end_processor
weapon sam LARGE_SAM
quantity 10
end_weapon
zone battalion_sector
circular maximum_radius 20 km
end_zone
end_platform_type

View File

@@ -0,0 +1,26 @@
# File generated by Wizard 2.9.0 on Oct 22, 2025.
include_once sensors/radar/acq_radar.txt
include_once signatures/human_signature.txt
platform_type COMM_DETECT_GROUP WSF_PLATFORM
icon low_blow
infrared_signature HUMAN_INFRARED_SIGNATURE
optical_signature HUMAN_OPTICAL_SIGNATURE
radar_signature HUMAN_RADAR_SIGNATURE
sensor ew_radar ACQ_RADAR
on
internal_link data_mgr
ignore_same_side
end_sensor
processor data_mgr WSF_LINKED_PROCESSOR
report_to commander via sub_net
end_processor
comm sub_net DATALINK
network_name <local:slave>
#internal_link task_mgr
end_comm
end_platform_type

View File

@@ -0,0 +1,40 @@
# File generated by Wizard 2.9.0 on Oct 22, 2025.
include_once sensors/radar/acq_radar.txt
include_once signatures/UCAV_signature.txt
include_once weapons/jammer/radar_jammer_2_18ghz.txt
include_once weapons/jammer/comm_jammer_30m_3g.txt
platform_type DETECT_JAM_DRONE WSF_PLATFORM
icon ucav
infrared_signature UCAV_INFRARED_SIGNATURE
optical_signature UCAV_OPTICAL_SIGNATURE
radar_signature UCAV_RADAR_SIGNATURE
sensor ew_radar ACQ_RADAR
on
internal_link data_mgr
ignore_same_side
end_sensor
processor data_mgr WSF_LINKED_PROCESSOR
report_to commander via sub_net
end_processor
comm sub_net DATALINK
network_name <local:slave>
#internal_link task_mgr
end_comm
weapon radar_jammer RADAR_JAMMER_2_18GHZ
on
yaw 0 deg
pitch -10 deg
ignore_same_side
end_weapon
weapon comm_jammer COMM_JAMMER_30M_3G
on
ignore_same_side
end_weapon
end_platform_type

View File

@@ -0,0 +1,44 @@
# File generated by Wizard 2.9.0 on Oct 23, 2025.
include_once sensors/radar/acq_radar.txt
include_once signatures/copter_signature.txt
include_once weapons/jammer/radar_jammer_2_18ghz.txt
include_once weapons/jammer/comm_jammer_30m_3g.txt
platform_type EW_COPTER WSF_PLATFORM
icon mh-60
infrared_signature COPTER_INFRARED_SIGNATURE
optical_signature COPTER_OPTICAL_SIGNATURE
radar_signature COPTER_RADAR_SIGNATURE
mover WSF_AIR_MOVER
end_mover
sensor acq_radar ACQ_RADAR
on
internal_link data_mgr
ignore_same_side
end_sensor
processor data_mgr WSF_LINKED_PROCESSOR
report_to commander via sub_net
end_processor
comm sub_net DATALINK
network_name <local:slave>
#internal_link task_mgr
end_comm
weapon radar_jammer RADAR_JAMMER_2_18GHZ
on
yaw 0 deg
pitch -10 deg
ignore_same_side
end_weapon
weapon comm_jammer COMM_JAMMER_30M_3G
on
ignore_same_side
end_weapon
end_platform_type

View File

@@ -0,0 +1,30 @@
# File generated by Wizard 2.9.0 on Oct 22, 2025.
include_once sensors/radar/acq_radar.txt
include_once signatures/human_signature.txt
include_once weapons/jammer/radar_jammer_2_18ghz.txt
include_once weapons/jammer/comm_jammer_30m_3g.txt
platform_type NET_ATTACK_GROUP WSF_PLATFORM
icon height_finder
infrared_signature HUMAN_INFRARED_SIGNATURE
optical_signature HUMAN_OPTICAL_SIGNATURE
radar_signature HUMAN_RADAR_SIGNATURE
weapon radar_jammer RADAR_JAMMER_2_18GHZ
on
yaw 0 deg
pitch -10 deg
ignore_same_side
end_weapon
weapon comm_jammer COMM_JAMMER_30M_3G
on
ignore_same_side
end_weapon
comm sub_net DATALINK
network_name <local:slave>
#internal_link task_mgr
end_comm
end_platform_type

View File

@@ -0,0 +1,26 @@
# File generated by Wizard 2.9.0 on Oct 22, 2025.
include_once sensors/radar/acq_radar.txt
include_once signatures/human_signature.txt
platform_type NET_DETECT_GROUP WSF_PLATFORM
icon low_blow
infrared_signature HUMAN_INFRARED_SIGNATURE
optical_signature HUMAN_OPTICAL_SIGNATURE
radar_signature HUMAN_RADAR_SIGNATURE
sensor ew_radar ACQ_RADAR
on
internal_link data_mgr
ignore_same_side
end_sensor
processor data_mgr WSF_LINKED_PROCESSOR
report_to commander via sub_net
end_processor
comm sub_net DATALINK
network_name <local:slave>
#internal_link task_mgr
end_comm
end_platform_type

View File

@@ -0,0 +1,26 @@
# File generated by Wizard 2.9.0 on Oct 22, 2025.
include_once sensors/radar/acq_radar.txt
include_once signatures/human_signature.txt
platform_type RADAR_DETECT_GROUP WSF_PLATFORM
icon ew_radar_icon
infrared_signature HUMAN_INFRARED_SIGNATURE
optical_signature HUMAN_OPTICAL_SIGNATURE
radar_signature HUMAN_RADAR_SIGNATURE
sensor ew_radar ACQ_RADAR
on
internal_link data_mgr
ignore_same_side
end_sensor
processor data_mgr WSF_LINKED_PROCESSOR
report_to commander via sub_net
end_processor
comm sub_net DATALINK
network_name <local:slave>
#internal_link task_mgr
end_comm
end_platform_type

46
platforms/red/ssm.txt Normal file
View File

@@ -0,0 +1,46 @@
# File generated by Wizard 2.9.0 on Oct 23, 2025.
include_once weapons/ssm/red_srbm_1.txt
include_once behavior/behavior_fire.txt
include_once behavior/behavior_move.txt
include_once behavior/behavior_wait.txt
platform_type SSM WSF_PLATFORM
icon SA-10_Launcher
radar_signature VEHICLE_RADAR_SIGNATURE
mover WSF_GROUND_MOVER end_mover
weapon red_srbm_1 RED_SRBM_1
quantity 10
end_weapon
comm cmdr_net DATALINK
network_name <local:slave>
internal_link data_mgr
internal_link task_mgr
end_comm
processor data_mgr WSF_TRACK_PROCESSOR
purge_interval 60 sec
end_processor
script_variables
string weapon_name="red_srbm_1";
end_script_variables
processor task_mgr WSF_SCRIPT_PROCESSOR
update_interval 5 sec
advanced_behavior_tree
btt on
selector
behavior_node behavior_fire
behavior_node behavior_move
behavior_node behavior_wait
end_selector
end_advanced_behavior_tree
end_processor
zone battalion_sector
circular maximum_radius 100 km
end_zone
end_platform_type

147
platforms/red/ssm_cmdr.txt Normal file
View File

@@ -0,0 +1,147 @@
# File generated by Wizard 2.9.0 on Oct 23, 2025.
include_once signatures/vehicle_signature.txt
processor SSM_CMDR_TASK_MGR WSF_TASK_PROCESSOR
number_of_servers 5
track_update_interval 5.0 sec
#script_debug_writes true
#show_state_transitions
#show_task_messages
script_variables
int MAX_SAMS_PER_TARGET = 2;
int MAX_ASSIGNMENTS_PER_SAM = 4;
string WEAPON_NAME = "";
end_script_variables
// determine if TRACK is assignable
script bool IsAssignable()
#writeln(TRACK);
if ((! TRACK.IFF_Friend()) &&
(TRACK.TimeSinceUpdated() < 30.0))
{
#writeln("find enermy");
return true;
}
return false;
end_script
// determine if the subordinate and/or his subordinates have weapons remaining
script bool WeaponsAvailable(WsfPlatform aAssignee)
bool weaponsAvailable = false;
int quantity = 0;
string weapon_name=aAssignee->weapon_name;
WsfWeapon weapon = aAssignee.Weapon(weapon_name);
if (weapon.IsTurnedOn())
{
quantity = quantity + weapon.QuantityRemaining();
}
if (quantity > 0)
{
weaponsAvailable = true;
}
return weaponsAvailable;
end_script
# -------------------------------------------------------------------------
script void sendMessage()
#writeln("MakeAssignments ");
Array<WsfPlatform> firer = Array<WsfPlatform>();
Array<WsfPlatform> mover = Array<WsfPlatform>();
Array<WsfPlatform> waiter = Array<WsfPlatform>();
foreach (WsfPlatform sub in PLATFORM.Subordinates())
{
if (sub.Type() == "MORTAR")
{
#writeln("is LARGE_SAM_LAUNCHER");
if (WeaponsAvailable(sub) &&
(TasksAssignedTo(sub) < MAX_ASSIGNMENTS_PER_SAM) &&
(TasksAssignedTo(sub, TRACK.TrackId()) < 1) &&
(TRACK.WithinZoneOf(sub, "battalion_sector"))&&
(TRACK.Altitude()<500))
{
#writeln("can fire");
writeln("*** Adding ", sub.Name(), " to firer");
firer.PushBack(sub);
}
}
}
int i;
int numAssignments = (int)MATH.Min(firer.Size(), MAX_SAMS_PER_TARGET);
for (int i=0; i < numAssignments; i = i + 1)
{
writeln("assign fire");
WsfControlMessage msg = WsfControlMessage();
msg.SetAuxData("track",TRACK);
msg.SetAuxData("task","FIRE");
PLATFORM.Comm("sub_net").SendMessage(msg,firer[i].Name(),"cmdr_net");
AssignTask(TRACK, "FIRE", firer[i]);
}
end_script
# -------------------------------------------------------------------------
evaluation_interval DETECTED 20.0 sec
time_to_evaluate DETECTED 5.0 secs
state DETECTED
next_state ASSIGNED
if (! IsAssignable()) return false;
sendMessage();
return true;
end_next_state
end_state
evaluation_interval ASSIGNED 20.0 sec
time_to_evaluate ASSIGNED 1.0 secs
state ASSIGNED
next_state DETECTED
if (! IsAssignable())
{
return true;
}
sendMessage();
return false;
end_next_state
end_state
end_processor
platform_type SSM_CMDR WSF_PLATFORM
icon C4I
infrared_signature VEHICLE_INFRARED_SIGNATURE
optical_signature VEHICLE_OPTICAL_SIGNATURE
radar_signature VEHICLE_RADAR_SIGNATURE
mover WSF_GROUND_MOVER
end_mover
comm sub_net DATALINK
network_name <local:master>
internal_link data_mgr
internal_link task_mgr
end_comm
processor data_mgr WSF_TRACK_PROCESSOR
purge_interval 60 sec
end_processor
processor task_mgr COMMON_CMDR_TASK_MGR
operating_level ENGAGE 1
end_processor
end_platform_type

View File

@@ -0,0 +1,31 @@
# File generated by Wizard 2.9.0 on Oct 23, 2025.
include_once sensors/radar/acq_radar.txt
include_once signatures/copter_signature.txt
platform_type TRANSPORT_COPTER WSF_PLATFORM
icon apache
infrared_signature COPTER_INFRARED_SIGNATURE
optical_signature COPTER_OPTICAL_SIGNATURE
radar_signature COPTER_RADAR_SIGNATURE
mover WSF_AIR_MOVER
end_mover
sensor acq_radar ACQ_RADAR
on
internal_link data_mgr
ignore_same_side
end_sensor
processor data_mgr WSF_LINKED_PROCESSOR
report_to commander via sub_net
end_processor
comm sub_net DATALINK
network_name <local:slave>
#internal_link task_mgr
end_comm
end_platform_type