View Full Version : Saving maps in game
07-13-2003, 07:20 PM
I'd like to save a map in - game, so it would remember all actors placed in the map after the game started. The map name would be different that the one I'm playing (DM-Thismap_copy01) but the new file would remember all actors placed in it.
07-15-2003, 02:53 AM
I'm an unrealscript newb, but couldn't you output the positional/directional data for all placed objects to a text file, then load them in with the prebeginplay function?
it'd be space-friendly and achieve the same effect.
07-15-2003, 11:31 AM
I'd need to know how to write to a file in uscript...
07-16-2003, 07:25 AM
log("var A ="$varA$" var B ="$varB); //etc
The output would be
var A=10 var B=20
'$' are for concantination.
07-17-2003, 12:28 PM
log only write to the log file, I don't think that will really help ;)
If you use the forum search option, there was a thread before about saving the status of a map. A special actor was used to save the status of all actors in the map in the ini file.
Just use the search option :p
07-17-2003, 02:50 PM
I solved the problem using ut2003.log and external log parser... :up:
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.