SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
Modern Sonic Abilities 4.0 BIG UPDATE Details »»
Modern Sonic Abilities 4.0 BIG UPDATE
Version: 4.0, by MotdSpork (Mafia? Zombies? Gold spork?) MotdSpork is offline
Developer Last Online: May 2018

Category: Version: SRB2 Rating: (6 votes - 3.83 average)
Released: 04-19-2014 Last Update: 01-24-2015 Installs: 6
Scripts Re-Useable Content

Hello, This is my first post regarding a release. This is a wad containing lua scripting that gives SRB2 Sonic all of Modern Sonic's abilities.

Abilities:Boost(Custom 1)
Run on water (as long as boosting)
Lightdash(Custom 1)
Stomp(Spin)
DoubleJump/HomingAttack (ala Sonic Colors)
WallJump (doublejump at a wall)
Slide (replaces Spindash)
QuickStep (hold custom 3 + strafe)


There are two files inside. One with a character and the other with just the Lua.


Update 4.0

Added Quick Step
Added Boost Bar
New Boost sfx


Enjoy

Download Now

File Type: zip modernabilities.zip (762.8 KB, 9937 views)

Screenshots

Click image for larger version

Name:	srb20001.gif
Views:	4632
Size:	3.60 MB
ID:	4402   Click image for larger version

Name:	srb20003.gif
Views:	2195
Size:	5.45 MB
ID:	4403   Click image for larger version

Name:	srb20004.gif
Views:	5074
Size:	3.78 MB
ID:	4404   Click image for larger version

Name:	srb20005.gif
Views:	1935
Size:	2.11 MB
ID:	4405   Click image for larger version

Name:	srb20014.gif
Views:	2483
Size:	5.95 MB
ID:	4537  

Supporters / CoAuthors

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 04-23-2014   #22
fickleheart
gender collector
 
fickleheart's Avatar
Default

What's there not to trust? States are defined in a linear order, and the game will never go around shuffling their orders. You wouldn't check for manual equivalence to every value from 1 to 50 when you could just use 1 <= x <= 50, would you? Especially when filesize is such the concern you apparently take it as, if you're stripping out spaces like that.
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
av src
fickleheart is offline   Reply With Quote
Old 04-23-2014   #23
The Zero Team
Default

Quote:
Originally Posted by RedEnchilada View Post
What's there not to trust? States are defined in a linear order, and the game will never go around shuffling their orders. You wouldn't check for manual equivalence to every value from 1 to 50 when you could just use 1 <= x <= 50, would you? Especially when filesize is such the concern you apparently take it as, if you're stripping out spaces like that.
You may trust it. He may trust it. She may trust it. It may trust it. Sonic may not trust Amy. But I don't trust using more or less than for states, alright?

(The Zero Team received a warning for this post: Act like a mature adult. Use some common sense when posting.)
The Zero Team is offline   Reply With Quote
Old 04-23-2014   #24
Rob
Administrator
 
Rob's Avatar
Default

No, not alright. That's arbitrary and stupid.

If you don't "trust" something, explain why. If there's an issue with how it functions, then bring it up in Bug Reports instead of saying "well I don't trust it alright".

Don't make bloated, redundant code when writing and providing advice. Use common sense.
Rob is offline   Reply With Quote
Old 04-23-2014   #25
fickleheart
gender collector
 
fickleheart's Avatar
Default

That's an incredibly stupid mindset to take about coding. This shit stays consistent. Your code isn't going to suddenly break for some people because you used a certain method of state checking. If you let some ridiculous emotions like "trust" dictate how you code, then you're a shitty coder and will always remain a shitty coder with no possible hope for improvement.
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
av src
fickleheart is offline   Reply With Quote
Old 04-23-2014   #26
The Zero Team
Default

Quote:
Originally Posted by Rob View Post
If you don't "trust" something, explain why.
Spoiler: Okay
I don't trust it because it isn't technically a number. (Excuse my use of the word "technical", as it actually is technically a number.) It is only a "pointer" to me. Like FracUnit, for example. FracUnit is "not" 65536 to me, it just "points" to it. Everyone can argue with me about it, and they can all be right, and I can be wrong, but it's like the colour red. My red may not necessarily be your red. My red could be your green, but I'd just had learned to call it red as well. I will never understand what your red exactly is, but you will know it in and out. That counts for all of you. You can know everything about all this, and trust it completely since you know it in and out, but while I might know it too, I don't trust it, due to being worried I don't know it 100% (even though in this case I probably do).
And the reason I said "I don't trust it, alright?" is because everyone was basically "No you have to trust it, it's the only thing that can't not be trusted", and I wanted to end them from saying that over and over.
The Zero Team is offline   Reply With Quote
Old 04-23-2014   #27
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

