View Full Version : Saving maps in game
legacy-Doc_EDo
07-13-2003, 06: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.
legacy-MeanFish
07-15-2003, 01: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.
legacy-Doc_EDo
07-15-2003, 10:31 AM
I'd need to know how to write to a file in uscript...
legacy-Sett
07-16-2003, 06:25 AM
log("var A ="$varA$" var B ="$varB); //etc
eg.
varA=10;
varB=20;
The output would be
var A=10 var B=20
'$' are for concantination.
legacy-Vir@s
07-17-2003, 11:28 AM
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
legacy-Doc_EDo
07-17-2003, 01: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.