Well I want to activate the material script on my server,which gives items random materials,eg copper shield,gold shield,platinum shield ,ect.
But i have no idea how to activate it,can anyone help?
Materials on server
Moderator: Board moderators
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
Locate the config.h file within Crossfire.
Look for the following:
Make a change like so:
(Remove the comment tags, /* and */)
Use the necessary make/recompile commands to rebuild the server.
Look for the following:
Code: Select all
/* Enable the new material code - it needs some work. You can
* enable this, and things will work, just you'll see a whole
* bunch more materials show up, and thus a whole bunch more materials
* in your inventory, and the sorting for them isn't really good.
*/
/*
#define NEW_MATERIAL_CODE
*/
(Remove the comment tags, /* and */)
Code: Select all
#define NEW_MATERIAL_CODE