A late reply, but here it is. In our 2007 based version the first line in SourceScheme.res read "#base "../../hl2/resource/SourceScheme.res"". For 2013 based mods this necessarily has to be "#base "SourceSchemeBase.res"". Not only the base filename has changed, there also must not be any change in the path to the base file as previously done with ../../.
Jan Von: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] Im Auftrag von Jan Hartung Gesendet: Freitag, 5. Juli 2013 20:52 An: 'Discussion of Half-Life Programming' Betreff: [hlcoders] After mod startup just the menu background and music Breaking news: it’s fixed. I checked which files I removed from the project and decided that none of those could possibly causing this issue. So I started fiddling around with the .res files and it turns out it’s the SourceScheme.res file. When I rename it so it cannot be loaded from the game, everything’s fine (except the fonts, colors and sizes, but that’s a minor issue). Once I know which specific setting caused the issue, I’ll let you guys know. Now it’s down to some datatable issues, but that should be easily fixable. Jan Von: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] Im Auftrag von tobias.kammersga...@gmail.com Gesendet: Freitag, 5. Juli 2013 19:58 An: Discussion of Half-Life Programming Betreff: Re: [hlcoders] After mod startup just the menu background and music What does logging the console, and just starting to the main menu give? Could you show us a Picture of this bug (I doubt its interesting, but I’d like it either way). Are you doing anything related to custom VGUI in your mod? - ScarT From: Jan Hartung Sent: Friday, July 5, 2013 7:54 PM To: 'Discussion of Half-Life Programming' An update on this: when I compile the demo project and load it up, it works. With our mod, I can still type commands into the console, although it’s just a white rectangle. Obviously the engine still knows where the controls are and what they oughtta do. Anyway, I can start a game with the command “map <mapname>”. Ran the game with console logging, so I now know that our gamerules are being loaded and installed just fine, our models get preloaded and so on. The thing is: even after the map has loaded I still see the main menu background and the white rectangle that is the console. I’m starting to believe that I must have made a minor mistake in maybe just one of the classes. Looks like the game just has no target to draw the menu and actually rendered world on. Any help on this would is appreciated. Jan Von: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] Im Auftrag von Jan Hartung Gesendet: Freitag, 5. Juli 2013 01:21 An: 'Discussion of Half-Life Programming' Betreff: Re: [hlcoders] After mod startup just the menu background and music Yes, Source SDK Base 2013 Multiplayer loads up just fine and I can run the benchmark without any problems. My gameconfig.txt is exactly the same as in mp/game/mod_hl2mp, except that I changed the game name, removed the “nomodels”, “nohimodel” and “nocrosshair” lines. I also added the “developer”, “developer_url”, “manual” and “icon” lines. Everything below that (starting with “hidden_maps”) is exactly the same as in mp/game/mod_hl2mp/gameinfo.txt. Jan Von: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] Im Auftrag von tobias.kammersga...@gmail.com Gesendet: Freitag, 5. Juli 2013 00:05 An: Discussion of Half-Life Programming Betreff: Re: [hlcoders] After mod startup just the menu background and music Did you launch the Source SDK Base 2013 Multiplayer at least once? - ScarT From: Jan Hartung Sent: Thursday, July 4, 2013 10:28 PM To: Discussion of Half-Life Programming Hi list, Maybe a rather dumb question here, but I cannot figure it out. I’m done porting our code to the 2013 SDK, got rid of a few edits to Valve files along the way and had a not so nice time excluding files from the build and adding some from the “sdk” folders as our ones to fix compiler and linker errors. Pretty much the same as everyone else here I guess. And here’s the problem: everything compiles well (except phonemeextractor, but we don’t need it) but when I run our mod now, the only thing I see and hear is our menu background and menu music. No buttons whatsoever, when I start the game with –console the console comes up as a full white rectangle with a submit button on the lower right and a missing texture on the upper left. I’m pretty sure that’s down to my gameinfo.txt, as I just changed the name at the top. So, how would the gameinfo.txt for 2013 multiplayer look like in case my mod was installed in sourcemods/mymod? Or may something else be wrong, causing the empty menu? Jan
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders