AGamer Posted May 4, 2022 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. Link to comment Share on other sites More sharing options...
Stan` Posted May 4, 2022 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 Link to comment Share on other sites More sharing options...
AGamer Posted May 4, 2022 Author 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? Link to comment Share on other sites More sharing options...
Stan` Posted May 4, 2022 Share Posted May 4, 2022 The cinema path should allow you to do that. For triggering animations though that's some extra scripting. Link to comment Share on other sites More sharing options...
Freagarach Posted May 6, 2022 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); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now