Jump to content

elbabar

Member
  • Posts

    51
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by elbabar

  1. hi, 

    i have not work on my system on several month, i want to resume for Tanoa. I have not big problem, but, i want help to work on GUI  (design, create box with editor, i can do it, but that's take many time for me : i'm a developper, not a designer :) ).

    But was it Epoch Life ? is your  mod ?  

  2. no for the moment, i finish the first version and release  normally for next week ... I try to simplify my pbo server side for use with many configuration and adaptative with ia and epoch updates. 

    With the arma update 1.56, and the mission trigger EntityKilled, now all units (epoch ia, all ia) can be accessible for my calcul. The mod use faction function for determinate why is killed (not for ia epoch, i check the classname unit), this is a the first good news. i think release this part on next week.

    The second part is the "player info" for see stat (kill, ia kill, zeds kill ...), level, level progress, stat for each weapon used (count fired, count killed, best distance kill). And the template buy on level's traders. I want to release this on next week but i think  i wouldn't be ready. 

    The last : the traders level : buy for leasing (if u loose your weapon, it's loose ...) and buy definitively : template (uniform, skins, weapons ...), weapon, the others : vehicule, amno, food/drink/items can't be buy definitely. you can spawn trader for a range of level. 

    Features : add achievement system : kill x units of this type y =>  you win a title (ex : Zed's Killer, ...) or unblock a weapon on level traders ... : 

    But, now i try to find how to block to sell weapon by with template definitely on Epoch's Traders. I think do this : set variable on object buy with template, but next ... If i had a trigger on epoch traders for block sell, if traders move, i need to recalculate trigger position ... or block Trader for not moving ... no idea for this for the moment.

  3. hi, i have script this today and that's works, on server side with random pos, if u want it : 

    _center = createCenter sideLogic; 
    _rad = 1000; //radius of gamelogic
    _pos = [0,0,0] // position of gamelogic
    _r = [
      [_center,_pos],
      0.9,
     0.6,0.37,0.4,[]
      0.5,
      0.9,
      0.9,
       _rad,
       3,20
       5,
       300,1,0,20];
       _r call xxx_fnc_createunitlogic;
    
    ////fn_createunitlogic.sqf 
    private ["_center","_group","_logic","_side","_type","_type2","_type3","_type4","_activation","_activation2","_activation3","_activationRadius","_aliveamount","_totalamount","_start","_frequency","_delay","_density","_hordesize","_item1","_item2","_data"];
    
    _data = _this select 0;
    _center = _data select 0;
    _pos = _data select 1;
    _side = _this select 1;
    _type = _this select 2;
    _type2 = _this select 3;
    _type3 = _this select 4;
    _type4 = _this select 5;
    _activation = _this select 6;
    _activation2 = _this select 7;
    _activation3 = _this select 8;
    _activationRadius = _this select 9;
    _aliveamount = _this select 10;
    _totalamount = _this select 11;
    _start = _this select 12;
    _frequency = _this select 13;
    _delay = _this select 14;
    _density = _this select 15;
    _hordesize = _this select 16;
    _group = createGroup _center;
    
    _logic = "RyanZM_ModuleSpawn" createUnit [_pos, _group, "
    
    this setVariable ['Side', _side];
    this setVariable ['Type', _type];
    this setVariable ['Type2', _type2];
    this setVariable ['Type3', _type3];
    this setVariable ['Type4', _type4];
    this setVariable ['Activation', _activation];
    this setVariable ['Activation2', _activation2];
    this setVariable ['Activation3', _activation3];
    this setVariable ['ActivationRadius', _activationRadius];
    this setVariable ['AliveAmount', _aliveamount];
    this setVariable ['TotalAmount', _totalamount];
    this setVariable ['Start', _start];
    this setVariable ['Frequency', _frequency];
    this setVariable ['Delay', _delay];
    this setVariable ['Density', _density];
    this setVariable ['HordeSize', _hordesize];
    
    ", 0.60000002];
    
    
    
    // I don't know if that's really work : 
    _item1 = _group createUnit ["Ryanzombieslogicdelete",_pos,[],0.60000002,"NONE"];
    _item2 = _group createUnit ["Ryanzombieslimit",_pos,[],0.60000002,"NONE"];

    for information on the variable => editor, create your gamelogic, save, and read it ... if i managed that, u too :p

  4. I have this same idea to night too :p

    player addAction [ "Equip this Uniform ",
      "
          _radarObject = _this select 0;
          _activatingPlayer = _this select 1;
          _actionId = _this select 2;
          _activatingPlayer forceAddUniform _radarObject;
      " ,"",1,true,true,"",
      "(_target distance _this) < 4 && (name _target) == 'gign_uniform'"
      ];

    but that's not work, the _radarObject, don't see the object on ground, i suppose is the uniform is "bugged (??) ". I have workaround, and make pbo with uniform of arma 3, with a new skins ..., simpler ... 

  5. to night, i have same trouble on my server, i'm scripting my ia bot, and on start, i can't access on body when i have kill them, and same on my storage on my building.

     and i have remove my setfriend when i write in my script (because is present in epoch code) , and now no problem,  ... and set my ia on resistance side. 

    perhaps on idea for debug for another ia script ? or not ... 

     

    sorry for my bad english ... 

     

     

     

     

     

  6. Hi, 

    It's my first "mod" for a leveling system in EpochMod. Same as Dayz Origins with Bandits and Humanity.

    v 0.0.1

    https://www.youtube.com/embed/Gbwe73yY-UY

     

    features : 

    • add lvl score / score for next level  on progress bar;
    • add ia kill on Stat.
    • create Special Traders with item's sell by LVL 
    • Custom loadout on respawn by LVL
    • create new icon, replace on right the Stat UI
    • ratio stat (shoot/kill) by weapons
    • Ui with betters/bad players

    If anyone wants to help me (for design icon/ scripting) mp me, or come on my TS3 server : ktm.sytes.net

     

    For now, i need to had on every units and EventHandler Killer, but with the arma 1.55 not needed (with EntityKilled).

    PS : i'm a noob on script to arma 3.

  7. Hi, 

    i'm beginner in arma script (try to be better and my english is not beautiful), I try to use addPublicVariableEventHandler on server side for refresh and send value from client.

    in my pbo server side : 

     

    Spoiler

    onPlayerConnected
    {
      
      _data   =   [_uid]  call BAB_fnc_levelgetstat; //this function get value in redis 

      missionNamespace setVariable ["LEVEL_UserInfo", _data];
      _owner publicVariableclient "LEVEL_UserInfo";

    }; // This part is ok

     

     

    "LVLshowDB" addPublicVariableEventHandler {
      // [str serverTime,["Z_fnc_showDB","work"]] call BAB_fnc_leveladdstat; -> i use for debug for see if LVLshowDB work ...
        _arr = _this select 1;
        _player = _arr select 0;
        _uid = getPlayerUID _player;
        _owner = owner _player;
        // fonction de mise à jour de la dbb


        _data   =   [_uid]  call BAB_fnc_levelgetstat;

     missionNamespace setVariable ["LEVEL_UserInfo", _data];
        _owner publicVariable "LEVEL_UserInfo";
       
    };

     

    on client i do 

    Spoiler

    LVLShowDB = true; publicVariableServer "LVLShowDB"; or missionNamespace setVariable ["LVLShowDB", true];publicVariable "LVLShowDB"; 

    -> no add in redis database, if i modify the redis database manually, use this handler for refresh LEVEL_UserInfo's value, that's not work ... What I have to do for this work ? 

     

    Thx

     

  8. thx Richie, "Merci ma biche" ! *

     

    edit for TheStainlessSteelRat : i have search, but this post just explain the problem, not resolve it, I don't want to modify Australia File or Epoch File. The solution with the OnPlayerRespawn.sqf, it's the solution what i want. Again Thx Richie.

     

    PS : sorry for my bad english, i'm french ...........................

     

  9. Hi, 

    I have a problem on Australi's Map, for enter in cop's building, i add  : 

    player setVariable ["copLevel",1,true];

    in my onPlayerRespawn.sqf in my mission PBO, it's work one time, but if i die, that's not working on respawn ... how can i do ?

    By advance, thanks

    Bab

  10. I want Epoch mod on ACCESS 95 !!!  

     

    Use Mysql for this game is useless ... nosql is better, with mysql and time, the database is so horrible ... request as so long, nosql is better and faster ... and for developper is more easy for change anything in database (no relation, ...)

    But i prefer mongodb to Redis ... (troll)

     

     

    REDIS IS GOOD FOR EPOCH MOD, THANKS DEV !

     

    edit : and sorry for my bad english

×
×
  • Create New...