Leaderboard


Popular Content

Showing content with the highest reputation on 01/04/19 in all areas

  1. 1 point
  2. 1 point
    Of course you can. That's how mods work. You would need to create an overwrite for the file you are editing though. Only other solution would be forcing people do download an edited version of the base mod to join your server.
  3. 1 point
    Everything above is only to setup buy only from a specific trader, not to sell only. I would think to accomplish this you would need to do some rewrites of the Exile base code.
  4. 1 point
    This addon with numerous settings for crashes transport on your server. The player triggered a crash and crashes not far from him. The presence of bots https://github.com/ejikSOW/helicrash install addons: Take the addon and throws in @ExileServer/addons You can configure the addon in the config file.cpp Main settings: minPlayer = 1; / * the Minimum number of players for the appearance of the paint. */ spawnFly = 1; / * parameter is responsible for the appearance of bots in the air or on the ground. 0-on the ground, 1-in the air */ startCrash = 40; /* how much time will fall helices after the restart. In seconds. */ betweenTime = 1000; / * After what time the next crash will fall. In seconds. */ betweenTimeEndCrash = 1500; / * After what time the current crash will be removed. */ startCountBots = 5; / * how many will be the number of bots in the helicopter. unexpectedly */ endCountBots = 5; /* how far will the number of bots in the helicopter. unexpectedly */ startCountVehicleBots = 5; / * how many will be the number of bots in land transport. unexpectedly */ endCountVehicleBots = 5; /* how far will the number of bots in land transport. unexpectedly /* betweenTimeCrash = 2; / * Delay in seconds before falling */ betweenTimeBots = 3; / * Delay in seconds between the start of the helicopter crash and landing * / betweenTimeYawik = 4; / * Delay in seconds before the box appears */ heightCrash = 600; /* Height of any falls helicopter */ countItemBots = 3; / * number of random loot in bots. Taken randomly */ minPlayerMetrsCrash = 500; /* minimum distance of occurrence from the player */ maxPlayerMetrsCrash = 700; / * maximum range of appearance from the player */ mincountWeapon = 2; / * minimum number of random weapons in the loot box. Taken randomly */ maxcountWeapon = 2; / * maximum number of random weapons in the box with loot. Taken randomly */ mincountItems = 5; / * minimum number of random loot in the loot box. Taken randomly */ maxcountItems = 5; / * maximum number of random loot in the loot box. Taken randomly */ countBackpack = 2; / * number of backpacks in the box with loot. Taken randomly */ radiusMetrsCrash = 50; / * Radius of movement of bots in passive mode. If they see the target, they'll follow. */ crashType = 0; / * 0 - all types of crash, 1 - only helicopters, 2 - only equipment. */ classBoats = "O_Soldier_unarmed_F"; / * bot Class */ classHeli = "B_Heli_Transport_01_F"; / * helicopter Class */ classVehicle = "B_MRAP_01_hmg_F"; / * equipment class * / classBox = "Box_IND_Ammo_F"; / * mailbox Class */ markerCrashEnabled = 1; / * Show marker on the map */ markerCrashText = "Crash with bots"; /* text of the token */ minrespectKilledBoat = 50; / * number of respect per bot */ maxrespectKilledBoat = 100; / * number of respect per bot */ alertCrashEnabled = 1; / * enable text notification */ alertCrashTitle = "crash with bots"; / * Header crash */ alertCrashContent = "Group bots suffered a crash. It is still possible to find something valuable"; /* Content of the crash */ Also you can configure the loot: class crashLoot Take for example adding a new weapon class bots weaponBots weapon 7 [] = {"LG_Mk 200_F", "200Rnd_65x39_case_Box", 5}; 1 parameter-weapon class 2 parameter-store class Parameter 3 - the number of stores Accordingly, you will need to add to the weaponBotsPrimary [] = {"weapon 1", "weapon 2", "weapon 3", "weapon 4", "weapon 5", "weapon 6", " weapon7"}; Similar with secondary weapons and weapons for the crate. Hope you enjoy )
  5. 1 point
    It's not that complicated. Download the Zip file: https://github.com/kuplion/Exile-Status-Bar/archive/master.zip 1# Unpack your mission file 2# Copy the folder "Custom" from the Zip file to your mission file \Server\mpmissions\Exile.Altis (example). So the path is \Server\mpmission\Exile.Altis\Custom\StatusBar\ 3# Add this to initPlayerLocal.sqf // Load Status Bar [] execVM "Custom\StatusBar\statusBar_init.sqf"; 4# Add this to your description.ext into the class "RscTitles" #include "Custom\StatusBar\statusBar.hpp" So it should look like this: class RscTitles { // Status Bar #include "Custom\StatusBar\statusBar.hpp" }; #5 Copy the override file depending on your extdb2 or extdb3 into \Server\mpmissions\Exile.Altis\Overrides\ and add it to the CfgExileCustomCode section in your mission config file ( \Server\mpmissions\Exile.Altis\config.cpp ) //StatusBar ExileServer_system_database_connect = "Custom\StatusBar\ExileServer_system_database_connect.sqf"; So it should look like this: class CfgExileCustomCode { /* You can overwrite every single file of our code without touching it. To do that, add the function name you want to overwrite plus the path to your custom file here. If you wonder how this works, have a look at our bootstrap/fn_preInit.sqf function. Simply add the following scheme here: <Function Name of Exile> = "<New File Name>"; Example: ExileClient_util_fusRoDah = "myaddon\myfunction.sqf"; */ //StatusBar ExileServer_system_database_connect = "Custom\StatusBar\ExileServer_system_database_connect.sqf"; }; 6# Pack your mission file again and you are done....
  6. 1 point
    OK for those of you who like me got a bit lost on how to apply this.. Here are the steps (some where left out of the original post.) 1st - unpbo a3_infiSTAR_Exile.pbo 2nd - edit the file CUSTOM_FUNCTIONS.hpp and find. and replace it with. Now the step that was forgotten... 3rd - edit EXILE_AHAT_CONFIG.hpp and at the end of this line (there are 3...) Add the command you made in step#2 which in my example is "Zombie Shield" to the end of the line.. (mind the ending coma, its important!) it should look like this. repbo it back up, and upload to your server!
  7. 1 point
    Thanks for this code, I recently purchased infiSTAR for my test server and you can integrate the above code as a custom function as follows: Depending on the number of zombies you have on the server, I recommend either setting the radius larger or the sleep timer smaller to keep up with the fast zombies. *Note: you can probably integrate it right into the main code, but not recommended especially if you plan to update infiSTAR at some point in the future. The most recent version of infiSTAR includes a file called: CUSTOM_FUNCTIONS.hpp where you can create 3 types of custom commands (toggle being one of them) class custom1 { type = 1; // toggle on/off name = "Zombie Shield"; code = "if(isNil'zombieShieldToggle')then{MiZ_Zombie_Toggle1 = 1; zombieShieldToggle=true;}else{MiZ_Zombie_Toggle1 = 0;zombieShieldToggle=nil;}; \ []spawn \ { \ while {MiZ_Zombie_Toggle1 == 1} do \ { \ _Pos1 = getPos player; \ _EntitiesArray1 = _Pos1 nearEntities ['all',20]; \ { \ _Zombie1 = _x; \ if (_Zombie1 getVariable 'RZ_isZombie') then \ { \ deleteVehicle _Zombie1; \ sleep 1; \ }; \ if (_Zombie1 getVariable 'RZ_isDemon') then \ { \ deleteVehicle _Zombie1; \ sleep 1; \ }; \ }foreach _EntitiesArray1; \ sleep 1; \ }; \ };"; };
  8. 1 point
    Sounds like you messed something up... I'd start over fresh if you don't have a backup copy of your .pbo's Informal guide: Download statusbarcreate addons directoryAdd all contents of the status bar into addonsStructure should look something like this:addons(dir) > statusbar(dir) > icons(dir) > statusbar.hpp > statusbar.sqfUnpack/Open your mission pbo (Exile.Altis.pbo)Add the "addons" dir to your pboOpen/edit description.ext add the following lines at the bottom but above CfgRemoteExecclass RscTitles { #include "addons\statusBar\statusBar.hpp" }; Save description.extOpen/edit initPlayerLocal.sqf add the following to the TOP under #include "initServer.sqf"/////////////////////////////////////////////////////////////////////////////// // Static Objects /////////////////////////////////////////////////////////////////////////////// #include "initServer.sqf" [] execVM "addons\statusBar\statusBar.sqf"; Save initPlayerLocal.sqfRE-PACK mission PBOUpload to server..enjoypat self on backdrink a beerhave a cookiegive your mom a hugHope this helps
  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up