Resource icon

[Open Assets] SA1 Spindash - It doesn't matter!

This content may be freely modified and/or maintained by anyone.
Why tho if adventure sonic already has spam dash?
Any way to add compatibility with Adventure Sonic? I've tried adding

To lines 9 and 27 and it has no effect. His spindash cancel and the one from this script stack and you get stuck spindashing and can only jump out of it.
 
Yeah you can im pretty sure
Pardon me, but the person you replied to is banned and has been for a while. Not only that, but the main author of the mod replied to them right after they asked, before they were banned of course.
What was the point of your comment? I'm curious as to how you missed both of those facts.
 
i have two questions
first question. can i use this for my mod? (and yes i know this is reusable)
second question. where exactly in lines 9 and 21 should i put 'and p.mo.skin == "sonic"'
 
i have two questions
first question. can i use this for my mod? (and yes i know this is reusable)
second question. where exactly in lines 9 and 21 should i put 'and p.mo.skin == "sonic"'
It's marked reusable. You can reuse it to your heart's content.
 
srb20001.gif
Why does this happen with amy? Is it a Bug?
 
View attachment 63342 Why does this happen with amy? Is it a Bug?
I think I've found a solution to this issue. It involves adding a new if statement near the top of the code so the mod affects everyone except Amy.

Just open the mod using notepad and add the lines as shown below. (Note: Bold represents new lines added)

local function allSpin(p)
if p.spectator then return end
if (p.mo.skin != "amy") then
if (p.speed > 5*FRACUNIT and p.pflags & PF_STARTDASH) then return true end

p.mindash = 75*FRACUNIT
p.maxdash = 50*FRACUNIT

end
 
Last edited:
I think I've found a solution to this issue. It involves adding a new if statement near the top of the code so the mod affects everyone except Amy.

Just open the mod using notepad and add the lines as shown below. (Note: Bold represents new lines added)

local function allSpin(p)
if p.spectator then return end
if (p.mo.skin != "amy") then
if (p.speed > 5*FRACUNIT and p.pflags & PF_STARTDASH) then return true end

p.mindash = 75*FRACUNIT
p.maxdash = 50*FRACUNIT

end
Better if you make it so if the player does not have CA2_SPINDASH. because there's a few chars with no spindash that can easily break with this addon.
 
I think I've found a solution to this issue. It involves adding a new if statement near the top of the code so the mod affects everyone except Amy.

Just open the mod using notepad and add the lines as shown below. (Note: Bold represents new lines added)

local function allSpin(p)
if p.spectator then return end
if (p.mo.skin != "amy") then
if (p.speed > 5*FRACUNIT and p.pflags & PF_STARTDASH) then return true end

p.mindash = 75*FRACUNIT
p.maxdash = 50*FRACUNIT

end
Or you could just put “return end” after then
Should work nearly the same
 
Better if you make it so if the player does not have CA2_SPINDASH. because there's a few chars with no spindash that can easily break with this addon.
If I thought the same then I modified it to work like this

local function allSpin(p)
if p.spectator then return end
if (p.charability2 == CA2_SPINDASH) then
if (p.speed > 5*FRACUNIT and p.pflags & PF_STARTDASH) then return true end

p.mindash = 75*FRACUNIT
p.maxdash = 50*FRACUNIT

end
 

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

Back
Top