Single player hub

Single player hub

Postby FunWithGamesPL » Thu Aug 16, 2018 5:24 am

I have a question, how would i go about making a single player hub. I already made a map with doors and after the doors is a point_servercommand with a changelevel command. The problem is how do i make the game remember which levels have been completed. I plan it to be 5 doors, 4 unlocked from the start and 1 locked which unlocks after beating all the previous ones.

EDIT:
I also have another problem i want the single player button to load a map but for some reason it does nothing, here's the code for the button:
"BtnPlaySolo"
{
"ControlName" "BaseModHybridButton"
"fieldName" "BtnPlaySolo"
"xpos" "88" [$GAMECONSOLE && ($GAMECONSOLEWIDE && !$ANAMORPHIC)]
"xpos" "63" [$GAMECONSOLE && (!$GAMECONSOLEWIDE || $ANAMORPHIC)]
"xpos" "88" [!$GAMECONSOLE && $WIN32WIDE]
"xpos" "63" [!$GAMECONSOLE && !$WIN32WIDE]
"ypos" "310" [$GAMECONSOLE]
"ypos" "288" [!$GAMECONSOLE]
"wide" "280"
"tall" "20"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"navDown" "BtnOptions"
"labelText" "Play!"
"style" "MainMenuButton"
"command" "map (the map name)"
"ActivationType" "1"
"FocusDisabledBorderSize" "1"
}
FunWithGamesPL
i dont know what brush is but i herd it alot
 
Posts: 1
Joined: Aug 16, 2018

Registered users don't see ads! Register now!
 

Return to Hammer and Modding



Who is online

Users browsing this forum: No registered users and 1 guest

cron

Search the Forums

User Menu

Register
Login

Login