Jump to content

chi

Member
  • Posts

    213
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Thanks
    chi reacted to salival in Debug on scroll wheel not showing up   
    This works correctly for me. You're putting it inside the bit in fn_selfactions where it needs to have a cursortarget.
    So if you go look at a vehicle or a building or something it will show up
    You need to put it down the bottom of your fn_selfactions
  2. Thanks
    chi reacted to salival in Debug on scroll wheel not showing up   
    You atleast need the variables.sqf one for it to show up otherwise you will see undefined variable errors in your client rpt (You should always be checking this)
    But both should be used.
    To find this logfile:
    C:\users\<YOUR WINDOWS USERNAME>\AppData\Local\Arma 2 OA\ArmA2OA.RPT
  3. Thanks
    chi reacted to salival in Debug on scroll wheel not showing up   
    Do you have the following down the bottom of fn_selfActions after this line (ish) https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/fn_selfActions.sqf#L1134 :
    player removeAction s_player_toggle; s_player_toggle = -1; As well as the following in your custom variables.sqf after this line ish https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/init/variables.sqf#L249
    s_player_toggle = -1;  
  4. Thanks
  5. Like
    chi got a reaction from Schalldampfer in [UPDATE 1.6.+] Walk Amongst The Dead   
    ok, I just scrolled down and saw this. I think this is gonna fix my problem... 
  6. Thanks
    chi reacted to JasonTM in Spawn coins on Zombies   
    //[unit, selectionName, damage, source, projectile] //will only run when local to the created object //record any key hits to the required selection private ["_zed","_killer","_kills","_array","_type","_humanity","_addcoins","_chance"]; _array = _this select 0; _zed = _array select 0; _killer = _array select 1; _type = _this select 1; if (local _zed) then { _kills = _killer getVariable[_type,0]; _killer setVariable[_type,(_kills + 1),true]; //increase players humanity when zed killed _humanity = _killer getVariable["humanity",0]; _humanity = _humanity + 5; _chance = random 1; if (_chance <= .1) then { //10% chance that player gets up to 500 coins _addcoins = round(random 500); } else { // 90% chance that player gets random amount from 0 to 50 _addcoins = round(random 50); }; _killer setVariable["humanity",_humanity,true]; _zed setVariable[Z_MoneyVariable,_addcoins ,true]; };  
  7. Like
    chi reacted to theduke in Spawn coins on Zombies   
    I should have phrased that better. lol it will work, but for the performance of what it does, with check wallet it adds alot more "actions" for the server.
    Hence hurting the FPS.
    But...every server owner does things differently. Thanks for sharing :)
  8. Like
    chi got a reaction from juandayz in Spawn coins on Zombies   
    I actually have check wallet working on zombies and a working local_eventKill that spawns coins on them. Its in array format though, and I really prefer the round random configuration. I'll attach the array version thats working with check wallet on zombies (provided to me by @juandayz)
    Thanks again to all of you for helping me out!
  9. Thanks
    chi reacted to oldmatechoc in Spawn coins on Zombies   
    might be something useful in this post aswell ;)
     
  10. Sad
    chi reacted to iben in Goodbye   
    Hello guys,
    I've decided to leave this community. And that's why I'd like to say two things:
    Thank you guys for all your work for community. It was honor to be here! I wish you the best in your life... All my repos from Github are available. If you feel you would like to take ownership and take care of them, just let me know.
    I'll be happy to do it. All repos stays public for couple weeks, after that they will be removed. (Edit: Now available at @DAmNRelentless Github account)
    We are talking about: Paint vehicles IWAC: Autoclaim addon for WAI extDB: extDB3 : distribution pack for DayzEpoch modder (in shared mode) Enjoy game, stay cool!
    Cheers...
    iben
  11. Like
    chi reacted to JasonTM in Spawn coins on Zombies   
    _chance = random 1;
    if (_chance <= .05) then {    //5% chance that player gets 500 coins
        _addcoins = 500;
    } else {                     // 95% chance that player gets random amount from 0 to 150        
        _addcoins = round(random 150);
    };
  12. Like
    chi reacted to theduke in Spawn coins on Zombies   
    dont think this can be done this way.
    I do it a bit differently than what you're looking for.
    But... It adds coins to players WHEN you kill the zombie.
    This is my local_eventkill.sqf
    it adds more coins depending on humanity level. You can change to your needs. but keep the structure the same, otherwise it'll break it.
    This file is called in your compiles, you will need to change the paths.
    GL
  13. Like
    chi reacted to salival in Spawn coins on Zombies   
    Doing it the way @thedukeis doing is the best imo, since it's only putting the coins on the zombie if it dies
  14. Haha
    chi reacted to Hooty in [Outdated] Attach Zeds to vehicles.   
    @juandayz you done it again !!! Nice work home dog grilled cheese dill pickle.
  15. Like
    chi reacted to juandayz in GAs that Damages Zombies and AI   
    @chi "zZombie_base" its default of epoch, u dont need define it.. also "Man"  but "_WAIAI" its in an "external" sqf of WAI MISSIONS... like my skins variable  _ai = ["Bandit1_DZ","BanditW1_DZ"];
    When you add a new variable external of epoch you need to define it...
    so at the top of the gas sqf
    _WAIA = i dont know what  are you trying XD but here you put whats means _WAIA ;
  16. Like
    chi got a reaction from juandayz in GAs that Damages Zombies and AI   
    I tried this, and i can't tell if it kills ai because i die as soon as it leaves my hand when i throw it. hahaha
     
    Gonna try using the skins tomorrow and i'll let you know if it works.
  17. Like
    chi reacted to juandayz in GAs that Damages Zombies and AI   
    or maybe use "Man"   like:
    _findAi = _pos2 nearEntities ["Man", gas_area];
  18. Like
    chi got a reaction from juandayz in GAs that Damages Zombies and AI   
    will try today and let you know how it works
  19. Like
    chi reacted to juandayz in GAs that Damages Zombies and AI   
    @chior maybe define into a variable all ai names who will be affected by the gas  ..
    _ai = ["Bandit1_DZ","BanditW1_DZ"];
    so gas.sqf
     
    gasia.sqf
    gaszeds.sqf
     
  20. Like
    chi reacted to LegacyIsborn in Looking for a group of people to play with   
    Just looking a small group to either start on a server or join onto an exiting server, doesnt matter if its pve or pvp (prevered PVP)
    im 19
    english/french speaking
    canada
    add me on steam
    http://steamcommunity.com/id/LegacyIsBorn/
  21. Like
    chi reacted to juandayz in GAs that Damages Zombies and AI   
    hey chi yes u can execute this part trough the primary gas sqf...
    gas.sqf
    gaszeds.sqf
     
  22. Like
    chi reacted to juandayz in Anti campers around traders cities   
    @chi many thnks , i have one on my pc but this script need be tested by almost two peoples. a killer and one victim, if works  killer must be kicked from server if kill someone into this safe area
  23. Like
    chi got a reaction from juandayz in [NEW KIND OF TRADER][HERO-BANDIT-NEUTRAL AND FRIEND]   
    Amazing idea!
  24. Like
    chi reacted to juandayz in [NEW KIND OF TRADER][HERO-BANDIT-NEUTRAL AND FRIEND]   
    #This add a new kind of trader not based in humanity variable as:  Neutral,Bandit,Hero.
    #This new kind is based on friendship with player.
    #I take friendship as survived days. So if u survived days > 1 then AI trader is your friend and he wanna trade with you.
    #You can locate this traders in Bash,Stary && Klen.
    #Also i made a new category where you are free to play with  rare items and lower prices  (its the main idea).
    #This is only for coins and advanced trade but if someone want it for gold or without adv just say in this post.
    INSTALL:
    DONE!
    ***if u need test and your survived days cannot let you then go to selfActions and...***
     
     
     
     
     

     
  25. Like
    chi reacted to tylerjohnson in HIVE servers   
    We think we found a way around it. If we make both instance IDs the same, call two different world spaces and change the Object_Data to be two different tables that should work. I will be testing this in the next couple of days. Thanks Linuxx!
×
×
  • Create New...