Large Sprite ☆ Display Fix

Dymdez

Newbie-in-Chief
Veteran
Joined
Feb 4, 2014
Messages
751
Reaction score
150
First Language
English
Primarily Uses
Could someone explain to a noob what exactly this script does? The description in the OP leaves me wanting. What star-tile issue does this correct? I'm intrigued just looking at the overwhelming feedback.
 

Palsa

General of Aurda
Veteran
Joined
Dec 21, 2012
Messages
343
Reaction score
84
First Language
English
Primarily Uses
Could someone explain to a noob what exactly this script does? The description in the OP leaves me wanting. What star-tile issue does this correct? I'm intrigued just looking at the overwhelming feedback.
When a tile is set to Star, it will always appear above the character's sprite, but it can become problematic if your sprite is bigger then normal.

Basically, if your character is walking in front of a tree, where the upper section is set to Star overlay, then the top of the tree will appear in front of your character's sprite.

If your using the default VX sprites, then you shouldn't have to worry about it, though some XP and similar sprites may run into this issue.
 

Matombo

Veteran
Veteran
Joined
Jun 4, 2014
Messages
377
Reaction score
105
First Language
German
Primarily Uses
Is there a way to make this also work for NPC's?
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,140
Reaction score
7,800
First Language
English
Primarily Uses
RMMV
From the instructions in the script itself:

By default, this script only affects the player. To allow it to affect an event page as well, add a comment with the tag <large sprite> to the page of the event you would like to have affected by this.
 

Shinma

Lurker
Veteran
Joined
Dec 29, 2012
Messages
756
Reaction score
337
First Language
English
Primarily Uses
RMMV
I have to be doing something wrong. I started a fresh project just to ensure that there was not a conflict with any other script I might be using.

Image to show the basic layout. A cliff with a treetop behind it, from Tile B of the Exterior tileset. I also placed the treetop as an event to the left to show that the one on the right is normal tile placement:



Poor Eric, his head is chopped off:



He has been healed, his head has returned!



And lastly, to show normal default passability of that tile, which is a star:


Man, I have been using Imgur too much, I almost felt the need to post a cat tax!  =^.^=

Thanks for reading, I apologize if I missed something in the set up, but it says it is ready to go as is.
 
Joined
Sep 21, 2012
Messages
10
Reaction score
2
First Language
Spanish
Primarily Uses
Shinma

Did you set the upper terrain in your tileset?

class Sprite_Character < Sprite_Base

  ##------

  ## The ID of the terrain used to display the large character above ☆ tiles.

  ## If the player is below this tile (y position), the sprite will appear

  ## above all tiles and events from that y position up.  If the player is on

  ## the same tile or above (y position) the event will appear BELOW ☆ tiles

  ## from that position up.

  ##------

  UpperTerrain = 7

 

EDIT:

I just tested the script... It is not a bug,you must set the treetop terrain tag to 7. Just the upper part,not the entire tree.
 
Last edited by a moderator:

MisterTorgue

Explosioooooooons!
Veteran
Joined
Nov 4, 2014
Messages
326
Reaction score
54
First Language
Explosions!
Primarily Uses
So I am using it and still getting this

I had another script running previously that stopped this but made you turn transparent. I am running PVG's different sprite sheet controls that are needed as a core for the game, I don't know if there are known issues here?
 

Shinma

Lurker
Veteran
Joined
Dec 29, 2012
Messages
756
Reaction score
337
First Language
English
Primarily Uses
RMMV
Thanks, Mega. That took care of it. I have never really noticed the terrain tags inside the tilesets before!
 

MisterTorgue

Explosioooooooons!
Veteran
Joined
Nov 4, 2014
Messages
326
Reaction score
54
First Language
Explosions!
Primarily Uses
So I am using it and still getting this

I had another script running previously that stopped this but made you turn transparent. I am running PVG's different sprite sheet controls that are needed as a core for the game, I don't know if there are known issues here?
I have set the tree/cactus/brush tops e.c.t. to the terrain tag as well to test, again doesn't work, still has the same issues, really need this issue resolved so the game feels like normal again!!
 

Candacis

Pixel Pusher
Restaff
Joined
May 2, 2012
Messages
1,446
Reaction score
1,936
First Language
German
Primarily Uses
I really love this script for Ace, it fixes so many problems, not only with bigger sprites, but also some mapping problems. Any thoughts about having a similiar plugin made for MV?
 

RPGator

Villager
Member
Joined
May 23, 2015
Messages
7
Reaction score
1
First Language
English
Primarily Uses
N/A
Is it possible to edit the script so that the Game Player and Game Followers are both affected by this script?

By default it looks like this

I tried to change things around but the best I could do without causing an error was to make the script affect the Game Followers only (swapped Game_Player and Game_Follower in lines 71 and 72)

I was hoping someone with more knowledge than me knows a simple way to have the script affect both player and followers without causing an error? I had issues with the other large sprite fix by Moby so I was hoping to get this one to work. If it's too difficult I guess I'll have to turn off party followers in game  :(
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,487
Reaction score
12,032
First Language
English
Primarily Uses
RMMV
lol - you turned it on for followers, but off for the player.

Change it from this:

Code:
    return false if @character.is_a?(Game_Vehicle) || @character.is_a?(Game_Follower)    return false unless @character.is_a?(Game_Player) || @character.large_sprite
to this:
Code:
    return false if @character.is_a?(Game_Vehicle)    return false unless @character.is_a?(Game_Player) || @character.is_a?(Game_Follower) || @character.large_sprite
 
Last edited by a moderator:

RPGator

Villager
Member
Joined
May 23, 2015
Messages
7
Reaction score
1
First Language
English
Primarily Uses
N/A
Working perfectly now, thank you!

(I realized what I did lol...this is why asking for help is a lot more efficient than fumbling around blindly  :headshake:  )
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,487
Reaction score
12,032
First Language
English
Primarily Uses
RMMV
sometimes fumbling around can teach you more than asking and getting an answer. It's usually better if it's not blindly though ;)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Broke: Dont move. -boring. -passive. -uncreative. Woke: Bewegen Sie Nicht! +authoritative. +foreign. +reminds your son that he's a garden gnome now.
My girlfriend left a note on the fridge saying 'This isn't working, goodbye.' I opened the refrigerator and it works just fine. Weird.
BCj
Could someone translate something from Japanese to English for me?

Forum statistics

Threads
94,386
Messages
920,548
Members
124,165
Latest member
Zflooder
Top