austin_medic 109 Posted October 25, 2014 (edited) Arma 3 Coding Basics byaustin(medic) I wrote up this guide a while back on the steam forums, but I thought it might be useful to upload it elsewhere. Basically it attempts to go over the basics of coding in arma 3. Although I'm no coding guru like some other people on these forums, I do know how to make scripts. Most of it was written off the top of my head, so its probably far from being a complete guide, still, something is better than nothing. It contains 11 sections (techically 12 with the intro paragraph) they cover: Helpful Websites, Varaibles, Files Data types, Passing Variables to Scripts, The Error box, SQF File structure, Clean Code, Functions, Comments, and also a section on Camera Scripting. Any suggestions put them down in the comments Mirrors: Armaholic Dropbox Edited October 26, 2014 by austin_medic Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted October 25, 2014 Nice work. I've seen this sort of PDF titleing somewhere already. Is there a template for this somewhere? And could you give the code some syntax highlighting? That would make it a lot easier for people who are just beginning to learn SQF. Share this post Link to post Share on other sites
austin_medic 109 Posted October 25, 2014 (edited) Nice work. I've seen this sort of PDF titleing somewhere already. Is there a template for this somewhere?And could you give the code some syntax highlighting? That would make it a lot easier for people who are just beginning to learn SQF. 1. I used the titling in MS Word using the Title 1 font template 2. I'll try to do syntax highlighting, thanks for the suggestion. Edited October 25, 2014 by austin_medic Share this post Link to post Share on other sites
Guest Posted October 25, 2014 Thanks for sending us the release :cool: Release frontpaged on the Armaholic homepage. Arma 3 Coding Basics v1.0 ================================================ We have also "connected" these pages to your account on Armaholic. This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have. When you have any questions already feel free to PM or email me! Share this post Link to post Share on other sites
R3vo 2654 Posted October 25, 2014 Very well done scripting guide for beginners. This should be sticky or BI should add it to one of their REPs. However, I've got a little complain, It would have been nice, if you had added a table of contents. Share this post Link to post Share on other sites
austin_medic 109 Posted October 25, 2014 Very well done scripting guide for beginners. This should be sticky or BI should add it to one of their REPs. However, I've got a little complain, It would have been nice, if you had added a table of contents. Waiting a few days before I update the guide with a table of contents and syntax highlighting to gather feedback beforehand. Share this post Link to post Share on other sites
dreadedentity 278 Posted October 25, 2014 Great! I love seeing more resources become available to beginners (check my sig for proof). I've actually been thinking of starting a scripting tutorial series on youtube, even. Is it okay if I add a link to this page in my sig? Share this post Link to post Share on other sites
R3vo 2654 Posted October 25, 2014 Waiting a few days before I update the guide with a table of contents and syntax highlighting to gather feedback beforehand. Great to hear that, thanks Great! I love seeing more resources become available to beginners (check my sig for proof). I've actually been thinking of starting a scripting tutorial series on youtube, even. I would love to see a proper guide about dialogue creating. The BI wiki is a whole mess when you want to create advanced dialogues. Share this post Link to post Share on other sites
austin_medic 109 Posted October 25, 2014 Great! I love seeing more resources become available to beginners (check my sig for proof). I've actually been thinking of starting a scripting tutorial series on youtube, even.Is it okay if I add a link to this page in my sig? Go ahead. @ R3vo I might do one of those when I find time, got a bunch of them on my PC that are semi-functional for accepting user input. Share this post Link to post Share on other sites
R3vo 2654 Posted October 25, 2014 Go ahead.@ R3vo I might do one of those when I find time, got a bunch of them on my PC that are semi-functional for accepting user input. I and probably many others would apprechiate that! Share this post Link to post Share on other sites
austin_medic 109 Posted October 25, 2014 Wrote up another guide on dialogs (should be near the top of this forum now). I'm done writing anything else for today. About 5,000 words combining both guides + formatting and error checking is enough for me. Share this post Link to post Share on other sites
R3vo 2654 Posted October 25, 2014 Wrote up another guide on dialogs (should be near the top of this forum now). I'm done writing anything else for today. About 5,000 words combining both guides + formatting and error checking is enough for me. Wow that's awesome dude! Gonna check it out as soon as I've got time. Share this post Link to post Share on other sites
twisted 128 Posted October 26, 2014 very nice. Thanks for sharing! Share this post Link to post Share on other sites
austin_medic 109 Posted October 26, 2014 Updated the dropbox link with v2! https://www.dropbox.com/s/7l5l2yiwxfvu73d/AUSMD_Coding_Basics_v2.zip?dl=0 Changes include a table of contents, corrections to some parts, a new sample script for power failures, and Disco Lights! Share this post Link to post Share on other sites