Creating custom buildings for Events use

Vallar

Veteran
Veteran
Joined
Jun 10, 2014
Messages
106
Reaction score
12
First Language
Not English
Primarily Uses
Hello guys, 

So I have been thinking about this for sometime and I am not sure if this can be done (and if so how). What I want to do is create a spritesheet that has some houses aligned. Then place these houses as graphics for Events to place them. 

Here is an example of what I want to do:

Here is a building I custom made using the editor; excuse the bad mapping -- it is just an example.

Next of what I want to do is insert that building into a sheet (with other buildings of course of various sizes/looks) to be placed on top of terrain (which is Tileset A).

Import that spritesheet into the editor.

Create an event and see the tileset in the list like tileset B and C in the below picture so I could select the building as graphic (as if you select a 2-tile flame for example), place the event and on run time, it would appear as a full house on top of that area.


Is the above at all possible? And if so... can anyone link or tell me how?

PS: I didn't know what to call this so I wasn't able to search but I went through some of the problems/tutorials and all I could find that is close is Tileswap and I tried it... but that would make of a nightmarish solution if I for example would like a random building to appear or the building I want to add is big or more detailed (more than the 24 tiles I have now).

Thank you very much in advance.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Tiles are limited to 32x32 grid, any larger object will have to be build out of single tiles.


Events can either use sprites or single tiles.


In the case of sprites there are no size limitations, but you'll need a minimum of 3x4 pictures in the same size to make a sprite, and the 3-rows are the animation.


In the case of a tile, events are limited to a single tile - which means 32x32.


Please rethink your plans with these informations, because the idea to placing full houses in tilesets will not help with events...
 

Vallar

Veteran
Veteran
Joined
Jun 10, 2014
Messages
106
Reaction score
12
First Language
Not English
Primarily Uses
Thank you for the fast reply Andar. 

I understand the 32x32 limit, but as you mentioned that with sprites, it seems there is a bit of leeway with that. For example the Flame tilesheet has the green, blue and red torches that are 2x1 tiles rather than the normal candle ones. Is it possible to have the house placed in a sheet like the Flame one but instead of 2x1 tiles it would be let's say... 4x4 tiles?

Or are you saying to do this the only way is to do it using Tileswap? Is that the easiest thing? 

