Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Mach Speed Repository: Adaptive Physics

- A Mod for Sonic Frontiers.

primary preview sec preview img sec preview img sec preview img

1. Introduction

This is a Framework that is a part of Mach Speed Repository.

This framework allows you to change Sonic's Open Zone physics based on the situation by changing RFL values in player_common.pac. (To learn more about RFL, read How to Make RFL Mod)

Since this framework is a part of Mach Speed Physics: Next Generation, it shouldn't be used with Mach Speed Physics: Next Generation or other complex code mods.

To learn how to make code mod, read How to make Code Mods.

2. Structure

Adaptive Physics is made of two codes: Code "Simple Physics Changes" and Code "Adaptive Physics Changes" 

Code "Simple Physics Changes" is used for changing values forever. As long as this framework is loaded, this value won't change.

Code "Adaptive Physics Changes" is used for constantly changing values. This is the heart of Adaptive Physics.

I wrote a lot of notes in the code. For example:
 

if (IS_STATE_FLAG(IsBoost)) // If Sonic is Boosting


for this line, if (IS_STATE_FLAG(IsBoost)) is written in C# for the game, and // If Sonic is Boosting is written in English to help your understanding.

Please download "Adaptive Physics - Easy Example" for quick demo of adaptive physics and download "Mach Speed Repository - Adaptive Physics" for actual physics used for Mach Speed Physics: Next Generation

3. Resources

I added "Character States" folder to "Adaptive Physics - Easy Example". This folder is not necessary for the mod to work, but it contains list of states for each character since it's a nice resource to have.

Please note that many of the states are unused and/or crash the game. 

4. Usage

Feel free to include this framework in your mod under these rules.

1. You must put a link of the framework in your mod description. 
     (ex: This mod uses Adaptive Physics)
2. If you modified my code, you must mention that the code has been modified in the your mod description.
     (ex: This mod includes modified version of Adaptive Physics)
3. You must credit me so that I know which mods are using my frameworks.
     (ex: Author Group: Adaptive Physics |  Author:  Trepe Serafin)

Login or Sign up to access this!
Login or Sign up to access this!

Files

Alternate File Sources

Credits

Key Authors

Trepe Serafin

HMM Libraries

HyperBE32 uPic

RFL2HMM

HyperBE32 uPic

Submitter

Login or Sign up to access this!
Login or Sign up to access this!
Login or Sign up to access this!

Game

Login or Sign up to access this!

Category

Sub-category
category img Scripts

Details

Version

Unknown

License

Share

  • 1
  • 3k
  • 2
Login or Sign up to access this!

More from Submitter

preview img
248 24.1k 13
arrow_back