215? OB SDK? Theres your problem...

215 is for EP1, not OB. Use 218 (You can install it from the Tools 
tab)... Using 215 will only result in lots of errors and possibly a 
crash or two.

Also, mounting hl2dm gcf from the gameinfo.txt? I'm pretty sure that 
only adds that to the search path, you need to mount it manually in code 
in the init routines somewhere server/client side (both)

filesystem->MountSteamContent( -320 );


Michael Chang wrote:
> Hey all I'm having some issues getting the Orange Box scratch SDK up and
> running with my custom map and content. Here's the exact steps I've done.
>
> 1. "Create a Mod" with "start a mod from scratch" (NOT source code only).
> 2. Compiled in VS2005, with bin files copied over, no errors.
>
> At this point I ran the game, but crashes immediately, giving documented a
> [URL="
> http://developer.valvesoftware.com/wiki/OnGameRulesCreationStringChanged:_missing_gamerules_class_on_the_client"]gamerules
> error.[/URL].
>
>
> 3. Edited gameinfo.cfg to mount HL2DM GCF, edited game name to be the name
> of my Mod (in this case, titled "Scratch" as in to test the scratch sdk).
> Changed the appid from 440 to 218 (then tried 215 which worked). This
> -seems- to have fixed the gamerules error, but I also mucked around with the
> code but not sure if that took any effect.
>
> Ran the game again, game gets to the main menu.
>
> 4. Copied my map over to maps folder. This map works for sure in my other
> HL2DM mod with no additional stuff needed.
>
> Ran the game, tried to load map. Error, missing water something class,
> missing weaponcycler class.
>
> 5. Did research on these and realized you can just remove the classes
> completely. Cleanly removed classes, recompile.
>
> Ran the game, tried to load map. Black screen... seems like its taking
> forever to load. Went to console to see some network problem. The map never
> loads... just get a black screen with the main menu on top of it.
>
>
>
> Anyone have luck running the OB scratch SDK? Any of this sound familiar?
> Anyone have a solution to get it running??
>
> Thanks :)
>
> ~M
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>   


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to