Jump to content

He-Man

Developer
  • Posts

    808
  • Joined

  • Last visited

  • Days Won

    63

Posts posted by He-Man

  1. Start Arma with 3DEN and Epoch (if you want to use Epoch Buildings / Items)

    Build your Buildings and export it to sqf.

    This sqf file is a complete working file, which will create the objects.

    Load this sqf in the init.sqf (yes in your mission file) with

    if (isserver) then {

         execvm "myownitems.sqf"

    };

  2. 14 hours ago, rvg?! said:

    Hi, does anyone know the default Hit Eventhandler divider/factor for Epoch?

    
    {_x addEventHandler["Hit",{(_this select 2)/???;}];

    Thx in advance.

    I'm not sure, but I think Epoch has no "hit" eventhandler for handling damages:

     

    For Player in cfgepochclient.hpp:

        addEventHandler[] = {"Respawn","Put","Take","InventoryClosed","InventoryOpened","Fired","Killed","HandleRating","GetInMan","GetOutMan"};
     

    For Vehicles:

    _this addMPEventHandler["MPHit", { EPOCH_saveVehQueue pushBackUnique (_this select 0) }];
     

  3. 15 hours ago, KPABATOK said:

     

    this I did not know. So Epoch provides free chemlights now? Wow.

    This is no option yet. But it could be.

    I have changed a bit, that it works as I said.

     

    If the Trader can not find a safe Position, you get a message: "Can't find safe pos - throw a Chemlight or smoke to mark it"

    If the player has no chemlight or smoke in his inventory, he will get a random chemlight

     

    But I don't think, that this should be in the stock Epoch files, because you can dupe tons of Chemlights.

     

    Who is anyway interested, here are the files:

     

    mpmissions\epoch.xxx\epoch_code\compile\traders\EPOCH_startNpcTrade.sqf:

    https://www.dropbox.com/s/bfwr1ghsimefjjo/EPOCH_startNpcTrade.sqf?dl=0

     

    @epochhive\addons\epoch_server\compile\epoch_trading\EPOCH_server_makeNPCTrade.sqf:

    https://www.dropbox.com/s/7v53ufmzwyztxsi/EPOCH_server_makeNPCTrade.sqf?dl=0

     

  4. On 17.7.2016 at 7:16 PM, Norf955 said:

    I have this in inti.sqf

    //Base
    if (isServer)then {
        }
        else {
        [] execVM "poulet.sqf";
        };

    Like you write up

    Character was deleted in editor, but no difference :(

    //Base
    if (isServer)then {

     [] execVM "poulet.sqf";
        }
        else {

        };

×
×
  • Create New...