## Wiki

Version 6 (Mikhail, 11/21/2010 13:54)

 1 2 3 1 Mikhail h1. Readme 1 Mikhail 5 Mikhail h2. Special thanks to:  5 Mikhail 5 Mikhail  * *SickBoy* for major support in ideas and coding 5 Mikhail  * *i0n0s* for his sharing Delphi sources 5 Mikhail  * *kju*, *Oktane* for good hints and advise 5 Mikhail  * *Jaynus* for his ArmaLib 6 Mikhail  * *Muahaha*, *HeliJunkie*, *Kremator* and all those who inspired me at "BIForums":http://forums.bistudio.com/showthread.php?t=101069 5 Mikhail 1 Mikhail *Tested only on Windows XP 32bit on Combined Ops.* (please report usability with other combinations) 1 Mikhail 4 Mikhail *IMPORTANT!* This current system is very very alpha. It's recording capabilities are not tuned and probably if you want to use AAR again to record new replay you will have to restart both arma and Client. 2 Mikhail 4 Mikhail h2. What's recorded? 1 Mikhail 4 Mikhail Current version records only infantry units, only people or soldiers, their movement, animations, and their life state (simply dead or not). During playback units get killed just at the moment they were killed during recording. No weapon effects, bullets or projectiles. It doesn't even record which weapon you used during recording. During playback you can even relad and probably do other actions, except turning left\right and change position. 4 Mikhail 4 Mikhail Current version is not compatible with complex interactions like climbing ladders, using vehicles etc. I'm 90% sure you get killed on playback if you climbed a ladder, or got in a vehicle. The script will smash your position against this vehicle or ladder or object.  4 Mikhail 4 Mikhail You can enter buildings, but door animations are not recorded. 4 Mikhail 4 Mikhail So basically it's already can be useful for simple infantry mission. 4 Mikhail 4 Mikhail h2. Filesize and record time limit. 4 Mikhail 4 Mikhail Recording time is virtually infinite to the extend of operating system capabilites of writing files bigger than 2gb.  4 Mikhail 4 Mikhail Your replay filesize grows with every unit added. Once the unit is killed it consumes less space. You can compare the filesize to a recorded video size on your PC, but video depends on the resolution, audio tracks and compression, while AAR replay will depend on unit quantity and fps. I tested it on 10 vs 10 units. Some 3-4 minutes consumed I think 1-2 mb. 4 Mikhail 4 Mikhail h2. Requirements: 4 Mikhail 1 Mikhail * "CBA":http://dev-heaven.net/projects/cca 1 Mikhail * "JayArma2Lib":http://dev-heaven.net/projects/jayarma2lib 1 Mikhail 1 Mikhail At this moment AAR consists of a set of scripts in a mission which is *AAR Arma2*, and a Delphi application compiled for windows (ra_aar.velmet.org.exe) which is the *AAR Client*. 1 Mikhail 1 Mikhail h2. Installing 1 Mikhail 1 Mikhail # Download the two archieves. Unpack. 1 Mikhail # place aar_io_1.utes (with scripts) to you missions folder. 1 Mikhail # grab ra_aar.velmet.org.exe from AAR_NEW.rar and copy it to some folder (where replays will be stored). 1 Mikhail 1 Mikhail h2. Launching 1 Mikhail 1 Mikhail # Start Arma2 with CBA and JayArma2Lib addons.  4 Mikhail # Start ra_aar.velmet.org.exe. It must inform you that all 4 pipes are open. Then it will tell that no pipes found or something. It's ok because we did not initiate AAR in Arma. 1 Mikhail # Start the mission aar_io_1.utes. You can edit all the contents to your liking, but be sure every unit is named (has variable) and you have a unit called "reporter" who will have AAR menu controls. 1 Mikhail # When mission starts scroll mousewheel (dialog is not implemented yet) and select "Launch AAR" 1 Mikhail 1 Mikhail *Now*  1 Mikhail 1 Mikhail The AAR Client stops spawning errors and says that pipes are empty. 1 Mikhail In game you see that AAR is waiting for some commands. 1 Mikhail 1 Mikhail h2. Recording 1 Mikhail 1 Mikhail # Scroll mousewheel and select Record.  1 Mikhail # Wait until timer in the right corner starts (at the same time you see Client receiving data on Data Monitor) 3 Mikhail # Scroll and select Stop when you're done. 4 Mikhail # Your replay data is saved in the folder with ra_aar.velmet.org.exe as *test.aar* 1 Mikhail 1 Mikhail 1 Mikhail h2. Playback 4 Mikhail 4 Mikhail In this version you are at last able to playback your recorded replay just after you recorded it. But of course if you killed someone, they are not resurrected. You will only see all the movement and moving corpses))) 4 Mikhail 1 Mikhail 1 Mikhail coming really soon 2 Mikhail _ 2 Mikhail If you can't wait look inside the reading.sqf and reader.sqf and replay.sqf to see how it's done. Basicall you need to get the test.aar contents and apply them in the mission where it was recorded._