Run my map when "new game" is pressed -1 reply

Please wait...

amit1234

Slightly cooler than a n00b

50 XP

18th January 2006

0 Uploads

34 Posts

0 Threads

#1 11 years ago
I have created a single player map on a mod based on half-life2 game.
I want to run the map when the user press the "new game" option.
Does anybody know how do I do that?



Guest

I didn't make it!

0 XP

 
#2 11 years ago

Open GameMenu.res in your SourceMods/YourMod/resource/ folder (with Text-Editor) There you may edit the following line: "5" { "label" "#GameUI_GameMenu_NewGame" "command" "OpenNewGameDialog" "notmulti" "1" }You may change the command with any console-command you know(I think)...for example: "5" { "label" "#GameUI_GameMenu_NewGame" "command" "map MyModMap" "notmulti" "1" } Hope it works(just thought i theoreticly because I made my own mod once)...




amit1234

Slightly cooler than a n00b

50 XP

18th January 2006

0 Uploads

34 Posts

0 Threads

#3 11 years ago

Thanks I will check it