Page 1 of 1

trying to change color of weapons on floor

PostPosted: Saturday, 2nd June 2012, 18:21
by k440
Good day, does anyone know how I might change the color of maces & flails on the floor? I've been stumped for days. Reading crawl_options suggests that the option 'feature = ' might be able to do it, but I haven't been able to work out the syntax. Even irc hasn't been able to answer, and using google fu on develz rcfiles hasn't turned up anything either.

Re: trying to change color of weapons on floor

PostPosted: Saturday, 2nd June 2012, 19:05
by CommanderC
Can't be done without changing the source code. The function that assigns colours to items is item_colour in makeitem.cc, and it does not use any kind of overriding mechanism. If you are playing locally, you could edit that file and compile.

Re: trying to change color of weapons on floor

PostPosted: Saturday, 2nd June 2012, 23:48
by Blade
A similar question: is it possible to change the colour of TSO's halo without going into the source?

Re: trying to change color of weapons on floor

PostPosted: Sunday, 3rd June 2012, 03:43
by XuaXua
You can manually edit the PNG file that contains the mace with an image editor, then save over the original file with your altered-color file. Don't change any sizes or positions.

Re: trying to change color of weapons on floor

PostPosted: Sunday, 3rd June 2012, 08:36
by k440
XuaXua wrote:You can manually edit the PNG file that contains the mace with an image editor, then save over the original file with your altered-color file. Don't change any sizes or positions.

Sorry, should have mentioned that I'm playing terminal, not tiles. I guess the plan now is to tweak my terminal settings so that I don't think it's curare every time i see a club. :arrow:

Re: trying to change color of weapons on floor

PostPosted: Sunday, 3rd June 2012, 12:41
by CommanderC
Blade wrote:A similar question: is it possible to change the colour of TSO's halo without going into the source?

Nope. You could use the colour option in your rc file:

colour.yellow = blue

but that line will replace yellow with blue everywhere.

Re: trying to change color of weapons on floor

PostPosted: Thursday, 7th June 2012, 03:52
by eeviac
As long as we're on the subject, I'd really like it if the devs changed the color of rods to differentiate them from enhancer staves.

Re: trying to change color of weapons on floor

PostPosted: Thursday, 7th June 2012, 04:24
by evilmike
eeviac wrote:As long as we're on the subject, I'd really like it if the devs changed the color of rods to differentiate them from enhancer staves.

Good idea. I changed it so rods are yellow now, and staves are brown.

Re: trying to change color of weapons on floor

PostPosted: Thursday, 7th June 2012, 05:15
by eeviac
Awesome, thanks man.

Re: trying to change color of weapons on floor

PostPosted: Saturday, 9th June 2012, 08:51
by jpeg
evilmike wrote:
eeviac wrote:As long as we're on the subject, I'd really like it if the devs changed the color of rods to differentiate them from enhancer staves.

Good idea. I changed it so rods are yellow now, and staves are brown.

Wasn't yellow one of the artefact colours?

Re: trying to change color of weapons on floor

PostPosted: Saturday, 9th June 2012, 09:36
by evilmike
jpeg wrote:
evilmike wrote:
eeviac wrote:As long as we're on the subject, I'd really like it if the devs changed the color of rods to differentiate them from enhancer staves.

Good idea. I changed it so rods are yellow now, and staves are brown.

Wasn't yellow one of the artefact colours?

It is, but rods/staves are on '|', which doesn't have artefacts (fixed or random). I suppose if crawl ever got randart rods (or something like that), mundane rods should get a different colour. For now it's safe to use, though.