Hey. Well, if I remember correctly, yours was a mod, right? there's a script that controls what kind of portalgun is given to the player according to the map's name: "portal2/scripts/transitions/sp_transition_list.nut". Check out this part of code inside it:
DumpMapList()
local portalGunCommand = ""
local portalGunSecondCommand = ""
local foundMap = false
foreach (index, map in MapPlayOrder)
{
if (MapPlayOrder[index] == FIRST_MAP_WITH_GUN)
{
portalGunCommand = "give_portalgun"
}
else if (MapPlayOrder[index] == FIRST_MAP_WITH_UPGRADE_GUN)
{
portalGunSecondCommand = "upgrade_portalgun"
}
else if (MapPlayOrder[index] == FIRST_MAP_WITH_POTATO_GUN)
{
portalGunSecondCommand = "upgrade_potatogun"
}
if (GetMapName() == MapPlayOrder[index])
{
break
}
}
TryDisplayChapterTitle()
if (portalGunCommand != "" && GetMapName() != "sp_a2_intro" && GetMapName() != "sp_a3_01" )
{
printl( "=======================Trying to run " + portalGunCommand )
EntFire( "command", "Command", portalGunCommand, 0.0 )
EntFire( "@command", "Command", portalGunCommand, 0.0 )
}
if (portalGunSecondCommand != "")
{
printl( "=======================Trying to run " + portalGunSecondCommand )
EntFire( "command", "Command", portalGunSecondCommand, 0.1 )
EntFire( "@command", "Command", portalGunSecondCommand, 0.1 )
}
}
// --------------------------------------------------------
// TransitionFromMap
// --------------------------------------------------------
function DumpMapList()
{
if(DBG)
{
local mapcount = 0
printl("================DUMPING MAP PLAY ORDER")
foreach( index, map in MapPlayOrder )
{
// weed out our transitions
if( MapPlayOrder[index].find("@") == null )
{
if( GetMapName() == MapPlayOrder[index] )
{
printl( mapcount + " " + MapPlayOrder[index] + " <--- You Are Here" )
}
else
{
printl( mapcount + " " + MapPlayOrder[index] )
}
mapcount++
}
}
printl( mapcount + " maps total." )
printl("================END DUMP")
}
}
You could try to alter the script if you know Vscripting (Squirrel) in order to make it give the right portalgun (or none at all) based in your maps names...