VictorFarbau
Member-
Content Count
557 -
Joined
-
Last visited
-
Medals
Everything posted by VictorFarbau
-
VF Ladder Addon
VictorFarbau replied to VictorFarbau's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
I corrected the link labels in the 1st post, thanks for the tip. Yes this is still one of my favourite addons and I use it all the time. Good job Victor :p Cheers, VictorFarbau -
"Hard formation" removal - will somebody notice?
VictorFarbau replied to suma's topic in ARMA 2 & OA - BETA PATCH TESTING
Actually I was using these commands in some complex missions. I hoped to circumvent the sometimes problematic formation behaviour with this. In my view it would be perfectly ok to silently ignore these commands but log a comment in the RPT file such as "Command XYZ in script file xyz is obsolete as of build 12345. Please remove this from your code." If the Wiki also gets updated with a related comment sufiicient care has been taken. After all you can also expect hobby scripters to consult error reports and online command references from time to time. Cheers, VictorFarbau -
Debug Console for ARMA 2
VictorFarbau replied to moricky's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Works fine for me in OA 1.57 using "ARMA2_OA_Build_76973". Guess you would need to be more specific than "does not work"... Cheers, VictorFarbau -
Mig-15 Converted to ArmA 2
VictorFarbau replied to -martin-'s topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Please use the DL link mentioned below in post #131. That one should do the trick; also with potential crashes. VictorFarbau -
BIS_fnc available for addons?
VictorFarbau posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
I am struggling a bit with that BIS_fnc concept. Until some patch level there was a core set of BIS_fnc tagged functions that worked just fine. Now the user has to place a "Functions" module onto the map - otherwise functions won't work. I find this extension of functionality ambiguous - now we have regular scripting commands but also another set of commands through functions dependant on a module. Not sure what the purpose of this split is. Nonetheless some of these functions are incredibly useful. But does it make sense to use them in any addon? In terms of concept - aren't they bound to fail unless used on user maps that happen use the functions module? Cheers, VictorFarbau -
Mig-15 Converted to ArmA 2
VictorFarbau replied to -martin-'s topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
@derrickkolba, @fighterman, can you tell me which version of Arma II you use (stock, OA, PMC...) and which patch level? I would be interested to understand whether problems could occur by calling the "BIS_fnc" module from within the addon. Currently the addon depends on this module which also was changed recently. If this turns out to be the problem - that would be a valuable lesson learned. Cheers, VictorFarbau ---------- Post added at 12:30 PM ---------- Previous post was at 11:03 AM ---------- I removed the dependency to the BIS_fnc module by using a more light-weight method to determine the pitch. That should avoid problems when using non-OA or older ARMA 2 versions. I requested Martin to update the download link now. Cheers, VictorFarbau -
@Defunkt, so far I looked at the Mig15 and the SU25. Which were the ones most present in my missions so that was a priority. But I agree pretty much all of the jets could use an overhaul of their engine sounds. Well, now that I understood the required config values it's merely a matter of finding good and unique samples for more to come. BTW - this very speech synthesizer was one of the options I considered :) Turned out that it just sounds really sad in a cockpit environment due to the tone and emphasis used. But we have a voice actor thread somewhere so that can be an option, too. No idea though whether we have some russian ladies around there. Cheers, VictorFarbau ---------- Post added at 12:26 PM ---------- Previous post was at 11:09 AM ---------- I removed the dependency to the BIS_fnc module by using a more light-weight method to determine the pitch. That should avoid problems when using non-OA or older ARMA 2 versions. New addon link added. Cheers, VictorFarbau
-
Mig-15 Converted to ArmA 2
VictorFarbau replied to -martin-'s topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Yeah yeah, anyways :) CAWS was a side-product of my rework on the SU25 stock addon. So why not use it with another greate plane? And to add some basic sensor system wouldn't even be a big problem in reality I suppose. VictorFarbau -
ARMA 2: OA beta build 76815
VictorFarbau replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
Whoops, with patch 76815 apparently the zombie voices are back :don 11: Played some MP yesterday and my mates could hear them as well. VictorFarbau -
ArmA2 Persistent Database Scripts - WIP
VictorFarbau replied to [kh]jman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Fantastic, I can't wait to try this with some massive MP mission I host now and then. How will the saving be triggered? Will the server save all data for each MP mission upon departure of the last player? Or do missions need to trigger something by a module, variable or similar? Cheers, VictorFarbau -
BIS_fnc available for addons?
VictorFarbau replied to VictorFarbau's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
@Sickboy - now I am angry that I didn't think of this myself so I won't thank you :D I do hold scripts until <bis_fnc_init> already; I just noticed recently that they sometimes never started due to the missing functions module. I'll go for that approach, thanks! @Myke - I see where you're coming from. But I have learned to let go and use existing pieces of code :) Who knows, maybe stuff gets updated or extended in the future. I am fine with just referencing it. Cheers guys, VictorFarbau -
ARMA 2:OA beta patch 76067
VictorFarbau replied to tonygrunt's topic in ARMA 2 & OA - BETA PATCH TESTING
For me this Beta looks A LOT BETTER. Running all options on "Very High" with a i7-860 CPU and an ATI 5850 OC. I now get 35-40 fps but a much nicer picture, I guess that's how it should be. Didn't notice any heavy issues yet, no crashes, no texture blinking. I am a happy camper now. VictorFarbau -
ARMA 2:OA beta patch 75666
VictorFarbau replied to santafee's topic in ARMA 2 & OA - BETA PATCH TESTING
If you are referring to my video - purpose was just to illustrate the behaviour on my machine in detail, no more no less. Purpose of this dynamic LOD switching seems clear - increase performance. This has been introduced in Arma 1 already. It's only now that apparently something was changed in the code which causes this violent switching no matter whether the game observes FPS degradation or not. And my humble request would be to offer the user an option to determine the amount of LOD switching activity himself. Or embed it into the Texture Quality control (Highest - minimum LOD switching activity, Lowest - switch as of 1/10 distance in FOV) or whatever. I just don't like this crappy picture being rendered all around me @55fps; this doesn't make sense to me. Cheers, VictorFarbau -
ARMA 2:OA beta patch 75666
VictorFarbau replied to santafee's topic in ARMA 2 & OA - BETA PATCH TESTING
I have observed heavy LOD switching all along the recent beta patches (at least two betas) and now in patch 1.55 as well. I just put myself next to a forest on Chernarus, set the game speed to 0.1 and zoomed in. To be admired here (Youtube), please make sure to view in full HD. At the end of the video I am showing my video settings. I usually get about 55fps, the low FPS are due to Fraps. So there's no performance issue that would cause this I'd say. It seems more inherent to the rendering techniques used to squeeze out more FPS. Works counterproductive on my system. Cheers, VictorFarbau -
@=SilveR=, indeed it was BattlEye causing the kick. Disabling it in the server config file resolved this. Thanks. VictorFarbau
-
@mrcash2009 - I did and still see this tree behaviour since some recent patches already. It seems that with each patch the LOD switching gets more intense. And I am wondering why I would need that while my config can easily handle high details in FullHD. Would be nice to have a switch or slider to allow/deny dynamic LOD switching in a given vicinity from the player. A 360 degree spin accounts for a near-LSD experience at present. VictorFarbau
-
LOD - is there a way to influence the amount of dynamic switching? I have sufficient FPS (~50-60) to spare to allow higher quality if only that constant flickering and object transformation would stop. "Good" to see that I am not the only one being kicked from our server all the time as I can read in post #23. VictorFarbau PS: and to contribute to the P1 question for BIS: haven't observed CTD since a long time now, neither server nor client side. And it is safe to say that my usual MP mission stresses the server considerably with many objects and scripts.
-
As of patch 75445 I am having an issue with our MP server. This is a dedicated server in my local LAN. Never had issues so far including all recent betas. Each time I run a mission now server and client load fine until the mission is about to begin (map mode). As soon as I click "Continue" I am being kicked from the server. I started a clean beta server like this: This is the error log from arma2oaserver.RPT when I run "01: War Welcome" There's a second file in that folder called "mpStatistics.log". I am just adding this here, no idea if this is a cumulative log of all games or just the recent one: I have tried with and without my addons galore; logged in as user or admin; tried different missions - always being kicked back to the MP server screen right after mission start. Hmm... Cheers, VictorFarbau
-
[HowTo] Check for addon presence
VictorFarbau posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Note: this mainly applies to SP missions. To start using addons on MP servers makes no sense if you cannot verify that all clients have the required addons installed. In an MP environment you have to let users run into the "You cannot play/edit this mission; it is dependent on downloadable content [...]" message - unfortunately. I am just posting this so people can easily find a reference to this if needed. Unlike this poor feller who never got a response back then. If you want to check whether a certain addon is present and certain class names have been defined you might consider this method. In the given example I want to use 2 planes, an AV8B and a MiG15. The MiG15 is an addon and I won't know whether the machine my mission runs on has this addon available. Solution ("isClass" statement suggested by Deadfast): _myplanes = ["AV8B"]; IF (isClass(configFile >> "CfgPatches" >> "mig15bis")) THEN { _myplanes = _myplanes + ["Mig15bis2"]; player sidechat "Found addon Mig15!"; }; How do you know the name of the CfGPatches entry such as "mig15bis"? The way I do it is to create a new mission, place the addon in question and save the mission. After that I open the mission.sqm file and look for the related entry in the "addons[] = " section of the file. This should be the CfGPatches name you can check for later. "MiG15bis2" is a vehicle class name and those names that you will typically use in "createVehicle" statements are to be found in the "class ItemX" statements further down in the mission file. So if the Mig addon is present, both planes can be spawned. If not only the AV8B will be used. Painless procedure. No more "Warning Message: You cannot play/edit this mission; it is dependent on downloadable content [...]". If you're really smart you won't place any 3rd party object on your mission map by default. Also, remove all references to 3rd party stuff from your mission.sqm before publishing. Everything gets spawned based on availability. That way your mission runs in every configuration. In addition to the Arma stock addons the user determines the flavor by adding / removing addons himself now. He will love your mission/campaign for this. Cheers, VictorFarbau -
[HowTo] Check for addon presence
VictorFarbau replied to VictorFarbau's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I installed ZeusAI from this link. Went into the game, open the debug console and copied your code: isClass(configFile >> "CfgPatches" >> "zeu_sys_ai") Result: true Maybe the addons are not loaded on your machine for some reason. Even with an empty units[] entry the class is detected fine by Arma2. Cheers, VictorFarbau -
[HowTo] Check for addon presence
VictorFarbau replied to VictorFarbau's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Good point indeed AZcoder. Eventually the quality of the config file is not checked and garantueed. The config creator determines into which category he puts his stuff. And why would a weapons-mod use CfGVehicles if there is a CfGWeapons class? So you need to be very clear upfront what you're looking for. Methods to check for addon presence need to consider this. I used the method in the first post (just count CfgPatches) to determine the presence of the ACE for my late VFAI mod. Depending on that I would add certain weapons etc. I guess for this purpose counting the patches was an ok method. Deadfast's code using "isClass" is in general a better method for sure. I will correct that. So I took the MiG15 config, it reads: class CfgPatches { class mig15bis { units[] = {"mig15bis"}; weapons[] = {}; }; }; Consequently, a count (configFile >> "CfgPatches" >> "mig15bis") returns "2" (= units[], weapons[]). EDIT: If I'd like to query the details of subclasses such as "units" then I need to use: getArray (configFile >> "CfgPatches" >> "mig15bis" >> "units") which returns ["mig15bis"]. But as mentioned before, the addon maker is free to use / mess up the config as he likes so it is not a reliable method to query certain subclasses in order to achieve certain tasks. Bottom line for me: whenever I'd like to check for addon presence I basically have to have a look into its config file to be sure what I can check for. I can still imagine that the method I coughed up in post #10 could work to ensure addon presence on both servers and clients. I'll try that in an MP mission soon. VictorFarbau -
[HowTo] Check for addon presence
VictorFarbau replied to VictorFarbau's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
What the heck... you're right of course. I am glad I brought this subject up so I could be corrected :) I should have counted units[] instead as I see it. Cheers, VictorFarbau -
[HowTo] Check for addon presence
VictorFarbau replied to VictorFarbau's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
@AZCoder - you are correct, if you want to know whether a specific class "mig15bis_camo1" exists then a boolean test as Deadfast suggested is required. For my purposes checking the parent class is usually enough so excuse my relaxed approach here :) The question how to catch different addon revisions on client and server, really interesting. In order to avoid undefined states on clients probably a protocol would be required. I could imagine this: The server defines an array of addon classnames that will be used though a global variable (e.g. "serveraddons"). Clients check local availability and update a second global array (e.g. "badaddons") with class names which are missing on 1 or more clients. After a timeout period the server compares both arrays and limits the "serveraddons" array to the smallest common denominator. Clients get a message asking them to look for updated addons that provide the missing classes. Could be a start... Cheers, VictorFarbau -
[HowTo] Check for addon presence
VictorFarbau replied to VictorFarbau's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
@Deadfast, IMO this not necessarily a better solution, it's just a different approach. Using the Mig15 example you're specifically testing for the presence of one inheriting class. The code above is counting the subclasses per parent. Both approaches lead to the same conclusion: a parent class or a specific class is present so I can use the addon (and all inherting classes). @All, yes I need to add the MP note, something so obvious that it didn't appear to me. -
How many of you old OFP Veterans are still playing BIS games?
VictorFarbau replied to nettrucker's topic in BOHEMIA INTERACTIVE - GENERAL
I played the very first release in 2001 and I remember how annoyed I was with the clumsy graphics and the boring sound. And then I discovered the editor and that there was a scripting language... :) Since then I moved countries twice, changed jobs, marriage, kid, house, now living in Germany and who knows what's next. My wife agrees with this hobby as she appreciates the highly creative side and the social aspect (coop) of it. You could say that OFP,A1,A2 have been part of my life since almost 10 years. Good times, it certainly added to the quality of my life to have such a fantastic sandbox for ideas available. Thank you BIS! VictorFarbau