i would but i cant. as far as i know, that is coded in game. and cant be changed
I'm not one hundred percent sure, but I think you could change thokitem, spinitem, and revitem to 0 (or MT_NULL?) and then make it spawn the mobj "MT_THOK" manually, setting th color to your player's current color, as you did with the ghost trail effect.
Not even that. player.skincolor doesn't set player.mo.color IIRC which thokitems/spinitems/revitems are generated based on. Using player.mo.color would likely force the same colors and have them still affect spin and thok mobjs.
ya i want brighter colors but it uses the colors that you can be in netgames. also please dont let there be any seizures. that is not good for my reputation....
Welp, gave this old dusty thing an update. Knuckles is shown some love this time around? Check Changelog for details.
Here's your super tails https://mb.srb2.org/showthread.php?t=40728
Just copy the code from Sonic and replace all instances of Sonic with ShadowCan someone please help me? I want to change Shadow's Hyper palette from this:
if player.mo.hyperflashcolor < 4
or player.mo.hyperflashcolor == 37
player.mo.color = SKINCOLOR_PINK
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 20
end
if player.mo.hyperflashcolor > 3
and player.mo.hyperflashcolor < 7
player.mo.color = SKINCOLOR_TAN
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 6
and player.mo.hyperflashcolor < 10
player.mo.color = SKINCOLOR_GOLD
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 8
end
if player.mo.hyperflashcolor > 9
and player.mo.hyperflashcolor < 13
player.mo.color = SKINCOLOR_YELLOW
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 12
and player.mo.hyperflashcolor < 16
player.mo.color = SKINCOLOR_NEONGREEN
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 5
end
if player.mo.hyperflashcolor > 15
and player.mo.hyperflashcolor < 19
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 18
and player.mo.hyperflashcolor < 22
player.mo.color = SKINCOLOR_CYAN
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 13
end
if player.mo.hyperflashcolor > 21
and player.mo.hyperflashcolor < 25
player.mo.color = SKINCOLOR_TEAL
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 24
and player.mo.hyperflashcolor < 28
player.mo.color = SKINCOLOR_STEELBLUE
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 18
end
if player.mo.hyperflashcolor > 27
and player.mo.hyperflashcolor < 31
player.mo.color = SKINCOLOR_PURPLE
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 30
and player.mo.hyperflashcolor < 34
player.mo.color = SKINCOLOR_LAVENDER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 14
end
if player.mo.hyperflashcolor > 33
and player.mo.hyperflashcolor < 37
player.mo.hyperflashcolor = 1
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
end
end
end
end)
Into this:
if player.mo.hyperflashcolor < 4
or player.mo.hyperflashcolor == 37
player.mo.color = SKINCOLOR_GREY
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 20
end
if player.mo.hyperflashcolor > 3
and player.mo.hyperflashcolor < 7
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 6
and player.mo.hyperflashcolor < 10
player.mo.color = SKINCOLOR_WHITE
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 8
end
if player.mo.hyperflashcolor > 9
and player.mo.hyperflashcolor < 13
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 12
and player.mo.hyperflashcolor < 16
player.mo.color = SKINCOLOR_GREY
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 5
end
if player.mo.hyperflashcolor > 15
and player.mo.hyperflashcolor < 19
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 18
and player.mo.hyperflashcolor < 22
player.mo.color = SKINCOLOR_WHITE
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 13
end
if player.mo.hyperflashcolor > 21
and player.mo.hyperflashcolor < 25
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 24
and player.mo.hyperflashcolor < 28
player.mo.color = SKINCOLOR_GREY
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 18
end
if player.mo.hyperflashcolor > 27
and player.mo.hyperflashcolor < 31
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 30
and player.mo.hyperflashcolor < 34
player.mo.color = SKINCOLOR_WHITE
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 14
end
if player.mo.hyperflashcolor > 33
and player.mo.hyperflashcolor < 37
player.mo.hyperflashcolor = 1
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
end
end
end
end)
But his palette stays just like Sonic's. I want Shadow's Hyper palette to be like in Sonic Megamix 5.0A, but I can't figure out how to change the colors by not only naming different colors. Can anyone help me out?
if player.mo.hyperflashcolor < 4
or player.mo.hyperflashcolor == 37
player.mo.color = SKINCOLOR_PINK
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 20
end
if player.mo.hyperflashcolor > 3
and player.mo.hyperflashcolor < 7
player.mo.color = SKINCOLOR_TAN
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 6
and player.mo.hyperflashcolor < 10
player.mo.color = SKINCOLOR_GOLD
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 8
end
if player.mo.hyperflashcolor > 9
and player.mo.hyperflashcolor < 13
player.mo.color = SKINCOLOR_YELLOW
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 12
and player.mo.hyperflashcolor < 16
player.mo.color = SKINCOLOR_NEONGREEN
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 5
end
if player.mo.hyperflashcolor > 15
and player.mo.hyperflashcolor < 19
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 18
and player.mo.hyperflashcolor < 22
player.mo.color = SKINCOLOR_CYAN
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 13
end
if player.mo.hyperflashcolor > 21
and player.mo.hyperflashcolor < 25
player.mo.color = SKINCOLOR_TEAL
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 24
and player.mo.hyperflashcolor < 28
player.mo.color = SKINCOLOR_STEELBLUE
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 18
end
if player.mo.hyperflashcolor > 27
and player.mo.hyperflashcolor < 31
player.mo.color = SKINCOLOR_PURPLE
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
if player.mo.hyperflashcolor > 30
and player.mo.hyperflashcolor < 34
player.mo.color = SKINCOLOR_LAVENDER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 14
end
if player.mo.hyperflashcolor > 33
and player.mo.hyperflashcolor < 37
player.mo.hyperflashcolor = 1
player.mo.color = SKINCOLOR_SILVER
local ghost = P_SpawnGhostMobj(player.mo)
ghost.fuse = 4
ghost.color = 2
end
end
end
end
end)