For some of the models the script looks in the wrong place for the .vmf file and adds some numbers to the .vmf that it is looking for.
These are the pictures of the list of files it is lookings for and where they acutaly are. The second image is my settings to make sure everything is configures correctly.
Looking forward to your help. :+1:
This is done because of how Source handles cubemaps for reflections, I believe. It's a pain, but what I did was copy/paste the original file, and rename it to fit.
These files are in a zip inside the bsp file. You should unpack them with GCFScape.
Thank you. Got it working but some of the models are still missing and the clock is mis placed.
You still haven't filled out all of the materials in the WorldManager. That's the cause of the source argument error. Try that out.
What materials are that? Where are they on the world manager menu?
List of models the are visible: Bed Walls Doors Center of Button Cube dropper
Non visible or not there: Auto portal frame mini stone table check board radio button holder/outer circuit line from button to door all parts of the elevator
Objects you can walk through: Doors "Glass" if it is there is has no refraction effect so it is invisible
Glitchy stuff: Countdown clock is on the wrong wall and misaligned.
Fixed some of the problems by setting the transparent cut out. What do I set the vertex lit material to?
Diffuse
These files are in a zip inside the bsp file. You should unpack them with GCFScape.
I've commited a pull request to fix this issue, removing this step altogether.
#5 This is just a workaround. As a result, we lose all the information about cubemaps. The right solution to the problem is to make loading materials from the zip archive from bsp.
Fixxed almost all of the problems now!!
-
The test chamber sign is improperly displayed
-
The clock holder is misaligned
-
When I click stop play it removes the map. How can I stop this so I can edit it such as adding physics to objects etc?
How can I fix these?
Picture one is bad sign and misaligned clock
Picture two is configuration and debug console
Extra problem: I can still walk through most 3d models such as the doors and elevator.
- Testchamber Signs are complex (https://developer.valvesoftware.com/wiki/Custom_Testchamber_Signs)
- MDL loader is unfinished. Can on some files fail root bone rotation.
- Script creates all meshes and objects in runtime and stores them only in RAM. For editing, they must first be exported. Started writing collada exporter, but doesn't finish.
- Same to 2nd, mdl loader doesn't load collision files.
How much of the exporter is done and how long do you think it will take? I would like to be able to use it by Christmas.
Done only vertices and UVs, without materials and objects.
how long do you think it will take
Well, forever. It was abandoned almost two years ago.
Well damn. Is there a way you could edit the script loader so it adds the objects as permanent objects? Like loading the materials and models into a permanent folder(PortalProject/Objects). Or what if I got you like 10 professions to assist you with finishing the exporter?
Throwing people at it would certainly help (provided they're paid well), but it's not really worth it. I suggest recreating it in probuilder, because the way Source does maps is really wonky compared to Unity.
Check this out. https://www.reddit.com/r/Unity3D/comments/a0dy17/can_we_get_some_people_to_help_with_a_project/?
Also what do you think of my first recommendation?
Those aren't really experts, I doubt someone in their spare time would work on a project like this without any monetary incentive. I'm sorry, but your best choice is to rebuild the map completely. Otherwise, shadows and such are broken.
Damn. Tbh I don't really care if shadows are broken.