Arma 3
[SCRIPT] Addon-Free ArmA Radio
Viser 11-20 af 20 forekomster
< 1  >
Opdatering: 24. aug. 2019 kl. 18:30

(24.AUG.2019) v0.93
Size: 44 KB

  • Added: Zeus compatibility
  • Added: 'r_sCHName' global variable to 'CFG.sqf'
  • Added: 'r_sCHShort' global variable to 'CFG.sqf'

  • Changed: Air channel checks for radio backpack, instead of variable/ItemRadio
  • Changed: r_RTO variable simply adds RTO backpack to player unit on connect
  • Tweaked: Scripts check for "ItemRadio" or RTO backback equipped
  • Tweaked: ArmA Radio briefing is visible in map briefing prior to mission start
  • Tweaked: ArmA Radio briefing also uses custom name for "Air Channel" if set
  • Tweaked: Air channel's name can be changed via "r_sCHName" in 'CFG.sqf'
  • Tweaked: Air channel's text by player name can be changed via "r_sCHName" in 'CFG.sqf'

  • Fixed: Code only executed for channel you had selected, ignoring keybinds
  • Fixed: Missing ; and } in 'anim.sqf' (Radio Animation)
  • Fixed: Command channel sender didn't hear his radio squelch in
  • Fixed: Undefined variable 'ch9' script error, if Spectator template not used
  • Fixed: Script error in AFAR "Put" and "Take" eventHandlers
  • Fixed: Serialization script error on script init
  • Fixed: Channels stay off until respawn if you talk underwater without rebreather
  • Fixed: Typo in ArmA Radio briefing

  • Optimized: Replaced execVM with 'compileFinal(preprocessFile"")'
  • Optimized: Replaced '_dik' with _this in 'noCHS.sqf'
  • Optimized: 'noCHS.sqf'
  • Optimized: VON blocker code is called only when pressing the VON keybind
  • Optimized: Removed redundant code from VON blocker code
  • Optimized: Removed a redundant alive check in 'g_out.sqf'
  • Optimized: Removed some redundant publicVariables
  • Optimized: Removed redundant player==player check in script init

  • Removed: "RTO" unitTrait variable
  • Removed: Removed global/publicVariables "ch#Name"
  • Removed: Unused placeholder code for terrain interference
  • Removed: 'noVON.sqf'

KNOWN BUGS:
  • Mouse button inputs (LMB, MMB, RMB) are not supported

Opdatering: 4. juli 2019 kl. 19:22

Happy Independence Day!

(04.JUL.2019) v0.92
Size: 41 KB
  • Added: "PlayerViewChanged" missionEventHandler for unit switch compatibility

  • Tweaked: Increased squelch volume from +7 db to +10 db
  • Tweaked: Radio squelch-out sound is played, if radio static present
  • Tweaked: 'r_CH' is defined in the AFAR init, instead of 'CFG.sqf'

  • Fixed: 'c_out.sqf' was referring to _x in remoteExec'd code, instead of 'r_p'
  • Fixed: 'c_out.sqf' was adding radio noise, instead of squelching out
  • Fixed: 'c_out.sqf' had an undefined '_p' variable in an "else" scope
  • Fixed: Persistent radio static if forced into Direct channel while transmitting
  • Fixed: Persistent radio static if killed while transmitting
  • Fixed: Corrected a code syntax in 'g_in.sqf'
  • Fixed: Spectator & Air channel didn't properly reset upon death/respawn (Again)
  • Fixed: Pop-up radio is hidden when player releases talk key in Direct channel
  • Fixed: Undefined variable 'ch9' script error, if Spectator respawn template not used

  • Optimized: Shortened script name of 'useRadio.sqf' to 'ui.sqf'
  • Optimized: Removed displayEventHandler's global variable 'r_myRadio'
  • Optimized: Removed displayEventHandler's global variable 'blockVON'

  • Removed: Some comments from 'AFAR\f\init.sqf'

