Implementing custom stuff into .bsp just doesn´t work!
Quote from mcdaniels on May 20, 2011, 7:23 amFirst I tried my own texture. Converted it into the valve-format, .vtf and wrote the corresponding .vmt. After several tries with "potato packer" which should pack these two files into the .bsp (mapping-help/bspzip-for-portal-2-t2396.html), it didnt work, the program made a batch-file, but it was 1 kb and didnt do anything when executed. then i tried it with the bspzip-tutorial (mapping-help/bspzip-for-portal-2-t2396.html), this worked so far that a valid batch-file was created. after beeing executed the texture still was black/pink in the map. then i thought i made sth wrong when i converted my texture, so i took a standard texture, light_orange001, and renamed it into light_orange003(which doesnt exist in the standard content). in hammer i covered several surfaces with light_orange003-of course hammer showed actually light_orange001, which i just renamed to 003. so, i thought, if i start the map, the game wouldnt be able to read the light_orange003, because its not in portal2?s standard content. so i tried to pack the light_orange003 into the .bsp via bspzip, so the game would get the texture and material directly from the .bsp, but I started the map and still the texture light_orange003 isnt found and shown as black/pink shit. The error must definitely happen when packing, but I checked everything 100 times! Is there any rule, where exactly the custom content or the .bsp I want to pack in is stored or is it enough, if all the directions are written correctly into the self-created batch file?
Is it important for you to know, that the bspzip.exe itself doesnt work if executed directly, even after deinstalling and re-installing? is that normal??
thanks a lot!!!
here are the two files, i made in order to pack my custom_blue.vtf and custom_blue into my small chamber13.bsp-MAP:
my batch-file:
START "" "C:Program Files (x86)Steamsteamappscommonalien swarmbinbspzip.exe" "-addorupdatelist" "D:meine portal 2 mapsin Arbeitsmall chambersmall chamber13.bsp" "D:meine portal 2 mapscustom texturescustomzeugliste.txt" "D:meine portal 2 mapsin Arbeitsmall chambersmall chamber13.bsp"my "customzeugliste.txt" :
"materialslightscustom_blue.vtf"
"D:meine portal 2 mapscustom texturescustom_blue.vtf"
"materialslightscustom_blue.vmt"
"D:meine portal 2 mapscustom texturescustom_blue.vmt"THANKS!!
First I tried my own texture. Converted it into the valve-format, .vtf and wrote the corresponding .vmt. After several tries with "potato packer" which should pack these two files into the .bsp (mapping-help/bspzip-for-portal-2-t2396.html), it didnt work, the program made a batch-file, but it was 1 kb and didnt do anything when executed. then i tried it with the bspzip-tutorial (mapping-help/bspzip-for-portal-2-t2396.html), this worked so far that a valid batch-file was created. after beeing executed the texture still was black/pink in the map. then i thought i made sth wrong when i converted my texture, so i took a standard texture, light_orange001, and renamed it into light_orange003(which doesnt exist in the standard content). in hammer i covered several surfaces with light_orange003-of course hammer showed actually light_orange001, which i just renamed to 003. so, i thought, if i start the map, the game wouldnt be able to read the light_orange003, because its not in portal2?s standard content. so i tried to pack the light_orange003 into the .bsp via bspzip, so the game would get the texture and material directly from the .bsp, but I started the map and still the texture light_orange003 isnt found and shown as black/pink shit. The error must definitely happen when packing, but I checked everything 100 times! Is there any rule, where exactly the custom content or the .bsp I want to pack in is stored or is it enough, if all the directions are written correctly into the self-created batch file?
Is it important for you to know, that the bspzip.exe itself doesnt work if executed directly, even after deinstalling and re-installing? is that normal??
thanks a lot!!!
here are the two files, i made in order to pack my custom_blue.vtf and custom_blue into my small chamber13.bsp-MAP:
my batch-file:
START "" "C:Program Files (x86)Steamsteamappscommonalien swarmbinbspzip.exe" "-addorupdatelist" "D:meine portal 2 mapsin Arbeitsmall chambersmall chamber13.bsp" "D:meine portal 2 mapscustom texturescustomzeugliste.txt" "D:meine portal 2 mapsin Arbeitsmall chambersmall chamber13.bsp"
my "customzeugliste.txt" :
"materialslightscustom_blue.vtf"
"D:meine portal 2 mapscustom texturescustom_blue.vtf"
"materialslightscustom_blue.vmt"
"D:meine portal 2 mapscustom texturescustom_blue.vmt"
THANKS!!
Quote from Aldéz on May 20, 2011, 8:21 amI assume the material did work before you tested to embed it? Anyway, I just learned that you can make your own VPK file instead. Try that if bsp embedding doesn't work. VPK is better since you can share its content between several maps among other things. If I got it right, you can simply drag-and-drop the folder with the content onto the vpk.exe icon.
I assume the material did work before you tested to embed it? Anyway, I just learned that you can make your own VPK file instead. Try that if bsp embedding doesn't work. VPK is better since you can share its content between several maps among other things. If I got it right, you can simply drag-and-drop the folder with the content onto the vpk.exe icon.
Quote from mcdaniels on May 20, 2011, 8:23 amHey Ald?z! I updated my post....
If I want the community to see my textures, they would have to download my custom .vpk, right? that would suck...i need the infos in my map....
Hey Ald?z! I updated my post....
If I want the community to see my textures, they would have to download my custom .vpk, right? that would suck...i need the infos in my map....
Quote from msleeper on May 20, 2011, 11:58 amVPKs are basically packaged release files. You can put anything in them that the game needs to load - materials, sounds, and maps.
VPKs are basically packaged release files. You can put anything in them that the game needs to load - materials, sounds, and maps.
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 ChickenMobile on May 20, 2011, 12:28 pmI use PakRat and it's never failed for me.
It's handy cause it has an auto button where you don't need to search individually for all the custom content you put in.
I use PakRat and it's never failed for me.
It's handy cause it has an auto button where you don't need to search individually for all the custom content you put in.
Quote from msleeper on May 20, 2011, 12:37 pmHas Pakrat been updated for Portal 2? I remember it wasn't working because of a change in the BSP file format (not unheard of after a major release).
Has Pakrat been updated for Portal 2? I remember it wasn't working because of a change in the BSP file format (not unheard of after a major release).
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 ChickenMobile on May 20, 2011, 12:49 pmmsleeper wrote:Has Pakrat been updated for Portal 2? I remember it wasn't working because of a change in the BSP file format (not unheard of after a major release).I recently added a few custom textures to a .bsp not long ago. I can't remember if I downloaded an updated version. xD
I recently added a few custom textures to a .bsp not long ago. I can't remember if I downloaded an updated version. xD
Quote from msleeper on May 20, 2011, 12:57 pmI'm assuming that either it has been updated and you are using the most recent version, or you are a wizard.
I'm assuming that either it has been updated and you are using the most recent version, or you are a wizard.
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 mcdaniels on May 21, 2011, 10:17 amhow can someone else start my vpk-release? it sure has to be in portal2's vpk directory, right? so if he types in "map <my mapname>" the game will find it automatically and start the map with all the custom content inside my vpk?
how can someone else start my vpk-release? it sure has to be in portal2's vpk directory, right? so if he types in "map <my mapname>" the game will find it automatically and start the map with all the custom content inside my vpk?
