wasicun 11 Posted July 3, 2011 Hi all guys! i am editing a big pvp multiplayer campaign, where there are a lot of units: what i am asking you today is how to make an "after battle report": i mean: at the start of the big battle there are for example 1000 riflemen, 100 NCOs and 30 officers, 20 APCs and 100 trucks for the WEST SIDE, and 2000 riflemen, 200 ncos and 60 officers, 40 apcs and 200 trucks for the EAST SIDE: what i want is that after the big multiplayer battle, i have a report of what have been destroyed and what survived (for example: WEST SIDE lost 200 riflemen, 15 NCOs and 2 officers, and 10 APCs, and EAST SIDE lost 300 riflemen, 20 NCOs and 5 officers and 15 APCs). Is it possible? Please help me guys... greetings Share this post Link to post Share on other sites
roguetrooper 2 Posted July 3, 2011 (edited) Lol, you can't have 3000 units and 500 vehicles. At least not on a playable map. Further, you can't have more than 144 GROUPS per side/faction. The most important thing with such an amount of units would be (in init.sqs or in a trigger with condition "true"): enableSentences false; Otherwise every player would receive 100 messages per second ("reloading", "enemy on 11 o'clock", "wounded", "we have lost x", "where are you?","x move to"). Doesn't the default debriefing screen list up all losses and kills anyway? Edit: Code removed. Confusing due to being incomplete and not being practical in this situation. Edited July 3, 2011 by RogueTrooper Share this post Link to post Share on other sites
wasicun 11 Posted July 3, 2011 Lol, you can't have 3000 units and 500 vehicles. At least not on a playable map. Further, you can't have more than 144 GROUPS per side/faction.The most important thing with such an amount of units would be (in init.sqs or in a trigger with condition "true"): enableSentences false; Otherwise every player would receive 100 messages per second ("reloading", "enemy on 11 o'clock", "wounded", "we have lost x", "where are you?","x move to"). Doesn't the default debriefing screen list up all losses and kills anyway? Edit: Code removed. Confusing due to being incomplete and not being practical in this situation. Thank you. I am interested in do that with less units too (for example 100 vs 100), i want a after battle report (es: red side has 25 casualties and 3 trucks lost, blu side 15 casualties and 1 apc destroyed). is it possible? Share this post Link to post Share on other sites
demonized 20 Posted July 3, 2011 as rouge trooper said there is already something like this when a mission ends. place an end trigger with whatever condition desired, for example opfor not present. when that is true youll get mission end and this screen. http://imageshack.us/photo/my-images/339/testwz.gif/ Share this post Link to post Share on other sites
mahuja 12 Posted July 4, 2011 (edited) This is very much possible. Take a look at bStats which will determine scores etc far better than the game itself does, and crucially for your purpose, it will forward that information to a database outside the game. As opposed to those relying on JayArma2Lib, this works even for linux servers. Extending it, or making a similar script for the purpose you're wanting, shouldn't be a problem. The basic process goes: Detecting the kill/destruction, making sure the server has the desired parameters, and writing it to a file with diag_log - where a program can read it and optionally update a database. Edited July 4, 2011 by MaHuJa_ Share this post Link to post Share on other sites
gossamersolid 155 Posted July 4, 2011 You should look into how to create and modify the value of global variables and addEventHandler "Killed". Once you look into both of those subjects, it should be fairly easy on how you should approach this. Share this post Link to post Share on other sites
cobra4v320 27 Posted July 6, 2011 (edited) Its also called an "AAR or After Action Review", Ive never heard of the after battle reports before. http://en.wikipedia.org/wiki/After_action_review Edited July 6, 2011 by cobra4v320 Share this post Link to post Share on other sites