Announcement

Collapse
No announcement yet.

Saving maps in game

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Saving maps in game

    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.

    #2
    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.

    Comment


      #3
      I'd need to know how to write to a file in uscript...

      Comment


        #4
        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.

        Comment


          #5
          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

          Comment


            #6
            I solved the problem using ut2003.log and external log parser... :up:

            Comment

            Working...
            X