NeV3rKilL
Member-
Content Count
31 -
Joined
-
Last visited
-
Medals
Everything posted by NeV3rKilL
-
How can i give damage to a leg? I know , which returns hands damage, but how can I set hands and legs damage? And how can I get legs damage? In a car how can I get/set the damage of the different parts of the vehicle?? Thank you.
-
Hello. How can I create an invisible marker? I don't want create a maker that was visible in the map mission nor the brefing map. I have looked for in the editor but i don't find anithing :(
-
Radio and move trought waypoints.
NeV3rKilL posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi I want to do a convoy mission, but I have a problem. I have divided the way in waypoints, and the squad leader trought the radio alpha channel, can give the order to convoy to advance. My problem is that when I activate the alpha channel the convoy runs trought all waypoints, I want that the convoy walks to the next waypoint and then waits to the next radio alpha channel. Help me!! Thank you. -
Radio and move trought waypoints.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Finally I have created a script that creates waypoints dinamically -
How to look for an inestable addon?
NeV3rKilL posted a topic in ARMA 2 & OA - ADDONS & MODS: DISCUSSION
Hi I have a dedicated server with more than 1 GB of addons and now the server is quite. How can I look for that inestable addon? Thank you -
BlackOps and desert mercs
NeV3rKilL replied to schnapsdrosel's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
I'm interested on using this addon, but Which is the "medic" Vehiclecfg name? I need that name to use the Norris' Revive. Who knows? Thanks! (Solved) seeing mission.sqm -
ARMA II Beta Builds Released: Latest version/build: 1.04.6xxxx
NeV3rKilL replied to mattxr's topic in ARMA 2 & OA - BETA PATCH TESTING
I can't download the beta patch :( Server is down. -
addAction loading files.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
with the file is not found. -
When I use: _genAct = _car addAction ["Saltar al Vehiculo!", "DMG_getin.sqf", _this ,10 , true , true , "GetOut", "!(_this in _target)" with "DMG_getin.sqf" on the mission folder, All works OK. If I use: _genAct = _car addAction ["Saltar al Vehiculo!", "/DMG/DMG_getin.sqf", _this ,10 , true , true , "GetOut", "!(_this in _target)" with "DMG_getin.sqf" in a "DMG" folder inside the mission folder. There is not error, arma2 find the file because not error is displayed, but the file is not opened. :-/ I have got this with another commands like execVM and works perfect, but with addAction seems not. Why?
-
Script works on localserver but internet.
NeV3rKilL posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I have create a little script which I launch the script with: _an = [this,"godall","ha"] execVM "car.sqf"; Putted in vehicles init. It works perfect if I create a localserver or preview in my editor but I have upload a test mission with this in a internet server and the script not works. Why?? Thank you. The mission is: http://www.megaupload.com/?d=AMT8RL3W -
Script works on localserver but internet.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
if (!isServer) exitWith {}; All was that line. I don't understand why, but i have commented that line and all works perfect now. Some good document explaining difference between exec in server or in clients?? Thank you very much. -
Script works on localserver but internet.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
This is the whole script. if (!isServer) exitWith {}; private ["_car","_godmode","_damBol"]; _car = _this select 0; _godmode = _this select 1; _damBol = _this select 2; switch (_godmode) do { case "godall": { if (0 != (count crew _car)) then { {_x allowDamage false} foreach crew _car; }; _car addEventHandler ["GetIn", {(_this select 2) allowDamage false;}]; _car addEventHandler ["GetOut", {(_this select 2) allowDamage true;}]; }; case "godcargo": { if (0 != (count crew _car)) then { {_x allowDamage false} foreach crew _car; (gunner _car) allowDamage true; (driver _car) allowDamage true; (commander _car) allowDamage true; }; _car addEventHandler ["GetIn", {(_this select 2) allowDamage false;(gunner _car) allowDamage true;(commander _car) allowDamage true;(driver _car) allowDamage true; }]; _car addEventHandler ["GetOut", {(_this select 2) allowDamage true;}]; }; case "godallheli": { if (0 != (count crew _car)) then { {_x allowDamage false} foreach crew _car; }; _genAct = _car addAction ["Saltar al Vehiculo!", "getin.sqf", _this ,10 , true , true , "GetOut", "!(_this in _target)"]; _car addEventHandler ["GetIn", {(_this select 2) allowDamage false;}]; _car addEventHandler ["GetOut", {_this Call Compile PreProcessFile "DMG_Godalleli.sqf";}]; }; }; switch (_damBol) do { case "ha": { _car AddEventHandler ["handleDamage",{_this Call Compile PreProcessFile "DMG_Armour.sqf";}]; }; case "tercio": { _car addEventHandler ["handleDamage", { _this Call Compile PreProcessFile "DMG_Tercio.sqf" }]; }; }; How can i do to run code in every machine? hint dosen't work on the internet machines :( Why? This is by allowdamage? -
Creating new menu items (actions)
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thank you :) -
Creating new menu items (actions)
NeV3rKilL posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
How can I create new menu entries to do special actions? For example I want that when a player go near a house, in his menu appears something like, "Spy house", and then the objective become complete. How can i add items to the menu action? In domination , for example, I can repair vehicles with this menu. Thanks -
Hi, how can I spawn a unit inside a vehicle? I did it adding the vehicle inside the units group, and setting the units parametres in "load". But I would like that the vehicle and the unit have a different groups. How can I spawn a unit inside a vehicle without adding this unit in the vehicle tripulation?
-
Hit in the leg.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I don't understand eventhandler "handleDamage". Just it dosn't works how it would have. This code extract from http://dev-heaven.net/boards/37/topics/show/949#message-1205 this addEventHandler ["handleDamage", { (damage (_this select 0)) + ((_this select 2) * 0.1) }]; // Take 10% damage. Destrois a T90 with 5 M16A1 hits when the T90 would must support 10 times most damage. Forgot hit locations just talking about global damage. I Don't undestand, the damage passed by (_this select 2) seems to be exponential, when it would have be constant value. I have done tests with this addEventHandler ["handleDamage", { (damage (_this select 0)) + 0.1 }]; And works perfect, after 10 shots T90 explodes but if I use _this select 2, then it's incontrolable and another question: I want to do normal damage, how can I do ? But if I use nil value then the T90 is invulnerable. I think that handleDamage is too green. -
Hi. How can i Hide the space GUI? I would like nothing happens when I press spacebar. With the munition number, the same thing. How can I disable the munition GUI? I just want GUI to change weapon, up and down vehicles... etc. Is it possible?
-
Create invisible marker.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I think that this is the better. I need an AREA marker, not an icon marker like "invisible". -
Hit in the leg.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
OK I have found the error. In that "FAQ" tells that : And the first sentence is WRONG. The "number" is added at the actual damage, is not a new level like using setdamage just add. -
Hit in the leg.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ok I didn't know the handlers and all my job was around activators now a new door is opend for me :D Thank you very much!! ---------- Post added at 10:02 PM ---------- Previous post was at 08:04 PM ---------- I have another question now about handlers. How many times handler is activated?? I have create a small script to test it: i=0; _car addEventHandler ["handleDamage", { i=i+1; hint format["%1",i];; }]; This Handler is activated 5 times if I hit to a human, and more than 20 if I hit a tank!! Then this example: this addEventHandler ["handleDamage", { (damage (_this select 0)) + ((_this select 2) * 0.1) }]; // Take 10% damage. Dosn't work for me, because the damage is takened 21 times. I have test with: this addEventHandler ["handleDamage", { (damage (_this select 0)) + ((_this select 2) * 1) }]; // Take 100% damage. And traktor have been destroyed with a couple of hits. ¿?¿? Why ¿? -
Hit in the leg.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
SetHit is great! And for get the damage? Anithing like getdamage ? -
How can I create an invulnerable unit? I have tried creating an activator. The activator have a "cooldown" time, and if you shoot a member in the cooldown time the activator just stops. See the example and shoot the solider. if you hit the spezna slowly, hit, stop, hit, stop. Then it works well. If you use machinegun position then the activator stop works. How can I create an invulnerable unit ? Test link: http://www.megaupload.com/?d=ESORDSV0
-
Invulnerable mode.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I don't know why, but if a unit is inside a vehicle and the vehicle is taking damage, percentage of damage is passed to the unit!! This is a bug?? For example enter like gunner, if anyone shots to the vehicle wheel, % of damage is passed to you!! With allowdamage false too!! this is a bug? -
setTriggerStatements And local variables.
NeV3rKilL posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello. I'm creating a script and i need that an activator was activated when a player enter in a car. I have done with: _trg setTriggerStatements["player in CarsName", "hint 'You'r IN'",""]; [/Code] but this is unusable for me, I need that CarsName was a local variable and not a global variable. My script is like: [Code]_car001 = _this select 0; _trg=createTrigger["EmptyDetector",getPos player]; _trg setTriggerStatements["player in _car001", "hint 'You are IN'",""];[/Code] With this last form the script not works. How can I do it? Thank you! -
Invulnerable mode.
NeV3rKilL replied to NeV3rKilL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thank you very much!!