PDA

View Full Version : UE2 - UT2kX Making another log file?


spongy
23rd Jun 2009, 06:16 AM
Hi all Im a research student at the university of lincoln (UK) looking into path modelling for a project that i am currently employed to do.

My question is thus; Is there a way to export some information to a seperate log file? The code i currently have exports the player location to the log file, but for the purposes of the project i kind of need the data outputted to a different log file. Is there a way of making a new file?

Thanks for any replys

elmuerte
23rd Jun 2009, 06:41 AM
use the FileLog class

spongy
23rd Jun 2009, 07:05 AM
Thanks but...
Use it how? To make another file?

Zur
23rd Jun 2009, 08:55 AM
You can extend the class. The following source for UT1 contains an example:
http://victory.hyperlink.cz/data/CSHP40-Source.zip

Wormbo
23rd Jun 2009, 09:01 AM
Azura. Stop posting UT1 examples for UT200x/UT3 questions. They simply don't apply. At all.


Thanks but...
Use it how? To make another file?
By spawning an instance and using its methods. Consult the FileLog class source for details.

Zur
23rd Jun 2009, 11:12 AM
http://farm2.static.flickr.com/1411/534354336_0d6f2c5d32.jpg

;)

spongy
24th Jun 2009, 05:30 AM
Thanks guys, your a big help, i will see what i can do and I will let you know!