For all practical purposes S_ prefix constants are still numbers, they are coded to be that way. You cannot modify their values, they cannot work as anything else, they're just numbers.

There is no "opinion" about whether they are numbers or not here. The game is built by actual people, not nature itself! If you can't accept what we're saying... good luck mate.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".

Last edited by Monster Iestyn; 04-23-2014 at 06:29 PM.
Monster Iestyn is offline   Reply With Quote
Old 04-23-2014   #28
K.S.
Formerly Inuyasha
Retired Staff
 
K.S.'s Avatar
Default

Besides, if you don't "trust" pointer arithmetic, stay far away from SRB2's source.

Pointer arithmetic is a necessary and important part of C; eschewing it because you don't "trust" it is absurd.
K.S. is offline   Reply With Quote
Old 04-23-2014   #29
Rob
Administrator
 
Rob's Avatar
Default

Quote:
Originally Posted by The Zero Team View Post
Stuff and things
Basically your statement amounts to "Well I don't actually know something so I'm going to use the long method and ignore anyone who points out better and more efficient scripting practice for the sake of being the individual that I am!" Stop it and just stop giving advice if you're going to do that. It's detrimental overall.

Last edited by Rob; 04-23-2014 at 06:48 PM.
Rob is offline   Reply With Quote
Old 04-23-2014   #30
The Zero Team
Default

Am I the only person to acknowledge it is possible to use "or" many times instead of "more-" and/or "less- than"? Plus, I do use it (the more/less than) for all the stuff which is directly numbers. Like, speed. Speed measurement-stuff is a complete number. I'm not saying states aren't, since they are, I just don't trust it, YET.

Guys, seriously, though. If there is a person who stays away from using more/less than for something, yet everything he/she makes is still fully functional, and all you do is tell him/her to stop doing everything related to it, it's no wonder we can't have glorious skeleton-animated .smd models in OpenGL.
(Noone has answered me about the "import .smd model then .smd animation in FragMotion" thing I've asked about 3-5 times on an MD2 release thread thing by a person who uses FragMotion for skeletal animation before exporting MD2 models for SRB2. I can't vertex-animate that well. Especially not outside Blender. Even more especially not in Misfit Model 3D.)

"Hm... If this thing is 1 or 2 or 3, then this thing should happen to this thing at this moment. I'll test that now. Oh, it works completely as intended."
Do you seriously then bash him/her for using "if something==1 or something==2 or something==3" instead of "if something>0 and something<4"?

I am pretty sure I will get an infraction, or at least a(nother) warning about acting mature, for this post, but think about it. There is always room for improvement, right? I may look hopeless right now, but trust me, I am. Wait, what?

Also, what happened to that removed stuff in the last post? :P

Last edited by The Zero Team; 04-23-2014 at 07:08 PM.
The Zero Team is offline   Reply With Quote
Old 04-23-2014   #31
Boinciel
ヒトデパンと奇妙なジャム
Developer
 
Boinciel's Avatar
Default

You're not the only person to acknowledge that. However, an endless "or" or "if" tree lacks both scalability and increases the chances of human error. It also takes up way more space and is a completely inefficient use of the processor. I suggest you take some time out of your day (say, ~3 hours) just reading articles from The Daily WTF. It will help you to be a better coder.
Boinciel is offline   Reply With Quote
Old 04-23-2014   #32
MotdSpork
Mafia? Zombies? Gold spork?
 
MotdSpork's Avatar
Default

So I'm reading these comments and i have to say, on a Thread about Modern Sonic's moves, are you all arguing about someones opinion? Are we not aloud to have opinions of our own?
__________________
Quote:
Originally Posted by EvilEnternity3000
a giant turtle with hot flames shooting from its crotch descends upon you
MotdSpork is offline   Reply With Quote
Old 04-23-2014   #33
BlazingPhoenix
AAAAAAAAAAAAA
 
BlazingPhoenix's Avatar
Default

Motdspork: you're missing the point completely. He's using some terrible comparison to coding as an excuse not to improve it.
BlazingPhoenix is offline   Reply With Quote
Old 04-23-2014   #34
MotdSpork
Mafia? Zombies? Gold spork?
 
MotdSpork's Avatar
Default

