• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Essentials v16.2+] Overworld Shadows

16
Posts
7
Years
  • The script also works in essentials 16.2, although you need to follow different instructions when you are editing Sprite_Character:

    Spoiler:

    And done, the script will work on essentials 16.2.
    Another thing I want to share there is a little solution for the player shadow, when the player is transparent.

    In the same line as this: NO_SHADOW_EVENT.include?(event.character_name) you must to put this: || event.transparent

    And done, easily fixed :D
     
    Last edited:
    56
    Posts
    7
    Years
    • Seen Aug 17, 2023
    I just want to correct something in Clara's fix for v16.2:

    Here:
    "Next, under:
    def groundY
    return @character.screen_y_ground
    end
    You must add this:
    def visible=(value)
    super(value)
    @reflection.visible = value if @reflection
    end"
    instead of adding "@reflection.visible = value if @reflection", you should add "@shadowoverworldbitmap.visible = value if @shadowoverworldbitmap" and then it works perfectly. You're welcome! :)
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • I won't since I don't use that kind of pause menu. If you do that in a vanilla essentials you won't have that bug.
     
    1
    Posts
    4
    Years
    • Seen Jan 20, 2021
    Hey Wolf, is there a chance that you will update the script for essentials v18.1? It does seem to work, but when descending from a jump the shadow sprite seems to not appear until the character is on the ground again.
     

    DarrylBD99

    Content Creator and Game Developer
    321
    Posts
    4
    Years
  • Hey Wolf, is there a chance that you will update the script for essentials v18.1? It does seem to work, but when descending from a jump the shadow sprite seems to not appear until the character is on the ground again.

    Did you rename TILEWIDTH and TILEHEIGHT to TILE_WIDTH and TILE_HEIGHT? If no, try it out and test it again.
     
    4
    Posts
    3
    Years
    • Seen Jul 11, 2021
    I don´t know if you are still solving problems but I got this error:

    [Pokémon Essentials version 18.1]

    Exception: NameError

    Message: uninitialized constant Game_Map::TILEWIDTH



    Backtrace:

    Sprite_ShadowOverworld:27:in `jump_sprite'

    Sprite_ShadowOverworld:44:in `update'

    Sprite_Character:176:in `shadow_update'

    Sprite_DynamicShadows:157:in `update_or'

    Tilemap_Perspective:434:in `update'

    Spriteset_Global:26:in `update'

    Scene_Map:152:in `updateSpritesets'

    Scene_Map:129:in `miniupdate'

    Messages:149:in `pbUpdateSceneMap'

    Messages:1256:in `pbMessageDisplay'


    Thanks you!!
     
    I don´t know if you are still solving problems but I got this error:

    [Pokémon Essentials version 18.1]

    Exception: NameError

    Message: uninitialized constant Game_Map::TILEWIDTH



    Backtrace:

    Sprite_ShadowOverworld:27:in `jump_sprite'

    Sprite_ShadowOverworld:44:in `update'

    Sprite_Character:176:in `shadow_update'

    Sprite_DynamicShadows:157:in `update_or'

    Tilemap_Perspective:434:in `update'

    Spriteset_Global:26:in `update'

    Scene_Map:152:in `updateSpritesets'

    Scene_Map:129:in `miniupdate'

    Messages:149:in `pbUpdateSceneMap'

    Messages:1256:in `pbMessageDisplay'


    Thanks you!!

    The script is not compatible with v18.1. But, you can try searching for TILEWIDTH and TILEHEIGHT and replace them with TILE_WIDTH and TILE_HEIGHT.
     

    Canal_do_Lontra

    Oshawott uses Razor Shell
    207
    Posts
    4
    Years
  • I won't since I don't use that kind of pause menu. If you do that in a vanilla essentials you won't have that bug.

    hello WolfPP, I am needing help, the shadow worked, but when it will jump above a tile with the terrain 1, it don't works, appears an error, can you help me?
    [Essentials v16.2+] Overworld Shadows
     
    1
    Posts
    5
    Years
    • Seen Feb 13, 2022
    Is there any way to remove the shadow of the protagonist for a moment?
     
    1
    Posts
    1
    Years
    • Seen May 9, 2023
    I got this error while trying to add the shadows script, any help?

    ---------------------------
    Pokémon Essentials Esp v16.3
    ---------------------------
    Excepción: NameError

    Mensaje: uninitialized constant Sprite_Character::Sprite_ShadowOverworld

    Sprite_Character:40:in `perspectivetilemap_initialize'

    Tilemap_Perspective:423:in `shadow_initialize'

    DynamicShadows:151:in `initialize'

    Spriteset_Map:163:in `new'

    Spriteset_Map:163:in `_animationSprite_initialize'

    Spriteset_Map:162:in `each'

    Spriteset_Map:162:in `_animationSprite_initialize'

    AnimationSprite:45:in `shadow_initialize'

    DynamicShadows:220:in `initialize'

    Scene_Map:29:in `new'



    Esta excepción ha sido registrada en

    C:\Users\Westbrook\Saved Games/Pokémon Essentials Esp v16_3/errorlog.txt.

    Presiona Ctrl+C para copiar este mensaje al portapapeles.
    ---------------------------
    Aceptar
    ---------------------------
     
    Back
    Top