Thread: Rune colours
View Single Post
`666
AlliedModders Donor
Join Date: Jan 2006
Old 06-16-2009 , 11:53   Re: Rune colours
Reply With Quote #3

Ok, after experimenting I found out how to make bad runes glow same colour as good runes.

in runemod_base find
Code:
		if(g_RuneFlags[RuneIndex] & API_BADRUNE)
		{
			Color[0] = random_float(25.0,250.0)
			Color[1] = random_float(25.0,250.0)
			Color[2] = random_float(25.0,250.0)
		}
and change it to this

Code:
		if(g_RuneFlags[RuneIndex] & API_BADRUNE)
		{
			Color[0] = float(g_RuneColor[RuneIndex][0])
			Color[1] = float(g_RuneColor[RuneIndex][1])
			Color[2] = float(g_RuneColor[RuneIndex][2])
		}
If you know more efficient way to edit it please let me know.
`666 is offline