Advertisement
Benjamin_Loison

Mining tutotrial for Arma 3 (to convert for LemnosLife)

Jun 30th, 2018
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. Mine guide for Windows:
  2. ---------------------
  3.  
  4. mkdir C:\Apps\Steam
  5. cd C:\Apps\Steam
  6. powershell "& {$url='https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip';$c=new-object System.Net.WebClient;$c.DownloadFile($url,'%cd%\steamcmd.zip')}"
  7. powershell.exe -NoP -NonI -Command "Expand-Archive '.\steamcmd.zip' '.'"
  8. del steamcmd.zip
  9. steamcmd.exe
  10. exit
  11. mkdir C:\Games\ArmA3\A3Files
  12. steamcmd.exe +login Merci_AltisCraft altiscraft123 +force_install_dir C:\Games\ArmA3\A3Master +"app_update 233780 -beta" validate +quit
  13. cd C:\Games\ArmA3\A3Master
  14. echo class Missions { class Mission_2 { template="test.Altis"; difficult = "regular"; }; } Persistent=1; serverCommandPassword="mining";>server.cfg
  15. mkdir mpmissions\test.Altis
  16. echo _xchkstart=0; _xchkend=30; _ychkstart=0; _ychkend=0; _precision2D = 0.1; _chk = 1000; print = { diag_log(text("[CPAGH] " + _this)); }; for "_ychk" from _ychkstart to _ychkend step -1 do { for "_xchk" from _xchkstart to _xchkend step 1 do { (str _ychk + "*" + str _xchk) call print; _ymax = _chk * _ychk; for "_y" from _chk * (_ychk + 1) to _ymax step -_precision2D do { for "_i" from 1 to 100 step 1 do { _sy = ""; for "_x" from (_i - 1) * 10 to _i * 10 step _precision2D do { _sy = _sy + ((ATLToASL([_x, _y, 0]) select 2) toFixed 2); _sy = _sy + "#"; if(isOnRoad[_x, _y]) then { _sy = _sy + "0"; } else { _sur = surfaceType[_x, _y]; switch (_sur) do { case "#GdtDirt": { _sy = _sy + "1" }; case "#GdtGrassDry": { _sy = _sy + "2" }; case "#GdtGrassGreen": { _sy = _sy + "3" }; case "#GdtConcrete": { _sy = _sy + "4" }; case "#GdtSoil": { _sy = _sy + "5" }; case "#GdtBeach": { _sy = _sy + "6" }; case "#GdtSeabed": { _sy = _sy + "7" }; case "#GdtThorn": { _sy = _sy + "8" }; case "#GdtWildField": { _sy = _sy + "9" }; case "#GdtRock": { _sy = _sy + "A" }; case "#GdtGrassWild": { _sy = _sy + "B" }; case "#GdtStony": { _sy = _sy + "C" }; case "#GdtForestPine": { _sy = _sy + "D" }; case "#GdtMud": { _sy = _sy + "E" }; case "#GdtStonyThistle": { _sy = _sy + "F" }; case "#GdtMarsh": { _sy = _sy + "G" }; case "#GdtDead": { _sy = _sy + "H" }; case "#GdtDesert": { _sy = _sy + "I" }; default { _sy = _sy + _sur }; } }; _sy = _sy + "@"; }; _sy call print; }; }; }; }; "mining" serverCommand "#shutdown"; > mpmissions/test.Altis/init.sqf
  17. echo version=53; randomSeed=3682513; > mpmissions/test.Altis/mission.sqm
  18.  
  19. arma3server.exe -config=server.cfg -autoInit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement