Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "BIS_AddonInfo.hpp"
- //do not binarize this file else Arma 3 won't be able to find the scripts and sounds
- class CfgPatches
- {
- class bf_109_scripts
- {
- author = "blackgun121";
- units[] = {};
- sounds[] =
- {
- "stuka_siren"
- };
- requiredVersion = 1.0;
- requiredAddons[] = {};
- };
- };
- class cfgSounds
- {
- class stuka_siren
- {
- name = "Ju-87 Stuka Siren";
- sound[] = {"bf_109_scripts\sounds\stuka_siren.wav", db+25, 1.0}; //sound path, volume, pitch
- titles[] = {};
- };
- };
- class CfgFunctions
- {
- class Bf_109
- {
- tag = "LIB"; //custom tag
- class Functions
- {
- //use "[this] spawn LIB_fnc_X;" command, replace X with any of the class name below (Note: do not replace "spawn" with "call" or the game may crash when using Stuka Siren function)
- class Bf_109a_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109a_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109b_early_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109b_early_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109b_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109b_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109c_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109c_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109d_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109d_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109e_early_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109e_early_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109e_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109e_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109f_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109f_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109g_early_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109g_early_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109g_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109g_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109g_late_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109g_late_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109g_very_late_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109g_very_late_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109k_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109k_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Bf_109k_late_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\bf_109k_late_loadout.sqf";
- description = "Adds selected weapons to the plane as a component";
- };
- class Fw_190_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\fw_190_loadout.sqf";
- description = "Adds patched weapons to the plane and removes default weapons and magazines";
- };
- class Ju_87_early_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\ju_87_early_loadout.sqf";
- description = "Adds patched weapons to the plane and removes default weapons and magazines";
- };
- class Ju_87_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\ju_87_loadout.sqf";
- description = "Adds patched weapons to the plane and removes default weapons and magazines";
- };
- class P_39_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\p_39_loadout.sqf";
- description = "Adds patched weapons to the plane and removes default weapons and magazines";
- };
- class P_47_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\p_47_loadout.sqf";
- description = "Adds patched weapons to the plane and removes default weapons and magazines";
- };
- class Pe_2_Loadout
- {
- file = "bf_109_scripts\loadout_scripts\pe_2_loadout.sqf";
- description = "Adds patched weapons to the plane and removes default weapons and magazines";
- };
- class Stuka_Siren
- {
- file = "bf_109_scripts\stuka_siren_script\stuka_siren.sqf";
- description = "Plays stuka siren when the plane enters a dive";
- };
- class Ju_87_Init
- {
- file = "bf_109_scripts\init_scripts\ju_87_init.sqf";
- description = "Adds bullet trail effects and functions to the plane";
- };
- class Fw_190_Init
- {
- file = "bf_109_scripts\init_scripts\fw_190_init.sqf";
- description = "Adds bullet trail effects to the plane";
- };
- class P_39_Init
- {
- file = "bf_109_scripts\init_scripts\p_39_init.sqf";
- description = "Adds bullet trail effects to the plane";
- };
- class P_47_Init
- {
- file = "bf_109_scripts\init_scripts\p_47_init.sqf";
- description = "Adds bullet trail effects to the plane";
- };
- class Pe_2_Init
- {
- file = "bf_109_scripts\init_scripts\pe_2_init.sqf";
- description = "Adds bullet trail effects to the plane";
- };
- class Drop_Tank
- {
- file = "bf_109_scripts\fired_scripts\drop_tank.sqf";
- description = "Simulates a drop tank (requires drop tank weapon to function)";
- };
- class Multi_Fire
- {
- file = "bf_109_scripts\fired_scripts\multi_fire.sqf";
- description = "Allows multiple weapons to be fired at the same time";
- };
- class Mistel_Init
- {
- file = "bf_109_scripts\mistel_scripts\mistel_init.sqf";
- description = "Adds Mistel 1 and eventhandlers to the plane and mistel";
- };
- class Mistel_Player
- {
- file = "bf_109_scripts\mistel_scripts\mistel_player.sqf";
- description = "Locks mistel controls for player controlled mistel";
- };
- class Mistel_AI
- {
- file = "bf_109_scripts\mistel_scripts\mistel_ai.sqf";
- description = "Tells mistel ai to move the plane's locked target position and crash into the ground when close to the target";
- };
- class Mistel_Remove_Weapon
- {
- file = "bf_109_scripts\mistel_scripts\mistel_remove_weapon.sqf";
- description = "Removes Mistel weapon and pylon magazine after an X amount of time";
- };
- class Mistel_Add_Weapon
- {
- file = "bf_109_scripts\mistel_scripts\mistel_add_weapon.sqf";
- description = "Adds Mistel pylon weapon after an X amount of time";
- };
- class Mistel_Gear_Init
- {
- file = "bf_109_scripts\mistel_scripts\mistel_gear_init.sqf";
- description = "Raises landing gear if Mistel starts in the air";
- };
- class Mistel_Gear
- {
- file = "bf_109_scripts\mistel_scripts\mistel_gear.sqf";
- description = "Animates landing gear on Mistel 1 (requires gear eventhandler to function)";
- };
- class Mistel_Animate_Gear
- {
- file = "bf_109_scripts\mistel_scripts\mistel_animate_gear.sqf";
- description = "Animates Mistel landing gear";
- };
- class Mistel_Animate_Gear_On_Plane
- {
- file = "bf_109_scripts\mistel_scripts\mistel_animate_gear_on_plane.sqf";
- description = "Animates Mistel landing gear on plane";
- };
- class Mistel_Jettison
- {
- file = "bf_109_scripts\mistel_scripts\mistel_jettison.sqf";
- description = "Adds Mistel jettison user menu";
- };
- class Mistel_Attach
- {
- file = "bf_109_scripts\mistel_scripts\mistel_attach.sqf";
- description = "Attaches Mistel to plane";
- };
- class Mistel_Detach
- {
- file = "bf_109_scripts\mistel_scripts\mistel_detach.sqf";
- description = "Adds Mistel detach user menu and detaches Mistel from plane, script places mistel in a safe random position near the plane";
- };
- class Clear_Blast
- {
- file = "bf_109_scripts\modifier_scripts\clear_blast.sqf";
- description = "Forces plane to flying to a safe height when using very high explosive weapons";
- };
- class Disable_Damage
- {
- file = "bf_109_scripts\modifier_scripts\disable_damage.sqf";
- description = "Disable damage for an X (in seconds) amount of time";
- };
- class Mass_Adjust
- {
- file = "bf_109_scripts\modifier_scripts\mass_adjust.sqf";
- description = "Adjust mass to an aircraft to increase/decrease its handling";
- };
- class Lock_Controls
- {
- file = "bf_109_scripts\modifier_scripts\lock_controls.sqf";
- description = "Locks vehicle controls for an X (in seconds) or infinite amount of time";
- };
- class Taxiing
- {
- file = "bf_109_scripts\fixes_scripts\taxiing.sqf";
- description = "Fixes taxiing if the plane gets stuck";
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement