custom scripts/transitions/multiple levels

Avatar
Hzamd
61 Posts
Posted May 23, 2012
Wazzup everyone :thumbup:
got a few questions here :
-I will try to upload my first map in the workshop ( don't worry I made several with Hammer) and here is my question : do you got any tutorial to export an hammer map in the workshop ?
- Is it possible to put custom stuuf in ? (such as scripts, ents, func...) I have heard about a program, but I forgot the name and the way to use it.
- Can we add multiple levels in once ? Or we must put them one by one ? If it's possible, could we link them with transition scripts ?

Thx for your future repiles ! :notworthy:

Advertisement
Registered users don’t see ads! Register now!
Avatar
zivi7
649 Posts
Posted May 23, 2012
Replied 45 minutes later
You should have found this easily when searching the forum, but anyway:

To publish custom maps to the Workshop, use p2map_publish.exe in the folder \Steam\SteamApps\common\portal 2\bin\

Afaik you can have all the custom stuff in it you want. I don't know if level transitions work or if you have to upload the levels seperatly.

Avatar
UsCobra11
272 Posts
Posted May 23, 2012
Replied 3 minutes later
Before you run p2map_publish.exe, you have to put a global_pti_ents instance somewhere in your map. It's in one of the instance folders, I can't check right now, I'm not at home (but the name should be related to PTI)
Avatar
Hzamd
61 Posts
Posted May 23, 2012
Replied 1 hour later
Thx a lot :thumbup:
And, what about transitions and the way to add custom scripts ? i don't think they fix the .vpk
Avatar
ChickenMobile
2,460 Posts
Posted May 24, 2012
Replied 15 hours later

Hzamd wrote:
Thx a lot :thumbup:
And, what about transitions and the way to add custom scripts ? i don't think they fix the .vpk

Pakrat.

Avatar
Lpfreaky90
2,842 Posts
Posted May 24, 2012
Replied 46 minutes later

chickenmobile wrote:
Hzamd wrote:

Thx a lot :thumbup:
And, what about transitions and the way to add custom scripts ? i don't think they fix the .vpk

Pakrat.

vpk's aren't working atm indeed.

The best way to do a series of maps in the workshop is to create a collection and have each level just end with the default pti elevator.

Avatar
josepezdj
2,386 Posts
Posted May 24, 2012
Replied 6 hours later

chickenmobile wrote:
Hzamd wrote:

Thx a lot :thumbup:
And, what about transitions and the way to add custom scripts ? i don't think they fix the .vpk

Pakrat.

Well, this has been discussed before in some other threads, pakrat's weakeest part is right that (well, not really pakrat's fault, but the way the source engine works): embedding the scripts (sp_lightboard_icons.txt, sp_transition_list.nut...those won't be load from inside the bsp as the engine load them before loading any map, so you should place the custom ones into their right paths before running the map)

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

Avatar
ChickenMobile
2,460 Posts
Posted May 24, 2012
Replied 9 hours later
I DO KNOW that you can pack scripts (.nut) inside the bsp and they will work, however .bik files don't seem to work for me.

When Pakrat says to fix the path up for you, always say yes.

Avatar
josepezdj
2,386 Posts
Posted May 25, 2012
Replied 5 hours later

chickenmobile wrote:
When Pakrat says to fix the path up for you, always say yes.

I do know that you have to say yes, obviously... I'll do some test with .nut files to check. If you say so, then it has to be...

Avatar
Lpfreaky90
2,842 Posts
Posted May 25, 2012
Replied 2 hours later

josepezdj wrote:
chickenmobile wrote:

When Pakrat says to fix the path up for you, always say yes.

I do know that you have to say yes, obviously... I'll do some test with .nut files to check. If you say so, then it has to be...

I think that you can add scripts, like chicken said, but you can't overwrite scripts by packing them.

Avatar
josepezdj
2,386 Posts
Posted May 25, 2012
Replied 44 minutes later
I was only stating that the scripts files cannot work even if packed into the bsp because of what was discussed in this thread

I'm assuming that Tullio did correctly what he described in that thread, but I will tesst it myself, just in cases.

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted May 25, 2012
Replied 1 hour later
Unless of course maps uploaded to the workshop behave differently. I've send maps to other people with scripts inside them and they have had no trouble.