SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Kart Releases & Mods > Kart Miscellaneous

Reply
 
Thread Tools
Engine Swap v1.6 - Change your kart stats Details »»
Engine Swap v1.6 - Change your kart stats
Version: 1.6, by Lucario_ (Lucario) Lucario_ is offline
Developer Last Online: Oct 2020

Category: Version: SRB2 Kart Rating: (2 votes - 3.60 average)
Released: 12-30-2019 Last Update: Never Favourites: 3
Scripts

This script allows you to change your kart stats (speed and weight) instead of using skin stats via commands.
Now you can play as your favourite character with your favourite stats

COMMANDS:
Spoiler:

engine_help: Shows you the commands and current stats.
engine / en: Multi-command, get a list of usages by using the command without parameters.
engine_server: Display current server settings of Engine Swap.


VARIABLES - These variables are only for server and remote admin.
Spoiler:

engine_enabled <No / Yes>: Toggles entire Engine Swap. Default Yes.
engine_joinmessage <Disabled / Chat / Console>: Toggles the join message when a player joins. Default Disabled.
engine_allowinbattle <No / Yes>: Allow of Engine Swap will be active on Battle mode or not. Default No.
engine_bounds <Normal / Unlimited / Custom>: Changes the bounds of Speed or Weight. Default Normal.
engine_notify <No / Yes>: Toggles notification when a player changes their engine.


CHANGELOG
Spoiler:

v1.6
- Added replay support via a synced table instead cvars because for some reason cvars doesn't works at all, but at least works perfectly. Finally!
- Changed on-screen warning text.
- Changed some text of the 'engine' command.
- Removed some junk in the code.

v1.5.1
- Added on-screen warning if Restat is enabled with Engine Swap saying that keeping both active at time will conflict.
- Added 'engine_enabled' variable for toggling entire Engine Swap.
- Added 'engine $[number]' to 'engine' command which list all players with custom engine and their player name and player number.
- Merged 'engine_server' with 'engine_help', so 'engine_server' is removed.

v1.5
- Added notifications when a player changes their engine.
- Added 'engine' command as the master command.
- Added 'engine_notify' server console variable to toggle notifications.
- Changed print of commands.
- Removed 'speed', 'weight', 'reset', 'list' and 'get' commands in favor of 'engine' command.

v1.4
- Added 'get <skinname>' command.
- Added 'list' command.
- Added 'engine_server' command.
- Added 'engine_joinmessage', 'engine_allowinbattle', 'engine_minspeed', 'engine_maxspeed', 'engine_minweight' and 'engine_maxweight' console variables.
- Renamed 'engine_unlimited' to 'engine_bounds'.
- Renamed 'engine_reset' to 'reset' and added 'rt' as alias of 'reset'.
- Renamed 'engine_weight' to 'weight' and added 'ss' as alias of 'speed'.
- Renamed 'engine_speed' to 'speed' and added 'ss' as alias of 'sw'.
- Better print of commands. (No more rainbow colours mode).
- Rewrite of ThinkFrame core and now checks if 'kartspeed' or 'kartweight' is not equals to players custom selection.

v1.3
- Now the custom stat will be applied after finishing a race and the stat changes you make while spectating will be applied once you join the game.
- Renamed command 'enginehelp' to 'engine_help'.
- Renamed command 'resetengine' to 'engine_reset'.
- Renamed command 'set_weight' to 'engine_weight'.
- Renamed command 'set_speed' to 'engine_speed'.
- Fixed an issue where the script wouldn't let you change the speed or weight after a race and in the intermission voting screen

v1.2
- Better only numbers system check on 'set_speed' and 'set_weight' commands.
- If battle mode is underway the addon auto disables and re enables when race mode is underway.

v1.1.1
- Fixed the "Only Numbers!" issue.

v1.1
- Now players can't change their stats in the middle of a race. (After countdown).
- Fixed a bug by trying to put non-numerical values on 'set_speed' or 'set_weight' commands.

v1.0
- Initial release.


SCREENSHOTS
Spoiler:

HELP COMMAND


ENGINE COMMAND


SERVER COMMAND

Download Now

File Type: lua KL_EngineSwap-v1.6.lua (30.8 KB, 44 views)

Screenshots

Click image for larger version

Name:	srb2kart_fWGkWoxgDi.png
Views:	2040
Size:	180.5 KB
ID:	29708   Click image for larger version

Name:	srb2kart_RCikc12LTb.png
Views:	2112
Size:	129.9 KB
ID:	29709   Click image for larger version

Name:	srb2kart_xju4IHqsCo.jpg
Views:	2003
Size:	86.9 KB
ID:	29710  

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Comments
Old 12-30-2019   #2
D00D64
Probably Responsible
Moderator
 
D00D64's Avatar
Default

Welcome to releases!
D00D64 is offline   Reply With Quote
Old 12-31-2019   #3
Lucario_
Lucario
 
Lucario_'s Avatar
Default

Update 1.1:
- Now players can't change their stats in middle of race. (After countdown).
- Fixed a bug by trying to put non-numerical values on set_speed or set_weight commands.
__________________
Having curiosity on modding and enjoying playing.

Lucario - The Aura Pokémon
Lucario_ is offline   Reply With Quote
Old 01-05-2020   #4
Winds-of-Slang
Default

Even if i put down numbers, it will always say "only numbers!"
Winds-of-Slang is offline   Reply With Quote
Old 01-06-2020   #5
SCOTT0852
 
SCOTT0852's Avatar
Default

Could there be some sort of admin-only console command to allow for values higher than 9 to get something like Offroad Crawla's 17 weight? Of course, it should be disabled by default, but it would be fun to play around with.
SCOTT0852 is offline   Reply With Quote
Old 01-19-2020   #6
Lucario_
Lucario
 
Lucario_'s Avatar
Default

Quote:
Originally Posted by SCOTT0852 View Post
Could there be some sort of admin-only console command to allow for values higher than 9 to get something like Offroad Crawla's 17 weight? Of course, it should be disabled by default, but it would be fun to play around with.
Is really possible to set more that 9 of speed and weight?
__________________
Having curiosity on modding and enjoying playing.

Lucario - The Aura Pokémon
Lucario_ is offline   Reply With Quote
Old 01-21-2020   #7
SCOTT0852
 
SCOTT0852's Avatar
Default

Quote:
Originally Posted by Lucario_ View Post
Is really possible to set more that 9 of speed and weight?
Yes, but it requires lua. A couple characters have stats above 9 or below 1, but they just become 1 or 9 unless you have lua to force them to the "correct" stats, but the only character with that lua is Offroad Crawla with stats of 1 speed and 17 weight. Engine Swap is a lua script, so it should have no issue with that.
SCOTT0852 is offline   Reply With Quote
Old 03-27-2020   #8
Lucario_
Lucario
 
Lucario_'s Avatar
Default

Version 1.4 is released!

CHANGELOG
- Added 'get <skinname>' command.
- Added 'list' command.
- Added 'engine_server' command.
- Added 'engine_joinmessage', 'engine_allowinbattle', 'engine_minspeed', 'engine_maxspeed', 'engine_minweight' and 'engine_maxweight' console variables.
- Renamed 'engine_unlimited' to 'engine_bounds'.
- Renamed 'engine_reset' to 'reset' and added 'rt' as alias of 'reset'.
- Renamed 'engine_weight' to 'weight' and added 'ss' as alias of 'speed'.
- Renamed 'engine_speed' to 'speed' and added 'ss' as alias of 'sw'.
- Better print of commands. (No more rainbow colours mode).
- Rewrite of ThinkFrame core and now checks if 'kartspeed' or 'kartweight' is not equals to players custom selection.
__________________
Having curiosity on modding and enjoying playing.

Lucario - The Aura Pokémon
Lucario_ is offline   Reply With Quote
Old 03-30-2020   #9
Lucario_
Lucario
 
Lucario_'s Avatar
Default

Now, you have absolute permission to repack my addon. I think for us, we now about the problematic addon limit (only 48 files). That's not means that you can modify the code!
__________________
Having curiosity on modding and enjoying playing.

Lucario - The Aura Pokémon
Lucario_ is offline   Reply With Quote
Old 04-15-2020   #10
Lucario_
Lucario
 
Lucario_'s Avatar
Default

New version v1.5 released!

CHANGELOG:
- Added notifications when a player changes their engine.
- Added 'engine' command as the master command.
- Added 'engine_notify' server console variable to toggle notifications.
- Changed print of commands.
- Removed 'speed', 'weight', 'reset', 'list' and 'get' commands in favor of 'engine' command.
__________________
Having curiosity on modding and enjoying playing.

Lucario - The Aura Pokémon
Lucario_ is offline   Reply With Quote
Old 05-31-2020   #11
Lucario_
Lucario
 
Lucario_'s Avatar
Default

Version 1.5.1 released.
- Added on-screen warning if Restat is enabled with Engine Swap saying that keeping both active at time will conflict.
- Added 'engine_enabled' variable for toggling entire Engine Swap.
- Added 'engine $[number]' to 'engine' command which list all players with custom engine and their player name and player number.
- Merged 'engine_server' with 'engine_help', so 'engine_server' is removed.
__________________
Having curiosity on modding and enjoying playing.

Lucario - The Aura Pokémon
Lucario_ is offline   Reply With Quote
Old 4 Weeks Ago   #12
Lucario_
Lucario
 
Lucario_'s Avatar
Default

Version 1.6 released:
- Added replay support via a synced table instead cvars because for some reason cvars doesn't works at all, but at least works perfectly. Finally!
- Changed on-screen warning text.
- Changed some text of the 'engine' command.
- Removed some junk in the code.
__________________
Having curiosity on modding and enjoying playing.

Lucario - The Aura Pokémon
Lucario_ 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 Off
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:53 AM.


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