Comments in VMF's
Post Reply
Quote
Re: Comments in VMF's
Posted by coge balas on Tue Oct 25th at 11:29pm 2005


Is it possible to put a comment in VMF source code? I've tried the normal cpp double slashes and that doesn't seem to mess it up.

This would be very handy for a project using version control.




Quote
Re: Comments in VMF's
Posted by Captain P on Tue Oct 25th at 11:42pm 2005


You could use a Point_message set to only show up for developers, and check for that entity in the .vmf and read it's message text.
But if comments don't mess up, then I think that's fine to use. My suggestion would probably be easier if you let that version control be done by a program or such.

As for version control, I just save to another filename, for example, mapname_v1, mapname_v2. Works like a charm for me so far. Wouldn't that be even easier?






Quote
Re: Comments in VMF's
Posted by coge balas on Wed Oct 26th at 12:34am 2005


I meant version control as in this.

Well, I already had version numbers going in the filenames, and Subversion will keep track of edit history and logs (if I can get the team to make entries more than two sentences long.)

I really wanted comments in the VMF's for things such as scene summaries or to-do lists. I'll just make a second text file with the same filename as the map, I don't want to worry about messing things up.





Post Reply