Changing Stunt Jump Locations

If you want to design your own stunt jumps all you need is a text editor
and a coordinates program.

First go into the game and write down the coordinates for your
new jump location then open stunt_jumps.cts and find the jump that
you want to replace.

I chose to replace "stunt_jumps_$t009"

(Original)
Code:
$Navpoint:    "stunt_jumps_$t009"
$Type:        "ground"
$Pos:            <673.279846 1.008428 1976.628296>
$Orient:        [1.986704]
(modded)
Code:
$Navpoint:    "stunt_jumps_$t009"
$Type:        "ground"
$Pos:            <937.700623 11.546322 -1787.992065>
$Orient:        [1.986704]

There are two sections to the stunt_jumps.cts The first is the
Navpoints section. this is where you change the coordinates of the jump location.
The orientation may not need to be adjusted. First try out your jump with the default
orientation and if it works, then there is no need to mess with it.

The Other section of the cts file is the Triggers section. If you are only changing
the coordinates then you shouldn't have to mess with the Triggers section.
In order to add brand new stunt jumps to the game you need to edit two files
stunt_jumps.cts and exploration_diversion.xtbl
Start by adding a new entry to the Navpoints section of stunt_jumps.cts
At the bottom of the navpoints section under the entry for jump number 63
(The jumps are not in numerical order) add the information for your
new jump

First you need to add the number of your jump. Since the game numbers the
jumps from 0 to 79 in the xtbl then you would add number 80

Code:
$Navpoint:    "stunt_jumps_$t080"
$Type:        "ground"
$Pos:            <937.700623 11.546322 -1787.992065>
$Orient:        [1.986704]

Then at the triggers portion of the cts file (also under number 63
you would add the following
Code:
$Trigger:                "stunt_jumps_$t080"
$Trigger type:            "bounding box"
$Trigger action:        "jump collection"
$Trigger max fires:    0
$Trigger delay:        10
$Start nav:                "stunt_jumps_$t080"
$Box size:                -11.450000 0.000000 -4.950000 11.450000 5.000000 4.950000
+Ignore On Foot

This is a sample jump I added to the parking lot of the Suburbs Expansion On The Rag store.
You go either go up or down the stairs to trigger the jump.

Lastly you need to add an entry to the bottom of the Stunt Jump section of exploration_diversion.xtbl
under jump 79. (This time the jumps are in order)

Code:
<Jump_element>
                <Navpoint_Name>stunt_jumps_$t080</Navpoint_Name>
                </Jump_element>
            </Jump_collection>

That's it save your work and recompile your patch.
New Stunt Jump Locarion.png
Up The Stairs.png
Moved Stunt Jump.png
81 Jumps.png

Note: I am including my files for study. 81 Stunt Jumps is for anyone who has all 80
stunt jumps in their game and 10 Stunt Jumps is for anyone using my 10 stunt jumps mod.

There is a copy of Nclock1405's SandboxPlusPlus (sr2_city.lua) that I have ameliorated to warp to the
32 secret areas. I have included a code list in the zip files. You can not use this lua file without my
exploration files, your game will not load if you try to.
 

Attachments

Last edited:
Back
Top