Jump to content

Tuliq

Member
  • Content Count

    118
  • Joined

  • Last visited

  • Medals

Everything posted by Tuliq

  1. I too prefer the new scope version.
  2. So stealth mode makes you talk like solid snake, awesome!
  3. bis_fnc_establishingShot :) http://arma.kodered.de/blog/[how-to]-showcase-intro-sat-maps.aspx
  4. Tuliq

    case "exc": {"Excretion"};

    Most realistic warfare sim out there :)
  5. There should be configs for weapons with attachments already on. Check the six browser.
  6. Happens to me to. Incredibly annoying. I am using a Norwegian keyboard, and sometimes ARMA 3 seems it fit to pretend like its an english one.
  7. That is odd... Can you tell me step by step what you did? I have it working on my end. Also start Arma with the -showScriptErrors command to see if my script fails for some reason on your end. ---------- Post added at 22:54 ---------- Previous post was at 21:38 ---------- Oh, I see what the problem might be. I was running this in MP mode. I had a reference to playableUnits, which is empty in SP, so that would be a huge problem. Try again now. (edited the script above)
  8. Hey there! Try this script. Paste it into "init.sqf" in your mission folder. _botArray = if (isMultiplayer) then {allUnits - playableUnits} else {allUnits - [player]}; { _x addMPEventHandler ["MPkilled",{ _victim = _this select 0; _killer = _this select 1; if (_killer in playableUnits or _killer == player) then { _killer addRating (- (rating _killer)); //prevent player from becoming hostile to both sides switch (side group _victim) do { case WEST:{_killer setVariable ["bluforKilled",(_killer getVariable "bluforKilled") + 1]}; case EAST:{_killer setVariable ["opforKilled",(_killer getVariable "opforKilled") + 1]}; default{}; }; if (local _killer and _killer == player) then { _killer spawn {//difference between opforkills and bluforkills. _bluforKilled = _this getVariable "bluforKilled"; _opforKilled = _this getVariable "opforKilled"; _ratio = _bluforKilled - _opforKilled; if (_ratio > 1) then {_ratio = 1}; if (_ratio < -1) then {_ratio = -1}; if (_ratio == 1) then { [_this] joinSilent (creategroup east); hint "BLUFOR are now hostile!"; }; if (_ratio == -1) then { [_this] joinSilent (creategroup west); hint "OPFOR are now hostile!"; }; }; }; }; } ]; }forEach _botArray; if (!isDedicated) then { //set initial kills of each side to zero player setVariable ["opforKilled",0]; player setVariable ["bluforKilled",0]; }; Should work for multiplayer as well. Killing a blufor unit makes you join a opfor group, thus opfor are friendly, and vice versa. I made it so that if f.ex you are on OPFOR side, if you kill two OPFOR soldiers in a row, you change sides.
  9. The whole lowering rating might be solved either by having a script in the background that keeps resetting the rating every sec, or add killed eventhandlers to all units which reset the rating when you kill them.
  10. Tuliq

    arma 3 zoombies

    Yes we know about zombies. They are the living dead. I assume you are talking about "DayZ". It has not been released yet for Arma 3.
  11. [] spawn tlq_killList; Just remove that bit from the top. :)
  12. Well, just lock your servers and put up those whitelists, and pretend this is an alpha until BI releases the proper game. :)
  13. Tuliq

    Hitmarkers

    Oh okay. That does sound complicated. I guess you are using the "fired" and "handleDamage" event handlers then?
  14. Tuliq

    Hitmarkers

    Can I ask how you get a hold of the weapon used in a kill? Are you using currentweapon or something else?
  15. Yes of course! You can use the "killed" eventhandler. { _x addeventhandler ["killed",{ _this spawn {_unit = _this select 0; sleep 30; deletevehicle _unit}; }]; } forEach allUnits; put in init.sqf
  16. Hello, just a quick question that I haven't seen answered anywhere. Does the bis_fnc_3dCredits command work at all in A3 as of date? I just can't seem to get it working.
  17. I managed to do it another way using the Draw3d mission event handler. I can try to explain. I found this by looking through the code of the bis_fnc_establishingShot function. _draw3D = addMissionEventHandler ["Draw3D",{ drawIcon3D ["", [1,1,1,1], getpos player, 0, 0, 0, name player, 0,0.04]; } ]; I've never seen mission event handlers used before, seems there is little to none documentation on what they are, and what they do, but it seems the "draw3d" eventhandler fires code on every drawn frame, which is required for 3d functions such as the new DrawIcon3d. It is probably passing some parameters to, but I haven't checked for them. Anyway, the previous script will generate some text at the players feet, and it will uptade position in realtime. (just a quick example... not often do you want to draw text over a players feet unless you are doing some militaristic shoe commercial)
  18. Tuliq

    How to remove auto-AIM ?

    Offering an option to choose between static and dynamic crosshair should be simple. There is already a lot of hud - customization in this game, why not apply it to crosshairs as well?
  19. Tuliq

    BIS_fnc_3dcredits ?

    try this. Just edit it to fit your liking. drawEH = addMissionEventHandler["draw3D",{ _positionOfObject = the position of the object drawIcon3D["", [1,1,1,1], _positionOfObject, 0, 0, 0, "YourTextHere", 0, 0.05, "TahomaB"]; } ];
  20. Tuliq

    vehicles safe zone

    Hey there, I'm trying to come up with something to help you, just hang on! ;) Put this in your on activation field null = thisList spawn {while{true} do {{_x allowDamage false}forEach _this; sleep 1}}; set trigger activation to any (or anybody, don't remember), and write in condition: true
  21. you need to do an if (something) exitWith{}; inside the loop to exit the loop.
  22. the this in gear01.sqf needs to be a local _this variable. add the underscore and try again :) Also, start arma to using the -showScriptErrors launch parameter. This way you will get a detailed error message anytime one of your scripts fail.
  23. Hey! You need to remove the brackets around [this], and change _this select 0 to _this select 1! right now your script is selecting the box as the unit! hope this helps. Also, I wouldn't suggest using numbers as script handles try null = this execVM "load01.sqf" instead.
×