timer question and gameModeFadeOut

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!
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

Re: timer question and gameModeFadeOut

Post by bongobeat »

thanks!
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: timer question and gameModeFadeOut

Post by akroma222 »

Sorry if I am stating the painfully obvious, but....
SpoilerShow

Code: Select all

{
			class = "Model",
			name = "coloureffect",	
			model = "mod_assets/models/gel.fbx",
			material = "greeneffect",
			emissiveColor = vec(-255,255,-255),
			onInit = function(self)
				self:disable()
			end
		},
this green filter effect can be changed to whatever colour you wish with -
SpoilerShow
--party.coloureffect:setEmissiveColor(vec(-255,-255,255)) = BLUE
--party.coloureffect:setEmissiveColor(vec(255,-255,-255)) = RED
--party.coloureffect:setEmissiveColor(vec(155,155,-255)) = YELOW
--party.coloureffect:setEmissiveColor(vec(255,255,255)) = NORMAL
--party.coloureffect:setEmissiveColor(vec(-155,-155,-155)) = PITCH BLACK
(some very nice effects to be had :) )
Post Reply