Page 1 of 1

What does 'author' do in levelinfo.conf of level_groups?

Posted: Thu Aug 24, 2006 12:27 pm
by Tomi
I have a question for people who know much about RnD inner workings and source code.
Does Rocks'n'Diamonds somewhere use the 'author' from levelinfo.conf files which have "level_group:true"? Would everything work as before if I removed all 'author' lines from those files?

Posted: Thu Aug 24, 2006 2:48 pm
by Holger
> I have a question for people who know much about RnD inner workings
> and source code.

That's me, I think... ;-)

> Does Rocks'n'Diamonds somewhere use the 'author' from levelinfo.conf
> files which have "level_group:true"?

Yes, it does! It uses them as the default author information for all subsequent level sets and single levels in that level group, if no author field is specified there.

> Would everything work as before if I
> removed all 'author' lines from those files?

As long as all level sets in that group specify an "author" field, yes.

If any level set misses this field, and the single levels also have no author field, "Unknown author" is used (or something like that).

At least that's how it should work in theory (and if I remember right, it also does work that way in practice.)