xmoonproductions.org https://www.xmoonproductions.org/ |
|
Scene change with waypoint script https://www.xmoonproductions.org/viewtopic.php?f=28&t=5137 |
Page 1 of 1 |
Author: | djiango [ Tue Jun 20, 2017 4:13 pm ] |
Post subject: | Scene change with waypoint script |
Here's how to change the scene and waypoint at once. (Fast sex option menu) Probably featured in other mods, but I had trouble finding out how to do it, so here goes. Edit file: - "/pack/yourpack/init/std/base/main/brain/code/event/gui_event.dat" Add this code: Code: [SET_SCENE] { state.dyn.settings.main.scene_id = loc.val; state.dyn.settings.main.waypoint = loc.val2; state.dyn.settings.need_apply = true; } beneath the code Code: [SET_WAYPOINT] { state.dyn.settings.main.waypoint = loc.val; state.dyn.settings.need_apply = true; } Edit next file: - "/pack/yourpack/init/stories/nameofstory/settings/stat_(Your fast sex options).dat" Add the code Code: s23 { pos = 23; name = "Scene *"; //Scenes v0 = "DUNGEON1"; //Dungeon v1 = "ROOM3B"; //Saikos Room v2 = "OFFICE0"; //Office Lobby v3 = "OFFICE16"; //Main Office v4 = "ROOM3"; //Outside //Waypoints vb0 = "in_wp"; //Inside dungeon vb1 = "waypoint"; //End of hallway vb2 = "waypoint"; //On the streets vb3 = "waypoint"; //Outside elevators vb4 = "waypoint4"; //On the roof (Needs christmas scene in pack) //Shown Names vn0 = "Basement"; vn1 = "Saikos Room"; vn2 = "Outside Work"; vn3 = "Office"; vn4 = "Santa"; type = SET_SCENE; } At the end of the file. Change the "s23" and the "pos = 23;" to the next corresponding numbers, if needed. Please note that you should have the scenes loaded in your pack before they'll work. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |