Jump to content

New Map idea


Strike9
 Share

Recommended Posts

I have this idea of a map for gta2 that would turn it into a top down combat racer

I just need some help to script it.But I can probly make the map i just need a basic script so i can find the right cordinates and stuff This is further explained in the text file below, also sry if this is in the wrong area, i didn't know if this was supposed to be here or in the modding stub. so i posted here bcause there wasn't a gta classics area in the modding stub.

gta racing.txt

Link to comment
Share on other sites

  • 2 months later...

Version 0.75 should be out by the end of this week, this version feature a vast amount of changes including,

1.the spawn point has been moved to the parking lot

2.parked cars

3.more buildings

4.working water and slopes

5.an apartment complex has been added

6.many more race tracks have been added

7.junkyard added

there is still no missions yet and probably never will be.Unless someone can script them.

check out the screen shots below.

post-3858-126083017391_thumb.jpg The starting place still no save point though.

post-3858-126083018947_thumb.jpg a proposed map of the um... map.

post-3858-126083020283_thumb.jpg a beach resort next to a lakeside racetrack.

post-3858-126083021997_thumb.jpg the first 2 rows of apartments more will be added soon.

These apartments are were the people stay while they

are racing.

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 years later...

the latest version includes an expanded map and more parked vehicles as well as several paintshops to change your vehicle's color, there is also a crane in the junkyard you can use to put cars on the flatbed trailer, i have experiment with creating races but it hasn't gotten to far as you will see, the ai car just runs to the side of the map and then it reverses.

if anyone knows how to script competive racing ai please help.I would make it available to download but i dont have anymore space to upload it and i can't figure out how to delete things so i can make more.

Edited by Strike9
Link to comment
Share on other sites

Ok i finally figured it out, and the ai car will now race around the track, but i have one last problem, it will not do so unless it is bumped by the player's car. Can anyone figure out why this is happening as I am so close to getting this script figured out

here is the bulk of my current script for the race

race1:

ropp1=create_char (90.0,25.0,2.0) 2 0 guard end

op1=CREATE_CAR ( 90.0, 24.0, 2.0 ) 3 270 stratosb END

SET_CHAR_OBJECTIVE (ropp1,ENTER_CAR_AS_DRIVER , op1)

set check=1

set pcheck=1

set lap=0

set race=1

GIVE_WEAPON ( op1 , Car_Machine_gun, 99 )

SET_FAVOURITE_MODEL ( ropp1 , stratosb )

SET_CHAR_THREAT_SEARCH (ropp1, area)

SET_CHAR_THREAT_REACTION (ropp1, REACT_AS_NORMAL )

ADD_ONSCREEN_COUNTER (lap, lap)

ADD_ONSCREEN_COUNTER (pcheck, pcheck)

while_exec(race=1)

set_arrow_colour (rguide, blue)

If (pcheck=1)

point_arrow_at (rguide, 5.0,23.0,2.0)

endif

If ((pcheck=1) and (LOCATE_CHARACTER_ANY_MEANS (p1, 5.0,23.0,2.0, 3.0 , 3.0)))

point_arrow_at (rguide, 4.0,4.0,2.0)

set pcheck=2

endif

If ((pcheck=2) and (LOCATE_CHARACTER_ANY_MEANS (p1, 4.0,4.0,2.0, 3.0 , 3.0)))

point_arrow_at (rguide, 158.0,4.0,2.0)

set pcheck=3

endif

If ((pcheck=3) and (LOCATE_CHARACTER_ANY_MEANS (p1, 158.0,4.0,2.0, 3.0 , 3.0)))

point_arrow_at (rguide, 159.0,23.0,2.0)

set pcheck=4

endif

If ((pcheck=4) and (LOCATE_CHARACTER_ANY_MEANS (p1, 159.0,23.0,2.0, 3.0 , 3.0)))

point_arrow_at (rguide, 100.0,23.0,2.0)

set pcheck=5

endif

If ((pcheck=5) and (LOCATE_CHARACTER_ANY_MEANS (p1, 100.0,23.0,2.0, 3.0 , 3.0)))

point_arrow_at (rguide, 5.0,23.0,2.0)

set pcheck=1

++lap

endif

if (lap>3)

CLEAR_ONSCREEN_COUNTER (lap)

CLEAR_ONSCREEN_COUNTER (pcheck)

remove_arrow (rguide)

set race=0

endif

if

(( check=1)and (IS_CHAR_OBJECTIVE_PASSED (ropp1) ))

SET_CHAR_TO_USE_CAR_WEAPON ( ropp1 , ON )

SET_CHAR_OBJECTIVE (ropp1,GOTO_AREA_IN_CAR, 5.0, 23.0, 2.0)

SET_CHAR_DRIVE_AGGRESSION (ropp1, ON)

Set_char_max_drivespeed (ropp1,0.38 )

set check=2

endif

if

(( check=2)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 5.0,23.0,2.0, 3.0 , 3.0)))

SET_CHAR_OBJECTIVE (ropp1,GOTO_AREA_IN_CAR, 4.0, 3.5, 2.0)

set check=3

endif

if

(( check=3)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 4.0,3.5,2.0, 1.0 , 3.0)))

SET_CHAR_OBJECTIVE (ropp1,GOTO_AREA_IN_CAR, 81.0, 4.0, 2.0)

set check=4

endif

if

(( check=4)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 81.0,4.0,2.0, 3.0 , 3.0)))

SET_CHAR_OBJECTIVE (ropp1,GOTO_AREA_IN_CAR, 158.0, 4.0, 2.0)

set check=5

endif

if

(( check=5)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 81.0,4.0,2.0, 3.0 , 3.0)))

SET_CHAR_OBJECTIVE (ropp1,GOTO_AREA_IN_CAR, 120.0, 4.0, 2.0)

set check=6

endif

if

(( check=6)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 120.0,4.0,2.0, 3.0 , 3.0)))

SET_CHAR_OBJECTIVE (ropp1,GOTO_AREA_IN_CAR, 158.0, 4.0, 2.0)

set check=7

endif

if

(( check=7)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 158.0,4.0,2.0, 3.0 , 3.0)))

SET_CHAR_OBJECTIVE (ropp1,GOTO_AREA_IN_CAR, 159.0, 23.0, 2.0)

set check=8

endif

if

(( check=8)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 159.0,23.0,2.0, 3.0 , 3.0)))

SET_CHAR_OBJECTIVE (ropp1,GOTO_AREA_IN_CAR, 100.0, 23.0, 2.0)

set check=9

endif

if

((( check=9)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 100.0,23.0,2.0, 3.0 , 6.0))) and

(not(lap1>3)))

set check=1

++ lap1

endif

if

((lap1>3)and(LOCATE_CHARACTER_ANY_MEANS (ropp1, 100.0,23.0,2.0, 3.0 , 3.0)))

display_message (1022)

kill_char (ropp1)

set race=0

endif

endwhile

return

This script is very primitive and basically just creates a car that races around the track, and some arrows to guide the player around as well, in the future i plan to add additional ai and a functioning check point and lap counters as well as possibly a timer, but right now i'm just trying to fix the issue of the ai car having to be bumbped first before it actually races.

Edited by Strike9
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...