stab-virtual-jabog32 / STTR-script

STTR script for Kola Map
GNU General Public License v3.0
0 stars 0 forks source link

STTR Script - VJaBoG32

This is the Script for our Training TEmplate Copyright (C) 2024 JaBoG32 Team MIST is not included in this Repository but a prerequisite to use the script

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

This project provides a modular framework for managing various aspects of DCS (Digital Combat Simulator) missions for the VJaBoG32 virtual squadron. The STTR script Template system is built to support mission builders by offering flexible, reusable scripts and tools for managing training ranges, bombing feedback, and other mission-critical components.

Key Features

Modules Overview

1. sttr-modules

This directory contains the core modular scripts used in the STTR system. Each module has a specific role in managing certain aspects of DCS missions. Some key modules include:

2. STTR_vJaBoG32Template_Script.lua

This is the main entry point for loading and running the STTR framework. It orchestrates the execution of the modules and sets up the necessary components such as the radio menu, feedback loops, and range control systems.

3. doc

This directory contains any relevant documentation that helps developers and mission builders understand, and modify the system.

4. dev

A folder containing experimental or additional scripts used during the development process. It also features a DCS mock API and a name checker such that you can use it from Terminal.

Modular Approach

The modular approach allows each aspect of range management and mission control to be separated into distinct components, which can be independently updated or extended without affecting the entire system. Each module is well-structured, following a clear flow, and uses naming conventions to simplify unit categorization.

Naming Convention

The naming convention used for categorizing units in training ranges is essential to how the Range Management Module dynamically handles spawning and management. The format is as follows:

country-rangeID-metagroup-id

Where:

Radio Menu System

The system automatically builds a structured F10 radio menu based on the categorized groups. This allows mission builders and players to easily control range activities through an intuitive interface. For example, spawning a group or activating ROE settings can be done through this menu, simplifying the workflow during missions.

How to Use

For mission builders, setting up the STTR system is straightforward:

  1. Create a mission .miz file and ensure that unit groups follow the predefined naming conventions.
  2. In your mission's top-level script, load the required modules and initialize the STTR main.
  3. Use the F10 radio menu to control ranges, spawn AI units, and receive feedback during training.

For specific usage of the Range Management and Bombing Feedback modules, refer to their respective README files.

Developer Guide

For developers looking to extend the STTR system, the modular approach makes it easy to add new functionalities or modify existing ones. Each module follows a clear structure and naming pattern, and shared utility functions are located in the utils and misc directories for easy access.

Feel free to explore the sttr-modules folder and inspect the individual scripts to understand the logic and flow. The entire system is designed to be flexible and easily integrated into other DCS mission scenarios.


Happy Mission Planning!