VictorFarbau
Member-
Content Count
557 -
Joined
-
Last visited
-
Medals
Everything posted by VictorFarbau
-
Updated to CAWS build 016 (Dec 22nd) Hello folks, my recent objective was to improve the jet engine sound of the stock SU25 jet. And while I was at it, I also added a CAWS (aural warning system) as it can be admired on some Youtube videos. Which is where I found the used sounds btw. As ARMA II provides some nice sound possibilities why not use them. The battlefield atmosphere benefits from scratchy and distinguishable jet sounds in my mind. Have a look at the videos and if you like it go ahead and use it. Here's the beef: New engine sounds video: CAWS video: Addon download: http://www.mediafire.com/?u8hwf7q7bqlin8o The CAWS is the very same system I added to the Mig15BIS addon that just got an update. Cheers, VictorFarbau
-
Usage of FuelConsumptionRate in cfg.vehicles?
VictorFarbau posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
It's been a long time that I finally got around to play some A3 again :) But one thing that struck me during one of my missions was the zero-fuel consumption bug of all tanks. I am referring to this feedback: http://feedback.arma3.com/view.php?id=15845 I found that all LandVehicles that I used have that config entry "FuelConsumptionRate" properly set (mostly values of 0.01). I just wonder if anybody knows: what is this value used for? I guess it is some sort of multiplicator used on "fuelCapacity", which is another config entry. But how would A3 use this value by design? Rate per KM driven? Rate per hour? Rate as of a certain speed? VictorFarbau -
Usage of FuelConsumptionRate in cfg.vehicles?
VictorFarbau replied to VictorFarbau's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Yup, the vehicle configs are not finished in many aspects. I also believe that fuelrate was meant to provide some fuel/KM ratio. This along with many other config entries will need a brush up through time. It might happen or not; in the end there was that community configuration project for A2 by kju to address the abandonded config errors. Let's see how this evolves in A3. Cheers, VictorFarbau -
Usage of FuelConsumptionRate in cfg.vehicles?
VictorFarbau replied to VictorFarbau's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
RPM multiplication could be. But seriously, that 0.01 consumption rate is all across the board for all sorts of engine types so I think the vehicle configs are just not finished yet. I looked at 2 parent classes using the splendid config viewer and found this: configfile >> "CfgVehicles" >> "Truck_01_base_F" >> "fuelCapacity" = 45L // WRONG configfile >> "CfgVehicles" >> "Truck_01_base_F" >> "fuelConsumptionRate" = 0.01 // WRONG configfile >> "CfgVehicles" >> "Truck_02_base_F" >> "fuelCapacity" = 350 configfile >> "CfgVehicles" >> "Truck_02_base_F" >> "fuelConsumptionRate" = 26 Mind you, the "Truck_01_base_F" class spawns childs like the huge bluefor ammo truck. Hence, I believe it is a shortcoming to live with for now (or to re-config everything, but then again it might get fixed in any beta, so what the heck - for now :) ). And even if 0.01 would make any sense to the engine it still provides tanks with an virtually endless fuel supply as stated in the ticket. Cheers, VictorFarbau -
I personally don't give a toss if those camouflaged units feature a male or female face under their helmet. But I do care if this binds resources that could otherwise work on improving other in-game models such as vehicles, buildings etc. In that case don't do it; or if you do, don't expect any thank you other than from the 4 women worldwide who play Arma 3 :) Cheers, VictorFarbau
-
ARMA 2: OA beta build 102285 (1.62 MP compatible build, post 1.62 release)
VictorFarbau posted a topic in ARMA 2 & OA - BETA PATCH TESTING
This beta is supposed to fix "weapon fired" CTD in MP. No further changelog published. http://www.arma2.com/beta-patch.php Cheers, VictorFarbau ---------- Post added at 13:02 ---------- Previous post was at 12:54 ---------- And to comment on the beta: 1. Perfect, no more crashes in MP when firing a weapon. The weekend has been saved :) 2. Bug: setAcctime command is disfunctional? I tried in STR's debug console and it has no effect, when did that happen? 3. Bug: in MP Mission SC48 - Sector control I am still hitting invisible targets in my gun barrel with all weapons (look here) Cheers, VictorFarbau -
ARMA 2: OA beta build 102209 (1.62 MP compatible build, post 1.62 release)
VictorFarbau replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
Same here, consistent CTD with patches 102111 and 102209 as well. What I do: 1. My shortcut to test (no addons except for the beta patch): C:\Games\ArmA2\Expansion\beta\arma2oa.exe -mod=Expansion\beta;Expansion\beta\Expansion -nosplash 2. MP Mode, host "Zargabad SC48 Sector Control", start mission, fire your weapon, bullets seem to hit something in the barrel (small cloud of debris appears in the middle of the barrel, looks real odd), occasional CTD after some 10 to 20 shots, happens with each available weapon. 3. Takistan COOP 18 Morning Dew - immediate CTD during the 1st shot Is this reproducible on your end or do you need more dump files sent? Cheers, VictorFarbau -
Download link: http://dev-heaven.net/projects/list_files/vffpss Victor Farbau's FPS Saver == Revision History == Build 64 (Bugfix release) - Removed L2 debug message in non-debug mode - Corrected L2 handling and execution Build 60 - Introduced usage of parameter file \Userconfig\VF\VFFPSS.hpp to pre-set some values - Introduced Level 2 measures (default OFF, only activated through VFFPSS.hpp) Build 48 - New config as suggested by Armatech -> Control Panel now can be called from the ESC menu screen instead of action menu - Control Panel will show up quicker now Build 46 - Lowered TerrainGrid Value @ low settings - Added more latency to increasing TerrainGrid - Added exit option to control panel - will terminate VFFPSS until control panel is called again - Added error handling in user control panel Build 043 - Increased reaction time, addon version - Addon version - Built in control panel to set custom values Build 032 - Added airborne detection; when in airborne (plane, chopper, chute) script is paused and viewdistance is fixed - Changed terraindetail to just LO and HI setting. Gradual stepping caused too much stuttering - Added vehicle function; when in vehicle and engine is running LO terraindetail will be assumed WHAT IS IT? VFFPSS is an addon that automatically reduces the visual quality during gameplay to gain more FPS. The adjustment happens dynamically and will be reversed once sufficient FPS are being detected. It is yourself who sets the appropriate threshholds for these adjustments. Press ESC during the game and call the VFPSS Dialog by pressing the related button top left. Also, you need to place the provided "VFFPSS.hpp" configuation file into a "Userconfig\VF" directory structure in your Arma II root directory. It should look like this (example path): +---Games |..... \Armed Assault II (This is your game "root" folder, the name may vary) |.......... \Userconfig |............... \VF |.................... VFFPSS.hpp The file contains the default settings used by VFFPSS. If the addon does not find the file for any reason you will see an error message; however you can continue to play. VFFPSS will configure itself with some default values which you can still change in the control panel. But using the config file method is a hell lot more convenient obviously. There are two levels of quality: Level 1: Decrease viewdistance and terrain quality Level 2: Decrease terrain quality further so that all grass will disappear; delete all nearby dead bodies Level 2 is disabled by default. You can only enable it through the config file. The options in that file are documented and should be self-explanatory. TRY YOUR OWN SETTINGS. You can try your own settings through the control panel and later add the desired values to the VFFPSS.hpp file for automatic use. Advice: don't set minFPS and maxFPS too close; if you do you will witness constant switching of viewdistance and terrain quality. That can get very annoying. So make sure you really only decrease when FPS reach an unacceptable limit and increase when you don't really need this rate to play. Have fun, VictorFarbau
-
setVector Function Request
VictorFarbau replied to UNN's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
No success and my gut feeling is, even when correctly computed it will still look completely dorky. Here's what I observed during my attempts: When A is attached to B: 1. setVectorDir alone will just cause unit A to flicker once 2. setVectorDirandUp applies the horizontal position of A correctly (array 1 of 2) but seems to completely ignore the pitch and bank array (array 2 of 2) 3. setVectorUp needs to be applied on A but can only be used in conjuction with a preceding setVectorDirandUp 4. calculation of a identical pitch and bank requires compensation for current vector of B PLUS misalignment between model centers PLUS distance between A and B So keeping the north orientation through setVectorDirandUp is no problem (sin and cos of parents direction), pitch and bank remains more or less out of control even though I bascially understand how they are supposed to work now. If the desired flat north orientation works then still this looks unnatural as the rotational center of A and B won't match (point 4, downside of attachto). I already spent 4h with this and the results just look stupid so I will put this idea to rest; maybe attachTo + setVector just doesn't cut it for this requirement. Sorry UNN, it just doesn't work out correctly for me and I can't figure out why. In my opinion a classical 3d vector command [degree left/right, degree up/down, degree forward/backward] would be more helpful compared to this freaky 2 * 2d vector concept. And guess what, if you had VBS2 you'd solve your problem in 2 minutes (parameter "relative"): VBS2: http://resources.bisimulations.com/wiki/setVectorDirAndUp VictorFarbau -
setVector Function Request
VictorFarbau replied to UNN's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I almost got it, it needs some finetuning but it should work eventually. It's not only about understanding the applied vector space but also the sequence of commands is essential apparently. When I'm done I'll post it here. If you don't hear back I jumped out of the window. Cheers, VictorFarbau -
setVector Function Request
VictorFarbau replied to UNN's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yep, clear. After attaching a child to a parent object the child will assume the parent as its coordinate system and north means being straight aligned with the parent. As I see it the calculation would be: 1. Calculate delta of parent's vector and real world [0,0,1] 2. Apply inverted delta to the child object Surely enough quite annoying to calculate :) Post 2 shows the translation from degrees to vector which is needed for step 2. Haven't wrapped my head around step 1 yet and it shouldn't be rocket science but I saw many people giving up on setVector so I won't talk too big. VictorFarbau -
setVector Function Request
VictorFarbau replied to UNN's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
If I understand correctly you would like to attach an object that behaves like water. Always leveled and in your case always facing north. So the script would constantly need to calculate the correct pitch and bank relative to the parents object and execute some setVector statement. Why not use a simple setDir and then a loop of setPos with a position relative to the parent object instead? Both approaches require to be run every 0.01 seconds to provide best results anyway. Or do you think attachTo + setVector causes less delay in positioning compared to setPos when in MP? In SP there's never an issue usually, in MP there can be delays even with attachTo objects, as I have observed a couple of times during MP games. And if you're concerned about the parent object crashing into the child object during movement you could still execute "enableSimulation false" on the child object as long as attached to the parent. Just my 2 cents, VictorFarbau -
Need help with creating a co-pilot seat in the L39ZA (Takistani)!
VictorFarbau replied to JNE's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Seriously, forget about adding that chair unless you really need it as your personal eye candy :D You'd need a different logic to achieve what you want: 1. Add a permanent action to the plane such as "Get in as CoPilot" which triggers "getinco.sqf" (for example) 2. "getinco.sqf" attaches the *caller of the action* to the plane like you do already 3. "getinco.sqf" then assigns an action "Get out" to the *caller of the action* which triggers "getoutco.sqf" 4. "getoutco.sqf" detaches the caller from the plane and removes the action from the caller Somewhere in the scripting wiki you'll find all useful information about action parameters in order to determine the caller of an AddAction menu entry. Of course it's only a workaround for a second seat but it can work this way. Attaching objects to each other works in realtime on clients. If you run the same on a server clients will observe a delay in positioning of the 2 objects - which somtimes looks really odd. As said... workaround. If you need a real 2seater you'd need to edit the model configuration indeed. VictorFarbau -
ARMA 2: OA beta build 98736 (1.62 MP compatible build, post 1.62 release)
VictorFarbau posted a topic in ARMA 2 & OA - BETA PATCH TESTING
Build 98736 has been posted on the beta site and it is supposed to fix the performance breakdowns we experienced since 98220. So, everybody who experienced these huge fps drops should test this and feed back accordingly. Cheers, VictorFarbau -
ARMA 2: OA beta build 98736 (1.62 MP compatible build, post 1.62 release)
VictorFarbau replied to VictorFarbau's topic in ARMA 2 & OA - BETA PATCH TESTING
I confirm the fps drops are history, perfect :) -
ARMA 2: OA beta build 98443 (1.62 MP compatible build, post 1.62 release)
VictorFarbau replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
I tried to repro it like 5 times w/o success. Then we went for a round of MP and when assaulting a city with 141 units on the Chernarus map (counted by <count allUnits>) I suddenly had a slowdown to 2-3 fps. Yet no crash or any entry in the RPT file to be found. However, my team buddy's Arma froze completely and when we looked into his rpt file it read: No alive in 10000 note: Minidump has been generated into the file C:\Users\anon\AppData\Local\ArmA 2 OA\arma2oa.mdmp ===FROZEN====>>>>>>BEG Version 1.62.98443 Fault address: 006AD160 01:002AC160 D:\Games\ArmA 2\Expansion\beta\arma2oa.exe Prev. code bytes: 8B 01 6A 01 6A 00 8D 55 E8 52 FF 90 98 00 00 00 Fault code bytes: D9 5D 0C 8B 07 8D 4D E8 51 8B CF FF 90 44 07 00 Registers: EAX:00000063 EBX:E36E30AE ECX:46F8D0C0 EDX:018CF200 ESI:FFFFEB6B EDI:5E9B8100 CS:EIP:0023:006AD160 SS:ESP:002B:018CF1C8 EBP:018CF228 DS:002B ES:002B FS:0053 GS:002B Flags:00200202 ===FROZEN====>>>>>>END I can pull the minidump file from him; I will send it to Dwarden as soon as I get it. EDIT: Ran a mission with 212 units on the map, sporadic recurring freezes and stuttering occurs which got worse through time. Eventually the game froze for 10 sec, ran for 1 sec, froze again for 10 sec. I managed to enter this into the command console: "{deleteVehicle _x} forEach allUnits;" and immediately the freezes were gone. Makes me believe it is directly related to AI activity. EDIT OCT31st: sent dump, minidump and RPT file of my team member's frozen unit to Dwarden by mail. Cheers, VictorFarbau -
ARMA 2: OA beta build 98220 (1.62 MP compatible build, post 1.62 release)
VictorFarbau replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
I confirm the observations: same here. A friend warned me to not install 98220 before our sunday MP session since it would slow down the game to 1 - 2 fps at times. He has an nVidia graphics card so I thought: what the heck, I have an ATI so I should be fine. Wrong assumption :) Some 10 to 15 minutes into the game (I was hosting MP on my local machine) freezes and fps-drops occured and eventually I had to shut down Arma through the task manager. Went back to 98148 and the game smooth as butter for 2h even with 3 clients attached. VictorFarbau -
VF Ladder Addon When run, this addon adds options to the player's action menu to spawn ladders. These ladders can be used to climb onto rooftops and to enter any otherwise inaccessible part of the Arma II houses (e.g. balcony) or just to annoy your buddies. It is kind of a silly addon but it opened new perspectives on urban combat for me. There is just too many locked buildings around. Check out the Youtube link to get an idea about this addon. Ladders can be: Created (small and big type available) Moved around until dropped by the player Raised or lowered by 50cm at any time after being placed Removed within 60 seconds after placing them Flipped by 180 degrees to allow positioning as required How to use Drop VFladder.pbo into your addons folder. During gameplay, press ESC, then press the VFladder button and the required entries will be added to your action menu. Now go and fool around with those ladders. Tested in MP and SP. Youtube Link Download Mirrors Armaholic.com: VFladder addon download Armed Assault Info: VFladder addon download Build Revisions 08 - Added server keys (only required on clients but still) 08 - Player menu entries will be removed after 5 min idle period for VFladders (press ESC to start again) 08 - Slight code corrections 04 - Initial Release Regards, VictorFarbau
-
Ragdolling players without killing them?
VictorFarbau replied to Cookieeater's topic in ARMA 3 - GENERAL
Nice topic... I remember the days when I was into embedded programming a long time ago. We essentially simulated damage to a moving object (robot) by attributing agility parameters to each functional group (legs, arms). The more damage taken (based on caliber e.g.) the higher the effect on the agility parameter. And this parameter was then broken down into speed and coordination values. Random value weighting was done so that sometimes for example an arm would still move correctly but very slowly; sometimes it would just wobble around (no coordination) but in normal speed. As easy as it is to implement, it simulated a random injury on a sufficient level for our model, where sometimes nerves are hit, sometimes the muscles, sometimes both. VictorFarbau -
ARMA 2: OA beta build 89606 (1.60 MP compatible build, post 1.60 release)
VictorFarbau replied to maddogx's topic in ARMA 2 & OA - BETA PATCH TESTING
I also voted for ticket: https://dev-heaven.net/issues/28756 VictorFarbau -
Check for distance between flying plane and marker
VictorFarbau replied to wiggum2's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
There is a function to query the distance in 2D to avoid the height problem. I don't recall the syntax now but I will add the codeline to this post later today. EDIT _mydistance = [x1, x2] call BIS_fnc_distance2D; Measures the line of sight distance between x1 and x2. Works fine, I am using this in some HALO scripts. You need to have the function manager present on your game map though. Cheers, VictorFarbau -
Check for a magazine?
VictorFarbau replied to rellikki's topic in ARMA - MISSION EDITING & SCRIPTING
It all starts here, the rest is regular code: http://community.bistudio.com/wiki/getMagazineCargo EDIT: Sorry - I ended up in the wrong forum, this command is only available as of ARMA2. If I remember correctly it was tough to impossible to achieve this in ARMA 1. Cheers, VictorFarbau -
MV22 Door Gunner Project
VictorFarbau replied to hcpookie's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Cool - I don't know how many attachTo weapons I used through time, countless. Yours reminds me of my ZSU gunpod that I just attached upside down to the bottom of a C130 :D I can tell you spent more time on yours, appreciated! Cheers, VictorFarbau -
Custom Memory Allocator for engine since b85869
VictorFarbau replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
I sent my crash dump through to Dwarden. And after hours of testing I narrowed it down to one addon which causes a CTD 4 out of 5 times when I warp to different parts of the world (Chernarus). Annoyingly enough it's even my own addon "VFAI_Smokeshell". Here's my assumption: VFAI_Smokeshell uses an event handler that fires each time an object of type "man" is created. This is in order to add the "wounded" event handler and to add 1 smokeshell. When I warp into random cities on the map then I can observe how objects and textures are loaded, cars and people are spawned (using the ALICE module). I guess the crash is somehow related to the spawning of "man" class objects which is caught by VFAI_smokeshell. Anyway, just guessing here. EDIT: Coming to think of it, I think I made this ExtendedEventHandlers compatible a long while ago. So the scripts should be fired by EE and not directly. Cheers, VictorFarbau -
Custom Memory Allocator for engine since b85869
VictorFarbau replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
Question: does it make sense to use the beta builds of the 1.60 release? I am lost, are those betas already based on the final 1.60 which is not out there yet? I stopped trying new betas since build 86233 (1.59). Cheers, VictorFarbau