Current resource allows you to play custom videofile.
vload <file_name>
vplay
vstop
vrewind
vunload
- You need to separate each frame of video to image file in '<current_resource>/frames/' folder (Sony Vegas example). FPS should be integer. It's better to keep video resolution near or below 320x240 because you can get EXTREMELY large videofile.
- Separate audiotrack and put in in resource folder.
- Change first three variables in 'video_gen_server.lua' to yours.
- Uncomment server script line in 'meta.xml'
- Start resource.
- Wait for video creating.
- Comment server script line in 'meta.xml', uncomment file line in 'meta.xml'
- Restart resource.
If you can't create videofile, you can use https://dl.dropbox.com/s/y505wwilfdqnpk6/video.mvf for demonstration.
- This is only demonstration resource. You should not use it for regular usage.
- If you do something wrong, you probably will crash your game at playback.