desusa
Member-
Content Count
34 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout desusa
-
Rank
Private First Class
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Hey, I make my final Arma 2 mission, now that Arma 3 comes I will try my way, I have made a mission now that NATO is in conflict in the world, I'm very happy with what I make, but have a problem with Halo script. If there are some of you that might help me, would have been nice. I put in a C-160T French aircraft at the Airport and inside the initialization. I wrote in the code inside the initialization: this addAction ["HALO JUMP","scripts\flagpoleHALO.sqf",[],1,false,true,"","getPos _target select 2 < 2"]; I also created two files one I called, "flagpoleHALO.sqf" and the other I called, "halo.fsm" In the "flagpoleHALO.sqf" I wrote in the code: [] call bis_fnc_hints; //create an empty thread, to avoid 'BIS_AdvHints_Spawn' being nil at the beginning if (isNil "BIS_AdvHints_Spawn") then { BIS_AdvHints_Spawn = [] spawn { waitUntil {false}; }; }; halo = true; hintSilent "Click on the map where you'd like to HALO."; onMapSingleClick "player setPos _pos; [2000] execFSM 'scripts\halo.fsm';halo = false;hint 'Close the map'"; waitUntil{!halo}; onMapSingleClick ""; And in the "halo.fsmf" I wrote in the code: /*%FSM<COMPILE "C:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, halo">*/ /*%FSM<HEAD>*/ /* item0[] = {"START",0,4346,-325.000000,-675.000000,-225.000000,-625.000000,0.000000,"START"}; item1[] = {"Falling",4,218,-325.000000,-600.000000,-225.000000,-550.000000,0.000000,"Falling"}; item2[] = {"HALO",2,250,-325.000000,-525.000000,-225.000000,-475.000000,0.000000,"HALO"}; item3[] = {"Next",8,218,-325.000000,-450.000000,-225.000000,-400.000000,0.000000,"Next"}; item4[] = {"ALTITUDE",2,250,-325.000000,-375.000000,-225.000000,-325.000000,0.000000,"ALTITUDE"}; item5[] = {"Continue",4,218,-325.000000,0.000000,-225.000000,50.000000,0.000000,"Continue"}; item6[] = {"END",1,250,-325.000000,75.000000,-225.000000,125.000000,0.000000,"END"}; item7[] = {"Landed",4,218,-325.000000,-150.000000,-225.000000,-100.000000,0.000000,"Landed"}; item8[] = {"END_HALO",2,250,-325.000000,-75.000000,-225.000000,-25.000000,0.000000,"END HALO"}; item9[] = {"Opened",4,218,-325.000000,-300.000000,-225.000000,-250.000000,0.000000,"Opened"}; item10[] = {"Parachute",2,250,-325.000000,-225.000000,-225.000000,-175.000000,0.000000,"Parachute"}; item11[] = {"not__opend_",4,218,-100.000000,-250.000000,0.000000,-200.000000,0.000000,"not" \n " opend" \n ""}; item12[] = {"killed_",4,218,-650.000000,-150.000000,-550.000000,-100.000000,0.000000,"killed" \n ""}; link0[] = {0,1}; link1[] = {1,2}; link2[] = {2,3}; link3[] = {2,12}; link4[] = {3,4}; link5[] = {4,9}; link6[] = {4,11}; link7[] = {4,12}; link8[] = {5,6}; link9[] = {7,8}; link10[] = {8,5}; link11[] = {9,10}; link12[] = {10,7}; link13[] = {10,12}; link14[] = {11,8}; link15[] = {12,8}; globals[] = {25.000000,1,0,0,0,640,480,1,339,6316128,1,-823.139648,257.761230,325.160828,-810.675293,728,765,1}; window[] = {0,-1,-1,-1,-1,935,25,1717,25,1,746}; *//*%FSM</HEAD>*/ class FSM { fsmName = "halo"; class States { /*%FSM<STATE "START">*/ class START { name = "START"; init = /*%FSM<STATEINIT""">*/"_h = _this select 0;" \n "_pos = [getPosASL player select 0, getPosASL player select 1, _h];" \n "player setpos _pos;" \n "player setvariable [""bis_fnc_halo_now"",true];" \n "" \n "player setdir 0;" \n "" \n "BIS_AdvHints_Header = """";" \n "BIS_AdvHints_Text = """";" \n "BIS_AdvHints_Footer = """";" \n "BIS_AdvHints_Duration = -1;" \n "BIS_AdvHints_ShowCond = ""true"";" \n "BIS_AdvHints_ShowCode = """";" \n "BIS_AdvHints_HideCond = """";" \n "BIS_AdvHints_HideCode = """";" \n "BIS_AdvHints_Silent = false;" \n "BIS_AdvHints_Seamless = false;" \n "BIS_AdvHints_KeyPress = """"; " \n "BIS_AdvHints_CanSkip = true;" \n "BIS_AdvHints_NoFooter = false;" \n "" \n ""/*%FSM</STATEINIT""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; class Links { /*%FSM<LINK "Falling">*/ class Falling { priority = 0.000000; to="HALO"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"(position player select 2) > 1"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ }; }; /*%FSM</STATE>*/ /*%FSM<STATE "HALO">*/ class HALO { name = "HALO"; init = /*%FSM<STATEINIT""">*/"player spawn bis_fnc_halo;" \n "player setdir 0;" \n "player setvelocity [0,120*0.8,0];" \n "player allowdamage true;" \n ""/*%FSM</STATEINIT""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; class Links { /*%FSM<LINK "killed_">*/ class killed_ { priority = 0.000000; to="END_HALO"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"not alive player"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ /*%FSM<LINK "Next">*/ class Next { priority = 0.000000; to="ALTITUDE"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/""/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ }; }; /*%FSM</STATE>*/ /*%FSM<STATE "ALTITUDE">*/ class ALTITUDE { name = "ALTITUDE"; init = /*%FSM<STATEINIT""">*/"call BIS_AdvHints_setDefaults;" \n "BIS_AdvHints_THeader = ""ALTIMETER"";" \n "BIS_AdvHints_TInfo = """";" \n "BIS_AdvHints_TImp = localize ""STR_EP1_mission.fsmFSM_States_MFF0_0"";" \n "BIS_AdvHints_TAction = """";" \n "BIS_AdvHints_TBinds = """";" \n "BIS_AdvHints_HideCond = ""false"";" \n "BIS_AdvHints_Seamless = true;" \n "BIS_AdvHints_Text = call BIS_AdvHints_formatText;" \n "BIS_AdvHints_Dynamic = [" \n " {'MoveForward' call BIS_getKeyBind}," \n " {'MoveBack' call BIS_getKeyBind}," \n " {'TurnLeft' call BIS_getKeyBind}," \n " {'TurnRight' call BIS_getKeyBind}," \n " {round(position player select 2)}," \n " {round((position player select 2) * 3.28)}," \n " {'Action' call BIS_getKeyBind}" \n "];" \n "BIS_AdvHints_Spawn = [] spawn BIS_AdvHints_showHintSpawn;"/*%FSM</STATEINIT""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; class Links { /*%FSM<LINK "not__opend_">*/ class not__opend_ { priority = 0.000000; to="END_HALO"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"((vehicle player == player) && (position vehicle player select 2) < 5)"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ /*%FSM<LINK "killed_">*/ class killed_ { priority = 0.000000; to="END_HALO"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"not alive player"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ /*%FSM<LINK "Opened">*/ class Opened { priority = 0.000000; to="Parachute"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"vehicle player != player"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ }; }; /*%FSM</STATE>*/ /*%FSM<STATE "END">*/ class END { name = "END"; init = /*%FSM<STATEINIT""">*/"(FindDisplay 46) DisplaySetEventHandler [""keydown"",""if ((_this select 1) In actionKeys """"TeamSwitch"""") then {a = createDialog 'evoUI'}""];" \n "" \n ""/*%FSM</STATEINIT""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; class Links { }; }; /*%FSM</STATE>*/ /*%FSM<STATE "END_HALO">*/ class END_HALO { name = "END_HALO"; init = /*%FSM<STATEINIT""">*/"call BIS_AdvHints_setDefaults;" \n "" \n "//player setvariable [""bis_fnc_halo_terminate"",true];" \n ""/*%FSM</STATEINIT""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; class Links { /*%FSM<LINK "Continue">*/ class Continue { priority = 0.000000; to="END"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"(scriptDone BIS_AdvHints_Spawn)"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ }; }; /*%FSM</STATE>*/ /*%FSM<STATE "Parachute">*/ class Parachute { name = "Parachute"; init = /*%FSM<STATEINIT""">*/""/*%FSM</STATEINIT""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; class Links { /*%FSM<LINK "killed_">*/ class killed_ { priority = 0.000000; to="END_HALO"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"not alive player"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ /*%FSM<LINK "Landed">*/ class Landed { priority = 0.000000; to="END_HALO"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"vehicle player == player;"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ }; }; /*%FSM</STATE>*/ }; initState="START"; finalStates[] = { "END", }; }; /*%FSM</COMPILE>*/ Then just walk up to the plane and select Halo Jump, but I laugh me to death of how AI behaves. It's like he does not fall down but start to fall forward, so you have to control yourself a bit before hitting your target.:D Is there anyone who can look at the code, the AI falls to the north, after the map click, I want him to fall down.. :) ?
-
Air Support Scripts
desusa replied to Draper's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey, I made it and work:) I used what was in Init.sqf and wrote in the Init of the player. Now everything works on MP THANKS:yay: -
Air Support Scripts
desusa replied to Draper's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey, it worked really well! THANKS .. But now I wonder why none of the other scripts, CODES does not work ..? UPSMOIN do not, see here? In the init.sqf #include "R3F_ARTY_AND_LOG\init.sqf" nul = [m1,"jadam","lgb","cbuap","cbuat","helo"] execVM "airSup\airSupInit.sqf"; if(true)exitWith{}; //begin init.sqf // JIP fix - why does ArmA execute init.sqf for JIP players, if 'player' is not sync'd yet if ((!isServer) && (player != player)) then { waitUntil {player == player}; }; if (isServer) then { //Init UPSMON scritp call compile preprocessFileLineNumbers "scripts\Init_UPSMON.sqf"; }; setviewdistance 1600; //Process statements stored using setVehicleInit processInitCommands; //Finish world initialization before mission is launched. finishMissionInit; if(true) exitWith {}; And if I want to have multiple groups, it should look like this: nul = [m1,"jadam","lgb","cbuap","cbuat","helo"] execVM "airSup\airSupInit.sqf"; nul = [m2,"jadam","lgb","cbuap","cbuat","helo"] execVM "airSup\airSupInit.sqf"; if(true)exitWith{}; :j: -
Air Support Scripts
desusa replied to Draper's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey, now I had waited long for you to lay out a scrip on how responder on the MP game:) I tried the script but only see Air Suporte, and no choice on the menu? only axit menu. And what is [_man] is the name of the AI as m1? Or is it something that I have not done correctly? I made MPrespwn.sqf and replaced in airSupInit.sqf [_man] execVM "airSup \ MPrespwn.sqf" over the old. And what about Init.sqf ASfirstrun = true; nul = [m1, "jadam", "LGB", "cbuap", "cbuat", "cbumine", "cas", "helo", "trans"] execVM "airSup \ airSupInit.sqf"; if (true) exit With (); Should I change something there and bring up the options on the menu? :j: -
Air Support Scripts
desusa replied to Draper's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I've seen airSupInit but can not find what you write about? Help if you are friendly:) Is there someone who maybe could send me the file with the script to desusa9@hotmail.com ? :j: -
Air Support Scripts
desusa replied to Draper's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Sorry, that I understood nothing:) But love Air Support you have made, would only have a single file that MP had worked on? -
Air Support Scripts
desusa replied to Draper's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, I got a problem when I respowna in MP game. I do not start the restore with Arsuport after I have been killed ? Is there anyone who can point me in the right way..:) -
JTD Ambient Civilian Traffic module
desusa replied to TRexian's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
I read that it can not because it is not the same buildings as the Uthas? but I get the animals out! Isla duala I will have civilian :j: -
JTD Ambient Civilian Traffic module
desusa replied to TRexian's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Hey, I do not understand how to get to the JTD and work on other islands :confused: -
Hi, I need help setting up a road bloack or a small base, while in the game. So that when you are on a mission, you can post tent or M2 as a small base, while waiting for the order. :j: ---------- Post added at 08:55 PM ---------- Previous post was at 08:54 PM ---------- a trigger around a house
-
Hi, can anyone help me how I can make a M2 or a ditch, round a specialized triger? As a road bloack?
-
How does CIV AMBIENT WORKS
desusa replied to desusa's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey, thanks guys;) this helped a lot ..:D ---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ---------- hehe !! :D -
HOW MANY DO YOU HAVE ON THE MAP ? Should it be on all the houses..
-
Hey, today was the new TeamSpeak3 launched:) but when it is so new there are many who download the new Versionen .. I have downloaded TS3 but i wait until it has calmed down over the weekend .. Therefore, I installed TS2 on my webpage. www.armedservices.webs.com Does anyone want to come and play Groundhog Day 1.03? PASSWORD is in Recent Blog Entries .. Have fun.
-
Groundhog Day I Desuza has made a mission to the island Quesh-Kibrul, with the help of PVP script. The island is absolutely fantastic for desert warfare, where there is many a chance to use their imagination. I've been using MODS: ACE + @ merc_units_fixed + Quesh-Kibru island. This is the desert, it is kill or be killed. Version 1.03 Hi, I have worked a lot on the new island Quesh-kibrul, I will now say that Russia has moved base to a better strategic fit. Now you can employ soldiers in the army barracks at base. I have also added that you can not be killed inside the base, it is the same for cars and house. There is much new that has changed since I started. Hope you will enjoy my time making this, you know I do. Download Page: http://armedservices.webs.com/mpgamemodes.htm www.armaholic.com Has received the new update :D Apologized my english!!