Difference between revisions of "Template:WikiV2/GameUpdateNews"
Jump to navigation
Jump to search
JappaWakka (talk | contribs) m (fixed the link to lower versions) |
JappaWakka (talk | contribs) |
||
| Line 5: | Line 5: | ||
=== Smaller Changes === | === Smaller Changes === | ||
* New Command - @Pokemon.Hatch(PartyID, [CanRename], [Message]) | * <code>New Command - @Pokemon.Hatch(PartyID, [CanRename], [Message])</code> | ||
* Added Leer, Tail Whip, Water Gun, Vine Whip, Poison Sting and Scratch move animations | * Added Leer, Tail Whip, Water Gun, Vine Whip, Poison Sting and Scratch move animations | ||
* Updated spin animations for NPC warping/changing costumes in cutscenes | * Updated spin animations for NPC warping/changing costumes in cutscenes | ||
| Line 60: | Line 60: | ||
=== New script commands and constructs, mapping and content pack features === | === New script commands and constructs, mapping and content pack features === | ||
* @text.notification(text,[int_delay=500],[int_backgroundID=0],[int_IconID=0],[str_sfx],[str_script],[bool_priority=0]) | * @text.notification(text,[int_delay=500],[int_backgroundID=0],[int_IconID=0],[str_sfx],[str_script],[bool_priority=0]) | ||
* displays a box in the top right of the screen with the given text, it lasts the given delay in 1/100s of a second, looks and sfx can be determined in the script, a script can be attached and either the script is activated with Q, or a script-less notification is closed with Q, the “priority” flag makes it take precedence over all other notif for cutscenes. | ** displays a box in the top right of the screen with the given text, it lasts the given delay in 1/100s of a second, looks and sfx can be determined in the script, a script can be attached and either the script is activated with Q, or a script-less notification is closed with Q, the “priority” flag makes it take precedence over all other notif for cutscenes. | ||
* <player.isgamejolt([bool])> | * <player.isgamejolt([bool])> | ||
* Checks if save is a Gamejolt save and, optionally, if they are banned | ** Checks if save is a Gamejolt save and, optionally, if they are banned | ||
* <pokemon.mastershinyrate([bool])> | * <pokemon.mastershinyrate([bool])> | ||
* Returns the system’s shiny rate bool determines if it accounts for shiny charm and shiny boosting events, default true | ** Returns the system’s shiny rate bool determines if it accounts for shiny charm and shiny boosting events, default true | ||
* @screen.showimage(str_texture,[str_sfxname],[int_x],[int_y],[int_w],[int_h]) | * @screen.showimage(str_texture,[str_sfxname],[int_x],[int_y],[int_w],[int_h]) | ||
* Displays the given texture in the display box, like when a pokemon is renamed, the optional int arguments can define the start position and size of the texture if not taking the whole image file | ** Displays the given texture in the display box, like when a pokemon is renamed, the optional int arguments can define the start position and size of the texture if not taking the whole image file | ||
* @screen.showmessagebox(str_text|[intArr_rgb1]|[intArr_rgb2]|[intArr_rgb3]) | * @screen.showmessagebox(str_text|[intArr_rgb1]|[intArr_rgb2]|[intArr_rgb3]) | ||
* Displays a large message box in the center of the screen with the given text. Uses RGB color for box background, font color, and box border respectively, example 0,0,0 is white | ** Displays a large message box in the center of the screen with the given text. Uses RGB color for box background, font color, and box border respectively, example 0,0,0 is white | ||
* <system.button(str_buttonname)> | * <system.button(str_buttonname)> | ||
* Returns the system name of the button bound to that control | ** Returns the system name of the button bound to that control | ||
* <system.token(str_tokenname)> | * <system.token(str_tokenname)> | ||
* Returns the requested token from the correct language files (not yet used but usage coming in future versions) | ** Returns the requested token from the correct language files (not yet used but usage coming in future versions) | ||
* <level.environmenttype> | * <level.environmenttype> | ||
* Returns the environment type of the current map | ** Returns the environment type of the current map | ||
* <entity.rotation(ID)> | * <entity.rotation(ID)> | ||
* Returns the integer rotation of the entity with the given ID | ** Returns the integer rotation of the entity with the given ID | ||
* @environment.setseason(int) | * @environment.setseason(int) | ||
* Sets the season based on the given int, 0-3 starting with Winter, -1 resets to default. | ** Sets the season based on the given int, 0-3 starting with Winter, -1 resets to default. | ||
* @player.setskin(name) | * @player.setskin(name) | ||
* Permanently replaces the players skin with the given skin (vs @player.wearskin() which is not permanent) | ** Permanently replaces the players skin with the given skin (vs @player.wearskin() which is not permanent) | ||
* Updated <daycare.canbreed(daycareID,[bool]> | * Updated <daycare.canbreed(daycareID,[bool]> | ||
* New optional Bool for if it should use multipliers for the rates or just return base rates, default true. | ** New optional Bool for if it should use multipliers for the rates or just return base rates, default true. | ||
* Updated <inventory.name(itemID,[sing/plur])> | * Updated <inventory.name(itemID,[sing/plur])> | ||
* New optional argument, accepts “s”, “singular”, “p”, or “plural” and if the last 2 returns the plural form of the item name. | ** New optional argument, accepts “s”, “singular”, “p”, or “plural” and if the last 2 returns the plural form of the item name. | ||
* 3 new entity models; | * 3 new entity models; | ||
* OutsideStepModel: ID = 19, for outside corners with ledges. | ** OutsideStepModel: ID = 19, for outside corners with ledges. | ||
* WallModel: ID = 20, a single vertical face of a standard wall block. | ** WallModel: ID = 20, a single vertical face of a standard wall block. | ||
* CeilingModel: ID = 21, sits at the bottom of a normal entity space, points down. | ** CeilingModel: ID = 21, sits at the bottom of a normal entity space, points down. | ||
* Updated several duplicate commands: | * Updated several duplicate commands: | ||
* @pokemon.hide -> @overworldpokemon.hide | ** @pokemon.hide -> @overworldpokemon.hide | ||
* @player.hidepokemonfollow -> @overworldpokemon.hide | ** @player.hidepokemonfollow -> @overworldpokemon.hide | ||
* @player.showpokemonfollow -> @overworldpokemon.show | ** @player.showpokemonfollow -> @overworldpokemon.show | ||
* @player.togglepokemonfollow -> @overworldpokemon.toggle | ** @player.togglepokemonfollow -> @overworldpokemon.toggle | ||
* Commands that change the environment will now stick through reloading the map with ‘R’ in debug mode | * Commands that change the environment will now stick through reloading the map with ‘R’ in debug mode | ||
* Content packs can now control several interface colors by modifying Content\GUI\Menus\InterfaceColors.png | * Content packs can now control several interface colors by modifying Content\GUI\Menus\InterfaceColors.png | ||
Revision as of 21:28, 19 December 2022
|