Please or Register to create posts and topics.

How to: get a bigger font in the developer console

PreviousPage 2 of 2

those extra paths i used are just backup in case the game doesn't load them.
P.S I tested the paths order, it doesn't matter, apparently to the game or hammer. It stills loads it in the same order

Apparently, there's some hardcoded behavior going on here. My experiments have revealed the following:

The gameinfo.txt file isn't needed in the portal2_dlc2 directory. The pak01_dir.vpk is needed. gameinfo.txt isn't needed in portal2_dlc1 either, but since Valve put it there, I see no reason to remove it. gameinfo.txt is required in the portal2 directory, Steam won't even start the game without it. gameinfo.txt is required for everything you put in the sourcemods folder, Steam won't even list the mod without it.

If you have a directory named portal2_dlc3 without one named portal2_dlc2, it doesn't get loaded. Apparently, they must be sequentially numbered.

They must be called portal2_dlc#. Any other directory name I've tried doesn't get added to the path.

The paths are searched in reverse dictionary order. This means update will take precedence over everything.

Expand for my full signature
[spoiler]My YouTube Channel: Please subscribe!
My Steam Workshop Check out my collections for some good maps
Basic Mod for playing .vpk files Needs to be updated for dlc2, but still works[/spoiler]
spongylover123 wrote:
those extra paths i used are just backup in case the game doesn't load them.
P.S I tested the paths order, it doesn't matter, apparently to the game or hammer. It stills loads it in the same order

It does matter (in terms of overriding) because the topmost one is read first, and if something is found there it's ignored in everything below it (ie if portal2_dlc1 is in front of portal2, if the game finds it in the dlc folder it doesn't load it from portal2.) This is how it has worked for ages, so I don't think it'd change now.

ofc p2 dlcs are hardcoded, and thus don't apply to the sourcemod methods, but it's still applicable in portal 2's gameinfo.txt.

Image

meh

just use a magnyfing glass; its easier

PreviousPage 2 of 2