-
Content Count
10 -
Joined
-
Last visited
-
Medals
Everything posted by DarkSnake
-
Hello guys , i have one problem and i need your help for found my error please . I have buy one new 3d model pvs 31 and i want to add in the game . I have making my head spine for the nvg on object builder and the nvg apear in the game . but not in the good position. Image i share you my model.cfg and config.cpp class CfgPatches { class pvs31 { units[]={}; weapons[]={}; requiredVersion=1; requiredAddons[]={}; }; }; class cfgWeapons { class HeadgearItem; class NVGoggles; class pvs31_down: NVGoggles { scope=2; displayName="AN/PVS-31"; picture="\pvs31\data\icon\NVG"; model="\pvs31\model\pvs31_down.p3d"; modelOptics="\pvs31\model\GP_Optic"; class ItemInfo { type=616; hmdType=0; uniformModel="pvs31\model\pvs31_down.p3d"; modelOff="pvs31\model\pvs31_up.p3d"; mass=13.624781; }; scopeCurator=2; weaponPoolAvailable=1; }; }; class cfgMods { author="Snake"; }; And the model.cfg class CfgSkeletons { class Default { isDiscrete = 1; skeletonInherit = ""; skeletonBones[] = {}; }; class OFP2_ManSkeleton { isDiscrete = 0; skeletonInherit = ""; skeletonBones[] = { "Pelvis","", "Spine","Pelvis", "Spine1","Spine", "Spine2","Spine1", "Spine3","Spine2", "Camera","Pelvis", "weapon","Spine1", "launcher","Spine1", // Head skeleton in hierarchy "neck","Spine3", "neck1","neck", "head","neck1", // New facial features "Face_Hub","head", "Face_Jawbone","Face_Hub", "Face_Jowl","Face_Jawbone", "Face_chopRight","Face_Jawbone", "Face_chopLeft","Face_Jawbone", "Face_LipLowerMiddle","Face_Jawbone", "Face_LipLowerLeft","Face_Jawbone", "Face_LipLowerRight","Face_Jawbone", "Face_Chin","Face_Jawbone", "Face_Tongue","Face_Jawbone", "Face_CornerRight","Face_Hub", "Face_CheekSideRight","Face_CornerRight", "Face_CornerLeft","Face_Hub", "Face_CheekSideLeft","Face_CornerLeft", "Face_CheekFrontRight","Face_Hub", "Face_CheekFrontLeft","Face_Hub", "Face_CheekUpperRight","Face_Hub", "Face_CheekUpperLeft","Face_Hub", "Face_LipUpperMiddle","Face_Hub", "Face_LipUpperRight","Face_Hub", "Face_LipUpperLeft","Face_Hub", "Face_NostrilRight","Face_Hub", "Face_NostrilLeft","Face_Hub", "Face_Forehead","Face_Hub", "Face_BrowFrontRight","Face_Forehead", "Face_BrowFrontLeft","Face_Forehead", "Face_BrowMiddle","Face_Forehead", "Face_BrowSideRight","Face_Forehead", "Face_BrowSideLeft","Face_Forehead", "Face_Eyelids","Face_Hub", "Face_EyelidUpperRight","Face_Hub", "Face_EyelidUpperLeft","Face_Hub", "Face_EyelidLowerRight","Face_Hub", "Face_EyelidLowerLeft","Face_Hub", "EyeLeft","Face_Hub", "EyeRight","Face_Hub", // Left upper side "LeftShoulder","Spine3", "LeftArm","LeftShoulder", "LeftArmRoll","LeftArm", "LeftForeArm","LeftArmRoll", "LeftForeArmRoll","LeftForeArm", "LeftHand","LeftForeArmRoll", "LeftHandRing","LeftHand", "LeftHandRing1","LeftHandRing", "LeftHandRing2","LeftHandRing1", "LeftHandRing3","LeftHandRing2", "LeftHandPinky1","LeftHandRing", "LeftHandPinky2","LeftHandPinky1", "LeftHandPinky3","LeftHandPinky2", "LeftHandMiddle1","LeftHand", "LeftHandMiddle2","LeftHandMiddle1", "LeftHandMiddle3","LeftHandMiddle2", "LeftHandIndex1","LeftHand", "LeftHandIndex2","LeftHandIndex1", "LeftHandIndex3","LeftHandIndex2", "LeftHandThumb1","LeftHand", "LeftHandThumb2","LeftHandThumb1", "LeftHandThumb3","LeftHandThumb2", // Right upper side "RightShoulder","Spine3", "RightArm","RightShoulder", "RightArmRoll","RightArm", "RightForeArm","RightArmRoll", "RightForeArmRoll","RightForeArm", "RightHand","RightForeArmRoll", "RightHandRing","RightHand", "RightHandRing1","RightHandRing", "RightHandRing2","RightHandRing1", "RightHandRing3","RightHandRing2", "RightHandPinky1","RightHandRing", "RightHandPinky2","RightHandPinky1", "RightHandPinky3","RightHandPinky2", "RightHandMiddle1","RightHand", "RightHandMiddle2","RightHandMiddle1", "RightHandMiddle3","RightHandMiddle2", "RightHandIndex1","RightHand", "RightHandIndex2","RightHandIndex1", "RightHandIndex3","RightHandIndex2", "RightHandThumb1","RightHand", "RightHandThumb2","RightHandThumb1", "RightHandThumb3","RightHandThumb2", // Left lower side "LeftUpLeg","Pelvis", "LeftUpLegRoll","LeftUpLeg", "LeftLeg","LeftUpLegRoll", "LeftLegRoll","LeftLeg", "LeftFoot","LeftLegRoll", "LeftToeBase","LeftFoot", // Right lower side "RightUpLeg","Pelvis", "RightUpLegRoll","RightUpLeg", "RightLeg","RightUpLegRoll", "RightLegRoll","RightLeg", "RightFoot","RightLegRoll", "RightToeBase","RightFoot" }; // location of pivot points (local axes) for hierarchical animation pivotsModel="A3\anims_f\data\skeleton\SkeletonPivots.p3d"; }; }; class CfgModels { class Default { sectionsInherit=""; sections[] = {}; skeletonName = ""; }; class ArmaMan: Default { htMin = 60; // Minimum half-cooling time (in seconds) htMax = 1800; // Maximum half-cooling time (in seconds) afMax = 30; // Maximum temperature in case the model is alive (in celsius) mfMax = 0; // Maximum temperature when the model is moving (in celsius) mFact = 1; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)). tBody = 37; // Metabolism temperature of the model (in celsius) sections[] = { "osobnost","Head_Injury","Body_Injury","l_leg_injury","l_arm_injury","r_arm_injury","r_leg_injury", "injury_body", "injury_legs", "injury_hands", "clan","clan_sign","Camo","CamoB","Camo1","Camo2","personality","hl", "injury_head", "insignia", "ghillie_hide" }; skeletonName = "OFP2_ManSkeleton"; }; class pvs31_up: ArmaMan{}; class pvs31_down: ArmaMan{}; };
-
[Release] Simple Weapon Shop System
DarkSnake replied to hoverguy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello guys , i need to know if is possibel to loot money object and add money in the player ? -
problem uploading my mission to the workshop
DarkSnake replied to HenPet's topic in ARMA 3 - EDEN EDITOR
Guys Why bohemia does not respond to any open topic on this subject! this is not a minor bug. To the mission developer can not publish or update these creations ?? -
problem uploading my mission to the workshop
DarkSnake replied to HenPet's topic in ARMA 3 - EDEN EDITOR
Hello , All mission make have the same problem . But no answer by steam or bohemia . Ticket open in Feedback : https://feedback.bistudio.com/T158403 Need help for fix this error please -
Hello friends , i need help for change the position in the screen of this HUD , if you can help to know wheres is the line for change the position and who is possibel thank you in advance . class HELL_HUD_0 { idd = 2100; duration = 60*60*24; onLoad = "uiNamespace setVariable ['HELL_HUD_0', _this select 0]"; class controls { class Text_Hunger : RscText { idc = 2110; font = "EtelkaMonospacePro"; SizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) / 1.5; x = "0.01 * safezoneW + safezoneX"; y = "0.90 * safezoneH + safezoneY"; w = "0.1125 * safezoneW"; h = "0.03 * safezoneH"; }; class Text_Thirst : Text_Hunger { idc = 2120; y = "0.94 * safezoneH + safezoneY"; }; }; class controlsBackground { class Progress_Hunger : RscProgress { idc = 2111; colorFrame[] = {0,0,0,0.8}; colorBar[] = {0.427, 0.651, 0.227, 0.9}; x = "0.01 * safezoneW + safezoneX"; y = "0.90 * safezoneH + safezoneY"; w = "0.1125 * safezoneW"; h = "0.03 * safezoneH"; }; class Progress_Thirst : Progress_Hunger { idc = 2121; colorBar[] = {0.18, 0.349, 0.635, 0.9}; y = "0.94 * safezoneH + safezoneY"; }; }; };
-
Thank yo uso much for your help . Succes To change the position 😉 Thx again
-
yep guys , no tested in MP . I just making for my Sp Scenario.
-
Hello guys i put my Working version of the Animated Opening Intro " same of Tac OPS " In first times , escuse my english 😉 Ok For the First step you need to creat 2 sqf file : timeline.sqf and initIntro.sqf In the eden editor you needto one intro with a player soldier.And save the intro. In your description.sqf enter this code : class CfgFunctions { class A3_Missions_F_Tacops { tag = "BIS"; project = "arma3"; #include "\A3\Missions_F_Tacops\cfgFunctions.inc" }; }; Now you need to add code in timeline.sqf . private _timeline = [ [ 0.000, { //playMusic "LeadTrack01_F_Tacops"; //0 fadeMusic 1; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, ["Guess what", "This is some text you're reading"], STYLE_TITLE_AND_SENTENCE] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 4.7, { [MODE_BLACKOUT,3,false] call bis_fnc_animatedScreen; }], [ 7.709503, { // < Image 01 - //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [2,3,1.00] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_1.wss",player, false, getPosASL player, 0.35]; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; //[MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, 1, "AOSlide1.jpg" ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, 1, 8,5 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, 1, 8,nil,1.1 ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLEMIST, C01_SLIDE5_IMG_PARTICLEMIST, nil,0.5,1 ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLEMIST2, C01_SLIDE5_IMG_PARTICLEMIST, nil,0.4,1.9 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLEMIST, 20, [0.7,0.65], nil, [0.3,0.65] ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLEMIST2, 20, [0.3,0.65], nil, [0.7,0.65] ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, C01_SLIDE5_ID_PARTICLEMIST2, 10, -30 ] call bis_fnc_animatedScreen; [MODE_BLACKIN, 2, false ] call bis_fnc_animatedScreen; } ], [09.504309, { //0 = [localize "Amazing that you can read this!", STYLE_DYNAMIC_TOPLEFT, 0] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [10.055399, { //0 = [localize "Holy Shit", STYLE_DYNAMIC_CENTER1, 1] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 13.255399, { // Image 01 > //fade to black [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; } ], [ 15.388489, { // < Text 01 //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "Amazing that you can read this!"], STYLE_ONE_SENTENCE] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 20.059, { [MODE_BLACKOUT,3,false] call bis_fnc_animatedScreen; }], [ 23.071934, { // < Image 02 - //[ MODE_DESTROY ] call bis_fnc_animatedScreen; //[ MODE_INIT, [8,3,1.00] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_2.wss",player, false, getPosASL player, 0.23]; [ MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [ MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, 2, "AOSlide2.jpg" ] call bis_fnc_animatedScreen; [ MODE_SKYBOX_CREATE, C01_SLIDE2_ID_SKYBOX, C01_SLIDE2_IMG_SKYBOX, 1, 30 ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_BLOOD_A, C01_SLIDE2_IMG_BLOOD_A ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_BLOOD_B, C01_SLIDE2_IMG_BLOOD_B ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_BLOOD_C, C01_SLIDE2_IMG_BLOOD_C ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_ABOVEBLOOD, C01_SLIDE2_IMG_ABOVEBLOOD ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_SOLDIER_WITH_AK, C01_SLIDE2_IMG_SOLDIER_WITH_AK ] call bis_fnc_animatedScreen; [ MODE_LAYER_FADE, [C01_SLIDE2_ID_BLOOD_A,C01_SLIDE2_ID_BLOOD_C], 0.001,0,1 ] call bis_fnc_animatedScreen; //fade away the black screen [MODE_BLACKIN,2,false] call bis_fnc_animatedScreen; //rotate background [MODE_LAYER_ROTATE, [2,C01_SLIDE2_ID_BLOOD_A,C01_SLIDE2_ID_BLOOD_B,C01_SLIDE2_ID_BLOOD_C,C01_SLIDE2_ID_ABOVEBLOOD],10,15] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, [2,C01_SLIDE2_ID_BLOOD_A,C01_SLIDE2_ID_BLOOD_B,C01_SLIDE2_ID_BLOOD_C,C01_SLIDE2_ID_ABOVEBLOOD],10,nil,1.3] call bis_fnc_animatedScreen; //rotate FOREGROUND //[MODE_LAYER_ROTATE,C01_SLIDE2_ID_SOLDIER_WITH_AK,8,10] call bis_fnc_animatedScreen; //[MODE_LAYER_ANIMATE,C01_SLIDE2_ID_SOLDIER_WITH_AK,8,nil,1.8] call bis_fnc_animatedScreen; //uisleep 2; [MODE_LAYER_FADE, C01_SLIDE2_ID_BLOOD_B, 2, 0, 1] call bis_fnc_animatedScreen; [MODE_LAYER_FADE, C01_SLIDE2_ID_BLOOD_A, 2, 1, 0] call bis_fnc_animatedScreen; } ], [ 24.940964, { //00 = [localize "Will it just not cease to amaze?", 999, 0,[0.5,0.45]] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 25.875478, { //00 = [localize "No it continues ever onwards", 999, 1,[0.15,0.75]] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 28.675478, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 30.724647, { // < Text 02 //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "Truly spectacular that you can see this now!"], STYLE_TITLE_AND_SENTENCE] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 36.096, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 38.434257, { // < Image 03 - //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [2,3,1.00] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_3.wss",player, false, getPosASL player, 0.7]; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, 3, "AOSlide3.jpg" ] call bis_fnc_animatedScreen; //[MODE_LAYER_CREATE, C01_SLIDE3_ID_BACKGROUND2, C01_SLIDE3_IMG_BACKGROUND2,nil,0 ] call bis_fnc_animatedScreen; //[MODE_LAYER_CREATE, C01_SLIDE3_ID_BACKGROUND3, C01_SLIDE3_IMG_BACKGROUND3,nil,0 ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, C01_SLIDE3_ID_SPARKS, C01_SLIDE3_IMG_SPARKS ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, [ 3, C01_SLIDE3_ID_BACKGROUND2, C01_SLIDE3_ID_BACKGROUND3 ], 8,5 ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, C01_SLIDE3_ID_SPARKS, 8,15 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, [ 3, C01_SLIDE3_ID_BACKGROUND2, C01_SLIDE3_ID_BACKGROUND3 ], 8,nil,1.1 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, [ C01_SLIDE3_ID_SPARKS ], 8,nil,1.1 ] call bis_fnc_animatedScreen; [MODE_LAYER_PULSE, C01_SLIDE3_ID_BACKGROUND2, 3,0.9,0,5 ] call bis_fnc_animatedScreen; [MODE_LAYER_PULSE, C01_SLIDE3_ID_BACKGROUND3, 1,0.9,0.2,5 ] call bis_fnc_animatedScreen; //[MODE_LAYER_PULSE, C01_SLIDE3_ID_SPARKS, 1,0.9,0.2,8 ] call bis_fnc_animatedScreen; //[MODE_LAYER_PULSE, C01_SLIDE3_ID_SPARKS, 0.5,1,0,10 ] call bis_fnc_animatedScreen; [MODE_BLACKIN, 2, false ] call bis_fnc_animatedScreen; } ], [ 42.246390, { //00 = [localize "And that", STYLE_DYNAMIC_TOPLEFT] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 44.607636, { //00 = [localize "is a wrap", STYLE_DYNAMIC_BOTTOMRIGHT] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 44.007636, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 46.129644, { // < Text 03 //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "But now it is almost time to end this"], STYLE_ONE_SENTENCE] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 51.700, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 53.825030, { // < Image 04 - //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [2,3,1.00] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_4.wss",player, false, getPosASL player, 0.85]; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, 4, "AOSlide4.jpg" ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, 4, 8,5 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, 4, 8,nil,1.1 ] call bis_fnc_animatedScreen; [MODE_BLACKIN, 2, false ] call bis_fnc_animatedScreen; } ], [ 55.679835, { //00 = [localize "Just", STYLE_DYNAMIC_TOPLEFT] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 56.571677, { //00 = [localize "About", STYLE_DYNAMIC_BOTTOMRIGHT] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 59.368241, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 61.513304, { // < Text 04 //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "So thanks so much for reading", "It truly means alot"], STYLE_TWO_SENTENCES] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 67.179569, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 69.162460, { //key 26 // < Image 05 - //[ MODE_DESTROY ] call bis_fnc_animatedScreen; //[ MODE_INIT, [9,3,1.05] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_5.wss",player, false, getPosASL player, 0.55]; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [ MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; //[ MODE_SKYBOX_CREATE, C01_SLIDE5_ID_PARTICLESMOKE, C01_SLIDE5_IMG_PARTICLESMOKE, 1, 20 ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLESMOKE, C01_SLIDE5_IMG_PARTICLESMOKE ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE5_ID_BACKGROUND, C01_SLIDE5_IMG_BACKGROUND ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_CONVOY, C01_SLIDE5_IMG_CONVOY ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_SOLDIER, C01_SLIDE5_IMG_SOLDIER ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_SOLDIERSHARP, C01_SLIDE5_IMG_SOLDIERSHARP ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLEMIST, C01_SLIDE5_IMG_PARTICLEMIST, nil,nil,0.75 ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLEMIST2, C01_SLIDE5_IMG_PARTICLEMIST, nil,nil,0.8 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ROTATE, [C01_SLIDE5_ID_SOLDIER,C01_SLIDE5_ID_SOLDIERSHARP], 15,10 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ROTATE, [C01_SLIDE5_ID_BACKGROUND,C01_SLIDE5_ID_CONVOY], 30,30 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ROTATE, C01_SLIDE5_ID_PARTICLESMOKE, -10,30 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, [C01_SLIDE5_ID_BACKGROUND,C01_SLIDE5_ID_PARTICLESMOKE,C01_SLIDE5_ID_CONVOY], 30, nil, 1.3 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, [C01_SLIDE5_ID_SOLDIER,C01_SLIDE5_ID_SOLDIERSHARP], 10, nil, 1.3 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLESMOKE, 10, [0.5,0.4], 1.0 ] call bis_fnc_animatedScreen; [ MODE_LAYER_FADE, C01_SLIDE5_ID_SOLDIERSHARP, 5,0 ] call bis_fnc_animatedScreen; [ MODE_LAYER_FADE, [C01_SLIDE5_ID_PARTICLEMIST,C01_SLIDE5_ID_PARTICLEMIST2], 0,0.15 ] call bis_fnc_animatedScreen; [ MODE_LAYER_FADE, C01_SLIDE5_ID_PARTICLESMOKE, 0,0.75 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLEMIST, 20, [0.7,0.5], nil, [0.3,0.5] ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLEMIST2, 20, [0.3,0.5], nil, [0.7,0.5] ] call bis_fnc_animatedScreen; [ MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; } ], [ 71.026742, { //00 = [localize "Gosh Golly, just wonderful", STYLE_DYNAMIC_TOPLEFT, 0] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 72.967529, { //00 = [localize "It has been a ride has it not", STYLE_DYNAMIC_BOTTOMRIGHT, 1] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 76.805115, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 79.093933, { //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "End of Text", "Now run along!"], STYLE_TITLE_BIG] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 88.1, { [MODE_BLACKOUT,1,false] call bis_fnc_animatedScreen; }], [ 91.9, { ["Timeline finished:%1", 0 ] call BIS_fnc_LogFormat; }] ]; Now you need to add code in the initIntro.sqf #include "\a3\Missions_F_Tacops\Functions\fn_TO_AnimatedOpening.inc"; enableEnvironment false; #include "timeline.sqf"; _d = [ _timeline, 0, "LeadTrack01_F_Tacops" ] spawn BIS_fnc_animatedOpening; waitUntil { !(missionNamespace getVariable "BIS_fnc_eventTimeline_playing"); false}; endMission "END1"; For custome The picture and song just change the path of yours immage and song in the timeline.sqf You cant custom text and layer . Et voilà les amis .
-
hello dude , no tested in mp
-
Animated Opening [Pictures do not work]
DarkSnake replied to MrSplendid's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello guys , i have worked in the script for the animated opening My version of the script working perfectly First step Add code i nthe description.sqf class CfgFunctions { class A3_Missions_F_Tacops { tag = "BIS"; project = "arma3"; #include "\A3\Missions_F_Tacops\cfgFunctions.inc" }; }; You need to creat sqf file : timeline and initIntro In timeline.sqf enter this code private _timeline = [ [ 0.000, { //playMusic "LeadTrack01_F_Tacops"; //0 fadeMusic 1; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, ["Guess what", "This is some text you're reading"], STYLE_TITLE_AND_SENTENCE] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 4.7, { [MODE_BLACKOUT,3,false] call bis_fnc_animatedScreen; }], [ 7.709503, { // < Image 01 - //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [2,3,1.00] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_1.wss",player, false, getPosASL player, 0.35]; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; //[MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, 1, "AOSlide1.jpg" ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, 1, 8,5 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, 1, 8,nil,1.1 ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLEMIST, C01_SLIDE5_IMG_PARTICLEMIST, nil,0.5,1 ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLEMIST2, C01_SLIDE5_IMG_PARTICLEMIST, nil,0.4,1.9 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLEMIST, 20, [0.7,0.65], nil, [0.3,0.65] ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLEMIST2, 20, [0.3,0.65], nil, [0.7,0.65] ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, C01_SLIDE5_ID_PARTICLEMIST2, 10, -30 ] call bis_fnc_animatedScreen; [MODE_BLACKIN, 2, false ] call bis_fnc_animatedScreen; } ], [09.504309, { //0 = [localize "Amazing that you can read this!", STYLE_DYNAMIC_TOPLEFT, 0] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [10.055399, { //0 = [localize "Holy Shit", STYLE_DYNAMIC_CENTER1, 1] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 13.255399, { // Image 01 > //fade to black [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; } ], [ 15.388489, { // < Text 01 //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "Amazing that you can read this!"], STYLE_ONE_SENTENCE] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 20.059, { [MODE_BLACKOUT,3,false] call bis_fnc_animatedScreen; }], [ 23.071934, { // < Image 02 - //[ MODE_DESTROY ] call bis_fnc_animatedScreen; //[ MODE_INIT, [8,3,1.00] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_2.wss",player, false, getPosASL player, 0.23]; [ MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [ MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, 2, "AOSlide2.jpg" ] call bis_fnc_animatedScreen; [ MODE_SKYBOX_CREATE, C01_SLIDE2_ID_SKYBOX, C01_SLIDE2_IMG_SKYBOX, 1, 30 ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_BLOOD_A, C01_SLIDE2_IMG_BLOOD_A ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_BLOOD_B, C01_SLIDE2_IMG_BLOOD_B ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_BLOOD_C, C01_SLIDE2_IMG_BLOOD_C ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_ABOVEBLOOD, C01_SLIDE2_IMG_ABOVEBLOOD ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE2_ID_SOLDIER_WITH_AK, C01_SLIDE2_IMG_SOLDIER_WITH_AK ] call bis_fnc_animatedScreen; [ MODE_LAYER_FADE, [C01_SLIDE2_ID_BLOOD_A,C01_SLIDE2_ID_BLOOD_C], 0.001,0,1 ] call bis_fnc_animatedScreen; //fade away the black screen [MODE_BLACKIN,2,false] call bis_fnc_animatedScreen; //rotate background [MODE_LAYER_ROTATE, [2,C01_SLIDE2_ID_BLOOD_A,C01_SLIDE2_ID_BLOOD_B,C01_SLIDE2_ID_BLOOD_C,C01_SLIDE2_ID_ABOVEBLOOD],10,15] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, [2,C01_SLIDE2_ID_BLOOD_A,C01_SLIDE2_ID_BLOOD_B,C01_SLIDE2_ID_BLOOD_C,C01_SLIDE2_ID_ABOVEBLOOD],10,nil,1.3] call bis_fnc_animatedScreen; //rotate FOREGROUND //[MODE_LAYER_ROTATE,C01_SLIDE2_ID_SOLDIER_WITH_AK,8,10] call bis_fnc_animatedScreen; //[MODE_LAYER_ANIMATE,C01_SLIDE2_ID_SOLDIER_WITH_AK,8,nil,1.8] call bis_fnc_animatedScreen; //uisleep 2; [MODE_LAYER_FADE, C01_SLIDE2_ID_BLOOD_B, 2, 0, 1] call bis_fnc_animatedScreen; [MODE_LAYER_FADE, C01_SLIDE2_ID_BLOOD_A, 2, 1, 0] call bis_fnc_animatedScreen; } ], [ 24.940964, { //00 = [localize "Will it just not cease to amaze?", 999, 0,[0.5,0.45]] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 25.875478, { //00 = [localize "No it continues ever onwards", 999, 1,[0.15,0.75]] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 28.675478, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 30.724647, { // < Text 02 //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "Truly spectacular that you can see this now!"], STYLE_TITLE_AND_SENTENCE] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 36.096, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 38.434257, { // < Image 03 - //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [2,3,1.00] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_3.wss",player, false, getPosASL player, 0.7]; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, 3, "AOSlide3.jpg" ] call bis_fnc_animatedScreen; //[MODE_LAYER_CREATE, C01_SLIDE3_ID_BACKGROUND2, C01_SLIDE3_IMG_BACKGROUND2,nil,0 ] call bis_fnc_animatedScreen; //[MODE_LAYER_CREATE, C01_SLIDE3_ID_BACKGROUND3, C01_SLIDE3_IMG_BACKGROUND3,nil,0 ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, C01_SLIDE3_ID_SPARKS, C01_SLIDE3_IMG_SPARKS ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, [ 3, C01_SLIDE3_ID_BACKGROUND2, C01_SLIDE3_ID_BACKGROUND3 ], 8,5 ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, C01_SLIDE3_ID_SPARKS, 8,15 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, [ 3, C01_SLIDE3_ID_BACKGROUND2, C01_SLIDE3_ID_BACKGROUND3 ], 8,nil,1.1 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, [ C01_SLIDE3_ID_SPARKS ], 8,nil,1.1 ] call bis_fnc_animatedScreen; [MODE_LAYER_PULSE, C01_SLIDE3_ID_BACKGROUND2, 3,0.9,0,5 ] call bis_fnc_animatedScreen; [MODE_LAYER_PULSE, C01_SLIDE3_ID_BACKGROUND3, 1,0.9,0.2,5 ] call bis_fnc_animatedScreen; //[MODE_LAYER_PULSE, C01_SLIDE3_ID_SPARKS, 1,0.9,0.2,8 ] call bis_fnc_animatedScreen; //[MODE_LAYER_PULSE, C01_SLIDE3_ID_SPARKS, 0.5,1,0,10 ] call bis_fnc_animatedScreen; [MODE_BLACKIN, 2, false ] call bis_fnc_animatedScreen; } ], [ 42.246390, { //00 = [localize "And that", STYLE_DYNAMIC_TOPLEFT] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 44.607636, { //00 = [localize "is a wrap", STYLE_DYNAMIC_BOTTOMRIGHT] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 44.007636, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 46.129644, { // < Text 03 //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "But now it is almost time to end this"], STYLE_ONE_SENTENCE] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 51.700, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 53.825030, { // < Image 04 - //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [2,3,1.00] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_4.wss",player, false, getPosASL player, 0.85]; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; [MODE_LAYER_CREATE, 4, "AOSlide4.jpg" ] call bis_fnc_animatedScreen; [MODE_LAYER_ROTATE, 4, 8,5 ] call bis_fnc_animatedScreen; [MODE_LAYER_ANIMATE, 4, 8,nil,1.1 ] call bis_fnc_animatedScreen; [MODE_BLACKIN, 2, false ] call bis_fnc_animatedScreen; } ], [ 55.679835, { //00 = [localize "Just", STYLE_DYNAMIC_TOPLEFT] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 56.571677, { //00 = [localize "About", STYLE_DYNAMIC_BOTTOMRIGHT] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 59.368241, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 61.513304, { // < Text 04 //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "So thanks so much for reading", "It truly means alot"], STYLE_TWO_SENTENCES] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 67.179569, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 69.162460, { //key 26 // < Image 05 - //[ MODE_DESTROY ] call bis_fnc_animatedScreen; //[ MODE_INIT, [9,3,1.05] ] call bis_fnc_animatedScreen; playsound3D ["a3\Sounds_F_Tacops\SFX\Missions\c01_5.wss",player, false, getPosASL player, 0.55]; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [ MODE_BLACKOUT, 0.01, true ] call bis_fnc_animatedScreen; //[ MODE_SKYBOX_CREATE, C01_SLIDE5_ID_PARTICLESMOKE, C01_SLIDE5_IMG_PARTICLESMOKE, 1, 20 ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLESMOKE, C01_SLIDE5_IMG_PARTICLESMOKE ] call bis_fnc_animatedScreen; //[ MODE_LAYER_CREATE, C01_SLIDE5_ID_BACKGROUND, C01_SLIDE5_IMG_BACKGROUND ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_CONVOY, C01_SLIDE5_IMG_CONVOY ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_SOLDIER, C01_SLIDE5_IMG_SOLDIER ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_SOLDIERSHARP, C01_SLIDE5_IMG_SOLDIERSHARP ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLEMIST, C01_SLIDE5_IMG_PARTICLEMIST, nil,nil,0.75 ] call bis_fnc_animatedScreen; [ MODE_LAYER_CREATE, C01_SLIDE5_ID_PARTICLEMIST2, C01_SLIDE5_IMG_PARTICLEMIST, nil,nil,0.8 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ROTATE, [C01_SLIDE5_ID_SOLDIER,C01_SLIDE5_ID_SOLDIERSHARP], 15,10 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ROTATE, [C01_SLIDE5_ID_BACKGROUND,C01_SLIDE5_ID_CONVOY], 30,30 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ROTATE, C01_SLIDE5_ID_PARTICLESMOKE, -10,30 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, [C01_SLIDE5_ID_BACKGROUND,C01_SLIDE5_ID_PARTICLESMOKE,C01_SLIDE5_ID_CONVOY], 30, nil, 1.3 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, [C01_SLIDE5_ID_SOLDIER,C01_SLIDE5_ID_SOLDIERSHARP], 10, nil, 1.3 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLESMOKE, 10, [0.5,0.4], 1.0 ] call bis_fnc_animatedScreen; [ MODE_LAYER_FADE, C01_SLIDE5_ID_SOLDIERSHARP, 5,0 ] call bis_fnc_animatedScreen; [ MODE_LAYER_FADE, [C01_SLIDE5_ID_PARTICLEMIST,C01_SLIDE5_ID_PARTICLEMIST2], 0,0.15 ] call bis_fnc_animatedScreen; [ MODE_LAYER_FADE, C01_SLIDE5_ID_PARTICLESMOKE, 0,0.75 ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLEMIST, 20, [0.7,0.5], nil, [0.3,0.5] ] call bis_fnc_animatedScreen; [ MODE_LAYER_ANIMATE, C01_SLIDE5_ID_PARTICLEMIST2, 20, [0.3,0.5], nil, [0.7,0.5] ] call bis_fnc_animatedScreen; [ MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; } ], [ 71.026742, { //00 = [localize "Gosh Golly, just wonderful", STYLE_DYNAMIC_TOPLEFT, 0] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 72.967529, { //00 = [localize "It has been a ride has it not", STYLE_DYNAMIC_BOTTOMRIGHT, 1] spawn BIS_fnc_TO_AS_ShowDynamicText; } ], [ 76.805115, { [MODE_BLACKOUT,2,false] call bis_fnc_animatedScreen; }], [ 79.093933, { //[MODE_DESTROY ] call bis_fnc_animatedScreen; //[MODE_INIT, [1,3,1.05] ] call bis_fnc_animatedScreen; [MODE_RESET,[true,true]] call bis_fnc_animatedScreen; [MODE_BLACKIN,0,false] call bis_fnc_animatedScreen; 0 = [true, [ "End of Text", "Now run along!"], STYLE_TITLE_BIG] spawn BIS_fnc_TO_AS_ShowStaticText; } ], [ 88.1, { [MODE_BLACKOUT,1,false] call bis_fnc_animatedScreen; }], [ 91.9, { ["Timeline finished:%1", 0 ] call BIS_fnc_LogFormat; }] ]; In the initIntro.sqf #include "\a3\Missions_F_Tacops\Functions\fn_TO_AnimatedOpening.inc"; enableEnvironment false; #include "timeline.sqf"; _d = [ _timeline, 0, "LeadTrack01_F_Tacops" ] spawn BIS_fnc_animatedOpening; waitUntil { !(missionNamespace getVariable "BIS_fnc_eventTimeline_playing"); false}; endMission "END1"; In the eden editor you need to add Intro part " just place one men playable in intro" For custom your picture just change the parth in the timeline.sqf you can change the texte and picture .