How to color one gump in one script?
For example, a doll of player in one gump (in the help system).
...
this is a possible?
How to color one gump in one script?
If you want to change the colour of the GM character in that gump, yes it is possible.
I am going to tell you where it is found in the POL 0.95 Distro. This will also cover the converted one for POL 0.96. I have never looked at the help system for the POL 0.97 Distro. I don't know if it even looks the same as the "standard" one we all know and love.
First, look in \scripts\misc for the file help.src. Open that file and find the section of code at the top that looks like this:
If you notice the two lines with "gumppic" in them, those are the two images that appear as the robed character in the initial gump screen.
"gumppic 40 125 12" is the character and "gumppic 40 125 50987" is the robe. All you have to do is add hue= and a hue number after the equals sign and you'll change the pic to that colour. For example:
will make the character in the robe green and make the robe a light purple colour.
Hope this helps you.
I am going to tell you where it is found in the POL 0.95 Distro. This will also cover the converted one for POL 0.96. I have never looked at the help system for the POL 0.97 Distro. I don't know if it even looks the same as the "standard" one we all know and love.
First, look in \scripts\misc for the file help.src. Open that file and find the section of code at the top that looks like this:
Code: Select all
"resizepic 0 0 2600 600 450",
"resizepic 40 45 2620 175 315",
"page 0",
"gumppic 40 125 12",
"gumppic 40 125 50987",
"text 60 50 95 0",
"text 55 65 995 1",
"text 52 80 995 2",
"text 64 95 995 3",
"gumppic 40 125 12" is the character and "gumppic 40 125 50987" is the robe. All you have to do is add hue= and a hue number after the equals sign and you'll change the pic to that colour. For example:
Code: Select all
"resizepic 0 0 2600 600 450",
"resizepic 40 45 2620 175 315",
"page 0",
"gumppic 40 125 12 hue=66",
"gumppic 40 125 50987 hue=35",
"text 60 50 95 0",
"text 55 65 995 1",
"text 52 80 995 2",
"text 64 95 995 3",
Hope this helps you.