also on more thing and i know its long but how can you make it where when its a cutscene but still first person you can move your head but your bodys locked thanks
Hey keefy i thank you so much for these vids they really helped but one thing im wondering is how can i make it go to a cutscene mid play? like say your moving to a village and your actually playing but then right before your attacked i want it to go to a cuitscene showing the enemy moving? do i set it up via a trigger and name the trigger and activate it in the script or what cause im just not sure how to make it trigger at a certain time
i cant get it out of the loop ive copied your code conpletly but instead of the distance between two people i have it set to go to the next scene with when the humvee reaches a persone at a certain distance
Very nice! I just wonder if there isn't a way to use soft variables and an increment inside the script in place of the "man1 distance man2" setup? Would sure be handy, especially for more complex settings to do "c1=0" in the beginning of the script, "c1=c1+1" each time the loop runs and switch it with "? c1 = 30 : goto "nextscene"
Hey thanks 4 these videos all my OFP memory's of cam scripting came back to me and nw I should be able to start making campaigns again. Great vid btw best scripting tutorial I've ever found
Right, I've seem to run into a problem. I can get all the way up to following the HMMWV just fine, but as soon as I start entering more code to stop like it does at 4:59, it bugs on me. Instead of targeting the HMMWV (car1) it hovers over it and aims northward and does not follow. It did this before when trying to get it to focus on car1, but I have no idea how it was fixed because all I did was change a number from 3 to 2 for distance. So I have no idea whats going on.
having issues with getting the camera to stop. It switches to the misstion but the camera remains attached to the boat im using. If i boot it up on the server the intro dose not load :S
I managed to get the attach & loop to work, but only once. If I try to attach/loop on a different unit the camera doesn't move to the new target and just detaches from the old unit. Any ideas what's happening?
Nice tutorial, just couple questions. How do I turn on the camera when I want? Ive seen a tutorial that u can turn on the camera through radio chat, but cant find it. And Can you make a tutorial on (if possible) to make the camera move around or follow going side to side of the object ur fallowing? Or just make it movable with mouse whle fallowing?
@Aaidas2 How to turn on the camera at will - set a trigger with on act. set to: player exec 'camera.sqs' :have the trigger set to activate on radio alpha, accessed by going backspace, 0, 0, 1. Hope that helps.
Yeah, I did. I'll fiddle around it later and see what happens. I copied and pasted what you had in one of your first videos at the bottom, so I'm not exactly sure what wrong. The camera will just pause were I have my last scene, nothing happens. Thanks for the response.
Thanks you so very much for these videos, very helpful. I have a question though. These show me how to do the intro, then once its done it will play the mission part. I want the scene to be played during the mission. I managed to do that, but once all the scene has finished play, the camera just pauses were it is, and will not return to player. Can you help me so that once the scene is finished that it will go straight to the player? Thank you.
very good tutorials. i am a noob to arma2 but your vids have helped alot.
I have a question about applying these scenes to a mission.
I have a mission made and ready to go but how do I add the camera scene to the beginning of the mission and then have the mission begin when the scene ends?
hey bud, i made the intro as you said and have saved the scene.sqs under a script folder in my documents/arma2. problem is when i open the mission in the scenarios it says 'script scene.sqs not found' and then just shows a video of the back of the players head!
did it worked? well i have an issue with it, i cant make lets say, 3 scenes, or more, at same vid. i can make only 2, couse when i make 3 cam. folowing the units, the first one folows that what i want, and there a now second one, its jums strate to thirt one. do u have eny tips? and im sorry for my bad language :D
This has been flagged as spam show
very useful, thanks
aitoreitordemoleitor 5 months ago
Comment removed
aitoreitordemoleitor 5 months ago
is there a way i can set a time limit for the loop?
willins12 6 months ago
also on more thing and i know its long but how can you make it where when its a cutscene but still first person you can move your head but your bodys locked thanks
reallytightpants 7 months ago
Hey keefy i thank you so much for these vids they really helped but one thing im wondering is how can i make it go to a cutscene mid play? like say your moving to a village and your actually playing but then right before your attacked i want it to go to a cuitscene showing the enemy moving? do i set it up via a trigger and name the trigger and activate it in the script or what cause im just not sure how to make it trigger at a certain time
reallytightpants 7 months ago
I have one question for you. When you place the camera where you want it.
camPrepareTarget [-55102.08,84473.38,19.82] <<Where do you get the numbers from..
iceman11a 8 months ago
i cant get it out of the loop ive copied your code conpletly but instead of the distance between two people i have it set to go to the next scene with when the humvee reaches a persone at a certain distance
willins12 9 months ago
@willins12 never mind was a problem with the text type my bad works though thanks for the videos
willins12 9 months ago
Can I change or remove the Depth of field?
pranays 11 months ago
Very nice! I just wonder if there isn't a way to use soft variables and an increment inside the script in place of the "man1 distance man2" setup? Would sure be handy, especially for more complex settings to do "c1=0" in the beginning of the script, "c1=c1+1" each time the loop runs and switch it with "? c1 = 30 : goto "nextscene"
No way to do this?
october001 11 months ago
Hey thanks 4 these videos all my OFP memory's of cam scripting came back to me and nw I should be able to start making campaigns again. Great vid btw best scripting tutorial I've ever found
eminem90 1 year ago
Спасибо большое друг = Thank you friend.
APTEMRUS 1 year ago
ah, here we go laddie, thanks for a the help keefygeorge! :'D
mylesbradley1234 1 year ago
Right, I've seem to run into a problem. I can get all the way up to following the HMMWV just fine, but as soon as I start entering more code to stop like it does at 4:59, it bugs on me. Instead of targeting the HMMWV (car1) it hovers over it and aims northward and does not follow. It did this before when trying to get it to focus on car1, but I have no idea how it was fixed because all I did was change a number from 3 to 2 for distance. So I have no idea whats going on.
ShadowSigint 1 year ago
having issues with getting the camera to stop. It switches to the misstion but the camera remains attached to the boat im using. If i boot it up on the server the intro dose not load :S
Pantora1 1 year ago
@Pantora1
If you want it to run on a server you need to make sure the scene runs local on client machines.
I dont use the intro section for MP missions. I do the scene in the mission section and run the scene from the init.sqf
keefygeorge01 1 year ago
I managed to get the attach & loop to work, but only once. If I try to attach/loop on a different unit the camera doesn't move to the new target and just detaches from the old unit. Any ideas what's happening?
Jeorney 1 year ago
thanks for these videos man, they're really helpfull
Totalwar2550 1 year ago
Hey, does this work with ArmA: Armed Assault?
1nvalid1 1 year ago
@1nvalid1
Yea mate sure does
keefygeorge01 1 year ago
this sux tho in the steam version you cant get to the script folder
combly7 1 year ago
@combly7 You don't actually need script folder. Just put the script into the same folder as mission.
nuttex 1 year ago
Thanks for these videos!! I have my campaign intro, cutscenes and outro working great!
Thanks!!!
Anonymous2572 1 year ago
Nice tutorial, just couple questions. How do I turn on the camera when I want? Ive seen a tutorial that u can turn on the camera through radio chat, but cant find it. And Can you make a tutorial on (if possible) to make the camera move around or follow going side to side of the object ur fallowing? Or just make it movable with mouse whle fallowing?
Aaidas2 1 year ago
@Aaidas2 How to turn on the camera at will - set a trigger with on act. set to: player exec 'camera.sqs' :have the trigger set to activate on radio alpha, accessed by going backspace, 0, 0, 1. Hope that helps.
DynamicEcho 1 year ago
Yeah, I did. I'll fiddle around it later and see what happens. I copied and pasted what you had in one of your first videos at the bottom, so I'm not exactly sure what wrong. The camera will just pause were I have my last scene, nothing happens. Thanks for the response.
Bezzguy 1 year ago
Thanks you so very much for these videos, very helpful. I have a question though. These show me how to do the intro, then once its done it will play the mission part. I want the scene to be played during the mission. I managed to do that, but once all the scene has finished play, the camera just pauses were it is, and will not return to player. Can you help me so that once the scene is finished that it will go straight to the player? Thank you.
Bezzguy 2 years ago
you need to destroy the camera and exit the script.
did you put
exit;
at the bottom of the script. Doing so should exit the script and return to the player.
keefygeorge01 1 year ago
@Bezzguy
If you only want the scene to play for the person who sets off the trigger that will work.
If you want it to play for every player in game use a trigger to set a condition to true in the init for example.
Place a trigger and in the on activation put something like, scenecondition = true;
The in the init.sqf put:
scenecondition = false;
"scenecondition" addPublicVariableEventHandler {player exec "scene.sqs"}
keefygeorge01 6 months ago
very good tutorials. i am a noob to arma2 but your vids have helped alot.
I have a question about applying these scenes to a mission.
I have a mission made and ready to go but how do I add the camera scene to the beginning of the mission and then have the mission begin when the scene ends?
gaz1664 2 years ago
It depends wether its a single or multiplayer mission
if its single just open the mission in the editor and in the top right change it from mission to intro and create the scene.
keefygeorge01 2 years ago
@keefygeorge01
thanks. will give it a try
gaz1664 2 years ago
hey bud, i made the intro as you said and have saved the scene.sqs under a script folder in my documents/arma2. problem is when i open the mission in the scenarios it says 'script scene.sqs not found' and then just shows a video of the back of the players head!
any suggestion?
gaz1664 2 years ago
in arma2 other profiles go into the subfolder and create a folder named scripts..place your script there
ikkeennigij121 2 years ago
oh and is there a way to make it fade out at the end?
ThatGuyFromGW 2 years ago
whenever end1 is activated it goes back to the editor and doesn't begin the mission :(
ThatGuyFromGW 2 years ago
thanx again :)
crossfireeLT 2 years ago
the line looks like that;
? time >=10 : goto "nextscene"
goto "loop"
crossfireeLT 2 years ago
Thanks for that ill give that a try.
keefygeorge01 2 years ago
Comment removed
crossfireeLT 2 years ago
did it worked? well i have an issue with it, i cant make lets say, 3 scenes, or more, at same vid. i can make only 2, couse when i make 3 cam. folowing the units, the first one folows that what i want, and there a now second one, its jums strate to thirt one. do u have eny tips? and im sorry for my bad language :D
crossfireeLT 2 years ago
My guess is there is no timer set for the second camera and it is jumping to the 3rd.
Paste the script into a pm and ill have a look if you like.
keefygeorge01 2 years ago
hey buddy, thanx for tutorials :) its really cool, i found somethink else with the next scene, abit easyer, then with two guyzz distance :)
crossfireeLT 2 years ago
NEED TO KNOW HOW TO DO SFX like rocking camera and such.
BlackbirdMatt 2 years ago
I can help you with sound but im not sure about the rocking camera.
For sound you need to create a:
Class CfgSound in the description.ext
then you can add the sound in the script where you want it to play
Go to next post
keefygeorge01 2 years ago
For example:
playsound "sound class name";
Then if you want the sound to fade add:
5 fadesound 0;
playsound "";
0 fadesound 1;
The forst number being the amount of time it will take to fade.
keefygeorge01 2 years ago