NixasHearts

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?
 

NixasHearts

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,348
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.
 

NixasHearts

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,693
Reaction score
3,032
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
6,114
Reaction score
5,901
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.
 

Latest Threads

Latest Posts

Latest Profile Posts

Random useless fact of the day: All mushrooms are edible. Some however only once.
Back to streaming more Poppet Quest game dev in about 15 minutes. :LZSexcite:

I like how in 2018 I was able to build a really good PC for less than 600 USD, with a 10 series GPU, which was the latest gen at the time. Now in 2023 for 650usd I can build something with a 20 series card, which is 4 years old and 2 gen behind now. Pc parts pricing is a complete mess nowadays.
Me: *sudden burst of motivation to do something amazing*
Me, 5 minutes later: "Yeah, that's not happening"

Forum statistics

Threads
131,555
Messages
1,220,841
Members
173,224
Latest member
soloman897
Top