-- [ Picked text/plain from multipart/alternative ] Hi, I'm trying to work on a HUD element that catches different events and displays a message for each event. My inspiration on how to accomplish this nicely came from taking a look at the notification res files for TF2. I have my HUD element inheriting from EditablePanel instead of Panel so I can load the control settings. I have also created a base_message.res and then some message_blah.res files. One example is: #base "base_message.res"
"Resource/UI/messages/message_scientist_captured.res" { "Message_Label" { "labelText" "#SI2_Scientist_Captured" } } However, when I try to load the files that aren't the base file, I always get the error in the console: KeyValues Error: LoadFromBuffer: missing { in file Resource/UI/messages/message_scientist_captured.res or similar depending on the file. I'm not really sure what's wrong because as far as I can see, I'm not missing any {. Any help would be appreciated. Thanks, Garrett ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders