Planetside Software Forums

Support => Terragen Support => Topic started by: Tim O'Donoghue on January 07, 2007, 08:12:50 PM

Title: How can I create a second camera that will always appear in the default TGD file
Post by: Tim O'Donoghue on January 07, 2007, 08:12:50 PM
I'm trying to create a second camera to use as a secondary "eye in the sky" .

I can create and use a second (or more) camera, but can't quite figure out how to get it to appear when I open Terragen. I would like the second camera to always be there, even in a brand new file, without having to create a new one each time.

That leads to two possibilities:

1. edit the default.xml file

2. create a TGD file with a second camera and use it as the default.

So far, no luck with either of those. If I cahnage the default.xml file, it either does not work right and the second camera (from a clip file) is not there, or Terragen starts and closes immediately.

Any ideas on this?

Thanks!

Tim O
Title: Re: How can I create a second camera that will always appear in the default TGD file
Post by: Oshyan on January 07, 2007, 08:21:10 PM
Changing the Default.xml file is the only way to do this at present. I would load the default scene, add the camera, then save as default.tgd in the same folder as default.xml. Then close TG2, navigate to that folder in Explorer, rename default.xml to default.xml.old (or similar) and finally rename default.tgd to default.xml. Just tested this here and it works fine.

- Oshyan
Title: Re: How can I create a second camera that will always appear in the default TGD
Post by: Tim O'Donoghue on January 07, 2007, 08:33:32 PM
Ahhh! Right-e-o!

I was trying to splice it ... DOH!

Thanks, Oshyan.  8-)
Title: Re: How can I create a second camera that will always appear in the default TGD
Post by: JimB on January 08, 2007, 08:17:07 AM
Back up the original default.xml just in case you want it later  ;)
Title: Re: How can I create a second camera that will always appear in the default TGD
Post by: Tim O'Donoghue on January 08, 2007, 08:54:32 AM
Yep - did that first thing.  ;D
Title: Re: How can I create a second camera that will always appear in the default TGD file
Post by: jo on January 09, 2007, 12:43:57 AM
Hi,

I just thought I'd mention that the next TP release ( no word on when that'll be ) will have an section in the preferences which will let you choose a Project file to use for loading settings from when TG2 starts up or you create a new project. This means that you can set up TG2 how you like it, with extra cameras, a base surface map, cloud layers, whatever, save a Project file and then choose to use that for default settings. This is a much friendlier way of doing things than messing with the default.xml file.

TG Mac v0.9 has a similar feature using World files, if you're a TG Mac user.

Regards,

Jo
Title: Re: How can I create a second camera that will always appear in the default TGD
Post by: Tim O'Donoghue on January 09, 2007, 12:51:17 AM
Good deal.  Thanks, Jo!