Jump to content


Photo

Whoa that's really cool

Saving

  • Please log in to reply
11 replies to this topic

#1 Serenity09

Serenity09

    Private


Posted 08 June 2013 - 07:30 PM

Hiya Fortress Survival peeps

so i just played this game and it was awesome. you can really tell that you all put a lot of effort into getting the difficulty curve and timings to a specific (and fun) point

 

i make maps too and i like to think that im pretty good at it, but i had no idea there was a public way to create directories or txt files from within wc3. thats really really cool. i have a soft-spot for mazing type games and so recently ive been making a "in game" maze designer game and i was playing around with it being really cool to allow players to save their maze (terrain, units, patrol info and all) but then it just completely falling through when you realize how much info thatd be to hash into smaller codes and having the players write down each. but with the ability to do what you guys do, it would be possible. so if you guys would be nice enough to help in an opensource kinda way it would be very much appreciated. or if this question has been asked a million times already, linking me to the thread. i tried searching but didnt see anything



#2 Serenity09

Serenity09

    Private


Posted 13 June 2013 - 11:42 AM

nvm i found it

for anyone else who has the same question:

function CreateLog takes nothing returns nothing
    call PreloadGenClear()
    call PreloadGenStart()

call Preload("\")

//Copy/paste everything below

function Hello takes nothing returns nothing
    local integer i = 0
    call RemoveUnit(Unit[i])
endfunction

//End Code")
    call PreloadGenEnd("Folder\\Testfile.txt")
endfunction

http://www.hiveworks...aft-iii-230866/


  • Nevo likes this

#3 Jem

Jem

    Dedicated Survivor


   

Posted 14 June 2013 - 08:13 AM

Oh, hi Serenity09! ^-^



#4 yungyungyung

yungyungyung

    Dedicated Survivor


   

Posted 21 June 2013 - 04:31 AM

I think you post at wrong section..



#5 Jem

Jem

    Dedicated Survivor


   

Posted 23 June 2013 - 12:14 AM

I think you post at wrong section..

I'm getting confused if it is supposed to be in the "General Discussion" or here.



#6 Serenity09

Serenity09

    Private


Posted 24 June 2013 - 12:54 PM

good talk guys



#7 Waffle(est)

Waffle(est)

    Dedicated Survivor




   

Posted 24 June 2013 - 01:13 PM

for true awesomness see: http://www.hiveworks...ncluded-226082/

 

included is a functional test map that keeps track of units state across games with no player interaction. (saves once pre second and automatically loads)



#8 Zer0o

Zer0o

    Dedicated Survivor


     

Posted 25 June 2013 - 08:05 AM

That's actually the auto save/load we used in a previous version of FS XD It didnt really work like we thought it would so Niwa changed it to a code which has to be typed in to work. Alot of players dont have the file which is required for it to work and the loading actually takes about 1 minute which was just way too long since the players aren't able to do anything during that time so he changed it.



#9 Waffle(est)

Waffle(est)

    Dedicated Survivor




   

Posted 26 June 2013 - 04:23 PM

Well.. the test map is pretty much instant...
maybe there is some stupid little thing in how it is implemented in FS that ruins the efficiency..



#10 Serenity09

Serenity09

    Private


Posted 26 June 2013 - 11:00 PM

it might just be caused from trying to load local files from players who havent enabled it. i could see it just being how badly wc3 handles errors

 

easy enough to test, try it on FS with just yourself

 

or if you were doing it on map init, probably that


Edited by Serenity09, 26 June 2013 - 11:01 PM.


#11 Zer0o

Zer0o

    Dedicated Survivor


     

Posted 27 June 2013 - 12:18 AM

Nestharus, the guy who made the system even helped Niwa with the implemention and it worked. The loading time was just too long due to the map size or something, I dont know anymore tbh but we couldnt change it. We actually thought about doing a little mini game where you run away from a horde of zergs and control your builder with the arrowkeys since you cant use your mouse when the system loads.. but we just implemented a standard save/load system in the end since it was pretty much unnecessary.



#12 Waffle(est)

Waffle(est)

    Dedicated Survivor




   

Posted 27 June 2013 - 03:50 PM

aww...






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users