Resource icon

[Reusable] Persona Randomizer

This thread contains content that may be reused, modified, or ported by anyone.

Lamibe

Member
attachment.php


To add salt on team building this mod just randomize team to make character selection useless or prevents the use of some skin.

This mod add a skin randomizer as well as skin banning. Also it add a skin which when selected give you a random character.

Use "rt_help" to get a description of the commands in-game.

Variables :
rt_rand_randskin : Enable the skin randomizer.
rt_rand_noduplicate : Reduce duplicate in randomized skin(still some if not enough skin but it's reduced)

Commands :
rt_ban_list : Print the list of banned skin(can be used by anyone).
rt_ban_banskin <skin> : Ban a skin(note that you cannot ban every skin)
rt_ban_unbanskin <skin> : Unban a skin
rt_ban_clear : Unban every skin
rt_ban_allowonly <skin> : Only allow a single skin

Changelog :
v1 : Only the randomizer
v2 : - Added banskin as well as making the randomizer compatible with low number of skin
- Spilted commands and variables
- Changed mod name from "Team Randomizer" to "Random Utilities"
v2b : - Fixed an oversight allowing "allowonly" to ban even if an incorrect skin is specified.
v3 : - Well renamed again.
- Added a random skin which select a random skin if you pick it(well it's invisible sonic but change skin if choosed)


Known issues :
- If you somehow manage to ban every skin the game will freeze
- You can use banned skin if you select it via the skin command and then don't change it in skin selection


Just note this mod only work with SRB2Persona of course.
 

Attachments

  • srb20041.gif
    srb20041.gif
    493.7 KB · Views: 1,750
  • PL_RandomUtilities-v2b.lua
    6.1 KB · Views: 113
  • PL_RandomTeam-v3.pk3
    5.7 KB · Views: 80
Last edited:

Lamibe

Member
Updated the mod pretty fast to add skin ban.
Now Dirk-only run is easier.


------Edit

Updated again but don't want to post twice. Well new version add a random skin
 
Last edited:

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Top