Source Filmmaker

Source Filmmaker

106 ratings
Skybox Helper Script
 
Rate  
Favorite
Favorited
Unfavorite
Universe: Original IP
Script
Tags: Sfm
File Size
Posted
Updated
0.016 MB
Jul 9, 2016 @ 12:33pm
Aug 6, 2016 @ 4:24pm
5 Change Notes ( view )

Subscribe to download
Skybox Helper Script

Subscribed
Unsubscribe
Description
This is a simple script used to change the skybox on any map based on the skyboxes it finds from your search paths.

This script also shows you a preview of the skybox, if the image exists here: https://developer.valvesoftware.com/wiki/Sky_List


How to set up reading the image from the vtf file itself
1.download VTFLib v1.3.2 Binary Archive---> http://nemesis.thewavelength.net/index.php?c=177#p177

2.extract all the files in the bin\x64 or bin/x86 to a new folder called "vtfedit"

3 add a new folder in "vtfedit" called "skybox previews"

4. when done move the "vtfedit" folder to "SourceFilmmaker\game\workshop\scripts\sfm\mainmenu\" and thats it. the script should now show you a preview image if it doesnt exist here: https://developer.valvesoftware.com/wiki/Sky_List



Note: some of the skyboxes it finds may not work, you need to check the console for errors to see what the problem is.
if you want to try to do it manually follow this guide http://steamcommunity.com/sharedfiles/filedetails/?id=716509115#1197298


*******known issues*********
1. The script doesnt show up.
your gameinfo.txt might not be formatted right or has errors in it, it should look like this https://www.dropbox.com/s/2fuduxao1w2en7m/gameinfo.txt?dl=0, replace yours with this one temporary to confirm.


feel free to modify the script for your own use
if you find any bugs or have suggestions message me in the comments below.

Includes:
sfm\mainmenu\skybox helper.py
< >
47 Comments
Stephen Oct 31 @ 10:45am 
On the menubar, in the scrpit menu
SNIVY OwO Oct 31 @ 10:21am 
How do I find it?
Stephen May 22 @ 6:27am 
oh yes, thanks im new to sfm and scripts..
OMG Theres A Bear In My Oatmeal!  [author] May 22 @ 6:22am 
@Stephen Ambre Onyx Azarov, its under the script menu, on the menubar.
Stephen May 22 @ 4:16am 
um, i don't understand what to do for this to work...
Transmooker | SFM Mar 29 @ 3:44pm 
Worked like a charm! You're the best!
OMG Theres A Bear In My Oatmeal!  [author] Mar 29 @ 3:40pm 
if you used the save option then just go to "SourceFilmmaker\game\usermod\cfg" look for "map name.ctf" and delete it
Transmooker | SFM Mar 29 @ 3:17pm 
Sorry if this is a dumb question, I'm not exactly a programming pro, but how do I reset the skybox? Changing maps or restarting SFM doesn't do the trick :(
Machina|SFM COMISSIONS Feb 9 @ 5:04am 
holy fuck this i need
S-Hyper Aug 25, 2016 @ 5:06am 
nice-job!