signbit
bit
nav_l nav_r
Real Estate Framework
Information Files
Author: Axeman420 No Screenshots Available Yet
Website:
Works with: GTA IV 
Release/Version:
Status: Complete
Started on: 21 May 2012
Last Updated: 26 May 2012
Views: 9332
Type: Created from scratch
Rating: 2.5 (0 votes)
Please log in to rate this mod
Description
This is a framework for easily adding buyable properties to IV\EFLC\TC's\Etc, . (It comes with several IV related properties already defined as a demo.)

You can easily add new properties using the new property editor, the framework handles the rest.

The properties you can buy, show up as green dollar signs on the map. (Purchased properties show up as red dollar signs.)

To purchase a property, go there, and hold the action key on the big green marker. (Text should show up listing the price, etc, . It may take a second to show up when entering a marker, and to vanish when leaving a marker.)

You will collect rent on an hourly basic from purchased properties. (Adjust the rent value for each property in the .xml file to suite your taste.)

Property Editor

The property editor is a new feature, which gives you an in-game GUI for adding properties.

To access the property editor, you will need to press the tilde key(~, `), this will open a console, type the command "PropertyEditor" and press 'Enter' to open the editor. (Press the tilde key again, to close the console, and use the property editor.)

The editor is straightforward, enter a name, a price, and a value for rent, and click the submit button. (It shows examples of what values it expects, and has basic error checking in place just in case.)

The map icon\marker for your newly created property will be placed wherever you are standing when you click submit, so, position yourself appropriately before opening the editor.

Manual Editing

<BuyableProperty>
 <Name>Urban Housing</Name>
 <Price>500000</Price>
 <Owned>false</Owned>
 <Position>
 <X>-123.03614</X>
 <Y>1433.4198</Y>
 <Z>20.4059734</Z>
 </Position>
 </Rent>5000</Rent>
</BuyableProperty>

You can manually edit existing entries, or add new ones to the file "Properties.xml". (Editing is trivial, I'm sure you can figure it out.)

Adding a new property, is as simple as filling out the information above, and copying it into the file "Properties.xml". (Pay attention to the files layout, and match it.)

You can remove entries as well, just remove the entire entry, as shown above.

Note: The XML is only read once during the initial loading of the script, so, changes made during the game won't take effect, unless you use the console, and the "ReloadScripts" command. (I suggest sticking to the property editor, if you don't know what you're doing.)

Requirements

GTAIV .Net Script Hook v1.7.1.7 BETA

The .Net Script Hook has it's own requirements, be sure to read them, and get anything you need. (See link.)

Installation

Place the files "RealEstate.net" and "Properties.xml" into your GTAIV directory, in a subfolder called "scripts". (This is where the .exe for the game is located, etc, . You may need to create the "scripts" subfolder.)

(The same applies to EFLC\DLC\Total Conversions\Etc, but, not all properties will be correct using those, a custom "Properties.xml" needs to be created for each one.)

v1.1 Updates

1. Purchased properties map icon now turns red, making it easier to distinguish between owned properties, and ones you don't own.

2. I've enabled a feature that makes map icons only show up when you get near them. (This only effects the mini-map, it basically keeps the mini-map from getting too crowded.)

3. Property Editor added.


v1.1a Updates

1. Fixed button alignment issues with the "Property Editor".

2. Made the console close itself after opening the "Property Editor".

Usage Notes

Feel free to re-host this, edit it, use portions of the code, etc, .

Basically, do anything you want with it, just give me credit for my work.

Forum Link
http://www.gtaforums.com/index.php?act=ST&f=65&t=510343&st=0#entry1061309452
Comments
Axeman420 commented over 11 years ago:
Well, it seems like no one is updating GTAGarage anymore, so always follow the forum link to get the latest release.
Axeman420 commented over 11 years ago:
Be sure to check the forum link, it has a temporary download link to the current version. (v1.1)
Axeman420 commented over 11 years ago:
Thanks, I'm glad you like it. :)
crimedontpay commented over 11 years ago:
Ok great mod but you know you just made professer prof's mod business mod look like a hunda, an your mod is a ferrari lol. but with this one more options and customs. professer prof might not be happy.
View All Comments | Add Comment

Discuss this mod at GTAForums
0 users viewing this mod (0 guests)
bit
brick bit bit bit
bit bit bit bit