hamis 0 Posted March 16, 2005 Hi.I have installed radars and hangars from Baracken addon.I inserted them in wrptool on original islands,but can´t make doors working or radars spin!Anyone tried this before?Please,if you give some instuctions,make them very detailed because i´m not really good in configing(especially eventhandlers,sqs etc). Share this post Link to post Share on other sites
hamis 0 Posted March 23, 2005 Here is the config for hangar(in ecp config.cpp),what's wrong? class WireFence:Fence { scope=2; model="plot_provizorni.p3d"; displayName="$STR_DN_FENCE_WIRE"; accuracy=0.3; mapSize=5.5; }; class Hangar01:Fence { model="\Baracken\Hangar01"; vehicleClass="Mapfact Objects"; icon="\Baracken\B15.jpg"; displayName="$STR_DN_Hangar01"; armor=200; scope=2; irTarget=0; animated=1; class UserActions { class Au02 { displayName="$STR_AC_3"; position="Achse2"; radius=3.0; condition="this animationPhase ""Component02"" < 0.5"; statement="this animate [""Component02"", 1];this say ""JOF_Tur_auf"""; }; class Zu02 { displayName="$STR_AC_4"; position="Achse2"; radius=3.0; condition="this animationPhase ""Component02"" >= 0.5"; statement="this animate [""Component02"", 0];this say ""JOF_Tur_zu"""; }; class Au03 { displayName="$STR_AC_3"; position="Achse3"; radius=3.0; condition="this animationPhase ""Component03"" < 0.5"; statement="this animate [""Component03"", 1];this say ""JOF_Tur_auf"""; }; class Zu03 { displayName="$STR_AC_4"; position="Achse3"; radius=3.0; condition="this animationPhase ""Component03"" >= 0.5"; statement="this animate [""Component03"", 0];this say ""JOF_Tur_zu"""; }; class Au04 { displayName="$STR_AC_3"; position="Achse4"; radius=3.0; condition="this animationPhase ""Component04"" < 0.5"; statement="this animate [""Component04"", 1];this say ""JOF_Tur_auf"""; }; class Zu04 { displayName="$STR_AC_4"; position="Achse4"; radius=3.0; condition="this animationPhase ""Component04"" >= 0.5"; statement="this animate [""Component04"", 0];this say ""JOF_Tur_zu"""; }; class Au05 { displayName="$STR_AC_3"; position="Achse5"; radius=3.0; condition="this animationPhase ""Component05"" < 0.5"; statement="this animate [""Component05"", 1];this say ""JOF_Tur_auf"""; }; class Zu05 { displayName="$STR_AC_4"; position="Achse5"; radius=3.0; condition="this animationPhase ""Component05"" >= 0.5"; statement="this animate [""Component05"", 0];this say ""JOF_Tur_zu"""; }; class Au06 { displayName="$STR_AC_3"; position="Achse6"; radius=3.0; condition="this animationPhase ""Component06"" < 0.5"; statement="this animate [""Component06"", 1];this say ""JOF_Tur_auf"""; }; class Zu06 { displayName="$STR_AC_4"; position="Achse6"; radius=3.0; condition="this animationPhase ""Component06"" >= 0.5"; statement="this animate [""Component06"", 0];this say ""JOF_Tur_zu"""; }; class Au07 { displayName="$STR_AC_3"; position="Achse7"; radius=3.0; condition="this animationPhase ""Component07"" < 0.5"; statement="this animate [""Component07"", 1];this say ""JOF_Tur_auf"""; }; class Zu07 { displayName="$STR_AC_4"; position="Achse7"; radius=3.0; condition="this animationPhase ""Component07"" >= 0.5"; statement="this animate [""Component07"", 0];this say ""JOF_Tur_zu"""; }; class Au08 { displayName="$STR_AC_3"; position="Achse8"; radius=3.0; condition="this animationPhase ""Component08"" < 0.5"; statement="this animate [""Component08"", 1];this say ""JOF_Tur_auf"""; }; class Zu08 { displayName="$STR_AC_4"; position="Achse8"; radius=3.0; condition="this animationPhase ""Component08"" >= 0.5"; statement="this animate [""Component08"", 0];this say ""JOF_Tur_zu"""; }; class Au09 { displayName="$STR_AC_3"; position="Achse9"; radius=3.0; condition="this animationPhase ""Component09"" < 0.5"; statement="this animate [""Component09"", 1];this say ""JOF_Tur_auf"""; }; class Zu09 { displayName="$STR_AC_4"; position="Achse9"; radius=3.0; condition="this animationPhase ""Component09"" >= 0.5"; statement="this animate [""Component09"", 0];this say ""JOF_Tur_zu"""; }; class Au10 { displayName="$STR_AC_13"; position="Achse10"; radius=2.0; condition="this animationPhase ""Component10"" < 0.1"; statement="this animate [""Component10"", 1];this animate [""Component11"", 1];"; }; class Zu10 { displayName="$STR_AC_14"; position="Achse10"; radius=2.0; condition="this animationPhase ""Component10"" >= 0.1"; statement="this animate [""Component10"", 0];this animate [""Component11"", 0];"; }; class Au11 { displayName="$STR_AC_9"; position="Achse10"; radius=2.0; condition="this animationPhase ""Component12"" < 0.1"; statement="this animate [""Component12"", 1];this animate [""Component13"", 1];"; }; class Zu11 { displayName="$STR_AC_10"; position="Achse10"; radius=2.0; condition="this animationPhase ""Component12"" >= 0.9"; statement="this animate [""Component12"", 0];this animate [""Component13"", 0];"; }; class Au12 { displayName="$STR_AC_11"; position="Achse10"; radius=2.0; condition="this animationPhase ""Component14"" < 0.1"; statement="this animate [""Component14"", 1];this animate [""Component15"", 1];"; }; class Zu12 { displayName="$STR_AC_12"; position="Achse10"; radius=2.0; condition="this animationPhase ""Component14"" >= 0.9"; statement="this animate [""Component14"", 0];this animate [""Component15"", 0];"; }; }; class Animations { class Component02 { type="rotation"; animPeriod=1; selection="Component02"; axis="Achse2"; angle0=0; angle1="+2.000000"; }; class Component03 { type="rotation"; animPeriod=1; selection="Component03"; axis="Achse3"; angle0=0; angle1=-2.0; }; class Component04 { type="rotation"; animPeriod=1; selection="Component04"; axis="Achse4"; angle0=0; angle1="+2.000000"; }; class Component05 { type="rotation"; animPeriod=1; selection="Component05"; axis="Achse5"; angle0=0; angle1=-2.0; }; class Component06 { type="rotation"; animPeriod=1; selection="Component06"; axis="Achse6"; angle0=0; angle1="+2.000000"; }; class Component07 { type="rotation"; animPeriod=1; selection="Component07"; axis="Achse7"; angle0=0; angle1=-2.0; }; class Component08 { type="rotation"; animPeriod=1; selection="Component08"; axis="Achse8"; angle0=0; angle1="+2.000000"; }; class Component09 { type="rotation"; animPeriod=1; selection="Component09"; axis="Achse9"; angle0=0; angle1="+2.000000"; }; class Component10 { type="rotation"; animPeriod=5.0100002; selection="Component10"; axis="Achse10"; angle0=0; angle1=-0.05; }; class Component11 { type="rotation"; animPeriod=0.01; selection="Component11"; axis="Achse11"; angle0=0; angle1="+3.141590"; }; class Component12 { type="rotation"; animPeriod=25.0100002; selection="Component12"; axis="Achse12"; angle0=0; angle1="+3.141590"; }; class Component13 { type="rotation"; animPeriod=0.01; selection="Component13"; axis="Achse13"; angle0=0; angle1="+3.141590"; }; class Component14 { type="rotation"; animPeriod=25.0100002; selection="Component14"; axis="Achse14"; angle0=0; angle1="+3.141590"; }; class Component15 { type="rotation"; animPeriod=0.01; selection="Component15"; axis="Achse15"; angle0=0; angle1="+3.141590"; }; }; class EventHandlers { Init="_This Exec {\Baracken\Hangar01.sqs}"; }; }; class BarrelHelper:Thing { scope=0; simulation="thing"; mapSize=0.7; displayName="$STR_DN_BARREL"; accuracy=0.2; transportFuel=100; destrType=destructengine; }; Share this post Link to post Share on other sites
hardrock 1 Posted March 23, 2005 I can't help you out but I suggest you to post your question in the forum of the creator i.e. Mapfact. Share this post Link to post Share on other sites
UNN 0 Posted March 24, 2005 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Init="_This Exec {\Baracken\Hangar01.sqs}"; The init event does not work when you include addons in an island using one of the map tools. There is a work around here: http://www.flashpoint1985.com/cgi-bin....t=44564 But you could just tell mission editors, to call hanger01.sqs e.t.c from their mission? Share this post Link to post Share on other sites