Jump to content

JasonTM

Member
  • Content Count

    450
  • Joined

  • Last visited

  • Days Won

    34

JasonTM last won the day on June 10

JasonTM had the most liked content!

About JasonTM

  • Rank
    Hardened

Recent Profile Visitors

1491 profile views
  1. See post by seelenapparat in this thread to create a zombie free sector B. https://epochmod.com/forum/topic/45136-prevent-zombie-spawn-in-specific-area/
  2. Apply your edits to this file. https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/veh_handleKilled.sqf
  3. Hmm. If @ebayShopper still has the original code for this, then he should upload it here.
  4. JasonTM

    out of range in arrays

    I don't understand what you are trying to do. If you run that for loop you will get a zero denominator error because you are trying to access an element that does not exist. You have 2 elements in the array and you are trying to run the loop 4 times (from 0 to 3).
  5. JasonTM

    out of range in arrays

    Modify your for loop so you don't go out of range. for "_i" from 0 to (count _a - 1) do {
  6. You cannot localize and concatenate the strings server side. Doing that will localize to the server's location, not the client. The string names and arguments have to be sent to the client. I wrote a function for the remote messaging system that will detect localized strings and format them if they are sent as an array with arguments. https://github.com/worldwidesorrow/WICKED-AI/blob/master/dayz_code/compile/remote_message.sqf#L1-L37 Add %1 to the "Combo kill level" string and include the exclamation point. <Key ID="STR_CL_AC_GENERAL_SON"> <English>You killed the general son!</English> <Russian>Вы убили сына генерала!</Russian> </Key> <Key ID="STR_CL_AC_COMBO"> <English>Combo kill level %1!</English> <Russian>Комбо x %1!</Russian> </Key> I'm not quite sure of your code to send the messages. Rolling messages are not set up for multi-dimensional arrays so two messages will have to be sent. This code should work if I understand what you are trying to do. One message will appear over the top of the other instead of on one line. if (random 100 > 90) then { RemoteMessage = ["rollingMessages","STR_CL_AC_GENERAL_SON"]; (owner _player) publicVariableClient "RemoteMessage"; }; _newLvl = 333; // for example RemoteMessage = ["rollingMessages",["STR_CL_AC_COMBO",_newLvl]]; (owner _player) publicVariableClient "RemoteMessage";
  7. JasonTM

    ROB BANK

    Taking "full credit" for copy/pasting code? https://github.com/MigSDev5/BankRobery
  8. This code does not exist in WAI. That file only has 79 lines.
  9. This is where all of the updated files are: https://github.com/worldwidesorrow/Epoch-Server-Events There is a link at the top of the first post that says ">>>Download Here<<<".
  10. The mission marker colors are based on mission difficulty. If you want to change to AI type (Hero and Bandit), then change this block of code: https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/compile/mission_winorfail.sqf#L22-L27 To this: _color = call { if(_missionType == "MainHero") exitWith {"ColorRed"}; if(_missionType == "MainBandit") exitWith {"ColorGreen"}; }; Also change these: https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/compile/airdrop_winorfail.sqf#L26-L31 https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/compile/patrol_winorfail.sqf#L20-L25
  11. Go into scripts.log and post the kick here.
  12. Killzone Kid's Shuffle Plus function assumes that there is more than one element in an array.
  13. OK, it's because of the findSafePos count check. This is the fix. https://github.com/worldwidesorrow/WICKED-AI/commit/a20ae05e4df52ab2fad84c00e340cefa10f425bc
  14. If you have debug mode enabled, there should be entries for WAI. It helps to see where it is having an issue.
  15. If you only want to gain humanity, then just run the Bandit missions. Set this entry to 0. https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/config.sqf#L128
×
×
  • Create New...