[ [ Script ] ] Color Conversion + Light Manipulation

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
kelly11
Posts: 17
Joined: Mon Oct 08, 2012 12:30 am

Re: [ [ Script ] ] Color Conversion + Light Manipulation

Post by kelly11 »

It was a mine_ceiling_lantern. thanks for your time. apriciate it
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: [ [ Script ] ] Color Conversion + Light Manipulation

Post by NutJob »

kelly11 wrote:It was a mine_ceiling_lantern. thanks for your time. apriciate it
Ran upstairs and fixed it because it was bothering me. Updated, and yes some lights do not have PointLight. Oh, don't use dummy light, still, with this function. ~cheers~
kelly11
Posts: 17
Joined: Mon Oct 08, 2012 12:30 am

Re: [ [ Script ] ] Color Conversion + Light Manipulation

Post by kelly11 »

Thanks. That Fixed it!
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: [ [ Script ] ] Color Conversion + Light Manipulation

Post by Drakkan »

Hi NutJob, have you managed somehow to change the "flame" itself ? I want change flame of forest_lantern, so far I only chagned the light of it with
library.script.GFX.light({"forest_lantern_6"}, "green")
Breath from the unpromising waters.
Eye of the Atlantis
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: [ [ Script ] ] Color Conversion + Light Manipulation

Post by NutJob »

If it's a particle, no, I have no clue how to change that. It could be staring me in the face and I'm still missing it so I'm waiting for full documentation to come out and *better* modders, then myself, to start talking on these boards [to learn from them]. Too silent here. ~shrugs~ In the end, yes, I will want to be able to change particle colors too.

BTW I didn't document one more way to you can format a color: as the actual RGB (0 -255). It would be passed like this on the color parameter {{55,100,99}} (<-- notice the double brackets; required)
Daveyx0
Posts: 11
Joined: Sat Nov 01, 2014 10:46 am
Location: Netherlands

Re: [ [ Script ] ] Color Conversion + Light Manipulation

Post by Daveyx0 »

Out of Order? Darn, did I miss out on this script? Or was there an issue with it?
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: [ [ Script ] ] Color Conversion + Light Manipulation

Post by NutJob »

Check your PM's.
Post Reply