Another Internet home for this fine breed of Belgian Shepherd Dog. A place for questions and answers, learning and understanding.
Published on February 10, 2012 By LizMarr In Skinning

I posted in Rainlendar forum, but it doesn't look very active. So I thought I would post here as well (I hope you don't mind)

I'm picking apart and customizing the Chromophore skin (one of Rainy's, he said I could)

I want to have some way to customize the background color on the fly. So I dig around and find where it is set. The colors are 0.0 through 0.9 (two decimals give a margin of hue change) So, I have the colors of the rainbow and nothing else.

Where does this notation come from? Is there a way to convert to the standard six-character character notation? Perhaps it is hard-coded in the app? (I haven't picked apart any others, I'm not sure I have any that change background colors)


Comments
on Feb 10, 2012

I think Chromophore is written in HTML code. I don't have any knowledge about that. Try getting a hold of k10w3

 

I know she has modified that type of rainy before.

on Feb 11, 2012

It is the new type - scripts and xml. Of course, XML is kinda like HTML.  It was Rainy who told me I could just rename it to zip to edit it. The color thing mystifies me. I'm not that familiar with xml, and I don't know where the limitation comes from. I think it was a static value, so I can't follow the code past that.

on Feb 11, 2012

I prefer the older version, 0.21. Its so much easier.

on Feb 11, 2012

LizMarr
It is the new type - scripts and xml. Of course, XML is kinda like HTML.

XLM, I course.....silly me.

Like I said; k10w3 has modified this kind of rainy before, so sh may be able to help.

on Feb 11, 2012

XLM, I course.....silly me.

 

Norwegian for XML, of course...silly me? 

on Feb 11, 2012

RedneckDude
Norwegian for XML, of course...silly me?

on Feb 12, 2012

Got an answer on the other forum. After staring at it then reading the thread he linked I am almost understanding. It has to do with the skin uses a bit mapped background.  The number is derived by some type of strange mathematical process that uses the result to put into the xml and produces a color.  That in mind I'm going to try it and see what happens. If anyone is interested in calculations to float a space ship:

 

http://www.rainlendar.net/cms/index.php?option=com_kunena&Itemid=42&func=view&catid=3&id=15613

 

The math part comes into play on page two. It still has my head spinning, but I just got back from a journey up the coast a couple hours and back again. Actually, it's kinda fun to read, but I have a weird sense of humor. Who is on first, anyhow?

on Feb 12, 2012

OK, I tried this. Silly thing only recognizes the first number. Period.  I guess I'll pester folks on the other list to see if I can edit it from bitmap color to some other type. It's been nearly 20 years since I have done more than simple programing. We did Pascal...