KNOWN BUGS:
  • Mouse button inputs (LMB, MMB, RMB) are not supported
  • Not Zeus compatible

Opdatering: 2. juni 2019 kl. 22:19

(03.JUN.2019) v0.91
Size: 41 KB

  • Added: Reload eventHandler; workaround to fix the AFAR reload bug
  • Added: EventHandler which blocks NextChannel/PrevChannel keybinds
  • Added: Setting in 'CFG.sqf which can block nextChannel/prevChannel keybinds
  • Added: 'out2.sqf' : Disables current channel before setting to another channel
  • Added: Code exits if speaking in Global, Side, or Spectator channel

  • Tweaked: Enabled radio animation by default
  • Tweaked: Comments in 'AFAR\f\init.sqf'
  • Tweaked: Functions are initialized within a forEach, instead of count

  • Fixed: Transmitting while reloading played radio animation & deleted magazine
  • Fixed: Pressing any key while transmitting would re-squelch radio
  • Fixed: r_p variable wasn't properly reset after respawning
  • Fixed: Script errors & persistent static related to 's_in.sqf'
  • Fixed: Script error related to non-existent Spectator channel on init
  • Fixed: Spectator Channel wouldn't properly reset after respawning
  • Fixed: Direct Channel wouldn't properly reset after respawning
  • Fixed: Air Channel wouldn't properly reset after respawning
  • Fixed: Vehicle channel didn't have a squelch "in" sound
  • Fixed: Vehicle channel is no longer disabled by default in 'CFG.sqf'
  • Fixed: Wrong custom channel variables referenced
  • Fixed: Missing fragmented bracket in 'anim.sqf'
  • Fixed: Typo in 'g_in.sqf'

  • Optimized: Replaced keyDown/keyUp eventHandlers with 2 to handle all channels
  • Optimized: disableSerialization command added to 'opt.sqf'
  • Optimized: Removed some unneeded semicolons in short code blocks
  • Optimized: Air Channel references in 'prevCH.sqf' and 'nextCH.sqf'
  • Optimized: Removed unnecessary '_useState' variable/check in code init
  • Optimized: Removed redundant locality declaration for function global variables
  • Optimized: Incorporated more of the 'r_p' player variable throughout the scripts
  • Optimized: Air Channel only checks if pushToTalk keybind is being pressed
  • Optimized: _ch6, _ch7, _ch8 referenced in 'nextCH.sqf' switch structure
  • Optimized: Removed currentChannel check from each radio in/out function
  • Optimized: Removed redundant disableSerialization command from '3DLR.sqf'
  • Optimized: Removed redundant waitUntil code in called functions

  • Replaced: inputAction command with actionKeys
  • Removed: KeyDown/KeyUp eventHandlers for each individual channel
  • Removed: Support for the "PushToTalkSide" keybinding
  • Removed: 0 and 1 from 'r_CH' in 'CFG.sqf'
  • Removed: Unused r_s variable
  • Removed: CfgRemoteExec code from 'description.ext' to avoid confusion

KNOWN BUGS:
  • Mouse button inputs (LMB, MMB, RMB) are not supported
  • Not Zeus compatible
  • Major issues occur if player's original group is deleted (Dynamic Groups)

Opdatering: 5. maj 2019 kl. 15:05

