AGamer Posted May 4, 2022 Report Share Posted May 4, 2022 I am trying to add cutscenes to 0 A.D.. For example, when a Hero dies I would like to add cutscene as a video file (MP4), so first I need to know if this is possible, and if so, how I trigger it to go off once the hero dies, also is there a way to pause the game using scripts so that while the cutscene is playing your team is not getting destroyed? Thank you for your time. Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 4, 2022 Report Share Posted May 4, 2022 There is no way to play videos in the engine currently. I imagine you can trigger pause through the GUIInterface though. 1 Quote Link to comment Share on other sites More sharing options...
AGamer Posted May 4, 2022 Author Report Share Posted May 4, 2022 Thank you for letting me know, could I create the cinematics in engine like move the camera somewhere, spawn the actors needed and assign the animation that would be in the video to the actors and have the player view locked to that location? Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 4, 2022 Report Share Posted May 4, 2022 The cinema path should allow you to do that. For triggering animations though that's some extra scripting. Quote Link to comment Share on other sites More sharing options...
Freagarach Posted May 6, 2022 Report Share Posted May 6, 2022 On 04/05/2022 at 5:21 PM, AGamer said: is there a way to pause the game using scripts Engine.SetSimRate(0); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.