Jump to content

Fisunaama

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Everything posted by Fisunaama

  1. Hey, I am trying to get vanilla ArmA II troops and civilians to interact like OA units with no luck so far. Is this a feature or a bug? - Fisunaama
  2. Thank you, Much appreciated! I fixed some lines and put it in the init.sqf to run. _groupHasInjured = {damage _x >= 0.5} count units group player >= 1; { if ((damage _x == 0.5) && (_grouphasinjured)) then { [_x] joinSilent grpNull; _wp = (group _x) addWaypoint [getMarkerPos "retreatMarker", 0]; _wp setWaypointType "MOVE"; }; } forEach units group player; sleep 0.1; - Fisunaama
  3. Hey, I'm making a scenario where if a member of a group's health drops below 50 the unit will unassign itself from the group and independently retreat. How would I script this sort of a .sqf? - Fisunaama
  4. Hey, I've been trying to configure how to open the antenna of the Insurgent version of the BMP 2 (HQ) vehicle model. So far I've managed to get all the Skeletonbones working except antenna_wire. I've been trying to look from .cfg files if the answer would be available but, unfortunately, I haven't been able to utilize the information by applying my current skills. The interesting detail is that the Warfare object called HQ (insurgent) has a functional animation for the antenna. Picture 1 Picture 2 Thank in Advance for the help. - Fisunaama Code1: Init line of the BMP2_HQ vehicle this animate ["Antena1", 1]; this animate ["Antena2", 1]; this animate ["Antena3", 1]; this animate ["Antena4", 1]; this animate ["Antena5", 1]; this animate ["antena6", 1]; this animate ["antena_wire", 1]; In the following code, I have copied the cfgModel details of the both BMP2_HQ as well as the HQ_WF_INS // Here is BMP2_HQ Warfare building's cfgmodels class CfgModels { class Default { sections[] = {}; sectionsInherit=""; skeletonName = ""; }; class Name_Of_Your_Model : Default { skeletonName="WF_BMPHQSkeleton"; sections[]= { "camo1", "camo2", "camo_powergenerator", }; class Animations { class Antena1 { type="rotation"; angle0=-1.570796; angle1=0; axis="antena_axis"; memory=1; minValue=0; maxValue=1.02; minPhase=0; maxPhase=1.02; source="time"; sourceAddress=0; selection="antena_1"; }; class Antena2 { type="translation"; offset0=-0.99; offset1=-0.5; axis="antena_1"; memory=1; minValue=0.19; maxValue=2.04; minPhase=0.19; maxPhase=2.04; source="time"; sourceAddress=0; selection="antena_2"; }; class Antena3 { type="translation"; offset0=-0.99; offset1=-0.5; axis="antena_1"; memory=1; minValue=0.36; maxValue=3.06; minPhase=0.36; maxPhase=3.06; source="time"; sourceAddress=0; selection="antena_3"; }; class Antena4 { type="translation"; offset0=-0.99; offset1=-0.5; axis="antena_1"; memory=1; minValue=0.53; maxValue=4.08; minPhase=0.53; maxPhase=4.08; source="time"; sourceAddress=0; selection="antena_4"; }; class Antena5 { type="translation"; offset0=-0.99; offset1=-0.5; axis="antena_1"; memory=1; minValue=0.7; maxValue=5.1; minPhase=0.7; maxPhase=5.1; source="time"; sourceAddress=0; selection="antena_5"; }; class Antena6 { type="translation"; offset0=-0.99; offset1=-0.5; axis="antena_1"; memory=1; minValue=0.87; maxValue=6; minPhase=0.87; maxPhase=6; source="time"; sourceAddress=0; selection="antena_6"; }; class Antena_wire { type="translation"; offset0=-8; offset1=-2.47; axis="antena_1"; memory=1; minValue=5.994; maxValue=6; minPhase=5.994; maxPhase=6; source="time"; sourceAddress=0; selection="antena_wire"; }; }; }; }; // And here in turn the BMP2_HQ vehicle's cfgmodels antena-part class Antena1 { type="rotation"; angle0=-1.570796; angle1=0; axis="antena_axis"; memory=1; minValue=0; maxValue=0.17; minPhase=0; maxPhase=0.17; source="Antena1"; sourceAddress=0; selection="antena_1"; }; class Antena2 { type="translation"; offset0=-0.99; offset1=-0.5; axis="osavelitele"; memory=1; minValue=0.19; maxValue=0.34; minPhase=0.19; maxPhase=0.34; source="Antena2"; sourceAddress=0; selection="antena_2"; }; class Antena3 { type="translation"; offset0=-0.99; offset1=-0.5; axis="osavelitele"; memory=1; minValue=0.36; maxValue=0.51; minPhase=0.36; maxPhase=0.51; source="Antena3"; sourceAddress=0; selection="antena_3"; }; class Antena4 { type="translation"; offset0=-0.99; offset1=-0.5; axis="osavelitele"; memory=1; minValue=0.53; maxValue=0.68; minPhase=0.53; maxPhase=0.68; source="Antena4"; sourceAddress=0; selection="antena_4"; }; class Antena5 { type="translation"; offset0=-0.99; offset1=-0.5; axis="osavelitele"; memory=1; minValue=0.7; maxValue=0.85; minPhase=0.7; maxPhase=0.85; source="Antena5"; sourceAddress=0; selection="antena_5"; }; class Antena6 { type="translation"; offset0=-0.99; offset1=-0.5; axis="osavelitele"; memory=1; minValue=0.87; maxValue=1; minPhase=0.87; maxPhase=1; source="Antena6"; sourceAddress=0; selection="antena_6"; }; class Antena_wire { type="translation"; offset0=-8; offset1=-2.47; axis="osavelitele"; memory=1; minValue=0.999; maxValue=1; minPhase=0.999; maxPhase=1; source="Antena_wire"; sourceAddress=0; selection="antena_wire"; };
×