![]() |
![]() |
|||||||||||||||||||
Multiability + Spindash Scripts: Holdfly, Spideyknux, and Multithok
![]() Developer Last Online: Jan 2021
UPDATE 6/8/15: Completely redid the scripts. They should be more stable now.
Hey all, today I've got some new Lua scripts I've been assembling lately. These ones in particular are scripts to re-enable spindashing/spinjumping when you have multiability to give you capabilities such as multithokking, multigliding, and holding jump down to fly instead of repeatedly tapping it. In case anyone was wondering, the multiglide/spideyknux script in this set of scripts is the same one that red the fox's UglyKnux character uses. Being rather simple scripts, if you'd like to use and/or edit any of these scripts for a character of your own, you have my permission to do so as long as I'm credited. Have fun! Download Now
Screenshots Licence Agreement If one of my addons is marked as reusable, go wild. Let me know if you plan to repack it though, cause I hate repacks. If it's not marked as reusable, get permission from me directly.Show Your Support
|
Comments |
![]() |
#2 |
Retired
|
Welcome to Releases!
|
![]() |
![]() |
#3 |
Spriting and lazing around
|
It'd be cool to play with a super-fast spindash-charged flying Tails again! WITNESS MY SPEEEEEEEEED!
The others, I could honestly care less, though that Spidey Knux thing we all know and love (me, somewhat, since I learned about SRB2 when it was on 2.0.6) would be prettttttty useful.
__________________
See my awesome sprite sheets & stuff! fieryexplosion.weebly.com fieryexplosion.deviantart.com |
![]() |
![]() |
#4 |
Power up the revolution!
|
These are very interesting scripts that change the dynamic of the main three characters and allows for various different paths to be seen.
__________________
I am Metalliz in net games! |
![]() |
![]() |
#5 |
KartKrew Dev
Developer
|
After all these years, I STILL find it hard to believe that hold-to-fly isn't just in the vanilla game yet.
|
![]() |
![]() |
#6 |
·How Do Ya Like THAT, huh?!
|
I might use this for my Eggman Jetpack wad, Great work.
__________________
proud owner of chadpack, werehog may scream, spiderhog and hat kid in a red fox fursuit Also I do art follow me kthx https://twitter.com/Gianluu1999 |
![]() |
![]() |
#7 |
AKA Superjustinbros
|
Heck yes, this is such a great mod.
|
![]() |
![]() |
#8 |
|
This could be very useful. Thanks!
|
![]() |
![]() |
#9 |
|
I remember these capabilities from the old demos..... that multithok..... I may use it in my fan character wad, sure if permisson is given xD. Amazing job bringing old moments again.
|
![]() |
![]() |
#10 |
|
I checked uglyknux's lua and was surprised on how it works. Now we only need wallbreaking, swimming without waterrun and waterrun without swimming.
|
![]() |
![]() |
#11 | |
Or, "TelosTurntable"
|
Quote:
|
|
![]() |
![]() |
#12 |
I suppose that sort of stuff would be possible by checking for if the player is above or under water (is that possible?), and if above water, set ability to CA_NONE (no waterrun) or CA_SWIM (waterrun), and if underwater, the other way around (meaning CA_NONE above water is CA_SWIM underwater, and such).
[ontopic]Personally I just think the best way for all this would be... CA2_NONE (0) for no-spin, no multiability. CA2_SPIN (1) for spin, no multiability. CA2_MULTIABILITY (2) for no-spin, multiability. CA2_SPIN+CA2_MULTIABILITY (1+2=3) for spin, multiability. After all, the only values for charability2 are CA2_NONE, CA2_SPIN, and CA2_MULTIABILITY. I really wonder why it's not like this in the vanilla game. Oh, and an actually-functional SF_SUPER skinflag, and an SF_WATERSKIP skinflag. Those could also be fun in the vanilla game. |
|
![]() |
![]() |
#13 | |
Your best friend
|
Quote:
A good workaround can be, for having runonwater but not swim, check if the character's in its run states or if its speed is its runspeed and PF_JUMPED is false; that would make its ability CA_SWIM. For swim and not runonwater, CA_None if PF_JUMPED returns false, CA_SWIM otherwise. After all, you can only activate the swim ability if you've jumped first :P EDIT: Turns out there is a character flag for being underwater, and you can detect it with "player.mo.eflags & MFE_UNDERWATER" which simplifies things. Wheeeee
__________________
Nice. Last edited by Chimera; 04-10-2014 at 09:20 AM. |
|
![]() |
![]() |
#14 | ||
Quote:
Quote:
Now the problem just is... What if I want a character that can Thok but also run on water? I don't think that would be too easy to make in a good way. |
|||
![]() |
![]() |
#15 | |||
|
Quote:
Waterrun and Superform were 2 flags in the old version before the character creation got nerfed. They might get added again, but the devs need to work on the netcode now. This, Superstartcolor(to set a special color for super) endcolor(if the palette is longer than 16 colors) and superendcolor should be added to the game, maybe a second startcolor for some characters. Quote:
Quote:
Set the default ability to swim If you jump, set ability to thok(can you even waterrun if you jump and then land ?), and if you enter water, set the ability to thok. |
|||
![]() |
![]() |
#16 | |
Quote:
Derpfully shown in this video here (that I accidentally recorded without audio). Now that will be hard to make possible via Lua while still keeping a Thok or something. I can't even find the water-running code in the source of SRB2 2.1. Nor any other ability code. Except for defining what ability CA_whatever actually is. But I can't find the code that takes it and makes stuff happen depending on what ability one has. Last edited by The Zero Team; 04-13-2014 at 08:22 PM. Reason: Video done uploading |
||
![]() |
![]() |
#17 | ||
Watch Symphogear
Developer
|
Quote:
__________________
Quote:
|
||
![]() |
![]() |
#18 | |
Quote:
But then I remembered that game actions get done, then Lua, and then the actions Lua cause, meaning one would never thok, since one would only have the thok ability the tic after pressing jump again. Then I thought of doing something so if one is underwater, ones ability is always Thok, no exceptions. But if above water, that "jump tapped or held" check would be handy, making it so if one jumps, one can land on water, since it's usually always the swim ability one has above water. But if one jumps and taps the jump button again in midair (while actually jumping) (before thokking for the first time in that jump), it forces the game to think "The player isn't pressing jump" the next tic, while changing ability to Thok. And then the next tic, it forces the game to think "The player IS pressing jump, let's make him thok". Now how would it then not make the player thok 2 tics after making a normal jump? Simple, an "is object on ground" check, which forces one to have to wait at least 1 tic before letting above "idea" get executed. Which could change to 2 or 3 tics, depending on how testing goes. Here the problem would just be other abilities. How would I make it so one can fly, but even after beginning to fly still land on water? Another problem would be reaction time above water. Just 2 tics can make a quite huge impact on gameplay. Plus it's just getting over the top here. Who would possibly ever really need that? ...Why do I keep saying I know so little about Lua? *Shrug* I'd still like to find the coding for the abilities, though. |
||
![]() |
![]() |
#19 | |
Watch Symphogear
Developer
|
Minor update: I call this minor, but I actually rewrote all three of the scripts. Hopefully they should be more stable now.
__________________
Quote:
|
|
![]() |
![]() |
#20 |
The living revolution
|
How do you edit the LUAs so that all characters can run on water?
__________________
Long live the revolution! |
![]() |
Thread Tools | |
|
|