Different way of grouping elements

Got a cool idea that should be in R'n'D? Let's hear it!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Davacardo
Posts: 89
Joined: Sun Jul 22, 2007 10:36 am
Location: Australia

Different way of grouping elements

Post by Davacardo »

This was sort of inspired by Alan's "MegaPal" idea.

The addition of a Favourites (FAV) section? This section would go up the very top of the palette.
Items could be added by going to Setup > Editor, then something like 'choose favourite elements'. This brings up a screen like the one in "MegaPal". You click the elements you want in the FAV section and then a box appears around them. To remove them, click them again and the box disappears. No elements selected = no FAV group.

Or the ability to create your own palette? This could be done by creating a file called 'palette.conf' and placing it in RnD's installation directory. Then to select it, go to Setup > Editor and change an option 'Use User palette Yes/No'.
The file could be structured like:
[3 character group name]
name of elements in group

I got the names of the example below from a graphicsinfo.conf file, so I assume RnD uses these name internally or something?

E.g.
[COL]
emerald
diamond
emerald_yellow
emerald_purple
emerald_red
pearl
crystal

[OBJ]
rock
bd_rock
sp_zonk
nut
bomb
dx_supabomb

etc...

Through this, it could even be possible to not show any elements at all in the palette, allowing you to 'remove' elements you never use.
User avatar
Alan
Posts: 661
Joined: Fri Jun 18, 2004 7:48 pm

Post by Alan »

Or the ability to create your own palette?
Ah, this is possible! If you make a file called a editorsetup.conf in your level folder you can add items like this:-

player_1
empty_space
char_a
custom_144

These favorites are placed at the bottom of the editor palette.
Zomis
Posts: 1502
Joined: Mon Jun 21, 2004 1:27 pm
Location: Sweden
Contact:

Post by Zomis »

And I think it must be turned on in Setup -> Editor
I think the option is called "User defined"

And yes, all those names you found in graphicsinfo.conf are used in many of RnD .conf files, and those names are called "element tokens".
Daniel H.
Posts: 535
Joined: Sun Apr 02, 2006 7:13 pm
Location: USA

Post by Daniel H. »

Zomis wrote:And I think it must be turned on in Setup -> Editor
I think the option is called "User defined"
It's on by default, though.
The H. World levelset can be downloaded from http://www.bd-fans.com/RnD.html -- search The H. World on that page.
User avatar
Davacardo
Posts: 89
Joined: Sun Jul 22, 2007 10:36 am
Location: Australia

Post by Davacardo »

Alan wrote:
Or the ability to create your own palette?
Ah, this is possible! If you make a file called a editorsetup.conf in your level folder you can add items like this:-

player_1
empty_space
char_a
custom_144

These favorites are placed at the bottom of the editor palette.
It is too. I never noticed that. We learn something new every day.
I guess that makes my idea of a 'FAV' section totally irrelevant now.

But it would still be nice to create your own palette so you can group elements in a different way than the RnD default of by game.
Post Reply