Jump to content
Sign in to follow this  
snkman

Cammera Effect....

Recommended Posts

Damn i can't get it to work.... banghead.gif

Well for my outro i use:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_camera = "camera" camCreate [115527.59,-4919.96,1]

_camera camCommitPrepared 0

_camera cameraEffect ["internal","back"]

CutText ["* * * M I S S I O N F A I L E D * * *\n\n!!!All Soldiers are killed in Action!!!","Plain",10]

;=== 22:51:14

_camera camPrepareTarget [115527.59,-4919.96,1]

_camera camPreparePos [16555.90,4696.59,1.45]

_camera camPrepareFOV 0.395

_camera camCommitPrepared 0

@camCommitted _camera

~8

_camera cameraEffect ["terminate","back"]

camdestroy _camera

AllDead = true

PublicVariable "AllDead"

ForceEnd

exit

Okay this come's when all player's are dead now i like to have a effect between The Mission and this cam.

I explain: When all Players are dead the screen should fade to white and than the Cam i posted here should be shown.

I know the command: Titlecut ["","White OUT",2] but where the hell do i have to place it?

Share this post


Link to post
Share on other sites
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_camera = "camera" camCreate [115527.59,-4919.96,1]

_camera camCommitPrepared 0

_camera cameraEffect ["internal","back"]

CutText ["* * * M I S S I O N F A I L E D * * *\n\n!!!All Soldiers are killed in Action!!!","Plain",10]

;=== 22:51:14

_camera camPrepareTarget [115527.59,-4919.96,1]

_camera camPreparePos [16555.90,4696.59,1.45]

_camera camPrepareFOV 0.395

_camera camCommitPrepared 0

@camCommitted _camera

~8

_camera cameraEffect ["terminate","back"]

camdestroy _camera

AllDead = true

PublicVariable "AllDead"

ForceEnd

exit

Try this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_camera = "camera" camCreate [115527.59,-4919.96,1]

_camera cameraEffect ["internal","back"]

;=== 22:51:14

_camera camPrepareTarget [115527.59,-4919.96,1]

_camera camPreparePos [16555.90,4696.59,1.45]

_camera camPrepareFOV 0.395

_camera camCommitPrepared 0

@camCommitted _camera

;=== 22:51:14

_camera camPrepareTarget [115527.59,-4919.96,1]

_camera camPreparePos [16555.90,4696.59,1.45]

_camera camPrepareFOV 0.395

_camera camCommitPrepared 8

@camCommitted _camera

CutText ["* * * M I S S I O N F A I L E D * * *\n\n!!!All Soldiers are killed in Action!!!","Plain",6]

;=== 22:51:14

_camera camPrepareTarget [115527.59,-4919.96,1]

_camera camPreparePos [16555.90,4696.59,1.45]

_camera camPrepareFOV 0.500

_camera camCommitPrepared 6

@camCommitted _camera

titleCut ["","BLACK OUT", 4]

player cameraEffect ["terminate","back"]

camDestroy _camera

titleCut ["","BLACK IN", 3]

AllDead = true

PublicVariable "AllDead"

ForceEnd

exit

Share this post


Link to post
Share on other sites

Hello bravo 6,

Well not exactly what i was looking for but a nice effect too biggrin_o.gif

Okay i like to explain again: ( I'm not sure maybee it don't work cuz i tryed a lot of time's and it did not work )

Okay all players of my mission are dead now you can see the dead body's laying on the ground after 3 - 5 sec. the screen should fade to white this should need about 5 sec. and than this should appere after the screen is faded all to white:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_camera = "camera" camCreate [115527.59,-4919.96,1]

_camera cameraEffect ["internal","back"]

;=== 22:51:14

_camera camPrepareTarget [115527.59,-4919.96,1]

_camera camPreparePos [16555.90,4696.59,1.45]

_camera camPrepareFOV 0.395

_camera camCommitPrepared 0

@camCommitted _camera

;=== 22:51:14

_camera camPrepareTarget [115527.59,-4919.96,1]

_camera camPreparePos [16555.90,4696.59,1.45]

_camera camPrepareFOV 0.395

_camera camCommitPrepared 8

@camCommitted _camera

CutText ["* * * M I S S I O N F A I L E D * * *\n\n!!!All Soldiers are killed in Action!!!","Plain",6]

;=== 22:51:14

_camera camPrepareTarget [115527.59,-4919.96,1]

_camera camPreparePos [16555.90,4696.59,1.45]

_camera camPrepareFOV 0.500

_camera camCommitPrepared 6

@camCommitted _camera

titleCut ["","BLACK OUT", 4]

player cameraEffect ["terminate","back"]

camDestroy _camera

titleCut ["","BLACK IN", 3]

AllDead = true

PublicVariable "AllDead"

ForceEnd

exit

Now my question how can i make it fade to white bevore the camera script comes or how can i make it fade to white at the beginning of the camera script.

Share this post


Link to post
Share on other sites

At the very beginning...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

~3+random(2)

titlecut ["","WHITE OUT",5]

~6

titlecut ["","WHITE IN",2]

Share this post


Link to post
Share on other sites

Thank's a brunch KyleSarnik thumbs-up.gif

That's exactly, what i was looking for!

Share this post


Link to post
Share on other sites
Thank's a brunch KyleSarnik  thumbs-up.gif

That's exactly, what i was looking for!

Brunch? Hmm, but I already ate breakfast... rofl.gif

whistle.gif

Share this post


Link to post
Share on other sites

Well i thought i heard someone sad it that way... whistle.gif

Is it wrong... biggrin_o.gif Hehe

Share this post


Link to post
Share on other sites

Hi Guy's,

well just another question:

how can i change the output Text ( Color, Size and Font )

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">?local _obj && _obj == player: titletext[format ["%1 has revived you.", name _ClosestBitch], "Plain down"]

I mean this: ["%1 has revived you.", name _ClosestBitch]

I have thouse informations:

font = BitStream; ( I think that's the Font )

colorText[] = {0.5, 0, 0, 1}; ( I think that's the Color of the Text )

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×