Changing the "tipvids"?
Hypergrip
SuspectGermany Join Date: 2002-11-23 Member: 9689Members, NS1 Playtester, Contributor
Hi,
I just tried to play around with the new "tipvids" that show up after you die. I was thinking about using some "drill instructor" footage from the "Space Above & Beyond" series (you know, for "motivation")
However simply replacing the video files does not seem to do the trick. Anybody else had any success getting this to work as a mod?
The way I tried it:
- record some videos in the same resolution as the tipvids (720x480)
- convert the videos to webm format using Miro Video Converter
- rename the files to match the original vidtips
- create a mod with the /tipvideos/ directory containing the new videos
The mod installs fine however the videos will not play (the replaced videos will not trigger any kind of popup, the videos that are not replaced will however play just fine).
If any of you want to play around with it, I attached a zip with the 8 webm video files I wanted to use.
I just tried to play around with the new "tipvids" that show up after you die. I was thinking about using some "drill instructor" footage from the "Space Above & Beyond" series (you know, for "motivation")
However simply replacing the video files does not seem to do the trick. Anybody else had any success getting this to work as a mod?
The way I tried it:
- record some videos in the same resolution as the tipvids (720x480)
- convert the videos to webm format using Miro Video Converter
- rename the files to match the original vidtips
- create a mod with the /tipvideos/ directory containing the new videos
The mod installs fine however the videos will not play (the replaced videos will not trigger any kind of popup, the videos that are not replaced will however play just fine).
If any of you want to play around with it, I attached a zip with the 8 webm video files I wanted to use.
Comments
The video counter gets incremented every time the video plays and a video gets only played once. You can reset the counter in your options.xml which is located here:
\Steam\your_steam_id\4920\remote\options.xml
There should be entries like this: Just set the value to 0 or delete the entry and the video will play again.
It would be nice if the GUITipVideo_Data.lua would be excluded from consistency checking, while still checking for valid tipvids data. I've got it working btw and want to create a few trolltips as a parody of the official ones, while still being informative. Here's a test video showing that it can be done
However consistency checking needs to be off to allow the GUITipVideo_Data.lua to be used. And currently, the *.webm files need to be located in the official "ns2/tipvideos/" folder
The official videos are encoded as follows (res is the most important). I'm recording in 720p and downsize them to "720x480" before using Free WebM Encoder. Now this is not the same ratio of course, but that is what it says in the other tipvids lua file :P
There is a console command for this as well, which resets all videos though. And it seems you don't have to add them manually to the xml file, Spark handles that for you.
resettipvids