Saved Game Feature
by Jacob Dankovchik · in Torque Game Engine · 05/17/2004 (11:24 am) · 6 replies
I really nned this for my game, however as far as i know, there is no save game funtion in torque, and i havent seen any info on how to get one in.. Anybody know where i could get some help for this? Thanks.
About the author
#2
05/17/2004 (11:38 am)
You could also use strings to store information in a raw file.
#3
05/17/2004 (3:52 pm)
Ooo.. thank thank.. got it saving the file, now how do i load it tho? Thats all i need i know now.. lol
#4
Create objects of the type you stored and stuff the information into them again.
05/17/2004 (10:24 pm)
The opposite of how you saved it. ;)Create objects of the type you stored and stuff the information into them again.
#5
05/19/2004 (2:26 am)
Argh.. sorry for the stupidity here, but i still dont get loading it.. :/ Sry, im just really knew at this still.. Could ya maybe just show wot i'd use for it? Like the bit of script they give to save, got that, but could ya maybe just show me wot it'd be for load? Thanks.. sry for the ignorance on it too.. :/
#6
This is not your traditional savestate stuff though.
05/19/2004 (8:59 am)
// Save
%foo = new SimObject();
%foo.save("file.cs");
// Load
exec("file.cs");This is not your traditional savestate stuff though.
Torque Owner Bryce "Cogburn" Weiner
Enjoy :)