This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$gameArgsVanilla = "-window -nosplash -world=empty -noPause -mod=; -autotest=A3_AGM_UnitTest.cfg" | |
$gameArgs = "-window -nosplash -world=empty -noPause -mod=@CBA_A3;@agm; -autotest=A3_AGM_UnitTest.cfg" | |
$gameDir = "C:\SteamApps\SteamApps\common\Arma 3" #change to your A3 directory | |
$logDir = "C:\Users\JonBons\AppData\Local\Arma 3" #change JonBons to your windows username | |
$targetMod = "@agm" | |
$pboFps = @() | |
$pboList = @() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disabled mod pbos | |
Testing without AGM | |
Test ran and got 18.2816 FPS | |
Testing mod pbo:agm_core | |
Test ran and got 18.2942 FPS | |
Testing mod pbo:agm_interaction | |
Test ran and got 17.4073 FPS | |
Testing mod pbo:agm_ai | |
Test ran and got 17.2414 FPS | |
Testing mod pbo:agm_aircraft |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg log -r "date('>12/1/14') and ancestors(arrow)" --template '{branch}\n' | Select-Object -Unique |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg log -r "descendants(4b70a250592c) and head()" --template "{branch}\n" | Sort-Object -Unique > merge.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gc merge.txt | Foreach-Object { hg update "$_"; hg merge HASH; hg commit -m "Merge with clientside-view-engine fix" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"foo" | Set-Content helloworld.txt | |
hg add helloworld.txt | |
hg commit -m "added helloworld" | |
(Measure-Command { hg log -G -l 5 }).TotalSeconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$nextTagID = 0; | |
Function getTag() { | |
$global:nextTagID += 1; | |
return 'foo' + $global:nextTagID | |
} | |
Function makeRandom($length){ | |
$text = ''; | |
for($i=1; $i -le $length; $i++){ | |
$text += [char](get-random -Minimum 65 -Maximum 90); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg.exe -i input_video.mp4 -i replacement_audio.m4a -vcodec copy -acodec copy -map 0:0 -map 1:0 output.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Written by beta and Krause for ACRE, converted to TFAR by JonBons | |
//AI can hear you talk on TFAR | |
//version 2 | |
private ["_nearAI", "_revealAmount", "_sideUnit", "_nearAISingle", "_sideAI", "_sideUnits", "_inContact", "_enemyInContact", "_talkTime", "_dist"]; | |
_talkTime = 0; | |
b_hasRadioCheck = | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_vm = [] execVM "buildTranslationData.sqf"; | |
waitUntil {scriptDone _vm}; | |
//TODO LIST | |
/* | |
Soon: | |
Attempt to build CfgPatches entries for legacy mods | |
Build CfgMagazines based upon a list of all legacy magazines used in the below CfgWeapons array |