limmy3 0 Posted July 31, 2006 Hello again, After the player is killed you see the terrain and buildings as cutsene. I want to stop this and show a black screen. Is this possible? Â Regards limmy3 Share this post Link to post Share on other sites
Metal Heart 0 Posted July 31, 2006 Single player, right? Place file onPlayerKilled.sqs in mission dir: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">titlecut ["", "BLACK OUT",1]; enableEndDialog The problem is that you can't actually see the end dialog when you black out. You could change the time to night with skiptime or have a black image displayed on screen Share this post Link to post Share on other sites
limmy3 0 Posted July 31, 2006 Thank you but how do you execute the file? limmy3 Share this post Link to post Share on other sites
limmy3 0 Posted July 31, 2006 Ok thank you this works fine so far. But the player has to press the Esc button to get out of that after you are dead and the screen got black. Do you know how it exit it self. Because it keeps to be black. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">~1 titlecut ["", "BLACK OUT",1]; enableEndDialog Exit Exit won't work. limmy3 Share this post Link to post Share on other sites
Metal Heart 0 Posted August 1, 2006 I dunno, experiment. Share this post Link to post Share on other sites
.kju 3244 Posted August 1, 2006 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">killed = "_this exec "\PATH\onPlayerDeathBlack.sqs""; note PATH can be empty. depends how you use it. add this killedEH to your infantry / player. script code: WGLs ones <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">?(player != (_this select 0)): exit ?(WGLrespawn): goto "start" exit #start titleCut ["","BLACK OUT",0.001] enableRadio false 1 fadeSound 0 @alive player titleCut ["","BLACK IN",1] enableRadio true 1 fadeSound 1 exit simple: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">?(player != (_this select 0)): exit titleCut ["","BLACK OUT",0.001] @alive player titleCut ["","BLACK IN",1] exit Share this post Link to post Share on other sites
limmy3 0 Posted August 2, 2006 Hello Q, I tried your code, thank you.<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">; This should show a black screen after the death of the player ?(player != (_this select 0)): exit titleCut ["","BLACK OUT",0.001] @alive player titleCut ["","BLACK IN",1] exit[ And this command in On Activ. field.<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] exec "RemoveEquipment.sqs"; Player exec "onPlayerDeathBlack.sqs"[But it won't work. So were is the mistake? Did I do one? Â Regards limmy3 Share this post Link to post Share on other sites
limmy3 0 Posted August 5, 2006 Hello you all, thank you for your  . The asnwer was Quote[/b] ]onplayerkilled.sqs  Well, at the end it didn't become a black screen but I think something better. I died a hundred death only to make this end scene perfect.  Hope this mission will be ready in a few days.  Looking forward to let it be released. Regards limmy3 Share this post Link to post Share on other sites