Vanilla-Conquer icon indicating copy to clipboard operation
Vanilla-Conquer copied to clipboard

[RA1]Unlimited tutorial text size + map specific tutorial text

Open mvdhout1992 opened this issue 5 years ago • 2 comments

These change allow for: -unlimited size of tutorial.ini text (normally limited to 225 lines) -adding custom tutorial text to your map, overwrites the default tutorial text. Add a [Tutorial] section to your map with = as entries, e.g.:

[Tutorial] 1=Hi this is line 1 2=This is line 2

This text will, when activated via a map trigger action, be displayed in the top left of the screen.

mvdhout1992 avatar Jan 14 '21 13:01 mvdhout1992

Fixed the memory leak as discussed on Discord.

mvdhout1992 avatar Jan 14 '21 17:01 mvdhout1992

Since you're adding a global and changing the old one. Would it make sense to move this into SessionClass or something where it's scoped better?

I'd put it in ScenarioClass if anywhere.

mvdhout1992 avatar Feb 02 '21 22:02 mvdhout1992