Customisable House

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
I was wondering if there was a way to let the player customize their house. How I'd like it is they'd buy furniture from a shop, then when they're in their house if they go in to the menu it says 'My House' and then it will let them change the map and add the furniture they want. Is there anyway to do this?
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
That's pretty good, but I want the player to be able to put things anywhere in the house, where in that script it has specific places that you can put furniture.
 

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,346
First Language
No idea...
Primarily Uses
RMMV
Well, actually, he hasn't altered any scripts. It's all pure eventing.

You can edit the events and place them in more areas of your house.
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
Whoa. Okay, I'll give it a try.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You can use an event spawn script or item drop script on map...
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
That's pretty good, but I want the player to be able to put things anywhere in the house, where in that script it has specific places that you can put furniture.
You can change an event's location on the map using $game_map.events[n].x = v1 and $game_map.events[n].y = v2, where n is an Event's ID and v1/v2 are any values you please.  I think events' locations reset each time you visit the map, so you'd probably need to remember where the player wants them and set the furniture's location accordingly, then fade in the screen.

In practice this would be fairly complicated (especially if you're worried about furniture overlapping, etc.), but it's doable.

The easier way if you have specific places where you are allowed to put furniture, and can only put one piece of furniture in a single spot at a single time, is to have invisible events in that spot with all the different possible furniture that can go there, and set a variable when the player chooses to put a certain piece of furniture in spot n.  In the event that corresponds to spot n, just make a page for each possible type of furniture that can go there, and have that page require that the variable is (#) or higher.  It'll take a while to set up, but it's relatively clean and simple.
 

MisterTorgue

Explosioooooooons!
Veteran
Joined
Nov 4, 2014
Messages
324
Reaction score
49
First Language
Explosions!
Primarily Uses
You could also use (for single tile furinture) the grab script (I will try find source) so they can actively move things around.
 

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

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top