Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,319 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Sign in to follow this  
ZAZ

Races and Tuning

Recommended Posts

streetfire

Where can I get a stripped main.scm? By 'stripped' you mean unnecessary code is taken out, right?

Share this post


Link to post
Share on other sites
ZAZ

 

Where can I get a stripped main.scm? By 'stripped' you mean unnecessary code is taken out, right?

 

The classic stripped main (or call it total stripped main) includes only the necessary code to get ingame.

Find the source text here

and the compiled main.scm here

or in Steve Ms mapcleaner

 

A stripped Main subsequently senses means a main without Story scripts

Click on my sig to find it.

The Stripped Main with Externscripts and Submissions allows to play all side features frome beginning.

Its useful as base for adding a own new story like King Kong mod

 

 

Share this post


Link to post
Share on other sites
scalliano

Tried to download this mod, Zaz, but I'm getting a 404 at every turn. Could you update your links?

Share this post


Link to post
Share on other sites
H4milton

Error 404 Link Wont work.

Upload the files in www.thegtaplace.com

also post all the links that are related to this mod.

Share this post


Link to post
Share on other sites
ZAZ

I recommand to download NewRace_source_txt for SannyBuilder

you can find this link also in this post: Races and Tuning

 

In the sourcetext you find the mission sniffer

 

:Ownrace_103A4: name_thread 'TRACE'

 

It contains 2 important variables for presettings for the racemission

 

$2209 = menue start selector$2209 = 0starts the racescript with racemap selection menue for LS$2209 = 1starts the racescript with racemap selection menue for SF$2209 = 2starts the racescript with racemap selection menue for LV$2209 = 3starts the racescript with modmenue to select any of every available races

 

 

 

$121 = race start selector$121 = 1start the racescript with racemap selection menue or with modmenue--------------$121 = 0start the race immediatelyby this way it needs to give the value of 3. important variable: $352

 

 

 

$352 = race selector

you can find it very often in the racescript

the important line, where this variable do it's work is in this jumptable:

 

 

0871: init_jump_table $352 total_jumps  27  0 @NEWRAC_4786 jumps  0 @NEWRAC_2139  1 @NEWRAC_2200  2 @NEWRAC_2249  3 @NEWRAC_2322  4 @NEWRAC_2395  5 @NEWRAC_2474  6 @NEWRAC_2574 0872: jump_table_jumps  7 @NEWRAC_2671  8 @NEWRAC_2781  9 @NEWRAC_2897  10 @NEWRAC_2970  11 @NEWRAC_3046  12 @NEWRAC_3110  13 @NEWRAC_3174  14 @NEWRAC_3313  15 @NEWRAC_3455 0872: jump_table_jumps  16 @NEWRAC_3552  17 @NEWRAC_3643  18 @NEWRAC_3740  19 @NEWRAC_3819  20 @NEWRAC_3936  21 @NEWRAC_4134  22 @NEWRAC_4356  23 @NEWRAC_4449  24 @NEWRAC_4542 0872: jump_table_jumps  25 @NEWRAC_4638  26 @NEWRAC_4703 -1 @NEWRAC_4786 -1 @NEWRAC_4786 -1 @NEWRAC_4786 -1 @NEWRAC_4786 -1 @NEWRAC_4786 -1 @NEWRAC_4786 -1 @NEWRAC_4786

 

 

there are 26 tables with coords allocations for each race which you can choose in the race menue

as well as settings for opponennt car id, amount of cars

 

 

[email protected] = 16//the amount of checkpoints must fit the amount of your inserted x,y,z [email protected] = 6// amount of cars, 6 = maximum (not maximum but can cause problems like falling through ground)04AF: [email protected] = 7 // Peds04AF: [email protected] = 7 // Peds04AF: [email protected] = 7 // Peds04AF: [email protected] = 7 // Peds04AF: [email protected] = 7 // Peds04AF: [email protected] = 7 // Peds04AF: [email protected] = 559 // Car ID04AF: [email protected] = 589 // Car ID04AF: [email protected] = 559 // Car ID04AF: [email protected] = 565 // Car ID04AF: [email protected] = 558 // Car ID04AF: [email protected] = 522 // Car [email protected] = interior [email protected] = 0 by default, so if the table don't contain [email protected] it selects interior [email protected] = amount of laps in lap based races

 

 

