soundmud / soundrts

A real-time strategy audio game
http://jlpo.free.fr/soundrts
Other
44 stars 32 forks source link

Change the maps' naming system #27

Open sanslash332 opened 10 years ago

sanslash332 commented 10 years ago

Currently, the name of the maps are writed using the numeric codes for the letters and numbers that the creator want to use, but if the game doesn't use anymore recorded speetch, this behabior is so unefisient. You should change it to use strings as the maps name instead numeric codes, and add the option to write a small description (as a other string) for all maps. And if is posible, for the description, add the option to these have multilanguaje support. for example, in a map, using XML tag styles:

Super cross powerfull map This is a map with a cross form, and have many resourses in its center Es un mapa que posee forma de cruz en su centro, y en el medio una gran cantidad de recursos
craigbrett17 commented 10 years ago

Perhaps a more efficient system would be:

For titles, strings are ok.

For descriptions, if you want to go into multi-language support, you could make an advanced map and put the description in a tts.txt inside the relevant ui folder of your map.

I think it would be messy to start spraying XML around the map files, is all.

soundmud commented 10 years ago

Yes, I have been avoiding XML in this project anyway. The translations would be in separate files so the map hash wouldn't change if a translation is added. Anyway some multi-language support would have to be provided, if it is not too complicated.