init.sqf 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /***********************************************************\
  2. LEAVE THESE BE AND THE REST OF THE FILE IS YOURS!
  3. */
  4. debugMode = false;
  5. enableSaving [false, false];
  6. if (isServer) exitWith { [] execVM "init\server.sqf"; };
  7. _settings = player execVM "init\player.sqf"; waitUntil { scriptDone _settings };
  8. /*
  9. YE-ARGH! THANK YE!
  10. \***********************************************************/
  11. //////////////////////////////////////
  12. ///////////SWOP Scripts//////////////
  13. // Fix Loading Screen Issues - BDC //
  14. _EndSplashScreen = {
  15. for "_x" from 1 to 4 do {
  16. endLoadingScreen;
  17. sleep 3;
  18. };
  19. };
  20. [] spawn _EndSplashScreen;
  21. //////////////////////////////////////
  22. //////////LAAT C Monitor/////////////
  23. [] execVM "scripts\LAATCMonitor.sqf";
  24. /////////////////////////////////////
  25. waitUntil {alive player};
  26. player allowDamage false;
  27. onMapSingleClick "(vehicle player) setPos _pos;";
  28. onEachFrame
  29. {
  30. {
  31. _colour = if (side _x == EAST) then { [1,0,0,0.5] } else { [0,0,1,0.5] };
  32. drawIcon3D
  33. [
  34. "a3\ui_f\data\map\MapControl\hospital_ca.paa",
  35. _colour,
  36. _x, 0.5, 0.5, 45
  37. ];
  38. } forEach allUnits;
  39. };
  40. //calls namenai's init.sqf,refer to its readme for its purpose
  41. [] execVM "scripts\zeus3denScripts\namenaisInit.sqf";
  42. //In-Game Logo
  43. [] execVM "logo.sqf";