Video in the elevator does not work after update

Avatar
Tullio
31 Posts
Posted May 20, 2012
Replied 8 hours later
great josepezdj

Following your instructions I was able to run the elevators and video work perfectly if I start the map from Hammer or file namemap.bsp.

To be safe I changed the names of the files I changed:

my_video_splitter.nut
instances/turbine_elevator/arrival_elevator_a4_logic_mod2.vmf
instances/p2editor/elevator_exit_mod.vmf
instances/p2editor/elevator_departure_logic_mod.vmf

I have included all the files in the. Bsp with Pakrat and I published the files on workshop with p2map_publish.exe.

I downloaded and installed the map on Portal 2 and I removed the file my_video_splitter.nut.
Videos are not seen in the elevator.

I do not know, obviously I could not use because Pakrat the file. Nut does not seem integrated. Bsp

:sigh:

Advertisement
Registered users don’t see ads! Register now!
Avatar
Kasc
77 Posts
Posted May 20, 2012
Replied 2 hours later
Is it fairly easy to include these scripts with your release?
Avatar
Tullio
31 Posts
Posted May 20, 2012
Replied 20 minutes later
The problem is that files published in the workshop working on the new video_splitter.nut.
with pakrat not been able to integrate the old video_splitter.nut
If I replace with the new, work in the workshop videos randomly ignoring the requests of the given video in instances/p2editor/arrival_departure_transition_ents.vmf
Avatar
CosmicD
125 Posts
Posted May 20, 2012
Replied 26 minutes later
I have also tested the "easy" method for sourcemod mods. And it luckily seems to just prioritize the old video splitter if you just put it in the sourcemods/yourmod installbase's vscripts folder.

PFEW :smile:

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted May 21, 2012
Replied 9 hours later
Hmmm... now that you mentioned, I remember there are some threads about embedding .txt, .bik or .nut files into the bsp... It seems that these files are loaded by the game in an ealier step, when launching, so every one needs to place the files in their right folder as the game will not load them from inside the bsp, but from their usual folder.

There would be no other way than to attached the new "my_video_splitter.nut" with the bsp and tell players to place it in its right folder before playing the map.

... That or make a portal2_dlc3 new folder to place all the custom stuff there... This folder will be taken by the game as the main path, then dlc2, then dlc1, then portal2...

Referenced Links:

http://forums.thinking.withportals.com/mapping-help/packing-bik-and-scripts-with-pakrat-t5839.html

http://forums.thinking.withportals.com/mapping-help/custom-sp-lightboard-icons-txt-in-a-map-t5726.html