[ [ 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 » Wed Oct 29, 2014 11:09 pm

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 » Wed Oct 29, 2014 11:15 pm

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 » Wed Oct 29, 2014 11:36 pm

Thanks. That Fixed it!

User avatar
Drakkan
Posts: 1317
Joined: Mon Dec 31, 2012 12:25 am

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

Post by Drakkan » Sun Nov 02, 2014 3:39 am

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 » Sun Nov 02, 2014 4:24 am

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 » Thu Dec 25, 2014 12:26 am

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 » Thu Dec 25, 2014 10:32 pm

Check your PM's.

Post Reply