-
Content Count
281 -
Joined
-
Last visited
-
Medals
-
Medals
Community Reputation
25 ExcellentAbout 654wak654
-
Rank
Staff Sergeant
core_pfieldgroups_3
-
Interests
ArmA (Duh), Nerd stuff, Java
-
Occupation
Student
Contact Methods
-
Website URL
ozanegitmen.com
-
Twitter
654wak654
-
Youtube
channel/UCF98bF4ij5C1vBhehkGAw-Q
-
Steam url id
654wak654
-
Twitch.Tv
654wak654
Profile Information
-
Gender
Male
-
Location
Turkey
Recent Profile Visitors
-
Armaholic, how did this pass under your radar?
654wak654 replied to haleks's topic in ARMA 3 - GENERAL
Foxhound himself or not, someone he trusted with managing his income is making these decisions. Jig86 on reddit put it perfectly: https://www.reddit.com/r/arma/comments/75xguh/las_vegas_shooter_mission_released_on_armaholics/ -
ACE3 - A collaborative merger between AGM, CSE, and ACE
654wak654 replied to acemod's topic in ARMA 3 - ADDONS & MODS: COMPLETE
The changelogs are getting better with every update! -
654wak654 started following KokaKolaA3
-
KokaKolaA3 started following 654wak654
-
structure Structure: 'Memorial to The Fallen'
654wak654 replied to Uro's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Lets hope you will never have to update this o7 -
immersion mod bundle Immerse by Jokoho482 and LAxemann
654wak654 replied to laxemann's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Must not... Make... Star Wars pun... About the "force" :unsure:. -
ASL - Arma Scripting Language (Compiler)
654wak654 replied to dekugelschieber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Yes, type checking of commands. Like ARRAY, TEXT, CODE etc. You can compare it with the script to see if the right type is used. For example, this is line 1018: u:showcompass BOOL so if the asl script is showCompass().("25") you can know there is a mistake, and tell the user to use the BOOL type and not the STRING type. Also supportInfo can help you change the syntax a little bit. hint()("Hello") to hint("Hello") You'd be able to remove that extra parenthesis for commands with unary operators! If the command is a unary operator (starting with a 'u:', meaning it has a single parameter (which is always to the right)), you can detect that using supportInfo and convert it accordingly, removing the unnecessary '()'. BI does the research part of the job here for you here, you'll never have to worry about new commands and their syntax; just extract a new supportInfo file with each update and it'll be done. -
ASL - Arma Scripting Language (Compiler)
654wak654 replied to dekugelschieber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Couldn't the output of supportInfo be used for catching most datatype errors? You already have the code for recognizing most of the data types. The exact output needs some editing to help the parser, though looks like a good start. Here is an example output from 1.52: http://pastebin.com/f8u6CSXq -
ASL - Arma Scripting Language (Compiler)
654wak654 replied to dekugelschieber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
ASL scripts become sqf scripts when you run them through the compiler. So you can write your scripts in both languages, but your mission will have just sqf scripts at the end. -
654wak654 started following MachineNetworks
-
MachineNetworks started following 654wak654
-
lite_Bornholm - AiA TP/CUP compatible Bornholm
654wak654 replied to Tonto-'s topic in ARMA 3 - ADDONS & MODS: COMPLETE
Disks storage is cheap, but bandwidth isn't (Just ask the man above me). You've done an amazing favor to the community, probably saved hours of download time for clans. -
ASL - Arma Scripting Language (Compiler)
654wak654 replied to dekugelschieber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Lua wasn't around in the 70s, and it wasn't popular enough in 2000 for a small Czech game company to think about implementing it in to their game to allow scripting. There are tons of other languages like python, ruby and javascript that are old as lua but none of these had any popularity amongst normal people (or even developers) in 2000. They didn't have the internet (both for distribution and as a platform). Like I said the most viable choice was c++ and it whould have been too much. I don't want to turn this thread into a language vs language discussion (though this thread exists because of that). -
ASL - Arma Scripting Language (Compiler)
654wak654 replied to dekugelschieber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
When you say lua I immediately think of Roblox or G-mod. I'd like to think that Arma has way more capacity than those two. Plus BI essentially made all of this stuff we're using 15 years ago. Even Java or C# weren't as popular, and c++ whould give too much access to the game, it also whould be harder to master than sqf. I made this btw, I'll finish it up it after update. -
ASL - Arma Scripting Language (Compiler)
654wak654 replied to dekugelschieber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I get defending SQF's strong sides as a videogame scripting language, but Java is an actual, real programming language. They're just not comparable by some means, like where to put semicolons, or what is a code block. In Java you can use a variable if you put a code below it or above it, since they're not just parsed through from top to bottom like SQF. They're not statements or values, therefor there is no need to put semicolons after them. Code in SQF is a data type: https://community.bistudio.com/wiki/Code -
ASL - Arma Scripting Language (Compiler)
654wak654 replied to dekugelschieber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Too bad everyone is doing it with a different programming language and is trying to use a different syntax. -
ASL - Arma Scripting Language (Compiler)
654wak654 replied to dekugelschieber's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Something else that could help with functions whould be using the params command. I don't know how you'd implement it, but I wrote something that does it. It takes this file for example (funcs.asl): func add(_a, _b) { return _a+_b; } //Supports optional parameters too func testFunction(_param0 = 7, _param1 = "banana") { return true; } func myFunc(_a, _b) { return a > b; } myFunc(1+3/4, 2-(66*22)/3-((123))); And edits it in to this: add = { params ["_a", "_b"]; return _a+_b; }; //Supports optional parameters too testFunction = { params [["_param0", 7], ["_param1", "banana"]]; return true; }; myFunc = { params ["_a", "_b"]; return a > b; }; myFunc(1+3/4, 2-(66*22)/3-((123))); Slight problem: It's written in Java. I took a look at your code and I have no idea how this whould transfer over to go, hope you do. Here is the source, I can try to prepare some actual pseudocode if you're interested, or I can send you the .jar if you'd want to test with it, it runs like this: java -jar paramsParser.jar funcs.asl Prepared it for the command line, you could run it instead of the parseFunction and parseFunctionParameter functions you have. EDIT: Thinking about it, I can probably turn each of these in to a "fn_function.sqf" and add description.ext entries too. -
Had the same "Which mod are those units from" thing in armaholic too (link), I think it's the tone of the grass that gives the picture an arma feeling.