Overworld Shadows for v17

Resource Overworld Shadows for v17

Marin

kinda done
Administrator
Posts
308
#1
Marin submitted a new resource:

Overworld Shadows for v17 - Every event (unless it contains a certain string in the name) will get a shadow. Done by the code.

This resource can be installed via the Universal Plugin Installer.

You've probably heard of KleinStudio's overworld shadow script before; a lot of fangames use it, after all. It's apparently incompatible with Essentials v17, so I thought I'd give my own take on it.

It is semi-compatible with Essentials v16. It will not crash, but due to the way viewports are handled, shadows will appear on top of...
Read more about this resource...
 

Kipik

Novice
Member
Posts
12
#3
This wasn't happening before installing your script i swear lol
Code:
Script '==== UPI Installed ====' line 397: NoMethodError occurred.
 
undefined method `[]' for nil:NilClass
 
Last edited:

Kipik

Novice
Member
Posts
12
#6
Try uninstalling it from the UPI and installing it again.
Code:
[Pokémon Essentials version 17.2] 
Exception: SystemStackError 
Message: stack level too deep 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init' 
Overworld Shadows:154:in `ow_shadow_init'
 

Fiona

Rookie
Member
Posts
9
#9
This is pretty cool, but I'm coming across a couple bugs.

Basically when I have the Following Pokemon script installed, the shadows wont show unless I have some Pokemon in my party, meaning there are no shadows till the player gets their first Pokemon. The big return if in on_shadow_init seems to be returning out for all sprites in this scenario, but I haven't attempted pulling it apart yet, it's a pretty hairy one-liner.

Additionally, if you enter a map with an empty Dependent event (what the Following Pokemon script uses to add the follower without you), then there's a shadow under it. Fixed by adding "Dependent" to your event name blacklist.
 

Marin

kinda done
Administrator
Posts
308
#10
This is pretty cool, but I'm coming across a couple bugs.

Basically when I have the Following Pokemon script installed, the shadows wont show unless I have some Pokemon in my party
Isn't this the whole idea? There won't be a shadow if there isn't a follower. There isn't a follower if there aren't any Pokémon, and thus there isn't a shadow when there aren't any Pokémon.
Or do you mean that nothing at all gets shadows whenever you don't have any Pokémon?
 

Marin

kinda done
Administrator
Posts
308
#12
I mean that nothing at all get's shadows before I have any Pokemon added to my party, sorry I wasn't clear enough.
I've been pretty busy with other stuff, sorry for not having come back to this earlier. I'll take a look at debugging it later today. Can't promise anything unfortunately.
 

kuruganne

Rookie
Member
Posts
1
#15
The shadow shows up even when you enter in some building (it doesn't disappear with you), also the shadow of you companion (if you have one) shows up too.
 

SuzuiXIi

Novice
Member
Posts
22
#16
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `list' for 0...1:Range
Shadows:60:in `pbShouldGetShadow?'
Shadows:180:in `initialize'
Spriteset_Map:64:in `new'
Spriteset_Map:64:in `_animationSprite_initialize'
Spriteset_Map:63:in `each'
Spriteset_Map:63:in `_animationSprite_initialize'
Sprite_AnimationSprite:45:in `shadow_initialize'
Sprite_DynamicShadows:206:in `initialize'
Scene_Map:20:in `new'
Scene_Map:20:in `createSpritesets'


What do I have to change?
 

Marin

kinda done
Administrator
Posts
308
#17
Thanks for the reports. I'm on vacation so I can't look at them, sadly.

If any coders are around, I assume all I need to do for the first issue is to make the shadow's opacity match the sprite's opacity.
 

SuzuiXIi

Novice
Member
Posts
22
#18
Well, when you're free, I would appreciate if you can see my error, what do I have to change and all that stuff?
Great job and happy holidays!
 
Top