Gamerz 10 Posted July 7, 2011 (edited) OK Now i've got a problem to load default map "Scene" or Intromission as you want. intro.sqs ;playMusic "Capri_intro"; 0 fadeSound 0; 3 fadeMusic 1; showCinemaBorder true; _cam = "camera" CamCreate [0,0,0]; _cam camSetFov 1.0; _cam CameraEffect ["INTERNAL","BACK"] ;Plan1 titleText ["CAPRAIA", "BLACK FADED", 0.08]; _port = heli1; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 20, _oy + 0, _oz + 0]; _cam camSetTarget H2 _cam camCommit 0; ~18 ;Plan 2 _port = H3; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 0, _oy + 0, _oz + 11]; _cam camSetTarget H4 _cam camCommit 0; ~4 ;Plan 3 _port = Heli1; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox - 10, _oy - 10, _oz + 0]; _cam camSetTarget H4 _cam camCommit 0; ~7 ;Plan 4 _port = Heli2; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget H6 _cam camCommit 0; ~4 ;Plan 5 _port = H5; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 0, _oy + 0, _oz + 20]; _cam camSetTarget H7 _cam camCommit 0; ~5 ;Plan 6 _port = Heli2; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget H6 _cam camCommit 0; ~5 ;Plan 7 _port = H7; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 20, _oy + 10, _oz + 40]; _cam camSetTarget H8 _cam camCommit 0; ~5 ;Plan 8 _port = Heli2; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 20, _oy + 10, _oz + 0]; _cam camSetTarget H8 _cam camCommit 0; ~8.5 ;Plan 9 _port = Heli3; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget H9 _cam camCommit 0; ~12 ;Plan 10 _port = Heli4; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget H10 _cam camCommit 0; ~15 ;Plan 11 _port = Heli5; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget H11 _cam camCommit 0; ~7 ;Plan 12 _port = Heli7; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget Heli6 _cam camCommit 0; ~20 ;Plan 13 _port = Heli6; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget H12 _cam camCommit 0; ~6 ;Plan 14 _port = Heli8; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget H16 _cam camCommit 0; ~10 ;Plan 15 _port = H13; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 0, _oy + 0, _oz + 150]; _cam camSetTarget H14 _cam camCommit 0; ~5 titleText ["", "BLACK FADED", 0.05]; skiptime -2; ;Plan 16 _port = Heli9; _ox = GetPos _port select 0; _oy = GetPos _port select 1; _oz = GetPos _port select 2; _cam camSetPos [_ox + 30, _oy + 0, _oz - 30]; _cam camSetTarget H14 _cam camCommit 0; ~49 _cam cameraEffect ["terminate", "back"]; camDestroy _cam; 5 fadeMusic 0; end1=true; exit; mission.sqm version=11; class Mission { addOns[]= { "cacharacters2", "camisc3", "isoladicapraia", "CAAir", "CAAir2_UH1Y" }; addOnsAuto[]= { "isoladicapraia" }; randomSeed=15707956; class Intel { briefingName="Camera view Isola di Capraia"; startWeather=0.046412885; startFog=0.062120281; forecastWeather=0.19925159; forecastFog=0.067402929; year=2010; month=6; day=1; hour=5; minute=45; }; }; class Intro { addOns[]= { "isoladicapraia", "cacharacters2", "CAAir", "CAAir2_UH1Y", "camisc3" }; addOnsAuto[]= { "cacharacters2", "CAAir", "CAAir2_UH1Y", "camisc3", "isoladicapraia" }; randomSeed=6935021; class Intel { startWeather=0.1; forecastWeather=0.30000001; year=2010; month=6; day=1; hour=11; }; class Groups { items=12; class Item0 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={5263.0068,157.82726,5397.6509}; id=0; side="WEST"; vehicle="USMC_Soldier"; player="PLAY CDG"; leader=1; skill=0.60000002; text="Alpha"; description="Alpha"; }; }; }; class Item1 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={5312.2422,0.22514048,9786.1572}; azimut=67.1343; special="FLY"; id=5; side="WEST"; vehicle="AH1Z"; leader=1; skill=0.60000002; text="heli1"; init="this flyinheight 80"; }; }; class Waypoints { items=3; class Item0 { position[]={5358.7412,0.44444942,9796.8916}; speed="FULL"; class Effects { }; showWP="NEVER"; }; class Item1 { position[]={5642.9209,0.25436932,9832.54}; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={6008.3755,0.32460999,9547.9395}; expActiv="heli1 flyinheight 10"; class Effects { }; showWP="NEVER"; }; }; }; class Item2 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={6315.8101,125.96008,8266.6299}; azimut=192.48599; special="FLY"; id=8; side="WEST"; vehicle="AH1Z"; player="PLAYER GUNNER"; leader=1; skill=0.60000002; text="heli2"; init="this exec ""init.sqs"""; }; }; class Waypoints { items=3; class Item0 { position[]={6305.2002,119.97794,8218.1133}; speed="FULL"; expActiv="heli2 flyinheight 320"; class Effects { }; timeoutMin=10; timeoutMid=10; timeoutMax=10; showWP="NEVER"; }; class Item1 { position[]={6293.9077,74.906937,5834.2466}; expActiv="heli2 flyinheight 80"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={6056.7617,91.236656,5605.5283}; class Effects { }; showWP="NEVER"; }; }; }; class Item3 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={7782.813,0.11470534,6394.4644}; azimut=182.853; special="FLY"; id=13; side="WEST"; vehicle="UH1Y"; leader=1; skill=0.60000002; text="heli3"; }; }; class Waypoints { items=2; class Item0 { position[]={7778.1265,0.40641803,6375.2095}; speed="LIMITED"; expActiv="heli3 flyinheight 70"; class Effects { }; timeoutMin=40; timeoutMid=40; timeoutMax=40; showWP="NEVER"; }; class Item1 { position[]={7543.3428,0.35966533,5624.4297}; class Effects { }; showWP="NEVER"; }; }; }; class Item4 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={4207.5698,61.471848,824.14874}; azimut=327.30502; special="FLY"; id=14; side="WEST"; vehicle="UH1Y"; leader=1; skill=0.60000002; text="heli4"; }; }; class Waypoints { items=2; class Item0 { position[]={4205.0898,59.371532,832.40997}; speed="LIMITED"; expActiv="heli4 flyinheight 450"; class Effects { }; timeoutMin=68; timeoutMid=68; timeoutMax=68; showWP="NEVER"; }; class Item1 { position[]={4067.885,100.74303,1767.3514}; class Effects { }; showWP="NEVER"; }; }; }; class Item5 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={3942.4207,330.56543,2639.4944}; special="FLY"; id=16; side="WEST"; vehicle="UH1Y"; leader=1; skill=0.60000002; text="heli5"; }; }; class Waypoints { items=2; class Item0 { position[]={3940.0576,334.10757,2654.9702}; speed="LIMITED"; expActiv="heli5 flyinheight 350"; class Effects { }; timeoutMin=79; timeoutMid=79; timeoutMax=79; showWP="NEVER"; }; class Item1 { position[]={3812.7188,341.86163,3431.7297}; expActiv="heli5 flyinheight 100"; class Effects { }; showWP="NEVER"; }; }; }; class Item6 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={2851.0776,0.37696218,5059.52}; special="FLY"; id=18; side="WEST"; vehicle="AH1Z"; leader=1; skill=0.60000002; text="heli6"; }; }; class Waypoints { items=3; class Item0 { position[]={2884.5872,0.16252072,5211.1982}; speed="FULL"; expActiv="heli6 flyinheight 140"; class Effects { }; timeoutMin=90; timeoutMid=90; timeoutMax=90; showWP="NEVER"; }; class Item1 { position[]={3464.0911,0.20912829,8380.3213}; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={3500.7676,0.19631693,8572.9502}; placement=50; completitionRadius=100; type="JOIN"; expActiv="deleteVehicle heli6"; class Effects { }; showWP="NEVER"; }; }; }; class Item7 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={4133.3916,308.82568,2959.2551}; special="FLY"; id=19; side="WEST"; vehicle="AH1Z"; leader=1; skill=0.60000002; text="heli7"; }; }; class Waypoints { items=3; class Item0 { position[]={4142.0449,299.23367,3025.2864}; speed="FULL"; expActiv="heli7 flyinheight 350"; class Effects { }; timeoutMin=84; timeoutMid=84; timeoutMax=84; showWP="NEVER"; }; class Item1 { position[]={4620.7725,284.8526,6117.9712}; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={4657.4492,287.83188,6310.5991}; placement=50; completitionRadius=100; type="JOIN"; expActiv="deleteVehicle heli7"; class Effects { }; showWP="NEVER"; }; }; }; class Item8 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={1701.3923,0.077717431,7573.2549}; azimut=-31.058001; special="FLY"; id=22; side="WEST"; vehicle="UH1Y"; leader=1; skill=0.60000002; text="heli8"; }; }; class Waypoints { items=2; class Item0 { position[]={1635.6013,0.12018501,7703.6411}; speed="NORMAL"; expActiv="heli8 flyinheight 80"; class Effects { }; timeoutMin=100; timeoutMid=100; timeoutMax=100; showWP="NEVER"; }; class Item1 { position[]={1323.3521,0.019463889,8403.7168}; placement=25; completitionRadius=50; type="JOIN"; expActiv="deleteVehicle heli8"; class Effects { }; showWP="NEVER"; }; }; }; class Item9 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={869.10077,0.20968282,7728.7793}; azimut=-0.70685065; special="FLY"; id=23; side="WEST"; vehicle="UH1Y"; leader=1; skill=0.60000002; text="heli9"; }; }; class Waypoints { items=3; class Item0 { position[]={862.94586,0.26702678,7791.4673}; speed="NORMAL"; expActiv="heli9 flyinheight 180"; class Effects { }; timeoutMin=118; timeoutMid=118; timeoutMax=118; showWP="NEVER"; }; class Item1 { position[]={674.63721,-0.041399568,9573}; expActiv="heli9 flyinheight 220"; class Effects { }; showWP="NEVER"; }; class Item2 { position[]={1071.0688,0.20440865,9897.9785}; expActiv="heli9 flyinheight 80"; class Effects { }; showWP="NEVER"; }; }; }; class Item10 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={5443.0981,137.07677,5559.2334}; id=25; side="WEST"; vehicle="USMC_Soldier"; player="PLAY CDG"; leader=1; skill=0.60000002; text="Bravo"; description="Bravo"; }; }; }; class Item11 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={5458.2852,132.519,5326.4609}; id=26; side="WEST"; vehicle="USMC_Soldier"; player="PLAY CDG"; leader=1; skill=0.60000002; text="Charlie"; description="Charlie"; }; }; }; }; class Vehicles { items=15; class Item0 { position[]={5758.6348,6.3108783,9623.8096}; id=1; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H2"; }; class Item1 { position[]={5753.0874,0.12460259,9822.3232}; id=2; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H1"; }; class Item2 { position[]={5759.543,11.801939,9722.8857}; id=3; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H3"; }; class Item3 { position[]={5740.6113,35.992943,9596.6172}; id=4; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H4"; }; class Item4 { position[]={6780.2129,0.29523039,7110.5513}; id=6; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H5"; }; class Item5 { position[]={6406.4434,119.78172,7411.0674}; id=7; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H6"; }; class Item6 { position[]={6251.4478,83.823334,6192.207}; id=9; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H7"; }; class Item7 { position[]={6603.0293,28.702902,6561.8516}; id=10; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H8"; }; class Item8 { position[]={7578.5542,17.27758,6143.0347}; id=11; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H9"; }; class Item9 { position[]={4050.1326,118.99818,1860.5038}; id=12; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H10"; }; class Item10 { position[]={3791.0388,367.73071,3135.4319}; id=15; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H11"; }; class Item11 { position[]={3620.2197,100.41856,7434.2476}; id=17; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H12"; }; class Item12 { position[]={1216.7562,5,9186.3076}; id=20; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H14"; }; class Item13 { position[]={1096.5305,0.15232427,8179.5776}; id=21; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H13"; }; class Item14 { position[]={1074.2617,0.26816612,8686.4688}; id=24; side="EMPTY"; vehicle="HeliHEmpty"; skill=0.60000002; text="H16"; }; }; }; class OutroWin { addOns[]= { "isoladicapraia" }; addOnsAuto[]= { "isoladicapraia" }; randomSeed=8105094; class Intel { startWeather=0.1; forecastWeather=0.30000001; year=2010; month=6; day=1; hour=11; }; }; class OutroLoose { addOns[]= { "isoladicapraia" }; addOnsAuto[]= { "isoladicapraia" }; randomSeed=6276816; class Intel { startWeather=0.1; forecastWeather=0.30000001; year=2010; month=6; day=1; hour=11; }; }; Have an idea ? Original post here => http://forums.bistudio.com/showthread.php?t=111054 & Capraia's PBO Alpha for try. Edited July 7, 2011 by Gamerz Share this post Link to post Share on other sites
.kju 3245 Posted July 7, 2011 You to explain what the problem actually is mate. :) Share this post Link to post Share on other sites
Gamerz 10 Posted July 7, 2011 Simple, doesn't work ! Share this post Link to post Share on other sites
Koni 3 Posted July 7, 2011 What, do you mean the scene does not start ? Share this post Link to post Share on other sites
Gamerz 10 Posted July 7, 2011 OK the scene start, but the camera is not attached to "heli1" in the plan 1 for example. I want to my camera is attached to the helicopter "heli1" in the first scene and look to "H2" Actually, the camera appears on the Heli1 pos but stand by on this and don't follow the heli1. you know what i mean ? Share this post Link to post Share on other sites
Koni 3 Posted July 7, 2011 OK. I have never seen camera scripting like the way you do. I use this to attach cameras to moving objects _cam camsettarget a10; _cam cameraeffect ["internal", "back"]; _cam CamCommit 0.01; _cam attachTo [a10, [2,-5,-1]]; _cam camSetFov 0.7; Sleep 3; That will attach a camera to a flying A10, 2 meters to one side of it, 5 meters behind it and 1 meter below it. Share this post Link to post Share on other sites
Gamerz 10 Posted July 7, 2011 (edited) OK thanks now it's work fine Edited July 7, 2011 by Gamerz Share this post Link to post Share on other sites