Im not missing anything but if he does it one way and not the other and it works for him then let him do it. its none of our job to judge how he does things.
__________________
Quote:
Originally Posted by EvilEnternity3000
a giant turtle with hot flames shooting from its crotch descends upon you
MotdSpork is offline   Reply With Quote
Old 04-23-2014   #35
The Zero Team
Default

Quote:
Originally Posted by MotdSpork View Post
Im not missing anything but if he does it one way and not the other and it works for him then let him do it. its none of our job to judge how he does things.
Finally someone understands it. I'm tempted to write this whole message in all-caps, but I'd just get an infraction for doing so, so I won't.
The Zero Team is offline   Reply With Quote
Old 04-23-2014   #36
MotdSpork
Mafia? Zombies? Gold spork?
 
MotdSpork's Avatar
Default

The Zero Team: i know the feeling. also you helped me with the code, so im helping you now in return.
__________________
Quote:
Originally Posted by EvilEnternity3000
a giant turtle with hot flames shooting from its crotch descends upon you
MotdSpork is offline   Reply With Quote
Old 04-23-2014   #37
MotorRoach
Top Cock
Developer
 
MotorRoach's Avatar
Default

Quote:
Originally Posted by MotdSpork View Post
The Zero Team: i know the feeling. also you helped me with the code, so im helping you now in return.
Bullshit.

It's not help if you are just defending someone for only giving out excuses. People who were talking to him before were basically the ones helping by giving criticism and helping him understand how the coding works. It's not even an opinion, it's his fault for not wanting to admit he doesn't fully knows what he's talking about and stop giving out excuses that nobody understands him, and I doubt you understand him either.

This is not about picking on someone and humiliating him, it's about HELPING. If he starts an argument over it, that's his own fault. Don't defend someone's overuse of excuses. Gosh.
__________________
What
MotorRoach is offline   Reply With Quote
Old 04-23-2014   #38
MotdSpork
Mafia? Zombies? Gold spork?
 
MotdSpork's Avatar
Default

Quote:
Originally Posted by MotorRoach View Post
Bullshit.

It's not help if you are just defending someone for only giving out excuses. People who were talking to him before were basically the ones helping by giving criticism and helping him understand how the coding works. It's not even an opinion, it's his fault for not wanting to admit he doesn't fully knows what he's talking about and stop giving out excuses that nobody understands him, and I doubt you understand him either.

This is not about picking on someone and humiliating him, it's about HELPING. If he starts an argument over it, that's his own fault. Don't defend someone's overuse of excuses. Gosh.
even IF he doesnt know what hes doing, he used 1-2 excuses about why he typed what he did, and no body is even acknowledging what he said.
__________________
Quote:
Originally Posted by EvilEnternity3000
a giant turtle with hot flames shooting from its crotch descends upon you
MotdSpork is offline   Reply With Quote
Old 04-23-2014   #39
The Zero Team
Default

Quote:
Originally Posted by MotorRoach View Post
Stuff
Actually you all were just bashing me for doing that stuff. At least from my perspective. And again from my perspective, I wasn't giving excuses, but explanations. So his help was appreciated. Now let's all have a beer and forget everything about the fact people call animated .gif files "screenshots" in terms of SRB2. And this "argument" thing, too.
The Zero Team is offline   Reply With Quote
Old 04-23-2014   #40
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

To be quite frank, there's a merit in doing things the right way: people will be looking at your lua script in time to come.

They will perhaps be learning from your lua script, good or not; they will copy your mistakes unknowingly. And we'll all be slightly worse off for it ultimately.

...

Like for instance, I so wish I hadn't introduced Lua into the world using implicitly defined functions in ThinkFrame. Now everyone's copying that and it's all my fault! =(
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline   Reply With Quote
Old 04-23-2014   #41
Wolfy
wolfs
Developer
 
Wolfy's Avatar
Default

Quote:
Originally Posted by The Zero Team View Post
Finally someone understands it. I'm tempted to write this whole message in all-caps, but I'd just get an infraction for doing so, so I won't.
To be very honest, you're proving yourself to be a stubborn and awful coder who wants to avoid learning. Programming is meant to make things easier, not to make things repetitive and tedious. By your logic, it's better to use an old computer from 1998 than a brand new computer running on an i7 simply because you don't "trust" it.
__________________
Quote:
[23:56:36] <SM-MaxX> prisma illya is a gift to this impure earth and a shining beacon for all anime
Wolfy is offline   Reply With Quote
Reply

Thread Tools

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 03:38 PM.


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