Planetside Software Forums

General => Terragen Discussion => Topic started by: Alfamike on September 23, 2008, 09:10:08 AM

Title: Remarks in TGD?
Post by: Alfamike on September 23, 2008, 09:10:08 AM
Quick question,

Does anybody know whether and how it would be possible to add comment lines to a TGD. I.e. by prefixing text with a certain set of characters? (In a way that TG does not trip upon it.)

Thanks.
AM.
Title: Re: Remarks in TGD?
Post by: jo on September 23, 2008, 09:53:19 AM
Hi,

If you want to add this in the TGD file itself, you can use XML comments. A TGD file is just an XML file. An XML comment starts with "<!--" and ends with "-->" (no quotes). Here's an example:

<!-- Here is an example comment -->

You could also do this in clip (TGC) files as well, because they are also XML files.

Regards,

Jo
Title: Re: Remarks in TGD?
Post by: mogn on September 24, 2008, 12:10:29 AM
Thanks, I have missed that.  8)
Title: Re: Remarks in TGD?
Post by: Alfamike on September 24, 2008, 06:02:00 AM
Thank you Jo.

It's pretty handy not having to put remarks in separate files.

AM.