What's new

Furniture System

Not open for further replies.
Jan 28, 2017
idek, prolly in Greece

Furniture System

Development OverviewFeature Name: Furniture
Script Author(s): TommyB
Documentation By: Thekillergreece
Special Thanks: Scumpy (Original Author)
Feature Version: Multiple versions

Furniture System

The furniture system is a big and essential part of Red County Roleplay. Not only is it a source of income for some, it's also a source of entertainment and creativity.

You can decide to furnish default interiors if you're feeling lazy or you just don't have a very creative mind. But for those willing to take on the challenge, you can also begin from scratch and build your very own interior from the walls to the dirty clothes on the floor, you're free to design whatever you want, how you want.

Of course, the system isn't limited to the interior of your house, the exterior can be customized too. If you want to put up your American flag, or hold an out-door barbecue, there's nothing stopping you from doing so.

However, there are a few limits in place to avoid laggy contraptions, every house has its own limit which you can check by using /furniturelimit inside of the house, you can use /furniturecount to check how many object slots you have left.
If you don't have enough slots to create your contraption, you can donate to increase the limit.
Level I allows you to own 750 furniture objects.
Level II allows you to own 1000 furniture objects.
Level III allows you to own 2000 furniture objects.

The system is pretty straight forward: you buy furniture items, you place them, done. However, we'd like to give you a bit more in-depth information of the commands and the features of this awesome system.

Basic Furnishing
You start by buying furniture with the command /buyf. A dialog will pop up, which pretty much guides itself. Once you get to the furniture you want to buy, you click on the icon and boom, the object will appear infront of you, ready to place. You move as desired (tip: hold Space to move your camera around while editing an object) and place down by pressing Enter or clicking the Save icon. If you press ESC, the purchase will be cancelled. If you place the object, you will once again be asked to confirm your purchase. You can chose how to pay by using the command /payfurn and specifying 'Cash' or 'Bank', be sure to do this before buying furniture. Hint: if you just spent 10 minutes perfecting the placement of an object before realizing you don't have enough cash, press F6 and then enter /payfurn bank before confirming the purchase. If you can't find the item you're looking for, you can use /searchf to search the entire object catalog by name.

You can edit placed furniture objects with /editfurn (/ef for short), turn on /furnlabels to see the ID's of every object seperately. Use /editfurnlabeldist to increase the streaming distance for the labels.

Edit Placement - Allows you to move placed objects.
Manipulate Texture - Used for applying textures to objects.
Snap an Object - Allows you to grab objects from your unplaced inventory and assign them to an existing object's position.
Duplicate - Duplicates an object and its position, allowing you to move the duplicated object freely.
Nudge - Used for nudging objects.
Put Away - Puts away objects and stores them in your unplaced inventory.

If you want to begin from scratch you can use /pickupallf. (Warning: this will pick up /every/ furniture object in your house, with no way to go back!)

You can erase a single furniture object from your inventory by using /removef and clicking the object you wish to erase, or erase your entire furniture inventory by using /removeallf. (Warning: this will delete your entire object inventory, no refunds in case of accidents!)

Objects that have been picked up will be placed in your furniture object inventory. You can access your furniture object inventory by using /placef, click on an object to place it as you would in /buyf.

Basic Tips For Furnishing
1. Have a design in mind or even drawn out in advance. This generally isn’t a rule of thumb and well done interiors can be done on the spot, but it saves time knowing what you want before you commit to a project.
2. Use reference images, look at other interiors for inspiration or come up with your own designs. There’s plenty of objects available which you can manipulate the textures and placement of in order to create custom objects, like drop down ladders, railings, futons, etc.

3. Manipulate textures. Objects with different texture slots can have certain parts be made transparent in order to bring out other parts, like suitcases made into handles.
4. Experiment with objects and find new designs. SAMP is limited, but a lot can be done with what’s available.
5. This is more of a suggestion rather than a must-have, but it helps with precise placement if you have CamHack. It’s straightforward and easy to use, and it allows you to get up close and perfect every object’s placement individually.
6. Use the nudge tool. This is a must if you care about placement and symmetry in your interiors. Experiment with values to find the right placement. Values in the 4 digit range (0.001, 0.002, 0.003, etc) are the lowest and move the least, which can help with more precise placement. 3 digit values, like 0.01, 0.02 and so on are in the mid range and move slightly more. 2 digit values (0.1, 0.2, 0.3, etc) are on the higher end and move significantly further. Finally, single digit values (1, 2, 3, etc) are the highest and move the furthest. These values can be adjusted according to your needs, whether you’re aligning walls or mirroring placement. This is more nuanced, but it comes easily with time.
7. This isn’t mandatory, but you can use other objects to help align your furniture, walls, etc. Using the nudge tool, inch closer to the object and adjust it until it’s centered.
8. To avoid clipping walls and objects, nudge in the opposite direction of the clipping. Use the lowest value.
9. Use plain textures, like blue, to help point out inconsistencies, like unaligned walls, vague clipping, etc.
10. Use custom textures. This is optional and there’s plenty of textures available in game, but you can always use texture sites like SA:MP Textures to find more.
11. Detail. Make your interior look lived in. Add trash, cigarette butts, food laying around, whatever. It never hurts to add personality.
12. If you know how to use Texture Studio, it's a great way not only to get into mapping, but to find textures, too.

Helpful Links
1. Texture Studio Guide
2. SA:MP Object Models Site
3. Texture Site
Not open for further replies.