graphicsinfo.conf questions

Stuck at a level? Need help with R'n'D or anything R'n'D related? Post here!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Martijn
Posts: 794
Joined: Sat Jun 19, 2004 10:54 am
Location: the Netherlands (Holland)
Contact:

graphicsinfo.conf questions

Post by Martijn »

Hello,

I'm making a levelset and I have this question:

How in the graphicsinfo.conf can I change the gems Rockfords changes to when after he has died?

I can't find it in the famous CE levelsets!
Visit my Boulder Dash website at:
http://www.bd-fans.com

Watch my avatar! That orange little thing is Murphy, the Supaplex star!
User avatar
Alan
Posts: 661
Joined: Fri Jun 18, 2004 7:48 pm

Post by Alan »

In the conf its called..

emerald_yellow:

just replace the filename with your own (and all the X Y stuff)
and dont forget to to change:

emerald_yellow.moving:
emerald_yellow.falling:
emerald_yellow.collecting:
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

> and dont forget to to change:
>
> emerald_yellow.moving:
> emerald_yellow.falling:
> emerald_yellow.collecting:

Hint: If you have changed "emerald_yellow:" to something different, all the other definitions "emerald_yellow.<action>:" will automatically change to the same (new) default settings. You only need to also redefine them if they should look different (like animated for moving etc.).
User avatar
Martijn
Posts: 794
Joined: Sat Jun 19, 2004 10:54 am
Location: the Netherlands (Holland)
Contact:

Post by Martijn »

it works!

thank you!!! :D
Visit my Boulder Dash website at:
http://www.bd-fans.com

Watch my avatar! That orange little thing is Murphy, the Supaplex star!
User avatar
Martijn
Posts: 794
Joined: Sat Jun 19, 2004 10:54 am
Location: the Netherlands (Holland)
Contact:

Post by Martijn »

OK, new question:

I want that one musicfile (intro.mp3) is only played in level 000 as background music. I have watched BD2K3 and I tried background.PLAYING.000 myself, but without success.

How can I do it?
Visit my Boulder Dash website at:
http://www.bd-fans.com

Watch my avatar! That orange little thing is Murphy, the Supaplex star!
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

> I want that one musicfile (intro.mp3) is only played in level 000 as background music. I have
> watched BD2K3 and I tried background.PLAYING.000 myself, but without success.

The token "background.PLAYING.000" is correct -- maybe you have a typo in your config file?

If all else fails, start with Alan's working BD2K3 "musicinfo.conf" and modify it until it does what you want (this is a good strategy in many cases).
User avatar
Martijn
Posts: 794
Joined: Sat Jun 19, 2004 10:54 am
Location: the Netherlands (Holland)
Contact:

Post by Martijn »

And is it possible to have a background in level 000?
Then it will look like:
background.LEVEL.000 or so?
Visit my Boulder Dash website at:
http://www.bd-fans.com

Watch my avatar! That orange little thing is Murphy, the Supaplex star!
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

> And is it possible to have a background in level 000?

Not in the current or next version.

> Then it will look like:
> background.LEVEL.000 or so?

To be precise, it would also be "background.PLAYING.000" (but related to graphics, not music).
User avatar
Martijn
Posts: 794
Joined: Sat Jun 19, 2004 10:54 am
Location: the Netherlands (Holland)
Contact:

Post by Martijn »

and where can I change the border of an envelope? can't find it.

and the envelope letters?

and is it possible to have a envelope background which is not tiled?
Visit my Boulder Dash website at:
http://www.bd-fans.com

Watch my avatar! That orange little thing is Murphy, the Supaplex star!
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

> and where can I change the border of an envelope? can't find it.

"background.envelope_1" to "background.envelope_4" defines the border and background of an envelope.

> and the envelope letters?

Use "font.envelope_1" to "font.envelope_4".

> and is it possible to have a envelope background which is not tiled?

Yes; just use a graphic which has the same size as your open envelope.

See Juergen Bonhagen's one-level-set "bug machine" for a great example for this (which works only in a one-level-set: Juergen has used graphical envelopes using only envelope backgrounds)!
User avatar
Martijn
Posts: 794
Joined: Sat Jun 19, 2004 10:54 am
Location: the Netherlands (Holland)
Contact:

Post by Martijn »

thanks

and yet one more question:

is it possible to do that the highscore music is the standard halloffame.wav, but that level 101 has other music? How?

and my last question:

how big (in pixels: width, height) is an envelope of 30x20?
Visit my Boulder Dash website at:
http://www.bd-fans.com

Watch my avatar! That orange little thing is Murphy, the Supaplex star!
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

> is it possible to do that the highscore music is the standard halloffame.wav, but that level 101
> has other music? How?

You mean you want a different highscore music for a certain level? That's currently not possible; you can currently only configure the music while playing.

> how big (in pixels: width, height) is an envelope of 30x20?

Just multiply with the font size. Example: If you use a font of size 16x20, your envelope would have the size (16 * 30) x (20 * 20) == 480 x 400 pixels.
User avatar
Grunt002
Posts: 148
Joined: Fri Jun 18, 2004 8:35 pm
Location: Canada, eh?

Post by Grunt002 »

Lots of questions answered and lots of answers questioned...
ok ok... I'll stay outta this :x
YOU LIKE MY SIGNATURE DON'T YOU?
Post Reply