[Portal 1] Bonus Map Scripts and You
Quote from MrTwoVideoCards on November 27, 2007, 7:23 pmyoume wrote:It seems I can't put muliple maps into one bonus map, I've set up the driectory stucture all correct and the level transitions are working fine.
But when i run the maps using the bonus map script the first map runs fine and when i get to the level transition I get this error:
- Code: Select all
Level transition ERROR
Can't find connection to TS13testc_06 from TS13/testc_07I know the slashes are different directions but hammer won't let me put a in, It changes it to a / as soon as I hit apply.
Any advice?
Edit: I did a bit of looking at the differences in the console stuff between running it using "map TS13/testc_06" and running it via the bonus level stuff and it seems that the bonus level stuff uses whilst everything else uses /. Even if my bns files use /
Help!Edit 2: I've fixed it, I resorted to making a bns for each map and making the player pick the next map after each map finished, But then the level transitions worked, it turns out it doesn't load the map file, it loads bns assosiated with that map. Its a bit annoying to have to make more than one bns but at least it works now
Also instead use"_" better, as that helps the system organize files, and vmf's and the like.
But when i run the maps using the bonus map script the first map runs fine and when i get to the level transition I get this error:
- Code: Select all
Level transition ERROR
Can't find connection to TS13testc_06 from TS13/testc_07
I know the slashes are different directions but hammer won't let me put a in, It changes it to a / as soon as I hit apply.
Any advice?
Edit: I did a bit of looking at the differences in the console stuff between running it using "map TS13/testc_06" and running it via the bonus level stuff and it seems that the bonus level stuff uses whilst everything else uses /. Even if my bns files use /
Help!
Edit 2: I've fixed it, I resorted to making a bns for each map and making the player pick the next map after each map finished, But then the level transitions worked, it turns out it doesn't load the map file, it loads bns assosiated with that map. Its a bit annoying to have to make more than one bns but at least it works now
Also instead use"_" better, as that helps the system organize files, and vmf's and the like.
Quote from MrTwoVideoCards on November 27, 2007, 7:24 pmyoume wrote:How do you unlock the next map when you finish a level?Via a console command, thats the best way, using a point_client_command in your map.
Via a console command, thats the best way, using a point_client_command in your map.
Quote from msleeper on December 3, 2007, 10:11 pmUpdated for clarity, added links, and just generally made the first post better.
Updated for clarity, added links, and just generally made the first post better.
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Quote from onemanescapepod on January 25, 2011, 12:50 amHi, I'm essentially done with my first Portal map, but I'm stuck on the challenge script. I have a BNS file which as far as I can tell is all set up correctly; if you select the map in the in-game menu it correctly displays the bronze requirements for each of the challenges. But it doesn't seem to save my score when I complete the map under any of the challenges, and I have no idea how to get this working.
I've read this thread, but it seems to have been stripped in favor of the wiki. I've read the relevant wiki pages several times but I'm stumped.
My map doesn't end in an elevator, so it wouldn't make sense to have it display your challenge results in the elevator like the official maps. I wouldn't know how to put the challenge results in the elevator anyway, since that doesn't seem to be on the wiki... Is it possible to have it save your score without the elevator part? If so, what should I do to enable this?
Hi, I'm essentially done with my first Portal map, but I'm stuck on the challenge script. I have a BNS file which as far as I can tell is all set up correctly; if you select the map in the in-game menu it correctly displays the bronze requirements for each of the challenges. But it doesn't seem to save my score when I complete the map under any of the challenges, and I have no idea how to get this working.
I've read this thread, but it seems to have been stripped in favor of the wiki. I've read the relevant wiki pages several times but I'm stumped.
My map doesn't end in an elevator, so it wouldn't make sense to have it display your challenge results in the elevator like the official maps. I wouldn't know how to put the challenge results in the elevator anyway, since that doesn't seem to be on the wiki... Is it possible to have it save your score without the elevator part? If so, what should I do to enable this?
Quote from Groxkiller585 on January 25, 2011, 6:38 amthere's a specific entity that displays the score. You can use it at the end of your map. I can't remember the name, it was like env_scoreboard_bouns or something.
there's a specific entity that displays the score. You can use it at the end of your map. I can't remember the name, it was like env_scoreboard_bouns or something.
Quote from onemanescapepod on January 26, 2011, 6:58 amThanks, but that didn't really answer my question. That was the one thing I didn't need, unless that also saves your score. I also can't find any entity by that name or close to that name.
Thanks, but that didn't really answer my question. That was the one thing I didn't need, unless that also saves your score. I also can't find any entity by that name or close to that name.
Quote from p0rtalplayer on January 26, 2011, 11:08 amWell, the entity is called prop_portal_stats_display, and has two inputs that might be of use: ResetPlayerStats and UpdateStats
Well, the entity is called prop_portal_stats_display, and has two inputs that might be of use: ResetPlayerStats and UpdateStats
Quote from Groxkiller585 on January 26, 2011, 10:08 pmonemanescapepod wrote:Thanks, but that didn't really answer my question. That was the one thing I didn't need, unless that also saves your score. I also can't find any entity by that name or close to that name.Sorry i was completely guessing since I have never messed with the entity. And yes it is required to update it.
Sorry i was completely guessing since I have never messed with the entity. And yes it is required to update it.