SDraw Posted February 14, 2015 Posted February 14, 2015 (edited) Current resource allows you to play custom videofile. How to create videofile: 1. You need to separate each frame of video you like. For this you can use any video editing software that can do it (I prefer Sony Vegas). Remember, that FPS should be integer. I suggest you to keep video resolution below 320x240 because you can get EXTREMELY large videofile at the end. All frames should be in '/frames/' folder. 2. Separate audiotrack and put in in resource folder. 3. Change first three variables in 'video_gen_server.lua' to yours. 4. Uncomment server script line in 'meta.xml' 5. Start resource. 6. Wait for video creating. 7. Comment server script line in 'meta.xml', uncomment file line in 'meta.xml' 8. Restart resource. Videofile structure (quite simple): http://i.imgur.com/kxl05a2.png Client-side commands: vload , vplay, vstop, vrewind, vunload. Warnings: 1. This is demonstration resource. It's not for everyday using. 2. If you do something wrong, you probably will crash your game at playback. Download: Github Screenshot http://i.imgur.com/5CQwG2p.png Video (of video): https://www.youtube.com/watch?v=bmTcHw3_KRc If you can't create videofile, you can use this file for demonstration. Edited February 14, 2015 by Guest
Scripting Moderators Sarrum Posted February 14, 2015 Scripting Moderators Posted February 14, 2015 Awesome!
Malak Posted February 15, 2015 Posted February 15, 2015 Good job but will be hard to put it in a public server. anyway good job mb u have ti work on the download.
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