Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

I would like to know if its possible to have furniture….


N1kkolas
 Share

Recommended Posts

I would like to know if its possible to have furniture, so if its possible for a player to buy a house in the game(i know that it is possible) but not just buying a game being able of putting furniture in the players house.So the player buys so furniture and the PLAYER puts the furniture in there OWN house.So like if there's a script for it or already in the game or something like that well i would just like to know.
Link to comment
Share on other sites

I am going to implement a thing like that, this is how I'm going to do it.

Each room will be furnished the same, as they are rented spaces, and when you use a scripted "furniture", it sets down the correct tiles in pre-detirmined coords for that item.

A shorthand way to do it I suppose, but its an idea
Link to comment
Share on other sites

You can use different scripted items for the same place, that just put down different tiles for a different version of a table or bed or whatever, if you want to add variety.

Its more work, but worth in in the end from the player perspective.
All the set tile commands and such can be found in
Announcments>All Commands, stickied near top.
I use alot of the set tile commands.

For bigger items you'll have to set down several tiles at once, so will require some testing to get all your coords right, but when finished will be a pretty cool system
Link to comment
Share on other sites

Okay i also thought of doing this : You make a website and people buy furniture online(with Virtual Money-(the money from the game)-).Like if they want Furniture its shows a picture of the furniture and the cost for it (with game money)so when they choose it well it sends you a message you go in there account take some money out from there account(the cost of the furniture)and then you add the furniture in there house(they also need to say where tp place it exemple : X=2  Y=5 <–- Coordination)

If my english is bad it's because i'm french
Link to comment
Share on other sites

make your maps have nothing on mask2 when empty.

make a scripted furniture script for each size of furniture
make items that when used call these scripts

scripts contain :
code to get the tile player is facing
for the width of item in question
by the height of item in question
check if tile is blocked or contains objects on mask2
if not either of these update tiles with new object based on cases depending on item that called it
set new attributes if necessary

write a pickup /command that
checks for certain tiles (furniture items) in square in front of you
if space in bags
clear tiles on mask2
clear tile attribs
put item back into inventory
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...