News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 23rd Jun 2009, 05:16 AM   #1
spongy
Registered User
 
Join Date: Jun. 17th, 2009
Posts: 17
Lightbulb Making another log file?

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
spongy is offline   Reply With Quote
Old 23rd Jun 2009, 05:41 AM   #2
elmuerte
Master of Science
 
elmuerte's Avatar
 
Join Date: Jan. 25th, 2000
Location: the Netherlands
Posts: 1,936
use the FileLog class
elmuerte is offline   Reply With Quote
Old 23rd Jun 2009, 06:05 AM   #3
spongy
Registered User
 
Join Date: Jun. 17th, 2009
Posts: 17
Thanks but...
Use it how? To make another file?
spongy is offline   Reply With Quote
Old 23rd Jun 2009, 07:55 AM   #4
Zur
surrealistic mad cow
 
Zur's Avatar
 
Join Date: Jul. 8th, 2002
Posts: 11,679
You can extend the class. The following source for UT1 contains an example:
http://victory.hyperlink.cz/data/CSHP40-Source.zip
__________________

Zur is offline   Reply With Quote
Old 23rd Jun 2009, 08:01 AM   #5
Wormbo
 
Wormbo's Avatar
 
Join Date: Jun. 4th, 2001
Location: Germany
Posts: 5,783
Azura. Stop posting UT1 examples for UT200x/UT3 questions. They simply don't apply. At all.


Quote:
Originally Posted by spongy View Post
Thanks but...
Use it how? To make another file?
By spawning an instance and using its methods. Consult the FileLog class source for details.
__________________
Wormbo's UT/UT2004/UT3 mods | YouTube channel | PlanetJailbreak/JDN | Unreal Wiki | Liandri Archives
Everything you ever wanted to know about replication| UnrealScript security considerations
<elmuerte> you shouldn't do all-nighters, it's a waste of time and effort
<TNSe> nono
<TNSe> its always funny to find code a week later you dont even remember writing
<Pfhoenix> what's worse is when you have a Star Wars moment
<Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!"

Last edited by Wormbo; 23rd Jun 2009 at 08:02 AM.
Wormbo is offline   Reply With Quote
Old 23rd Jun 2009, 10:12 AM   #6
Zur
surrealistic mad cow
 
Zur's Avatar
 
Join Date: Jul. 8th, 2002
Posts: 11,679


__________________

Zur is offline   Reply With Quote
Old 24th Jun 2009, 04:30 AM   #7
spongy
Registered User
 
Join Date: Jun. 17th, 2009
Posts: 17
Thanks guys, your a big help, i will see what i can do and I will let you know!
spongy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:46 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer