Comments in VMF's

Comments in VMF's

Re: Comments in VMF's Posted by coge balas on Tue Oct 25th 2005 at 11:29pm
coge balas
17 posts
Posted 2005-10-25 11:29pm
17 posts 2 snarkmarks Registered: Mar 12th 2005 Occupation: Student Location: U.S.
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.
Re: Comments in VMF's Posted by Captain P on Tue Oct 25th 2005 at 11:42pm
Captain P
1370 posts
Posted 2005-10-25 11:42pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
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?
Create-ivity - a game development blog
Re: Comments in VMF's Posted by coge balas on Wed Oct 26th 2005 at 12:34am
coge balas
17 posts
Posted 2005-10-26 12:34am
17 posts 2 snarkmarks Registered: Mar 12th 2005 Occupation: Student Location: U.S.
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.