What I want:
1. When player chooses a slot to save game in, a Name Input prompt is shown, similar to when you name an actor
2. Input is saved (somewhere) and displayed on its respective slot in the save scene.
3. Must be compatible with Ace Save Engine
4. Actual filename doesnt matter, those can remain as Save1 and so on
Possible solutions:
- Have an unused placeholder actor in the database. When saving, you actually name that actor and then simply display his name on the savefile. Stupid enough to work?
I have this snippet, but it takes the name of current leader instead of actor with id 0, and I don't know how to change that.
I'm aware of this Savefile Naming, but it requires other keyboard scripts, which I don't need and which didn't really work out well
1. When player chooses a slot to save game in, a Name Input prompt is shown, similar to when you name an actor
2. Input is saved (somewhere) and displayed on its respective slot in the save scene.
3. Must be compatible with Ace Save Engine
4. Actual filename doesnt matter, those can remain as Save1 and so on
Possible solutions:
- Have an unused placeholder actor in the database. When saving, you actually name that actor and then simply display his name on the savefile. Stupid enough to work?
I have this snippet, but it takes the name of current leader instead of actor with id 0, and I don't know how to change that.
Code:
class Window_FileList < Window_Selectable
def draw_item(index)
header = DataManager.load_header(index)
enabled = !header.nil?
rect = item_rect(index)
rect.width -= 4
draw_icon(save_icon?(header), rect.x, rect.y, enabled)
change_color(normal_color, enabled)
header = DataManager.load_header(index)
if header.nil?
text = sprintf(YEA::SAVE::SLOT_NAME, (index + 1).group)
else
text = sprintf(header[:party].members[0].name)
end
draw_text(rect.x+24, rect.y, rect.width-24, line_height, text)
end
end
I'm aware of this Savefile Naming, but it requires other keyboard scripts, which I don't need and which didn't really work out well