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.
1
Re: Comments in VMF's
Posted by coge balas on Tue Oct 25th at 11:29pm 2005
Posted by coge balas on Tue Oct 25th at 11:29pm 2005
coge balas
member
17 posts
2 snarkmarks
Registered: Mar 12th 2005
Location: U.S.
Occupation: Student
member
17 posts
2 snarkmarks
Registered: Mar 12th 2005
Location: U.S.

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

Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands
Occupation: Game-programmer
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?
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?
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Re: Comments in VMF's
Posted by coge balas on Wed Oct 26th at 12:34am 2005
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.
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.
coge balas
member
17 posts
2 snarkmarks
Registered: Mar 12th 2005
Location: U.S.
Occupation: Student
member
17 posts
2 snarkmarks
Registered: Mar 12th 2005
Location: U.S.

Occupation: Student
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0219 seconds.

Snarkpit v6.1.0 created this page in 0.0219 seconds.

