Hey guys! I'm getting a frustrating RGL error. I added a new scene in module_scenes.py and a mission template for it. I wanted to edit this scene and would like for the player to enter this scene when starting a new game. So I added code in one of the start-up game menus to launch the scene. Everything was working ok. I was able to edit the scene and such, but the player wasn't spawning in the scene. So I went back to the module system and added the proper code to spawn the player (and changed the entry points a little bit in the mission template). The module system compiled just fine, but whenever I try to start a new game or even go into the tutorial, I get an RGL error that says "passages for site none exceeds 16". I tried to search for this rgl error on the forums but couldn't find anything related to it, so I'm creating a new topic 
Here is the code for the scene I added (I also add the scene before and after to provide context. My scene is the "sky_warrior_opening" scene)
Here is the code for the mission template:
And here is the code I put in module_game_menus at line 71 with some surrounding code to provide context:
Does anybody have any idea what is causing this?
Thanks in advance!!!
Here is the code for the scene I added (I also add the scene before and after to provide context. My scene is the "sky_warrior_opening" scene)
Code:
("multiplayer_maps_end",sf_generate,"none", "none", (0,0),(100,100),-100,"0x00000001300389800003a4ea000058340000637a0000399b",
[],[],"outer_terrain_plain"),
### added for Sky Warrior by Ares007
("sky_warrior_opening",0,"none", "none", (0,0),(240,240),-100,"",
[],[]),
("wedding",sf_indoors, "castle_h_interior_a", "bo_castle_h_interior_a", (-100,-100),(100,100),-100,"0", [],[]),
Here is the code for the mission template:
Code:
### Mission Template for Sky Warrior opening scene added by Ares007
(
"sky_warrior_opening",0,-1,
"blah blah blah",
[
(0,mtef_scene_source|mtef_team_0,af_override_horse,0,1,[]),
(1,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
(2,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
(3,mtef_visitor_source|mtef_team_1,af_override_horse,0,1,[]),
],
[
attacking_control,
],
),
And here is the code I put in module_game_menus at line 71 with some surrounding code to provide context:
Code:
[
("town_1",[(eq, "$current_startup_quest_phase", 0),],"join a caravan to Praven, in the Kingdom of Swadia.",
[
#(assign, "$current_town", "p_town_6"),
#(assign, "$g_starting_town", "$current_town"),
#(assign, "$g_journey_string", "str_journey_to_praven"),
#(jump_to_menu, "mnu_start_phase_2_5"),
### added by Ares007 for Sky Warrior
(set_jump_mission,"mt_sky_warrior_opening"),
(jump_to_scene,"scn_sky_warrior_opening"),
(modify_visitors_at_site, "scn_sky_warrior_opening"),
(reset_visitors),
(set_jump_entry, 0),
#(set_visitor, 0, "trp_player"),
(play_track, "track_lark_ascending", 1),
(change_screen_mission),
# (party_relocate_near_party, "p_main_party", "$g_starting_town", 2),
# (change_screen_return),
]),
Does anybody have any idea what is causing this?
Thanks in advance!!!