Loadvideo
Re: Loadvideo
is possible u need to have a .bik video i think u have to put in the "Movies " folder (biks cant be in rfa tough)
so u put these lines in the menu init.con of ur map
game.setLoadPicture ../../Mods/mod name here/Movies/video name here
so u put these lines in the menu init.con of ur map
game.setLoadPicture ../../Mods/mod name here/Movies/video name here


- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Loadvideo
Correct. You must path to the video to an external folder. BIKs don't work when packed into RFAs. 




I have cameras in your head!
- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Loadvideo
lol.
Here is what the setting for one of the maps in my DCU mod that has videos as loading screens:
If you use enough ../ you can even path to stuff outside the game folder. 
Also, you can have videos on meshes too! Just make sure they are resized to a power of 2 resolution like 512x512 or something similer or else they won't fit the uvmap of the mesh correctly. (they will still work though) I've even seen someone use videos on the terrain too.
Here is an example of how to path to a video in a RS file. DO NOT use the ../ stuff as this will cause a CTD. Plus it is not required for RS files anyway:
That is one of the videos used on my TV object in DCU.
Here is what the setting for one of the maps in my DCU mod that has videos as loading screens:
Code: Select all
game.setLoadPicture ../../Mods/DC_UNAUTHORIZED/Movies/rah66.bik

Also, you can have videos on meshes too! Just make sure they are resized to a power of 2 resolution like 512x512 or something similer or else they won't fit the uvmap of the mesh correctly. (they will still work though) I've even seen someone use videos on the terrain too.
Here is an example of how to path to a video in a RS file. DO NOT use the ../ stuff as this will cause a CTD. Plus it is not required for RS files anyway:
Code: Select all
texture "Mods/DC_UNAUTHORIZED/Movies/video_for_meshes/tvset_video2";



I have cameras in your head!
Re: Loadvideo
Thanks! I'm glad that you told me that it's not working when packed as rfa, that was the problem that has been keeping me busy 

Re: Loadvideo


uh but how do you map the bik to the rs tho.... like in max you can map a texture to the object... but what about the video...
how would i position it to a tv.
- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Loadvideo
Yes the last version I released a month back added a laptop to the car bomb control table. 




I have cameras in your head!