Jump to content

[WIP]Advanced Vehicle Shop


Xierra

Recommended Posts

Advanced Vehicle Shop

Introduction

Advanced Vehicle Shop is a vehicle shop with a goal for better design and more features than the rest of the vehicle shops.

This vehicle shop has varieties of camera views, an RGB vehicle body paint (MTA SA 1.1), more organized vehicle list, a vehicle showcase option, and better quality.

It's my upcoming project. I did this because I did not find any up to date made vehicle shop (except for 'shop' in which vehicles are included).

I want to try to make this resource as good as possible. The design includes GUI & DX elements combination to make the best design possible.

Progress

achievementsn.gif

So far only the GUI & DX elements have been made. Still a concept and without scripts, but it's likely to be this way :d:

mtascreen20110521191957.th.png

(Don't mind the radar)

What I want to change is changing the progress bar to a scrollpanel. I didn't find one in the GUIeditor, so I used progress bar as a placeholder.

Beside the shop name is the timeout. What works: When not pressing a button for one minute, you'll exit the shop automatically. When the timeout comes to zero, you'll also exit the shop automatically. This will prevent players from staying there. The amount of time is planned to be configurable.

This only shows the main menu. Later there will be a part where you can see some vehicle showcase.

Additional Info

I used GUIeditor and part of 'shop' resource (took only vehicles part script), for with this project. Thanks to R3mp and Castillo (solidsnake14) for the resources, they help a lot!

The problem is, I might run into problems whilst scripting the resource. So I might have some questions at the scripting section later... :roll:

Edited by Guest
Link to comment

nice, also you could add attachObject support this way:

when player choose object you make it setElementCollisionsEnabled(object,false)

then you check for vehicle and object sizes(getElementBoundingBox)

, and, if object is bigger then vehicle, scale down the object(setObjectScale) on the sizes of vehicle

then attach the object, and allow to change attach offset(propably also scaling down the object further would be nice)

lots of scripting, but would add another dimension into tuning

also don't forget handling functions will be on 1.1, so make spoilers/sideskirts/etc actually change grip/axeleration

and add something like turbo 8)

Link to comment

Whoops! I forgot, I'm so sorry! :P

But hey, I actually want to use some part of your 'shop' resource for the mechanics, especially the server-side.

nice, also you could add attachObject support this way:

when player choose object you make it setElementCollisionsEnabled(object,false)

then you check for vehicle and object sizes(getElementBoundingBox)

, and, if object is bigger then vehicle, scale down the object(setObjectScale) on the sizes of vehicle

then attach the object, and allow to change attach offset(propably also scaling down the object further would be nice)

lots of scripting, but would add another dimension into tuning

also don't forget handling functions will be on 1.1, so make spoilers/sideskirts/etc actually change grip/axeleration

and add something like turbo 8)

Well the thing is, it's not a mod shop. It's a vehicle shop. Still, for the mod shop, that could be a good idea, but it seems that I need to learn more about the handling.cfg parameters.

And of course, I will place the visitor into another dimension to choose a vehicle so no one interrupts the vehicle. Also, only one person can enter at a time, so there must be a 'timeout' function in order to prevent camping inside the shop.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...