Jump to content

Gunnykat

Member
  • Content Count

    85
  • Joined

  • Last visited

  • Medals

Everything posted by Gunnykat

  1. Gunnykat

    Air lifting no AI

    It is a pbo file when i put it on the server. I dl it cause alot of folks said it was a good mission. And had alot of sound editing. When i did not hear the sound bits on the server I got out my pbo viewer to see what all he did. And when i previewed it it all work. So thats what got me.
  2. Gunnykat

    Air lifting no AI

    Roger that. the thing is how do you get mando hitch sample to work. I get and error no desert. I know you have given me plenty to play with. And on the behind enemy lines thing. I can't understand why the sound files work on preview and when you load it up on a server it does not. I find it weard on that. I am sorry to have offened anyone. Its just that I can't get any example of this script separate. I know mando hitch is but I can not get it to work. I want to see what he does to triger the file but I can not look at mission must need an addon or its arma map. ---------- Post added at 02:43 AM ---------- Previous post was at 02:23 AM ---------- Ok I tried mando hitch again. I set it up just like he has it in the zip file. in my mission file under the map i want it on. added the into info and description info to what I have already in the mission. the error I get is Variabl 'mando_hitch_hud' does not suport serialization and should not be stored in the mission name space. I have no clue what this means.
  3. Gunnykat

    Air lifting no AI

    Well guess this is how my post ends with a big fat 0. Well at least I gave this part of maping a shot. I also found out that custome sounds are a joke. works when you preview it . But when loaded on a server big fat no go. Behind Enemy lines has a nice bit of sound change. And it really nice makes you feel like you in a real squad. To bad sound add ons are striped when playing online. All I can say BI needs to fix stuff like that kills all the thing you can do with the game.
  4. Gunnykat

    Air lifting no AI

    There is a script in Domination Xeno uses but not sure how he does it. Here is a link where it can be down loaded.http://www.armaholic.com/page.php?id=6014&a=dl Its in any of the domination maps. I just cant figure out how he scripts it. You have to use PboView0.8 to open up pbo file. Part of the script is in the x_script folder. And you said mando hitch can do it but its set up for arma how would i set it up for arma 2. I think this is what Xeno uses.
  5. Gunnykat

    Air lifting no AI

    Ahh ok. I guess i need to look that up. Wow I am still in the dark. Ok _ makes it local or privet but what exactly does that mean. I am adding this script. I want to try and change it to alow me to hook up to the top. This is a tow script. I want to change it to a lift. Using a Sea Hawk. I have seen them lifting Artilary and such. Using tow straps. I want an efect like that on my UH 60. and it works like this I am sure just have to change the hook up position. And add how low it should hang from below the UH 60 // addTowAction.sqf // © AUGUST 2009 - norrin (norrin@iinet.net.au) _vcl = _this select 0; _c = 0; _load = _vcl addAction ["Tow aircraft", "c130Tow\attach.sqf", "", 0, false, true]; _unload = _vcl addAction ["Detach aircraft ", "c130Tow\dettach.sqf","", 0, false, true]; Norrn_C130Tow = false; _plane = objNull; _distance = 0; _vcl removeAction _load; _vcl removeAction _unload; while {alive _vcl && count (crew _vcl) == 1} do { if (count (nearestObjects [_vcl, ["PLANE"], 20]) > 0 && _c == 0 && !Norrn_C130Tow) then { _plane = nearestObjects [_vcl, ["Plane"], 20] select 0; _distance = switch (typeOf _plane) do { case "A10": {9.5}; case "AV8B2": {9}; case "C130J": {17}; case "F35B": {9.2}; case "MV22": {12.5}; case "Su25_Ins": {9.2}; case "Su25_CDF": {9.2}; case "Su34": {12}; }; _pos = getPos _plane; _dir = getDir _plane; _posfront = [(_pos select 0) + (sin _dir * _distance), (_pos select 1) + (cos _dir * _distance), 0]; //hint format ["vcl: %1 \nplane: %2", (getPos _vcl), _posfront]; if (_vcl distance _posfront < 2.5 && (getDir _vcl) > (_dir - 20) && (getDir _vcl) < (_dir + 20)) then { _load = _vcl addAction ["Tow aircraft", "c130Tow\attach.sqf", [_vcl, _plane], 0, false, true]; _vcl removeAction _unload; _c = 1; }; }; if (Norrn_C130Tow && _c == 1) then { _unload = _vcl addAction ["Detach aircraft ", "c130Tow\detach.sqf", _plane, 0, false, true]; _vcl removeAction _load; _c = 0; }; if (count (nearestObjects [_vcl, ["PLANE"], 20]) > 0 && _c == 1 && !Norrn_C130Tow) then { _pos = getPos _plane; _dir = getDir _plane; _posfront = [(_pos select 0) + (sin _dir * _distance), (_pos select 1) + (cos _dir * _distance), 0]; //hint format ["car: %1 \nplane: %2", getDir _vcl, _dir]; if (_vcl distance _posfront > 2.5 || (getDir _vcl) > (_dir + 20) || (getDir _vcl) < (_dir - 20)) then { _vcl removeAction _load; _c = 0; }; }; if (count (nearestObjects [_vcl, ["PLANE"], 20]) == 0 && _c == 1) then { _vcl removeAction _load; _vcl removeAction _unload; _c = 0; }; sleep 1; }; _vcl removeAction _load; _vcl removeAction _unload; detach _plane; if (!alive _vcl) exitWith {}; /////////////////////////////////////////////////////////////////////////////////////////////////////////// next script // c130Tow_init.sqf // © AUGUST 2009 - norrin (norrin@iinet.net.au) // Based on an idea from David Campagna _vcl = _this select 0; _vcl addEventHandler ["GETIN",{if ((_this select 1) == "driver") then {_nul = [_this select 0] execVM "c130Tow\addTowAction.sqf"}}]; if (true) exitWith {}; //////////////////////////////////////////////////////////////////////////////////////////////////////////////// next script // attach.sqf // © AUGUST 2009 - norrin (norrin@iinet.net.au) _array = _this select 3; _vcl = _array select 0; _plane = _array select 1; switch (typeOf _plane) do { case "A10": {_plane attachto [_vcl,[0, -9, -0.2]];}; case "AV8B2": {_plane attachto [_vcl,[0, -8.5, 1.6]];}; case "C130J": {_plane attachto [_vcl,[0,-15.5,4.6]];}; case "F35B": {_plane attachto [_vcl,[0, -9, 1.1]];}; case "MV22": {_plane attachto [_vcl,[0, -12, 2.5]];};; case "Su25_Ins": {_plane attachto [_vcl,[0, -9, 2]];}; case "Su25_CDF": {_plane attachto [_vcl,[0, -9, 2]];}; case "Su34": {_plane attachto [_vcl,[0, -14, 1.6]];}; }; Norrn_C130Tow = true; if (true) exitWith {}; //////////////////////////////////////////////////////////////////////////////////////////// next script // detach.sqf // © AUGUST 2009 - norrin (norrin@iinet.net.au) _plane = _this select 3; detach _plane; Norrn_C130Tow = false; if (true) exitWith {};
  6. Gunnykat

    Air lifting no AI

    Ok if i can under stand what this is I might make it work. Is _vcl the same as _vehicles. And what is _c. I also need to know what _this is as well.
  7. Gunnykat

    Air lifting no AI

    Cool thanks for the link you must had posted befor i seen it. I think this is way advance for me could someone plese build a script for me. and please explain whats going on. I hate being in the fog. Actualy its a cave with a match that is just starting to fizzel out hehe.
  8. Gunnykat

    Air lifting no AI

    What I am looking for. Is the script to load lift a vehicle useing a Sea Hawk. Xeno made one but his maps are total script and man i can't tell how he does anything. Any ways in his Domination map you can hover over a tank for instance. And get a command when you scroll down to pick it up using an invisable tow hook. and then you can fly it to where ever you need to take it and then have an option to drop it. It sounds simple but I have no clue where to begin to make this.
×