Jump to content

Search the Community

Showing results for tags 'syntax'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 6 results

  1. Hello all, Just made a little cool thing for my self: a vim syntax for SQF, The repo now features the script I used to generate syntax sections, added support for functions from mods (following mods are considered: CBA, ACE, CUP, TFAR, ALIVE) grab here - https://github.com/ussrlongbow/vim-sqf/releases/tag/2017-03-17 report issues here - https://github.com/ussrlongbow/vim-sqf/issues Version: 2017-03-17 Changelog: enjoy ;)
  2. Can someone help me with this. I'm Kinda new to the whole sound mod but am interested, I have no idea but gotten this far and im just Confused on how to proceed from this point on how i can even get sound through. if someone could help me Thank you. class CfgPatches { class mx { units[]={}; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "A3_Data_F", "A3_Sounds_F", "A3_Weapons_F" }; version="1"; author="cheif22"; }; }; class CfgSoundShaders { class MX_Closure_SoundShader { samples[]= { { "\mx\shots\closure1", 1 }, { "\mx\shots\closure2", 1 } }; volume=0.17782794; range=5; }; class MX_closeShot_SoundShader { samples[]= { { "\mx\shot\closeshot1", 1 }, { "\mx\shot\closeshot2", 1 }, { "\mx\shot\closeshot3", 1 } }; volume=1; range=50; rangeCurve="closeShotCurve"; }; class MX_midShot_SoundShader { samples[]= { { "\mx\shot\midshot1", 1 }, { "\mx\shot\midshot2", 1 }, { "\mx\shot\midshot3", 1 } }; volume=0.79432821; range=1800; rangeCurve[]= { {0,0.2}, {50,1}, {300,0}, {1800,0} }; }; class MX_distShot_SoundShader { samples[]= { { "\mx\shot\distshot1", 1 }, { "\mx\shot\distshot3", 1 }, { "\mx\shot\distshot3", 1 } }; volume=1; range=1800; rangeCurve[]= { {0,0}, {50,0}, {300,1}, {1800,1} }; }; };
  3. Can someone help me with this. I'm Kinda new to the whole sound mod but am interested, I have no idea but gotten this far and im just Confused on how to proceed from this point on how i can even get sound through. if someone could help me Thank you. the export for the file is .wss mono out of a pcm 16bit mono wave file. the script is in a config.cpp file. class CfgPatches { class mx { units[]={}; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "A3_Data_F", "A3_Sounds_F", "A3_Weapons_F" }; version="1"; author="cheif22"; }; }; class CfgSoundShaders { class MX_Closure_SoundShader { samples[]= { { "\mx\shots\closure1", 1 }, { "\mx\shots\closure2", 1 } }; volume=0.17782794; range=5; }; class MX_closeShot_SoundShader { samples[]= { { "\mx\shot\closeshot1", 1 }, { "\mx\shot\closeshot2", 1 }, { "\mx\shot\closeshot3", 1 } }; volume=1; range=50; rangeCurve="closeShotCurve"; }; class MX_midShot_SoundShader { samples[]= { { "\mx\shot\midshot1", 1 }, { "\mx\shot\midshot2", 1 }, { "\mx\shot\midshot3", 1 } }; volume=0.79432821; range=1800; rangeCurve[]= { {0,0.2}, {50,1}, {300,0}, {1800,0} }; }; class MX_distShot_SoundShader { samples[]= { { "\mx\shot\distshot1", 1 }, { "\mx\shot\distshot3", 1 }, { "\mx\shot\distshot3", 1 } }; volume=1; range=1800; rangeCurve[]= { {0,0}, {50,0}, {300,1}, {1800,1} }; }; };
  4. Hello :) I used to have syntax that was placed in the players init that would place fog around the player with like a greenish tinge to it and wind and such, it would also be nice if the effect didn't clear up either. Cheers and thanx for any help.. Edit: I do know about 0 setFog [0.5,0.05,200]; by the way, it is not exactly what I'm looking for tho,, or I just don't understand it enough..
  5. Greetings everyone, I am sorry if my question is not apropriated here but I have searched and I have not found that which I seek. Is there any plugin, mod or custom settings that improves Arma 3's ingame editor scripting capabilities (the code windows in init, triggers etc) ? It would be great if it was possible to make those text boxes behave more like a normal text editor, with line droping, bracket completion and other things. Does anyone know something of the sort? Cheers, Tansvanio
  6. Hello everyone, it's me again, asking some silly questions. Well, let's jump right ahead, shall we? For some hours I've been researching on how to get scripts to start on themselves upon initialization. Nothing seem's to suit my problem well enough. To be clear: the scripts are stored in this folder structure: -@devAddon_sak - -Addons - - -dev - - - -AnoGearAddition_scripts - - - - -exec.sqf - - - - -a_h_useVisor.sqf Basically I tried running 2 if-statements, that'd determine, whether action1 or 2 is to be used. Initially it looked like this: (before anyone asks: since I started coding in gLua, I started to love if-statements for some reason...) // a_h_useVisor \\ if (headgear player isEqualTo "anoHelmet_opened") exitWith {player addAction ["Close Visor", {player addHeadgear "anoHelmet_closed"}]}; if (headgear player isEqualTo "anoHelmet_closed") exitWith {player addAction ["Open Visor", {player addHeadgear "anoHelmet_opened"}]}; After a bit testing I came to the conclusion:"Well, maybe we need something to trigger it, how about that?" So I created another script file, in which I wrote: // exec \\ _handle = [] execVM "\dev\AnoGearAddition_scripts\a_h_useVisor.sqf"; //note, that \dev\ is the .pbo file in which everything is stored, obviously Also didn't seem to work. So I kinda reviewed the code a bit and that happened: // a_h_useVisor \\ while (alive player) do { if (headgear player isEqualTo "anoHelmet_opened") exitWith {player addAction ["Close Visor", {player addHeadgear "anoHelmet_closed"}]}; if (headgear player isEqualTo "anoHelmet_closed") exitWith {player addAction ["Open Visor", {player addHeadgear "anoHelmet_opened"}]}; }; and // exec \\ //_handle = [] execVM "\dev\SpectergearAddition_scripts\a_h_useVisor.sqf"; _triggerExec = createTrigger ["EmptyDetector", getPos player]; _triggerExec setTriggerText "Activate Script"; _triggerExec setTriggerArea [0,0,0, false]; _triggerExec setTriggerActivation ["ALPHA", "PRESENT", false]; _triggerExec setTriggerStatements ["this", "_handle = [] execVM ""\dev\AnoGearAddition_scripts\a_h_useVisor.sqf"""]; Also didn't work out (in the sense, that the given command couldn't be found. Either I looked up the wrong radio thingy, or i screwed up). Now, what I also tried, was using an EvenHandler INIT on the 2 items in the CfgWeapons section themselves, but obviously it didn't work out, b/c according to what I've read so far: the INIT EventHandler only works in CfgVehicles. I've also tried calling a_h_useVisor through my dev console in the Editor, it didn't give me an error, but it did effectively nothing. :D So there I am, not really knowing what to implement in which way. I am also "a bit" tired of looking everything up, though I still have to, I know, but some help from over here would boost me, obviously. *BTW: yes I know: it could've also been done via animation on the model itself, yet then I would need to know how to properly implement the code for triggering the animation, but as of right now there's none given, and I got 2 models, one w/ the closed and one w/ opened visor.* I can bet my soul for sure I did a silly mistake, so feel free to give me the teach-slap/spank. :wub: Much greets, -Sakuie /* Edits: first: grammatical correction of the title second: grammatical correction of a phrase */
×