Jump to content

Search the Community

Showing results for tags 'scripting'.



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
    • Arma Reforger
    • 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
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter
  • DayZ Italia's Lista Server
  • DayZ Italia's Forum Generale

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 513 results

  1. This sounds so simple it hurts, yet I wasn't able to find any answer or hint anywhere You've got 3 dudes in your squad: number 1, number 2, number 3. In the group units array, number 1 is at index 0, number 2 is at index 1, number 3 is at index 2. Everything's good, I can easily retrieve the actual number by doing array index + 1. However, something bad happens to number 2, so now you've got 2 dudes in your squad: number 1, number 3. In the group units array, number 1 is at index 0, number 3 is at index 1, so I can't retrieve the number based on the array indexes anymore. Yet the UI keeps displaying the correct squad numbers so the info must be somewhere. Any idea? Thanks!
  2. So what i wanna do is to make an ai join my group when i'm at a certain distance away from him. Problem is, it could be random where he is. I've tried the "Attatch To" script but it doesn't seem to work for me and i've also tried to use "if (_x distance <5) but that doesn't work either. I'm not very good at scripting : /. Any help with this would be appriciated.
  3. Hello My name is John and we have been working on a Arma 3 Life Server. We have our own Server Box for the Game server. The Teamspeak is a NPL 512 slot, and 40+ people trying to help. The thing is, they are all what i call (Google Devlopers) besides one gentlemen. But work is an overload on him and we are requesting some experienced help. No matter what your talent is in the scripting/modding world, we will most defiantly take a look at you. When we get up and running you will be rewarded for the amount of help/work you put into the community. Serious Inquires only please. 18+ is required Email John: 3rdsfo@gmail.com Map is already up, Most things work properly, they just need help on the pile of work left to do.
  4. G'day guys, There has been a lot of new threads by newcomers that ask the same/similar questions, found in many other threads. If you are new to ArmA or want to get into scripting, welcome to the forums! :) As you know, there is a search box at the top of the page, it can be used to search throughout every thread what you are after. Bear in mind that it may sometimes not provide you with the proper answer. This, however, doesn't mean that another thread should be opened. In fact, there is a huge library of scripts you probably never heard of. Check it out, there is an abundant of examples provided in each script command: https://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3 It is constantly being updated with new facts, info and scripts by many of our users such as KK. (Killzone Kid) Lastly, here are some basic info and tips on scripting. To create your own scripts, navigate to "My Documents\Arma 3\missions\your_saved_mission". Then, create a text document and rename the extension ".txt" to ".sqf". Once done, open it with Notepad or Notepad++. To run your script in the game, navigate to your mission folder and create a "init.sqf". Open it and put this in: [] execVM "myscript.sqf"; If you want to get a specific unit to do some action (e.g. setDamage or setFuel), give your unit a name but without spaces. Then in a trigger, put this in: myguy setDamage 1; The symbol ";" used after each command, is to separate the command from another. (Think of it as a period symbol)Also, if you are thinking that Steam Workshop is the only place for mods, addons, scripts, etc. Armaholic is the official site for releasing such. You can find it here, they also have a FAQ as well: http://www.armaholic.com If you want to convert a string to code, you can use call compile STRING. This is very handy (and sometimes a smart trick) when passing code around such as lbData. ;) This wraps up the introduction for those new to scripting. If you have any questions, concerns or ideas that may improve this thread, feel free to post here. ^_^ Happy Scripting, ;) Rawner135 ArmA 3 Tutorial Links: Arma 3 Scripting Tutorial For Noobs - forums.bistudio.com [Tutorial] Server Side Scripting - forums.bistudio.com Camera Scripting - www.armaholic.com KK's blog - ArmA Scripting Videos: Modding Tutorials by GameDev Byrne: https://www.youtube.com/playlist?list=PLqRU_EL4pwOHOJ6L2P5XlpfmNoWqulZqf Other Tutorial Links: http://www.kylania.com/ex/ Conversation System Mission Editor ArmA 2 Mission Editor Triggers OFPEC ArmA 2 Scripting Commands ArmA2 COMREF Forums Post - Classnames ArmA2 Library ArmAholic ArmA2 Moves ArmA2 Modules Description.ext Scripting Topics (Check All Links) Startup Parameters Crash Files Tasks ARMA 2 Functions PostProcess Effects
  5. Visual Studio Code SQF Language v1.0.6 Lastest update: 22.10.2018 Microsoft Visual Studio Code is a new, but already very known Code Editor. Works on Linux, OS X and Windows. Now in the Visual Studio Marketplace -> Report bugs, ask questions or make suggestions <- Supported Products: Operation Flashpoint [OFP], Operation Flashpoint: Resistance ArmA, ArmA 2, ArmA 3 (DLCs & Extensions included) Take On Helicopters [ToH] Community Based Addons [CBA], ACE Easy Installation (Recommended) Download Visual Studio Code. Open the Editor and click on the extension icon to your left ( ) Enter "SQF" and hit enter Select "SQF Language" and click on "Install" Enjoy Manual Installation Only use this guide if the installation over the extension manager and/or marketplace isn't working! Download VS Code Download the latest release from GitHub ( https://github.com/Armitxes/VSCode_SQF/releases ) Install Visual Studio Code Navigate to your VS Code extension Folder. Windows: %USERPROFILE%\.vscode\extensions Mac/Linux: $HOME/.vscode/extensions In the plugins folder, you create a folder called Armitxes.SQF, if you have it already delete all files inside! Inside the Armitxes.SQF folder you then unzip the sources you obtained from GitHub That's it, now simply (re-)start Visual Studio Code (or just "Code") and it's done :) With VS Code, every folder is a project! To open your SQF Project simply go on File->Open Folder and choose your mission/mod folder. Feel free to ask any questions, aswell the Code of the GitHub Project was now simplified several times by me and is open for everyone for contribution! Cheers, Armitxes
  6. BIForums personal (highlights) Gun light flash - how to remove or decrease 15th anniversary of OFP/CWA DXDLL - advanced tweaking (and 12th anniversary) 14th anniversary of OFP:CWC transitionsSimple making trees disappear when destroyed PRIMARY in config.cpp (regarding weapons)? Exclude face class(es) Berghoff's nature packs alignment fix ButtonFullSave Proxy driver/cargo - action relation DXDLL source code bn880's Tracers 1.25 Grades in CfgWeapons Discover and Identify IncomingMissile EventHandler [FIX] Workaround for faulty texture sorting (units visible through smoke, etc) Island Map in a Dialog MiniMap script This thread (highlights) Sniper crouch (animation) test 'Forest experiment' 'Building destruction experiment' (01) coop @c2 papier - intro Bike horn test (cut) JAM Smokeblock FDF smokeblock Handgun visibleSize bug (01) Handgun visibleSize bug (02) 'Parachute experiment' 'Mirror image experiment' 'Physics experiment' 'When a game becomes a meme' Adding user values to your models will increase the section count dramatically. 'Building destruction experiment' (02) ClimbOver Animation JumpOver Animation Building destruction (01) Building destruction (comparison) Forest destruction Forest destruction (comparison) Obscuring AI field of view after forest destruction Climbing script An example of model rescaling via island-editor Fixing forest ViewGeometry (01) Improved AI scipt (Take Cover script) Fixing forest ViewGeometry (02) Comparison of original and fixed Forest ViewGeometry CCS - @customfix cargo system (01) CCS - @customfix cargo system (02) On-the-fly loading of island's buildings Building destruction (02) Use view geometry lods to Occlude sunlight Totally Destructible Environment (TDE) 'A fallen static objects' geometries bug' HUD Evolution How to fix broken triangle-shaped forest model How I discovered the way Forest ViewGeometry works How to make Forest use ViewGeometry components How to build proper Forest ViewGeometry -benchmark Models replacement via mission folder FILE(s) NOT FOUND Security Flaw & Fix Checkfiles Aspect Ratio registry-derived issue Usage of black texture for ignoring FireGeometry components Fast Addon Testing SQUAD.XML - Problem & Solution A lone road sign on Everon Automatic Body Removal A lone road sign on Kolgujev Zamerny - memory point Geometry of fallen tree - FIXED The tallest OFP/ACWA model 1.96 vs 1.99 Gamma & Brightness (G&B) settings An update on HUD Evolution Change OFP/ACWA in-game fonts globally via CfgFonts Secret 5T-Truck Crate Animate (rotation) bug A 2nd update on HUD Evolution
  7. Just a heads up that I've completed a v1.99 (so, CWA) version of the scripting commands page. It also includes quick references to all the changes since 1.96. You can find it here: https://community.bistudio.com/wiki/Category:Scripting_Commands_OFP_1.99 As mentioned there, I used information present in the useful CWA scripting document by Faguss for some of the new commands.
  8. WORK IN PROGRESS https://www.youtube.com/watch?v=K6LDXK1URr8 I've decided to openly release a very basic version of iBuild for testing. The main reason for this is to test the underlying foundations and iron out any kinks before I start piling new features and content on top. It's very basic and rough, but it has enough content to give you an idea of where it's heading. The mod has evolved from the first conceptual prototype I put together, and I've lost count the amount of times I've started over, so I hope you guys enjoy what I've settled with. I'm still in the process of writing most of the documentation, which I suck at doing, but you can find what has been written so far organised into a drop-down menu under 'iBuild'. More info can be found in the description on Steam. >| Download Pre-Alpha |< About time! ;)
  9. Next to already revealed an known https://community.bistudio.com/wiki/Category:Arma_3:_New_Scripting_Commands_List There are more script commands now :) + fixed http://feedback.arma3.com/view.php?id=12324 + only discussion related to new or changed Arma 3 Beta/Dev Scripting allowed
  10. Hi ! I use this script to respawn players with the same loadout they died with and it works. As you can see i already have a "selectWeapon" part. private ["_unit","_corpse","_w","_m","_b","_bm","_bw","_structure","_type","_muzzles"]; _unit = _this select 0; _corpse = _this select 1; // Get weapons from corpse _w = weapons _corpse; _m = magazines _corpse; _b = typeOf unitBackpack _corpse; _bm = getMagazineCargo unitBackpack _corpse; _bw = getWeaponCargo unitBackpack _corpse; deleteVehicle _corpse; // Structure of action text _structure="<t font='EtelkaMonospaceProBold' size='0.8' color='#885555ff'>"; // Give the unit the weapons back removeAllWeapons _unit; removeAllItems _unit; removeBackpack _unit; { _unit addmagazine _x } foreach _m; { _unit addweapon _x } foreach _w; if(_b != "") then { _unit addBackpack _b; clearWeaponCargo (unitBackpack _unit); clearMagazineCargo (unitBackpack _unit); for "_i" from 0 to (count (_bm select 0) - 1) do { (unitBackpack _unit) addMagazineCargo [(_bm select 0) select _i,(_bm select 1) select _i]; }; for "_i" from 0 to (count (_bw select 0) - 1) do { (unitBackpack _unit) addWeaponCargo [(_bw select 0) select _i,(_bw select 1) select _i]; }; }; sleep 0.1; // Select a correct weapon if (count weapons _unit > 0) then { if ((primaryWeapon _unit) != "") then { _type = primaryWeapon _unit; _muzzles = getArray (configFile >> "cfgWeapons" >> _type >> "muzzles"); if (count _muzzles > 1) then { _unit selectWeapon (_muzzles select 0); } else { _unit selectWeapon _type; }; } else { _type = ((weapons _unit) select 0); _muzzles = getArray (configFile >> "cfgWeapons" >> _type >> "muzzles"); if (count _muzzles > 1) then { _unit selectWeapon (_muzzles select 0); } else { _unit selectWeapon _type; }; }; }; Now the problem is that after respawn the player has to press the F key (switch weapons) twice to select a weapon. He always respawns with no weapon selected (regardless of which weapon) Is this a ArmA bug or did i miss something ?
  11. Hi fellow scripters, Initially we had hoped to release the major upgrade to our scripting technology with Patch 1.03, but we were not able to get it fully implemented in time. Therefore we're pushing the ability to use Java to the next patch Java is available since beta patch rev. 89707 (documentation) Why is this awesomeâ„¢? Using a widespread, proven and robust language with loads of documentation and tutorials. Using IDEs such as NetBeans and Eclipse for development and debugging. Using Object-Oriented programming architecture and design. Using generally much higher performance script execution. Using many standard Java libraries instead of reinventing the wheel. Note: this will not replace SQF scripting, so the transition should be smooth.
  12. Hi all. I was about to finish the fifth Arma II campaign mission, "Razor Two", when by some mistake I reverted to the beginning of the mission and all my saved games seemed gone (didn't appear ingame). This bothered me a great deal, because I was playing through it for the third time and finally managed to get all the evidence and get to Bardak in time. I thought I was in luck when I found the saved games in my "home\Documents\ArmA 2\Saved\ca\missions\campaign\missions\C2B_RazorTwo.Chernarus" folder. I opened the last one with the OA executable and reloaded the game successfully. However, although I can finish the mission, it will no longer advance the campaign. Successfully ending the mission does not unlock the following one. Also, after loading the savegame the "Suspend" option in the menu is replaced with "Abort", and it will delete all mission saves, or so the message says. Saving in a new slot and reloading that game doesn't change this. I've tried copying the old save somewhere else, like "home\Documents\ArmA 2\Saved\ca\missions\campaign" but it didn't work either. Only restarting seems to restore the normal menu behavior (and would likely allow me to continue the campaign). Looks like this behavior was intended (perhaps as an anti-cheat measure?) but as I mentioned I have already played through the mission three times and wasted a lot of what little free time I have, and I'd rather make that old save work if it's somehow possible. Does anyone know of a way? Thank you.
  13. Hi fellow scripters! We've just added documentation on an initial batch of 30 new TKOH script commands. We will both do more batches and add more detail to currently posted documentation. This thread shall keep you in the loop on major updates. Of course any community assistance is more than welcome, and in fact, the first commands were added by MadDogX :cool: Highlights of batch 1: Helicopter engine commands Persistent saving / loading to / from user profiles (very powerful for any scripted system needing to store data on the disk - read the warnings please! ) Custom radio channels (potential for a extensive ATC system if desired)
×