Strike9 Posted September 30, 2009 Share Posted September 30, 2009 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 More sharing options...
Strike9 Posted October 6, 2009 Author Share Posted October 6, 2009 okay i started to finally figure out how to script, thanks to wikigta and project cebera, so i got this beta version of the map you can download here, it needs alot of work though and there are no missions yet. But if there are any bugs just pm me, i guess. version 0.5 gtaracing.zip Link to comment Share on other sites More sharing options...
Strike9 Posted December 14, 2009 Author Share Posted December 14, 2009 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. The starting place still no save point though. a proposed map of the um... map. a beach resort next to a lakeside racetrack. 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 More sharing options...
Strike9 Posted December 18, 2009 Author Share Posted December 18, 2009 Version .75 is ready, basically the map is now 75% complete, the cars are also equipped with weapons now, like the previous post there still isn't any missions but the map has been changed.........alot. this version of the gta2rcr map is available for download below. rcr.zip Link to comment Share on other sites More sharing options...
Youngie1337 Posted January 14, 2010 Share Posted January 14, 2010 Nice work m8. Link to comment Share on other sites More sharing options...
Strike9 Posted August 30, 2012 Author Share Posted August 30, 2012 (edited) 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 August 30, 2012 by Strike9 Link to comment Share on other sites More sharing options...
Strike9 Posted September 5, 2012 Author Share Posted September 5, 2012 (edited) 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 September 5, 2012 by Strike9 Link to comment Share on other sites More sharing options...
Strike9 Posted September 7, 2012 Author Share Posted September 7, 2012 i temporarely fixed this problem by having 2 ai cars that spawn and inevitably collide with eachother at an angle that sets them both off to run around the track. Anyway i have another problem with trying to get 2 phones to work simultaneosly. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now