Jump to content

2 questions about Race


DakiLLa

Recommended Posts

Posted

Hi. I have two questions about Race module in Mta deathmatch:

-How to make non-tight cars like in TrackMania? with this function easy to drive on map and make your own time records which i need cse we have championships on our server.

-And second: Is anybody have table of records for any map? i saw it on one server, but i think it's too difficult for me to make it, so, can any help me to make simple table of records for race-maps in dm?

Posted
Hi. I have two questions about Race module in Mta deathmatch:

-How to make non-tight cars like in TrackMania? with this function easy to drive on map and make your own time records which i need cse we have championships on our server.

-And second: Is anybody have table of records for any map? i saw it on one server, but i think it's too difficult for me to make it, so, can any help me to make simple table of records for race-maps in dm?

-Non-tight cars... You mean ghosts? I think that that would

1. Be REALLY difficult

2. You might need peds... =/ (or maybe moveObject helps. Still, you need to make exact waypoints.)

-Yes I remember that too! I had a record! :D

Anyway, you need to heavily mod the race module. They had changed it quite much to make records, and for as far as I know, they're not willing to share the code.

However, if you REALLY want it, I think you need to know how to mod Race resource and I guess you need to know something about MySQL, which seems the best solution for this kind of use.

Helpful links for MySQL:

-MTA-MySQL --Note that you need to download the module!

-MySQL tutorial --Note that you need to execute things like "SELECT blah..." with mysql_query. And don't forget you sometimes need to use things like mysql_fetch_row for some functions.

Hopefully something of this post will help you. ;)

Posted

-Non-tight cars... You mean ghosts? I think that that would

1. Be REALLY difficult

2. You might need peds... =/ (or maybe moveObject helps. Still, you need to make exact waypoints.)

i saw this function on Revolution Crew server, and I thought that is not difficult..but if it is, so, i go to learn mysql :)

Posted

-Non-tight cars... You mean ghosts? I think that that would

1. Be REALLY difficult

2. You might need peds... =/ (or maybe moveObject helps. Still, you need to make exact waypoints.)

i saw this function on Revolution Crew server, and I thought that is not difficult..but if it is, so, i go to learn mysql :)

Good choice. I never thought I'd use MySQL, but it's actually quite good! :D

Posted

enabling the ghost mode is pretty easy just add this line to the meta.xml of the resource that contains the race map you want to play in ghostmode:

<setting name="#ghostmode" value="true"/> 

example:

<meta> 
   <info type="map" gamemodes="race" name="Map name" author="Author name" description="Map description" version="Map version number"/> 
   <race src="Map file.map"/> 
   <settings> 
      <setting name="#ghostmode" value="true"/> 
   </settings> 
</meta> 

Posted

Well, I made a record script for the PotholeStudios server, which is as far as I know the only record script for DM:Race at the moment. If you want more info reply here or even better contact me on the PotholeStudios forums (http://www.potholestudios.com).

mvol

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