---------------------------------------------------

 

The 3. variable , $352 = race selector, is in original CPRACE for the Air-Race

 

But in NEWRAC mission script it starts my injected Top Menue

to select between

-8-Track,

DirtTrack

and the other races

 

By selecting other races the Top menue close and the original menue with associated race map txd pops up

But in this case are all races available

No, i mean its possible to get all

In my script I limited to race 18

The spot is in this part:

 

 

 

 

:NEWRAC_M400D6: if  00039:   [email protected] ==  3  // integer values004D: jump_if_false @NEWRAC_M500D6: if  003EE:   player $PLAYER_CHAR controllable004D: jump_if_false @NEWRAC_M70050: gosub @NEWRAC_M660004: $121 =  1  // integer values0006: [email protected] =  0  // integer values0006: [email protected] =  18  // integer values0004: $352 =  12  // integer values0001: wait  1000 ms0002: jump @NEWRAC_30

 

 

 

 

 

 

Example:

$352 = 12

jumps to :NEWRAC_3110

 

 

:NEWRAC_3110////san fierro fastlane0007: [email protected] = -2657.164  // floating-point values0007: [email protected] =  1153.872  // floating-point values0007: [email protected] =  34.7396  // floating-point values0007: [email protected] = -2593.221  // floating-point values0007: [email protected] =  1217.854  // floating-point values0007: [email protected] =  34.7402  // floating-point values0007: [email protected] = -2312.288  // floating-point values0007: [email protected] =  1176.387  // floating-point values0007: [email protected] =  49.608  // floating-point values0007: [email protected] = -2157.193  // floating-point values0007: [email protected] =  1268.196  // floating-point values0007: [email protected] =  26.0127  // floating-point values0007: [email protected] = -1959.526  // floating-point values0007: [email protected] =  1287.205  // floating-point values0007: [email protected] =  6.7514  // floating-point values0007: [email protected] = -1741.076  // floating-point values0007: [email protected] =  1325.298  // floating-point values0007: [email protected] =  6.083  // floating-point values0007: [email protected] = -1759.865  // floating-point values0007: [email protected] =  1269.147  // floating-point values0007: [email protected] =  8.8598  // floating-point values0007: [email protected] = -1884.242  // floating-point values0007: [email protected] =  1160.69  // floating-point values0007: [email protected] =  45.0107  // floating-point values0007: [email protected] = -1897.101  // floating-point values0007: [email protected] =  960.1686  // floating-point values0007: [email protected] =  34.7366  // floating-point values0007: [email protected] = -1998.178  // floating-point values0007: [email protected] =  841.1865  // floating-point values0007: [email protected] =  45.0219  // floating-point values0007: [email protected] = -2189.258  // floating-point values0007: [email protected] =  808.5273  // floating-point values0007: [email protected] =  56.0602  // floating-point values0007: [email protected] = -2389.186  // floating-point values0007: [email protected] =  808.6409  // floating-point values0007: [email protected] =  34.7495  // floating-point values0007: [email protected] = -2589.692  // floating-point values0007: [email protected] =  808.5219  // floating-point values0007: [email protected] =  49.5411  // floating-point values0007: [email protected] = -2711.488  // floating-point values0007: [email protected] =  812.8809  // floating-point values0007: [email protected] =  48.9309  // floating-point values0007: [email protected] = -2750.894  // floating-point values0007: [email protected] =  890.6993  // floating-point values0007: [email protected] =  65.8952  // floating-point values0007: [email protected] = -2653.912  // floating-point values0007: [email protected] =  1157.345  // floating-point values0007: [email protected] =  34.7386  // floating-point values0006: [email protected] =  16  // integer values0006: [email protected] =  6  // integer values04AF: [email protected] = unknown_wav_reference  7//192// MECGRL3 04AF: [email protected] = unknown_wav_reference  7//90// WFYJG 04AF: [email protected] = unknown_wav_reference  7//93// WFYST 04AF: [email protected] = unknown_wav_reference  7//243// SFYPRO 04AF: [email protected] = unknown_wav_reference  7//244// VBFYST2 04AF: [email protected] = unknown_wav_reference  7//245// VBFYPRO 04AF: [email protected] = unknown_wav_reference  559//522//nrg500//559 04AF: [email protected] = unknown_wav_reference  589 04AF: [email protected] = unknown_wav_reference  559 04AF: [email protected] = unknown_wav_reference  565 04AF: [email protected] = unknown_wav_reference  558 04AF: [email protected] = unknown_wav_reference  522//602<<--Player_actor_car 0050: gosub @NEWRAC_49680002: jump @NEWRAC_4786

 

 

 

 

 

 