Version: 0.9
Size: 40 KB

  • Added: r_RTOs variable to 'CFG.sqf': list of RTO units
  • Added: '3DLR.sqf' script to handle pop-up radio
  • Added: 'opt.sqf' for new options UI
  • Added: Adjustable local script settings in radio UI
  • Added: 2 more radio noise sound effects pulled from Arma 3 to add variety
  • Added: 20 more variations of radio noise for weather/day conditions
  • Added: Global variable 'r_noiz' which stores array of radio noise object(s)
  • Added: 'titles.hpp' for pop-up radio interface
  • Added: 'snd.sqf' to handle rain interference
  • Added: 'opt.sqf' to handle client-side in-game options interface
  • Added: RscTitles reference required in Description.ext
  • Added: Metalman10 [EXP] to credits for helping optimize code initialization

  • Updated: AFAR Instructions Manual in map briefing
  • Updated: readMe.txt
  • Changed: Pop-up radio when transmitting is now coded as an interface
  • Changed: Radio noise intensity increases based on overcast
  • Changed: Radio noise intensity increases based on rain
  • Changed: Radio noise intensity increases based on sunOrMoon
  • Changed: Vehicle channel no longer broadcasts radio noise
  • Changed: Rewrote how radio noise is handled / deleted
  • Changed: Renamed "Support Channel" to "Air Channel"
  • Changed: Players with "RTO" trait have access to "Air" channel
  • Changed: Players in pilot, copilot, or gunner seat get access to "Air" channel
  • Changed: Replaced 'incapacitatedState' command with 'lifeState' command
  • Reverted: Players can no longer become an RTO by having 2+ radios
  • Tweaked: Replaced useless '_x' param in remoteExec with player name
  • Tweaked: Improved compatibility with customized radio channel permissions
  • Tweaked: Improved compatibility with disabled Vehicle channel (r_vCH)
  • Tweaked: Improved readability of titleText pop-up when opening radio UI
  • Tweaked: Capitalized all letters in "GUNNER" string, in 'anim.sqf'

  • Fixed: Undefined variable "RTO"
  • Fixed: Passengers of vehicles without the RTO trait would get Support channel
  • Fixed: Player would detect himself when transmitting
  • Fixed: Script errors related to enableChannel using bool value, instead of array
  • Fixed: Non-default channel permissions weren't taken into consideration
  • Fixed: Radio noise can only be deleted by the sender ending transmit
  • Fixed: AFAR no longer interferes with hints from mission/mods
  • Fixed: Channel(s) would vanish if no other players available to receive message
  • Fixed: Persistent static bug, related to talking on radio while incapacitated
  • Fixed: If player spawns without a radio, player would hot-mic

  • Optimized: Pop-up radio no longer uses attachTo
  • Optimized: Radio noise no longer uses attachTo
  • Optimized: Removed conditional checks in 'useRadio.sqf'
  • Optimized: Removed distance checks
  • Optimized: Removed alive checks
  • Optimized: Removed array sorting code
  • Optimized: Removed vehicle type check
  • Optimized: Removed damage player check in "Put" and "Take" eventHandlers
  • Optimized: Removed '_rtoSeat' variable
  • Optimized: Removed '_PLR' variable from some eventHandlers
  • Optimized: Renamed '_nearP' to '_p'
  • Optimized: 'V_In' checks for players in your vehicle only
  • Optimized: Removed redundant resetting of local/private variables
  • Optimized: Removed redundant 'r_PS' variable
  • Optimized: Removed redundant player isKindOf r_PS checks
  • Optimized: Removed redundant player condition checks in r_fuzz and r_fuzz2
  • Optimized: Removed redundant ItemRadio and RTO trait check in 'out' functions
  • Optimized: Removed duplicate in and out eventHandlers for Support channel
  • Optimized: Vehicle horn check no longer uses BIS_fnc_inString
  • Optimized: Code no longer looks for attachedObjects
  • Optimized: Code checking for RTO seat simplified into light-weight variable
  • Optimized: Improved group leader check in the Command channel functions
  • Optimized: Improved civilian vehicle check in the Support channel functions
  • Optimized: Improved efficiency of generating players array variables
  • Optimized: Improved efficiency of getInMan / getOutMan eventHandlers
  • Optimized: Improved efficiency of all in and out functions
  • Optimized: Replaced spawned/attached radio object with a 3D interface
  • Optimized: Replaced (leader(group(vehicle _x))==_x) with (leader group _x==_x)
  • Optimized: Replaced side player with playerSide
  • Optimized: Replaced if(then);if(then);if(then); to a switch
  • Optimized: Replaced 'r_S' with playerSide - (Test)
  • Optimized: Replaced 'r_PS with playerSide - (Test)
  • Optimized: Replaced == with isEqualTo in some cases
  • Optimized: Replaced select with # in some cases
  • Optimized: Replaced ""code"" with 'code' for strings in eventHandlers
  • Optimized: Replaced player with r_p variable - (Test)
  • Optimized: Renamed '_rtoSeat' to 'seat'
  • Optimized: Renamed 'r_Hush' to 'r_out'
  • Optimized: Renamed 'Hush.sqf' to 'out.sqf'
  • Optimized: Deleted lots of "unneeded" whitespaces :lunar2019coolpig:
  • Optimized: Filesize reduced from 104 KB to 41 KB

  • Removed: Radio range requirement (Until BI adds a local mute command)
  • Removed: Radio range settings from the 'CFG.sqf'
  • Removed: Short range "walkie talkie" model
  • Removed: All "Transmitting..." type hintSilent commands in functions
  • Removed: 'S_In1.sqf' and 'S_Out1.sqf'
  • Removed: 'fuzz3.sqf'
  • Removed: Redundant 'r_WS' global variable
  • Removed: Redundant 'AFAR_Text' class from 'defines.hpp'
  • Removed: Unused controls/styles from the 'defines.hpp'
  • Removed: Check if playersNumber playerSide<2 in all functions
  • Removed: MissionEventHandler which deleted the attached radio noise
  • Removed: Unfinished placeholder Zeus compatibility code

