SRB2 Custom Skin Color problems

SIG7Pro

I hate my life.
So I was making a custom skincolor for SRB2 and I did make it, but, when I went to select it via the console, it says that the (ColorName) is not a valid prefix for color, can anyone help, this is the code I used (with lua)
Code:
freeslot("JerPurple")
skincolors[JerPurple] = {
    name = "JerPurple",
    ramp = {146,147,148,149,150,151,152,153,163,164,165,166,167,168,187,199},
    invcolor = SKINCOLOR_ORANGE,
    invshade = 9,
    chatcolor = V_BLUEMAP,
    accessible = true
}

(JerPurple is the colorname)
 
You must put SKINCOLOR_ (all uppercase!) before the internal skincolor name you freeslotted, and optionally make the part after that all uppercase.
Like this:

Code:
freeslot("SKINCOLOR_JERPURPLE") 
skincolors[SKINCOLOR_JERPURPLE] = { 
name = "JerPurple", 
ramp = {146,147,148,149,150,151,152,153,163,164,165,166,167,168,187,199}, 
invcolor = SKINCOLOR_ORANGE,
invshade = 9, 
chatcolor = V_BLUEMAP, 
accessible = true 
}
 
Thanks!
I'll try!

---------- Post added at 05:40 PM ---------- Previous post was at 05:34 PM ----------

It now has an error saying:
75ce5b13665d7dd.png
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top