Jump to content

Donnovan

Member
  • Content Count

    839
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Donnovan

  1. Thug, Right now i need people that will play the mod and give opnions. The mod is in portuguese language, but i can make a translation in the future. My skype is donnovan_br. Lets talk!
  2. The video is in a foreign language. But i hope you can enjoy it: https://www.youtube.com/watch?v=UVatZNuBJqk&feature
  3. Sadly i'm working in my mod and can't work on those scripts any more. Zoranth, you need to add "killed" event handlers (addEventHandler) on the AI units. When the AI unit get killed the event handler need to add coins and humanity to the player that killed then. The player coins and humanity is a variable set on the player (setVariable).
  4. Thankyou! How often this happens? You remember if there was players on the ground and the heli was on low altitude?
  5. The server is offline now. I will try to leave it on until the end of the day. We had 6 people that sunday. Its all tests now but its quite playable! I also need to translate the messages to english and add a way for players to select betwen portuguese and english. The mod is in portuguese now.
  6. Ayy_Lmao, You just need the updated versions of Arma 2 and Arma 2 OA (the server is not using beta versions). The mod actually only make use of original game content so you don't need to download anything. The map Takistan already comes with Arma 2 OA.
  7. Arma 3 Mod. Link to Steam Workshop Page: http://steamcommunity.com/sharedfiles/filedetails/?id=649594195 Server: 177.207.204.23:2322
  8. Can i make the image visible on post? Thankyou.
  9. SYNTAX: result = [array,factor] call LOL_fnc_selectRandomFactor; array is an array with elements. Those elements can be of type array. factor is how much the elements with lower index will be priorized (look the image on the link bellow). result is an element of "array". EXAMPLE 1: //EXAMPLE //_randomVeh have a 55% chance to be "car_hatchback" //_randomVeh have a 20% chance to be "hilux1_civil_3_open" //_randomVeh have a 15% chance to be "UAZ_CDF" //_randomVeh have a 10% chance to be "HMMWV" _vehicles = ["car_hatchback","hilux1_civil_3_open","UAZ_CDF","HMMWV"]; _randomVeh = [_vehicles,2.25] call LOL_fnc_selectRandomFactor; EXAMPLE 2 (making it like BIS_fnc_selectRandom): //EXAMPLE //_randomVeh have a 25% chance to be "car_hatchback" //_randomVeh have a 25% chance to be "hilux1_civil_3_open" //_randomVeh have a 25% chance to be "UAZ_CDF" //_randomVeh have a 25% chance to be "HMMWV" _vehicles = ["car_hatchback","hilux1_civil_3_open","UAZ_CDF","HMMWV"]; _randomVeh = [_vehicles,1] call LOL_fnc_selectRandomFactor; THE FUNCTION: LOL_fnc_selectRandomFactor = { _array = _this select 0; _factor = _this select 1; _array select (floor ((random ((count _array)^(1/_factor)))^(_factor))) }; SHART ANALISYS OF THE FUNCTION:
  10. Hi, How do i know what is inside a player backpack? I found some functions in the WIKI BI but all of then are only to Arma 3. Thankyou!
  11. Elderwind and everyone having the problem. Script changed on POST with the fix. Please report any problem. Thankyou!
  12. getwastedgaming1, i believe you is running a old version of the script. The code that generated the error is not on the actual script on post. May be if you update the script, you get no errors.
  13. getwastedgaming, thankyou VERY much for your effort. For admins it work ok to you? Have not noticed any strange behavior.
  14. Arma 2 OA received a small update today, and now Query Port is fix on 27016. Can anyone confirm? I needed to update my server Query Port on Game Tracker and my server is not appearing in DayZ Launcher anymore.
  15. My server is not appearing, and there is no more Add Server feature. Matadouro Server - 177.207.204.23:2312 (query port 2313)
  16. Elderwind, Doggyman, Try that: Change in the line 216 "(position)" to "(position _fugitive)". I updated the POST with this fix. Also fixed some missing instructions. Hope this helps.
  17. creativv, I will try to fix that (i believe you need to set a fake ObjectID and ObjectUID variable on the vehicles to fix that).
  18. Thankyou, If someone tried it, please post a feedback, i can try to help if you had a problem. xandinfjg, is you having problem to create a custom player_death.sqf?
  19. Post updated. player_monitor.fsm is not a file to change, but a new file to be added on the root of the mission file.
  20. This is how i make no-lobby after death: Files to change: 1 - Client side: compile\player_death.sqf use this custom player_death.sqf: https://www.dropbox.com/s/4yaijzuj1ieegiq/player_death.sqf?dl=0 2 - Client side: description.ext (on the root of the mission file) Change this: respawndelay = 5; to this: respawndelay = 0; 3 - Server side: compile\server_playerSetup.sqf Look for this line: _playerObj addMPEventHandler ["MPHit", {_this spawn fnc_plyrHit;}]; Add above it, this line: _playerObj removeAllMPEventHandlers "MPHit"; Create new file: 1 - Put this file in the root of the mission: https://www.dropbox.com/s/omb7n23bxcky2gl/player_monitor.fsm?dl=0 It's a custom player_monitor.fsm to run everytime the player dies. 2 - Create reinit.sqf, in root of the mission file, and add inside it this content: dayz_originalPlayer = player; _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; if (isServer) then { waitUntil{dayz_preloadFinished}; }; mtdr_reinitOk = false; _id = [] execFSM "player_monitor.fsm"; waitUntil {mtdr_reinitOk}; //If you use ESS, uncomment the line bellow: //sorry, i dont know the start line for it //If you use ESS2, uncomment the line bellow: //execVM "spawn\start.sqf"; Anti Hack Problems I believe antihack kill the player if he goes to the debug area (respawn_west marker set in mission.sqm) after first respawn, so if you use antihack, the player will enter in a die/respawn/die/respaw cicle and probabily crash the game. Without antihack, it seens to work ok, but tell me if you find a problem. Thankyou.
  21. Thankyou. I beleive i need to reveal players to AI when players became hostile again or AI will not notice this change in player status. {if (!isPlayer _x) then {_x reveal player;};} forEach (player nearEntities ["CAManBase",400]);
  22. loki-hellhole, Change in the line 216 "(position)" to "(position _fugitive)".
×
×
  • Create New...