The first coords setting are the start place

 

0007: [email protected] = -2657.164 // X-coord

0007: [email protected] = 1153.872 // Y-coord

0007: [email protected] = 34.7396 // Z-coord

 

 

 

0006: [email protected] = 16 ;; integer values

this is the setting for the count of racing checkpoints

 

 

0006: [email protected] = 6 ;; integer values

this is the setting for the count of NPC cars

 

 

[email protected] - [email protected] are model IDs for actors

[email protected] - [email protected] are in originaly model IDs for NPC cars

[email protected] is in originaly the model ID of the player car

 

the setting for the cars are doesnt matter in the NEWRAC mission script

Because I changed something in the heart of the mission script

to let you start all races with that car you like

 

 

 

Edit now the values of the preselection

change

0006: [email protected] = 0 ;; integer values

0006: [email protected] = 18 ;; integer values

 

into

0006: [email protected] = 0 ;; integer values

0006: [email protected] = 19 ;; integer values

 

-------------------------------------------------------------

 

 

Decompile the origin main.scm with these settings:

 

user posted image

 

Custom variable names!!!!

 

and then search in the @CPRACE script

 

the variable $RACE_INDEX is equivalent with $352 = race selectorthe variable $CURRENT_TOURNAMENT is equivalent with $2209 = menue start selectorthe variable $CUSTOM_TOURNAMENT_FLAG is equivalent with $121 = race start selector

 

 

have also a look into the mission sniffer

03A4: name_thread 'CESAR'

03A4: name_thread 'BCESAR'

03A4: name_thread 'TRACE'

03A4: name_thread 'HOTR'

03A4: name_thread 'KICKS'

search for $CUSTOM_TOURNAMENT_FLAG

 

 

 

Furthermore needs the racescript the thread 'CASHWIN' to display the result at the end

 

:CASHWIN_103A4: name_thread 'CASHWIN'

 

 

------------------------------------------------------

 

if you read the description for race script CLEO version: http://www.gtaforums.com/index.php?showtop...st&p=1060135530

then

 

the variable [email protected] = var 87 is equivalent with $352 = race selectorthe variable [email protected] = var 85 is equivalent with $121 = race start selector

 

 

------------------------------------------

 

Note: displaying any textures or text_draw-text or something else because of other scripts let the racescript crash

 

Edited by ZAZ

Share this post


Link to post
Share on other sites
H4milton
Error 404 Link Wont work.

Upload the files in www.thegtaplace.com

also post all the links that are related to this mod.

My home page is avilable again now.

Feel free to download my mods biggrin.gif

Okay, i am gonna check it out.

Share this post


Link to post
Share on other sites
killahbzz

hi zaz. your a genious man. a pure genious. it's wonderfull. its the perfect mod. thanx man. icon14.gificon14.gif

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.