Again thank you very much! :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Is it possible to have the house placed in a sheet like the Flame one but instead of 2x1 tiles it would be let's say... 4x4 tiles?
You still don't understand - sprites have absolutely nothing to do with tiles or the grid.
You can make sprites that are 10x50 pixels, or sprites that are 300x800 pixels (although that won't fit on the screen).


Sprites are stored completely different than tiles, and that means a picture made for a sprite can never be place in the tilesets like you intended to do according to

Create an event and see the tileset in the list like tileset B and C in the below picture
If you create something as a sprite, it will never be in the tileset B or C, it will always be a sprite only.
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
If I remember for doing this you have to input @ from of you file name it will take in consideration the size of your graphics but i am not sure 
 

Vallar

Veteran
Veteran
Joined
Jun 10, 2014
Messages
106
Reaction score
12
First Language
Not English
Primarily Uses
You still don't understand - sprites have absolutely nothing to do with tiles or the grid.

You can make sprites that are 10x50 pixels, or sprites that are 300x800 pixels (although that won't fit on the screen).

Sprites are stored completely different than tiles, and that means a picture made for a sprite can never be place in the tilesets like you intended to do according to

If you create something as a sprite, it will never be in the tileset B or C, it will always be a sprite only.
I see what you mean now, sorry if I was annoying you in anyway, it wasn't my intention.

If I remember for doing this you have to input @ from of you file name it will take in consideration the size of your graphics but i am not sure 
Yeah, I tried the "@" and the "!" but neither worked... Andar is right, this won't work. Seems my best bet is the Tileswap >.>

Thank you very much guys ^_^ you confirmed my suspicions.
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
just use event for your house.

you just have to remember the format. it's 3x4 (3 to left 4 to bottom).

so if your house have width of 100x100pixel. create 300x400 pixel transparent graphic. and put your house there.

to make it easier. turn on the grid (if using photoshop. i don't know if gimp have grid). and set the grid to 100x100. put in one of the grid. so basically in one spriteset you can have 12 house. (if not animated). put the graphic in Graphic/characters and don't forget adding $ in front of filename. example: $house.png

edit: you might want to set your event to have direction fix if your charset have different building.

some tips... by using event. you can animate the building. by making the second house a little bit different (example smoke moving).

then in event. tick walking animation. stepping animation.

maximum animation you can set is 12 frame. you can combine stepping animation with move route face left, right, etc.

see my EST - DECOR AND BUILD SYSTEM here on how i use event to make animated building (and also make it large event).

http://www.rpgmakervxace.net/topic/15689-est-build-and-decor-series

check the demo...

tips: one charaset can contain:

12 static building

or

4 of 3 frame animated building

or

1 of 12 frame animated building (but it's harder to set the move route. you need to check the timing)

one day i might write tutorial about this :D .
 
Last edited by a moderator:

Sharm

Pixel Tile Artist
Veteran
Joined
Nov 15, 2012
Messages
12,760
Reaction score
10,884
First Language
English
Primarily Uses
N/A
Making a house an event sprite is possible, but I don't understand why you'd want to do it that way. You'd have to have the entire house as the same passability, so setting it up so the character can go into the door but not walk on the walls is impossible.
 

Vallar

Veteran
Veteran
Joined
Jun 10, 2014
Messages
106
Reaction score
12
First Language
Not English
Primarily Uses
just use event for your house.

you just have to remember the format. it's 3x4 (3 to left 4 to bottom).

so if your house have width of 100x100pixel. create 300x400 pixel transparent graphic. and put your house there.

to make it easier. turn on the grid (if using photoshop. i don't know if gimp have grid). and set the grid to 100x100. put in one of the grid. so basically in one spriteset you can have 12 ...
W00t thank you very much. That is about what I wanted to do, yes. I'll look into that link ^_^. 

Making a house an event sprite is possible, but I don't understand why you'd want to do it that way. You'd have to have the entire house as the same passability, so setting it up so the character can go into the door but not walk on the walls is impossible.
Yeah, I wouldn't mind if the house is entirely blocked and can't be walked into. I can just add an event at the doorway with dirt or something and that should do the same effect as when you enter the door but without the animation. 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
@ has nothing to do with file names.


The problem with using an event for a LARGE sprite is that only the 32x32 pixels where the event is placed in the editor will be checked for passability. This means you can't react with any other part of the house, but you CAN walk all over it.
 

Vallar

Veteran
Veteran
Joined
Jun 10, 2014
Messages
106
Reaction score
12
First Language
Not English
Primarily Uses
I see what you guys mean. 

I resorted to a solution to the same thing and to reduce the amount of custom scripts required for this. I would surround the required to be built house with a siege from Tileset A, that way I don't have to worry about passability. Put an event right at the front of the siege so it tricks the player into believing he is reacting with the building.

Something like the below:

________

|               |

|               |

|___ v __ |

Where the dashes and underscore represent the siege and the "v" is the event that the player interacts with. 

I am starting to think this could actually be done. :D
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
If I were doing this, I would use Hime's Tileswap script (though I made a version of my own before that was released - it's not as nice/flexible as Hime's but it does what I need). If you have trouble getting it set up, ask for help, rather than using a more difficult method.


I assume you are going to this trouble because you want a map where the building is missing, then at some point in the game it is built and you want it there for the rest of the game?
 
Last edited by a moderator:

Vallar

Veteran
Veteran
Joined
Jun 10, 2014
Messages
106
Reaction score
12
First Language
Not English
Primarily Uses
That was my first thought. I used the Tileswap script and it worked and did the job... but the problem is... if I am doing this as a randomized building or based on a player's choice, it is going to be a nightmare.

And yes, you are absolutely right. Something happens in game, the building appears and if something else happens another would appear and so on...
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,309
Reaction score
531
First Language
indonesian
check my link. it doesn't have passability issues. because the event is large event (using my EST - EVENT SIZE script included in the demo)... you can set how your event collision. (3 tiles left, 1 tiles up, 4 tiles right).

there's also EST - Graphic shift so you can shift graphic a little bit so it doesn't look weird where it trigger (we expect that the house trigger at the door. but sometimes the door is not placed on center of the event)... basically if you want to build a house event. that script can do that...

try looking at my event there (pokemon house, earthbound house, and rtp house). and look at the comment at the page.
 
Last edited by a moderator:

Vallar

Veteran
Veteran
Joined
Jun 10, 2014
Messages
106
Reaction score
12
First Language
Not English
Primarily Uses
Estriole, I have been looking at the scripts. I am still trying to understand a few things with it since I am not all that experienced with scripts. Most of the scripts I used were plug and play with little modification from my end. 

But, I have been studying yours and it is... amazing! :)

EDIT: Say I have another question completely unrelated to this question... do I ask here or do I create a new thread?
 
Last edited by a moderator:

Sharm

Pixel Tile Artist
Veteran
Joined
Nov 15, 2012
Messages
12,760
Reaction score
10,884
First Language
English
Primarily Uses
N/A
You create a new thread. That way if someone else has the same question as you it'll be easier to find the answer. Also the people who can help you will be more likely to see it and not just ignore it because the title doesn't match the current question.
 

Vallar

Veteran
Veteran
Joined
Jun 10, 2014
Messages
106
Reaction score
12
First Language
Not English
Primarily Uses
I just didn't want to be spammy, that is why I asked. Thank you very much, Sharm. I'll do as you recommended.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
As long as it's meaningful, it's never spammy ;)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top