KNOWN BUGS:
  • Mouse button inputs (LMB, MMB, RMB) are not supported
  • Not Zeus compatible
  • Talking on radio while reloading plays animation & deletes new magazine
  • Major issues occur if player's original group is deleted (Dynamic Groups)
  • Pressing any key while holding PTT resets PTT EH

Opdatering: 22. nov. 2017 kl. 10:26

Version: 0.8
Size: 104 KB

  • Added: New "Spectator channel" (Only works with Spectator respawn template)
  • Added: New "Take" eventHandler: calls r_allOn function upon picking up radio
  • Added: New "r_RTO" function: handles Support channel adding/removing
  • Added: New "Fuzz3" function: handles Support channel's radio noise
  • Added: New "S_In1" function: Support channel's "in" function for vehicles
  • Added: Player's channel is set to Direct upon respawn
  • Added: Player's channel is set to Direct when talking in a channel he shouldnt
  • Added: Blackheart_Six credited for helping test AFAR

  • Updated: Arma Radio's Instructions Manual briefing information
  • Changed: "Fuzz2" function now handles Command channel's radio noise
  • Changed: Squad leaders no longer have forced access to Support channel
  • Changed: Support Channel is available to anyone with the "RTO" unitTrait
  • Changed: Rewrote some of the "getIn" and "getOut" eventHandler code
  • Changed: Gunners aren't auto-granted access to Support channel
  • Changed: Boat crews aren't auto-granted access to Support channel
  • Changed: Vehicles with horns aren't auto-granted access to Support channel
  • Changed: AFAR animation is disabled by default, in the CFG.sqf
  • Tweaked: Reduced max AI alert radius around talking player to 9m, down from 15m
  • Tweaked: If player talks with 0 players on his side, channel is set to Direct
  • Tweaked: Support Channel is now labeled "Support channel" (Lower-case "C")
  • Tweaked: Added "r_" prefix to some functions for consistent naming conventions

  • Fixed: "Fuzz2" function wasn't working
  • Fixed: Radio interface buttons were misplaced if interface size wasn't "Small"
  • Fixed: Spectators could talk in all channels (A3 Respawn Template)
  • Fixed: Script wasn't TeamSwitch compatible
  • Fixed: Static Weapon gunners were getting access to Support channel
  • Fixed: "Put" eventHandler was calling "allOn" function, when killed
  • Fixed: Channels would disable when player moved a radio, while one was assigned
  • Fixed: Cycling channels in radio interface didn't work correctly, if not a group leader
  • Fixed: Array of players now only collects players within radio range
  • Fixed: A couple if()then{ structures were setup incorrectly, causing errors
  • Fixed: Fragmented brackets were misplaced at end of "vOut" function
  • Fixed: Renamed RscText and RscButton to avoid mod/script conflicts

  • Optimized: "Fuzz2" function has a few less if()then{ structures in it
  • Optimized: Removed redudnant check if player distance > 0
  • Optimized: Removed redudnant "case(_x distance > maxRange):do{};"
  • Optimized: Removed redundant Support channel activation in AFAR "init.sqf"
  • Optimized: Removed redundant argument when calling "allOn" function
  • Optimized: Removed redundant argument when calling "allOff" function
  • Optimized: Removed redundant called sort function in "out" functions
  • Optimized: Removed redundant "_d1" variable, in "out" functions
  • Optimized: Removed redundant "_c" variable from "out" functions
  • Optimized: Removed redundant "_this" variable, in displayEventHandlers
  • Optimized: Removed redundant "RscPicture" from "defines.hpp"
  • Optimized: Renamed "blockVON.sqf", to "noVON.sqf"
  • Optimized: Renamed "seeAFAR", to "r_3DR"
  • Optimized: Renamed "anAFAR", to "r_Anm"
  • Optimized: Cleaned up some unneeded placeholder comments

  • Replaced: "S_In" with "S_In0": Support channel's "in" function for infantry
  • Replaced: "r_sortD" function with BIS_fnc_sortBy
  • Removed: Squad leader requirement from Support channel
  • Removed: Randomization from enemy AI alert radius, when player is talking
  • Removed: CH6,CH7,CH8 variables from r_CH variable, in the CFG.sqf

Opdatering: 26. okt. 2017 kl. 11:55

  • Fixed: Script error related to incorrect use of count command
  • Fixed: Whenever Support Channel was disabled/removed, Group would also disable
  • Fixed: allOff function was broken


KNOWN BUGS:
  • Does not support Zeus
  • Mouse button inputs (LMB, MMB, RMB) are not supported
  • Reloading before talking on radio plays animation and deletes new magazine
  • Spectators can talk on any channel (Arma 3 Respawn Template)
  • Script error when talking near an incapacitated player

Opdatering: 23. okt. 2017 kl. 14:47

  • Added: Max short-range radio range setting to the CFG.sqf
  • Added: Max long-range radio range setting to the CFG.sqf
  • Added: 2 more static sounds to SFX.hpp, which are slightly louder
  • Added: Arma Radio's Instructions Manual now shows max effective range
  • Added: New "allOff" function to disable all radio channels
  • Added: New "r_alert" function, which alerts nearby enemy AI when talking
  • Added: New setting to disable/enable the new AI alert function
  • Added: Player notification to set a Diary keybind, if one is not detected
  • Added: Player notification to set a PushToTalk keybind, if one is not detected
  • Added: Player notification to unbind VoiceOverNet keybind, if one is detected

  • Updated: Arma Radio's Instructions Manual with more information
  • Changed: Radio ranges are calculated differently
  • Tweaked: Increased default max short-range radio range to 2000, up from 1200
  • Tweaked: Increased default max long-range radio range to 6000, up from 4000
  • Tweaked: Two extra static stages to Fuzz.sqf, when near max radio range
  • Tweaked: "_c" variable is now reset to objNull, instead of an empty string
  • Tweaked: Reorganized some code in the AFAR\init.sqf

  • Fixed: Removed debug info whenever pressing/releasing a PushToTalk key
  • Fixed: Player on ground could not transmit to a pilot via Support Channel
  • Fixed: Support Channel wasnt disabled for everyone if less than 2 players active
  • Fixed: Support Channel would disable all channels if outside radio range
  • Fixed: Support Channel for other factions was sometimes available to the player
  • Fixed: Script error related to the custom Support Channels' initialization
  • Fixed: Radio channel disabling in all channels is more consistent
  • Fixed: Command Channel would disable all channels if outside radio range
  • Fixed: Corrected mispelled word "receive" in briefing / comments

  • Optimized: Radio channels are disabled via new "allOff" function
  • Optimized: Removed redundant distance check in all radio "In" functions
  • Optimized: Removed redundant block of code in "Fuzz.sqf"
  • Optimized: Removed redundant block of code in "Fuzz2.sqf"

  • Removed: Unused isAFAR publicVariable
  • Removed: KillzoneKid from credits (Contribution no longer relevant)


KNOWN BUGS:
  • Does not support Zeus
  • Mouse button inputs (LMB, MMB, RMB) are not supported
  • Reloading before talking on radio plays animation and deletes new magazine
  • Spectators can talk on any channel (Arma 3 Respawn Template)
  • Script error when talking near an incapacitated player

Opdatering: 7. sep. 2017 kl. 10:39

Opdatering: 7. sep. 2017 kl. 9:57

Opdatering: 7. sep. 2017 kl. 8:18

(07.SEP.2017) v0.6
Size: 80 KB

  • Added: Long-range radio interface
  • Added: Support Channel for each side (WEST, EAST, INDEPENDENT)
  • Added: Locality check at beginning of script initialization
  • Added: New "Fuzz2" function which handles long-range radio static (4 KM)
  • Added: Function which completely blocks VoiceOverNet keybind/input
  • Added: Function to handle proper enabling of radio channels
  • Added: sc to credits

  • Updated: Arma Radio's Instructions Manual briefing
  • Tweaked: Killed/Respawn eventHandlers changed to MP eventHandlers
  • Tweaked: MPKilled/MPRespawn eventHandlers now refer to _PLR instead of player
  • Tweaked: Increased volume of radio squelch noises
  • Tweaked: Radio interface is no longer moveable
  • Tweaked: Radio interface shows long-range radio, if player is a:
    1. Squad leader
    2. Pilot (Copilot not yet supported)
    3. Gunner
    4. Commander

  • Possibly Fixed: Persistent static bug
  • Fixed: "Locality" bug
  • Fixed: Array of players nearby is now sorted from nearest to farthest
  • Fixed: All channels disabled/enabled upon death/respawn
  • Fixed: All channels properly disable if player talks while unable to breathe
  • Fixed: Radio/static is now deleted properly, when entering/exiting a vehicle
  • Fixed: Instance where keyUp/keyDown eventHandlers weren't reset properly

  • Optimized: AFAR no longer uses a custom texture (70kb) for interface
  • Optimized: Players outside of radio range are now disregarded in the Fuzz.sqf
  • Optimized: _this variable is used instead of [player], in eventHandlers
  • Optimized: getInMan / getOutMan eventHandlers
  • Optimized: Channels are now collectively disabled, using count
  • Optimized: Replaced [array]+[array], with [array] append [array] in Hush.sqf
  • Optimized: Replaced MPKilled eventHandler with Killed eventHandler
  • Optimized: Replaced MPRespawn eventHandler with Respawn eventHandler
  • Optimized: Removed surfaceIsWater check
  • Optimized: Removed several redundant getPos commands
  • Optimized: Removed redundant argument from several calls/execVM's
  • Optimized: Removed comments from a few scripts

  • Replaced: Radio interface's custom texture with an in-game model
  • Replaced: Side channel with Support channel
  • Replaced: [Player] variable with _this, in eventHandlers
  • Removed: Redundant [player] argument for init scripts
  • Removed: AFAR Lobby Parameters
  • Removed: paramsArray references in code for easier implementation
  • Removed: Channel check at beginning of Fuzz.sqf and Fuzz2.sqf
  • Removed: Global channel
  • Removed: enableChannel 6
  • Removed: ^v^v^v^v^ broken signal from Long-Range "Fuzz2" function
  • Removed: VoiceOverNet inputAction keyDown/Up eventHandlers
  • Removed: "VONin" and "VONout" functions
  • Removed: fadeSpeech command from scripts