E
Ehkber
Guest
Hi! I recently created a little system for visual novel-style cutscenes that works by reading values from an .ini file like a play script. It looks like this:
It works pretty well but I have one problem that's impeding my efficiency; it requires every section to be manually numbered.
Every time I write one of these things I either accidentally repeat a number or decide I want to break up a section and have to renumber everything after that point.
I didn't find anything like this in the .ini section of the manual, but can anyone think of a way where I can count through the sections of an ini file in the order they're written in? I'd love if if I could just leave the sections blank and write without having to think about what number 'scene' I was on.
Thanks in advance for any help!
Code:
[1]
S = Justina
T = Is nine fifty seven. Do we risk turning off the grill?
A1 = Justina
A2 = Dee
A1Flip = true
A1x = 400
A2x = 0
A1i = 0
A2i=0
[2]
S = Dee
T = "If ten bloody years at this job has taught me anything it's that nine fifty seven is the perfect time for some drunk guy to decide he wants a burger.#Peak moron time y'getme. "
A1Flip = false
A2 = Dee
A2x = 550
A2i = 1
[3]
S = Justina
A1Flip = 1
T = I see. I see.
Every time I write one of these things I either accidentally repeat a number or decide I want to break up a section and have to renumber everything after that point.
I didn't find anything like this in the .ini section of the manual, but can anyone think of a way where I can count through the sections of an ini file in the order they're written in? I'd love if if I could just leave the sections blank and write without having to think about what number 'scene' I was on.
Thanks in advance for any help!