Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Darok on November 16, 2009, 04:48:01 pm

Title: Help in Pixelmovement Script
Post by: Darok on November 16, 2009, 04:48:01 pm
Hi! Im making a Sniper Game, and i want to make a headshoot option. The head of the enemies, is a lot smaller than a tile, so i want to make events smallers than a tile.
Here is the Script:
http://www.rpg-palace.com/downloads/details.php?id=4
Its too big to put in this post >_<
There are instructions, but i just know the basic of english >_>
Bye!
Title: Re: Help in Pixelmovement Script
Post by: Satoh on November 16, 2009, 06:33:48 pm
f0tz!baerchen's pixel script has the option of changing event sizes.

I'm not sure what script that is, but I suggest using f0tz!' script. (I'm using it now that I know more about it)

For his script you just add a comment to the first line of the event that says
event_size: (width in pixels),(height in pixels)



EDIT: Ok having rechecked, it is his script... anyway... that's the syntax.

here is my character size (I made mine a bit larger than the default I think)

event_size: 32,24
Title: Re: Help in Pixelmovement Script
Post by: Darok on November 16, 2009, 08:32:05 pm
Mmmm
It dont work >_<
http://i658.photobucket.com/albums/uu304/DarokTitan/SuperTileset.png
Look at this tileset, i want the head of the man at the window, to be an event, and of course, the body, another event.
Bye!
Title: Re: Help in Pixelmovement Script
Post by: Satoh on November 16, 2009, 08:56:02 pm
The size of the event is measured from the very bottom pixel of the event. If it didn't work, I'd imagine it's because you were measuring incorrectly or are using a different version of the script...

This is the version I have.
Spoiler: ShowHide
#===============================================================================
# ** Pixelmovement Script
#-------------------------------------------------------------------------------
#
# f0tz!baerchen
# v1.3
# 10.12.2006
#
#-------------------------------------------------------------------------------