the old scripts in the community wiki are outdated versions...
I didn't find the "os.rename" code in the old wiki, but in the LUA 5.1 reference manual.
The problem is that I just can't find the answers I'm looking for. I'm willing to create my game by myself but I can't, and it is frustrating. I think all the infos about VS are dispatched here and there on too many different pages, and it really misses a better organisation in the wiki to make things clear for beginners. Maybe you
[not "you = Afrlme", but "you = the VS team"] should get inspiration from the
Adventure Maker support /My own opinion.
Why would you want to rename a screenshot?
(The os.rename code works, I tried. So why not using it ?)
I'm trying to find by myself how to make my own Save Menu, without bothering you everytime I have a question. The tutorial by GlenFx is good, but as explained before I want the player to choose the slot where to save (and not saving in the first available slot). As a result I can't use the Save function, and I have to use the Autosave (quicksave). And so, everything has to be built manually (create and display screenshot in the slot, with date and time).
Maybe it's easy or obvious for several people here to create a quicksave menu with thumbnails, but not for me. So I have to try and experiment various things ! This is the main reason why I want to rename a screenshot.
Now, explanations :
- My main idea is to create a single screenshot "save_1.png" once, everytime I load my Save Menu with F1.
- Then in the save menu, I want to display another picture called "slot1.png" in the slot 1, a "slot2.png" in the slot2, etc... I want each picture to be in the good slot
- The first time you play, when there's no savegame at all, the slotx.png is a blank picture. Then it is replaced by the save_1.png
--> So my idea is to rename the created "save_1".png into "slotx.png" if I want to display it in slot x.
Don't know if it's clear...