SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > Outdated Releases (2.1.X) > Lua (2.1.X)

 
 
Thread Tools
DirectionChar for SRB2 2.1 Details »»
DirectionChar for SRB2 2.1
Version: GDI Lach, by Sapheros Sapheros is offline
Developer Last Online: May 2018

Category: Version: SRB2 Rating: (1 votes - 3.40 average)
Released: 01-21-2018 Last Update: Never Installs: 3
Scripts Re-Useable Content


It's exactly what you're thinking of, except it's in 2.1 and probably not as perfect as you would think it will be in 2.2. But it is a damn fine attempt.



Veterans of SRB2 will want to turn it off, as this is on by default. You can toggle this by typing the command "directionchar". There is also an option for Player 2 in splitscreen via "directionchar2".

In the cases of the actual coding ported from 2.2's source which was distributed by toaster, directionchar will have no effect in the following scenarios:
  • Exiting the level
  • 2D mode (though probably not Axis2D)
  • NiGHTS Mode
  • A case where the player cannot be controlled
  • Gliding and climbing
  • Analog Mode (which you probably won't use when you add this lua anyways)
  • The player is in their Pain state
  • The player is using the homing attack via CA_HOMINGTHOK
  • Any and all Ring Slinger gametypes (Match, Team Match, CTF, Tag, H&S)
  • Being Carried by an object (You won't have any directional influence on your end most of the time.
  • When you play as HMS.
This SHOULD work for most character situations, including overlays or following objects, IF this lua is added last.



Credits to toaster for the original 2.2 Source.
Credits to LJ Sonik and MPC for assistance in porting.
Credits to MPC for the Splitscreen command and minor bugfixes.
Credits to Lach for making me look lazy and actually try to make this script work as best as possible.


Honorable Mention to Jay with the older versions of this script using an overlay, thanks to some discoveries made from his older coding, we did manage to learn about interpolating issues with MD2s.

Download Now

File Type: lua 2.1directionchar.lua (4.9 KB, 942 views)

Screenshots

Click image for larger version

Name:	srb20173.gif
Views:	5083
Size:	6.87 MB
ID:	12259  

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 10-21-2019   #22
Rumia1
Backseat Developer
 
Rumia1's Avatar
Default

You may not have noticed this but Lach has a fancy red name, denoting the fact that he's a Developer. This means he gets special access to 2.2 so he can help develop it.
__________________
Quote:
Originally Posted by Cirno
Egguman-senpai...
Rumia1 is offline  
Old 10-21-2019   #23
Lach
nanananananananananananan a
Moderator
 
Lach's Avatar
Default

This isn't my mod. The GIF in this release post comes from a link in this news post.
Lach is offline  
 

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 02:22 PM.


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