Szico VII Posted April 28, 2013 Share Posted April 28, 2013 As I found a copy of the script in the old midgar v3.0 source and remembered someone had asked me to post it - here it is: //Generated by BehavEd rem ( "Skybox Screenshot Script" ); camera ( /*@CAMERA_COMMANDS*/ ENABLE ); camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam1", ORIGIN)$, 0 ); rem ( "===========================" ); rem ( "sky_rt" ); camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 0.000 0.000 >, < 0.000 0.000 0.000 >, 0 ); affect ( "player", /*@AFFECT_TYPE*/ FLUSH ) { sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/chars/r2d2/misc/r2d2talk03.mp3" ); } wait ( 4000.000 ); rem ( "===========================" ); rem ( "sky_bk" ); camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 90.000 0.000 >, < 0.000 0.000 0.000 >, 0 ); affect ( "player", /*@AFFECT_TYPE*/ FLUSH ) { sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/chars/r2d2/misc/r2d2talk03.mp3" ); } wait ( 4000.000 ); rem ( "===========================" ); rem ( "sky_lf" ); camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 180.000 0.000 >, < 0.000 0.000 0.000 >, 0 ); affect ( "player", /*@AFFECT_TYPE*/ FLUSH ) { sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/chars/r2d2/misc/r2d2talk03.mp3" ); } wait ( 4000.000 ); rem ( "===========================" ); rem ( "sky_ft" ); camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 270.000 0.000 >, < 0.000 0.000 0.000 >, 0 ); affect ( "player", /*@AFFECT_TYPE*/ FLUSH ) { sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/chars/r2d2/misc/r2d2talk03.mp3" ); } wait ( 4000.000 ); rem ( "===========================" ); rem ( "sky_dn" ); camera ( /*@CAMERA_COMMANDS*/ PAN, < 90.000 0.000 0.000 >, < 0.000 0.000 0.000 >, 0 ); affect ( "player", /*@AFFECT_TYPE*/ FLUSH ) { sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/chars/r2d2/misc/r2d2talk03.mp3" ); } wait ( 4000.000 ); rem ( "===========================" ); rem ( "sky_up" ); camera ( /*@CAMERA_COMMANDS*/ PAN, < -90.000 0.000 0.000 >, < 0.000 0.000 0.000 >, 0 ); affect ( "player", /*@AFFECT_TYPE*/ FLUSH ) { sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/chars/r2d2/misc/r2d2talk03.mp3" ); } wait ( 4000.000 ); camera ( /*@CAMERA_COMMANDS*/ DISABLE ); First off copy the code into a txt file and save it into base/scripts.Then open it up in BehavED and compile it into an IBI file.Then, you must make a ref_tag in your map where you wish the "camera" to take pictures from, and have a spawn point trigger link to a target_scriptrunner which activates this script.Give the ref_tag a targetname "cam1" COMPILE THE MAP (Duh.) Load up Jedi Academy SINGLE-PLAYER mode. Open the console and (depending on your maximum screen resolution) set a custom resolution of 1024x1024 or 2048x2048 using the following commands:r_mode -1r_customheight 1024r_customwidth 1024vid_restart (You can also try cg_fov to get different results) Now run your map using the /devmap mymapname command. It will boot into a cutscene - Your job is to take a screenshot (bind it to a number key, say "2") every time the view changes, without allowing the 'screenshot xxx taken' message to ruin your lovely pictures. The script will show you 6 views from the point you placed your ref-tag, which you can then use as your 6 skybox images. It will make a beep noise as it changes view, and it changes every ~4seconds. Now rename the screenshots to skybox_bk, ft, lf, rt, up and dn as appropriate. VOILA. Link to comment
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