SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing Help

Reply
 
Thread Tools Search this Thread
Old 1 Week Ago   #1
SIG7
The Gamerman
 
SIG7's Avatar
Default SRB2 Custom Skin Color problems

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)
__________________
d00d64 is ebicccccccccc

https://discord.gg/uwZRkas https://discord.gg/enAhkBp
SIG7 is offline   Reply With Quote
Old 1 Week Ago   #2
CST1229
 
CST1229's Avatar
Default

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 
}
__________________
FAIL
How did Legacy Brak stop me and impossibly damage me? He must be hacking.
(Map) <Retry] /Menu\ |Website|
(mod not mine)
CST1229 is offline   Reply With Quote
Old 1 Week Ago   #3
SIG7
The Gamerman
 
SIG7's Avatar
Default

Thanks!
I'll try!

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

It now has an error saying:
__________________
d00d64 is ebicccccccccc

https://discord.gg/uwZRkas https://discord.gg/enAhkBp
SIG7 is offline   Reply With Quote
Old 1 Week Ago   #4
CST1229
 
CST1229's Avatar
Default

Maybe the indenting is required, idk.
__________________
FAIL
How did Legacy Brak stop me and impossibly damage me? He must be hacking.
(Map) <Retry] /Menu\ |Website|
(mod not mine)
CST1229 is offline   Reply With Quote
Old 6 Days Ago   #5
Jer the Hedgehog
Speedy Purple Hedgehog.
 
Jer the Hedgehog's Avatar
Default

OML, he's making a skin color based off my shite OC.
__________________
How fast can I run? Let's see.
Jer the Hedgehog is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:45 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.