Release 1.1.0
- Added support for multiple sizing algorithms
- Added new sizing algorithm "gen9"
- Updated pokesizer command
Sizing Algorithms
Added support for multiple sizing algorithms to allow for future development of new algorithms.
- Renamed the old sizing to "basic" sizing algorithm
- Added a new sizing algorithm "gen9"
- Added a new configuration field
sizingAlgorithm
. At the moment, this accepts either "basic" or "gen9" as valid values - The default sizer used is "basic"
Basic sizing
This sizer will simply take a random value between the minimum and maximum size modifiers and sets that value to the scale of the Cobblemon.
This definition is found in sizes/basic.json
Gen9 sizing
This sizer attempts to replicate the sizing that's used in the 9th generation of Pokemon games.
The sizer will randomly choose a value between 0 and 255 and run it through the following formula to get the size for the Cobblemon:
minSizeModifier + (randomValue/255) * (maxSizeModifier - minSizeModifier) = chosenSizeValue
Thanks to WxAaRoNxW for this suggestion!
The definition is found in sizes/gen9.json
Both definitions have default values that can be modified.
Note: In the gen9 definition, the values defined must remain between 0 and 255.
New command functionality
Updated the pokesizer
command with additional functionality.
Command definition:
/pokesizer <player|self> [pokemon|slot] [size]
Command permutations
-
/pokesizer <player|self>
- Randomly resizes the entire team for the specified player or yourself if "self" is used
-
/pokesizer <player|self> [pokemon|slot]
- Resizes the specified pokemon or slot to a random size for the specified player or yourself if "self" is used
-
/pokesizer <player|self> [pokemon|slot] [size]
- Resizes the specified pokemon or slot to the specified size for the specified player or yourself if "self" is used
There are no permission changes in this version. You will still need the correct permissions to use these commands.
Extra notes
- The initial size definitions in the main configuration will not be automatically removed. This is so that if any changes were made to the file, they can be copied over to the new files. The old size definitions can be safely deleted at any time.
Release 1.0.1 Change log
-
Updated Cobblemon dependency to 1.6.1
- Added more ways for a Cobblemon to have its size changed
- Added size category to party screen and PC screen
- Added command to change a Cobblemon's size manually
Important Notes
-
The configuration file was changed to use the json format in this update and the previous configuration is now redundant. If you did not change anything in the configuration so far, you can ignore this. If you have, you will have to copy over any values from the old configuration. When that is done, you are free to then delete the old config file.
-
With the size category visuals on the party and PC screens, the mod must be installed on the client side too. The mod will still work only sever-side but none of the visuals will show for the player.
Cobblemon Size Changing
-
Starter Cobblemon will now have their size changed when chosen by a player.
-
When a fossil is revived, its size will be changed.
Size Category
Added a size category to the Cobblemon Party and PC screens. This will show just above the UI render of the Cobblemon. The default size categories that are defined are as follows:
Name | Size Range | Color |
---|---|---|
Tiny | 0.2 - 0.5 | #1b88cc |
Small | 0.51 - 0.9 | #1bcc9a |
Average | 0.91 - 1.2 | #ffffff |
Big | 1.21 - 1.6 | #e6ff2b |
Large | 1.61 - 1.9 | #f07426 |
Huge | 1.91 - 2.0 | #f21800 |
Name: The text that will be shown in the UI
Size Range: The size range that defines what text should be shown in the UI
Color: The color of the text in hexidecimal format
These are all entirely configurable via the mod config file and you can have as many or as few defined as you would like. The only condition is that the size range that you define for each category must fall inside the defined min and max size modifiers.
For example:
If minSizeMultiplier = 0.5
and maxSizeMultiplier = 1.2
then the smallest size category should have a low range of 0.5 and the biggest size category should have a high rage of 1.2.
Name | Size Range | Color |
---|---|---|
Small | 0.5 - 1 | #1b88cc |
Big | 1.01 - 1.2 | #1bcc9a |
Commands
Added a new command /pokesizer
to allow for manually changing the size of any Cobblemon in a party. The permission level values exist in the config. By default only admins can run the command. The arguments are defined as follows:
/pokesizer <Player> <PokemonPartyMemeber> <Size>
- Default permission level: 2
OR
/pokesizer self <PokemonPartyMemeber> <Size>
- Default permission level: 2
The self variant exists to allow for servers to let certain players change the size of only their own Cobblemon.
The permissions for these commands are cobblemonsizevariation.commmand.pokesizer
and for the self variant is cobblemonsizevariation.commmand.pokesizer.self
Release 1.0.1 Change log
- Updated Cobblemon dependency to 1.6.1
- Added more ways for a Cobblemon to have its size changed
- Added size category to party screen and PC screen
- Added command to change a Cobblemon's size manually
Important Notes
-
The configuration file was changed to use the json format in this update and the previous configuration is now redundant. If you did not change anything in the configuration so far, you can ignore this. If you have, you will have to copy over any values from the old configuration. When that is done, you are free to then delete the old config file.
-
With the size category visuals on the party and PC screens, the mod must be installed on the client side too. The mod will still work only sever-side but none of the visuals will show for the player.
Cobblemon Size Changing
-
Starter Cobblemon will now have their size changed when chosen by a player.
-
When a fossil is revived, its size will be changed.
Size Category
Added a size category to the Cobblemon Party and PC screens. This will show just above the UI render of the Cobblemon. The default size categories that are defined are as follows:
Name | Size Range | Color |
---|---|---|
Tiny | 0.2 - 0.5 | #1b88cc |
Small | 0.51 - 0.9 | #1bcc9a |
Average | 0.91 - 1.2 | #ffffff |
Big | 1.21 - 1.6 | #e6ff2b |
Large | 1.61 - 1.9 | #f07426 |
Huge | 1.91 - 2.0 | #f21800 |
Name: The text that will be shown in the UI
Size Range: The size range that defines what text should be shown in the UI
Color: The color of the text in hexidecimal format
These are all entirely configurable via the mod config file and you can have as many or as few defined as you would like. The only condition is that the size range that you define for each category must fall inside the defined min and max size modifiers.
For example:
If minSizeMultiplier = 0.5
and maxSizeMultiplier = 1.2
then the smallest size category should have a low range of 0.5 and the biggest size category should have a high rage of 1.2.
Name | Size Range | Color |
---|---|---|
Small | 0.5 - 1 | #1b88cc |
Big | 1.01 - 1.2 | #1bcc9a |
Commands
Added a new command /pokesizer
to allow for manually changing the size of any Cobblemon in a party. The permission level values exist in the config. By default only admins can run the command. The arguments are defined as follows:
/pokesizer <Player> <PokemonPartyMemeber> <Size>
- Default permission level: 2
OR
/pokesizer self <PokemonPartyMemeber> <Size>
- Default permission level: 2
The self variant exists to allow for servers to let certain players change the size of only their own Cobblemon.
The permissions for these commands are cobblemonsizevariation.commmand.pokesizer
and for the self variant is cobblemonsizevariation.commmand.pokesizer.self