Thread Rating:
  • 10 Vote(s) - 4.9 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 H-Mode7
#81
(06-06-2011, 06:06 PM)edmhotta Wrote: I have to thanks you. lol
Some results:
[Image: unled2rt.png] Ah ,see the left roff of house.Why on the right is normal and the left not.
And tell me more about this FPLE.

Those screen caps look amazing...so 3Dish. Very cheery

Reply }
#82
[Image: image1ved.jpg]

thank you.

Is this a specification though the position of the character is a little different when rotating like the picture?
Reply }
#83
Sinobi, check to make sure that your charset is properly centred it may just be that and not the script. :)
Reply }
#84
MetalRenard >Because the display position is different even if which character image is used,
I think that it is a problem on the script side.
Reply }
#85
There are two factors that cause the problem :
1. for a classic character sprite (32 * 48), feet are not at the bottom of the box (= the origin for the coordinates in the screen), and so they "fly" a little. To partially solve this problem, two rows are simply cut : for a 32 * 48 sprite, a 32 * 46 sprite is displayed -> see HM7 NEW CLASSES line 256 : @offset_height = 2

2. In a classic RM view, sprites are not displayed on the middle of their tile, but around the bottom of the tile. I tried to solve this with another offset -> see HM7 NEW CLASSES line 340 : y_intermediate = character.screen_y - 12

I think you can try to modify this line with : y_intermediate = character.screen_y - 16. Is it better ?
Some scripts :
Working on :
Reply }
#86
It was possible to display it well. Many thanks.
I really like this script!!

Reply }
#87
I am making an add-on script of H-mode7 script now. It is Universal Message System's comic_style.

http://save-point.org/showthread.php?tid=2394

I have only a little knowledge of RGSS.
However, because the H-mode7 script is too complex, I am embarrassed...
Please give me knowledge.

First of all, I think that I should acquire XY coordinates of the map's characters.
But, I don't understand coordinates corresponding to the rotation in H-mode7.

Perhaps, I think that it is OK if that coordinates are inserted in self.x self.y of UMS.

I have a lot of competitions with other scripts.
For instance, it is a shadow script, and a lightmap script, etc.

However, I think that I can apply by mimicking it if this is completed.

I'm sorry by poor English.
Reply }
#88
In the UMS, windows positions are given by the methods screen_x and screen_y of the class Game_Character (and thus Game_Player and Game_Event).
You need to use the positions of the graphics elements instead of these ones.

In HM7, sprites are not used to display character but surfaces (HM7::Surface). That means that you have to get the surface linked to a character. The easiest way to do this is to add an attribute to the Game_Character class (attr_accessor :surface) and initialize it when a new surface is created (in the method initialize of the class HM7::Surface, add : character.surface = self).
Then if you are in HM7 mode and you have a character with character.surface != nil, it is possible to get the coordinates.

The methods screen_x and screen_y of the class HM7::Surface return the x and y coordinates in the screen, as if the map was flat (so without the y-offset due to the altitude).
The method get_zoom returns the zoom value.

If the camera is set in the default [C0] mode, the corrected y value is given by :
surface.screen_y - (surface.altitude * $game_temp.sin_alpha >> 14) * surface.get_zoom

If you're in [C1] or [C2] camera mode, it is a little more complex since you have to add to the obtained y value the y-offset of the tilemap : it is the variable @vars[4] that can be found in the class HM7::Tilemap.

Some scripts :
Working on :
Reply }
#89
Thank you for explaining in detail. The display became possible thanks to the explanation.
You have helped me greatly. I appreciate your assistance indeed.

By the way, I also want the Mode7's FLAT function though it was also in a past log.
Reply }
#90
Is there anyway to turn of the rotate camera script in certain maps?
i ask because im using a mock First Person veiw in dungeons and an isometric veiw in world maps and dont want the world maps to be able to rotate.
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   H-Mode7 maps in RMVX Ace MGC 5 39,662 12-29-2018, 05:04 PM
Last Post: Kamillo
   H-Mode7 Visual Equipment Chaotech Games 8 34,939 03-30-2017, 01:58 AM
Last Post: wrathx
   H-Mode7 Caterpillar Chaotech Games 8 17,520 03-10-2017, 12:19 AM
Last Post: Lizzbutt
   Lycan ABS / MGC Mode7 Edit Patch DerVVulfman 2 8,526 10-18-2015, 07:12 PM
Last Post: DerVVulfman
   Lycan Enemy Bars / MGC Mode7 Edit Patch DerVVulfman 0 5,359 06-12-2014, 04:05 AM
Last Post: DerVVulfman
   MGC's Mode7 Edit DerVVulfman 0 5,145 06-12-2014, 03:49 AM
Last Post: DerVVulfman
   Mode7 MGC 1 9,872 12-30-2013, 05:43 AM
Last Post: DerVVulfman
   H-Mode7 / UMS Patch DerVVulfman 1 6,464 07-29-2012, 04:12 AM
Last Post: MetalRenard
   H-Mode7 maps in RMVX MGC 1 13,903 03-11-2012, 02:25 AM
Last Post: scaldwellhu
   Zenith TBS / MGCaladtogel's Mode7 Patch DerVVulfman 0 8,236 03-05-2008, 06:24 PM
Last Post: DerVVulfman



Users browsing this thread: