Jump to content
Search In
• More options...
Find results that contain...
Find results in...

3. #### Site Suggestions # PCJ Playground

## Recommended Posts I would really like a couple new ones! Any interest in giving me a hand? I can supply the cords but need a little cooperation..I think it could be fun.

I cant make any sense of the code for pcj playground in the main.scm

#### Share this post

##### Share on other sites What's the problem?

This is the coord table for the checkpoints

first x y z is for camera position

then coords for 24 checkpoints

Spoiler
```0005: \$1742 = 450.0 //    camera_position at start X
0005: \$1743 = -389.0 //   camera_position at start Y
0005: \$1744 = 26.5 //     camera_position at start Z
0005: \$1670 = 460.0 //    checkpoint1 X
0005: \$1671 = -400.4 //   checkpoint1 Y
0005: \$1672 = 18.0 //     checkpoint1 Z
0005: \$1673 = 460.0 //    checkpoint2 X
0005: \$1674 = -441.5 //   checkpoint2 Y
0005: \$1675 = 17.5 //     checkpoint2 Z
0005: \$1676 = 453.0 //    checkpoint3 X
0005: \$1677 = -517.83 //  checkpoint3 Y
0005: \$1678 = 21.0 //     checkpoint3 Z
0005: \$1679 = 429.5 //    checkpoint4 X
0005: \$1680 = -580.6 //   checkpoint4 Y
0005: \$1681 = 11.0 //     checkpoint4 Z
0005: \$1682 = 392.0 //
0005: \$1683 = -661.3 //   and so on
0005: \$1684 = 11.5 //
0005: \$1685 = 366.5 //
0005: \$1686 = -719.2 //
0005: \$1687 = 23.3 //
0005: \$1688 = 349.5 //
0005: \$1689 = -762.2 //
0005: \$1690 = 24.0 //
0005: \$1691 = 342.26 //
0005: \$1692 = -802.3 //
0005: \$1693 = 11.5 //
0005: \$1694 = 316.0 //
0005: \$1695 = -858.0 //
0005: \$1696 = 11.5 //
0005: \$1697 = 285.0 //
0005: \$1698 = -890.0 //
0005: \$1699 = 11.5 //
0005: \$1700 = 256.7 //
0005: \$1701 = -955.0 //
0005: \$1702 = 17.0 //
0005: \$1703 = 242.5 //
0005: \$1704 = -1111.8 //
0005: \$1705 = 11.5 //
0005: \$1706 = 228.6 //
0005: \$1707 = -1147.9 //
0005: \$1708 = 11.5 //
0005: \$1709 = 193.5 //
0005: \$1710 = -1303.3 //
0005: \$1711 = 11.2 //
0005: \$1712 = 201.44 //
0005: \$1713 = -1318.7 //
0005: \$1714 = 11.2 //
0005: \$1715 = 188.6 //
0005: \$1716 = -1357.5 //
0005: \$1717 = 11.2 //
0005: \$1718 = 167.2 //
0005: \$1719 = -1369.2 //
0005: \$1720 = 11.2 //
0005: \$1721 = 129.6 //
0005: \$1722 = -1337.8 //
0005: \$1723 = 9.5 //
0005: \$1724 = 104.45 //
0005: \$1725 = -1319.7 //
0005: \$1726 = 5.5 //
0005: \$1727 = 78.7 //
0005: \$1728 = -1300.0 //
0005: \$1729 = 13.5 //
0005: \$1730 = 70.1 //
0005: \$1731 = -1220.4 //
0005: \$1732 = 11.0 //
0005: \$1733 = 12.5 //
0005: \$1734 = -1192.0 //
0005: \$1735 = 11.4 //
0005: \$1736 = 4.96 //
0005: \$1737 = -1253.5 //
0005: \$1738 = 21.6 //
0005: \$1739 = 19.8 //    checkpoint24 X
0005: \$1740 = -1308.9 // checkpoint24 Y
0005: \$1741 = 17.3 //    checkpoint24 Z```

edit the coord table, give new camera position and 24 new checkpoint coords

then it needs to put pcj and player_actor to the new track

below of the coord table you will find these code block:

```01C0: \$1606 = player \$PLAYER_CHAR wanted_level
0110: clear_player \$PLAYER_CHAR wanted_level
03BF: set_player \$PLAYER_CHAR ignored_by_everyone_to 1
00DA: \$1605 = player \$PLAYER_CHAR car```

add this code:

`00AB: put_car \$1605 at \$1670 \$1671 \$1672`
```01C0: \$1606 = player \$PLAYER_CHAR wanted_level
0110: clear_player \$PLAYER_CHAR wanted_level
03BF: set_player \$PLAYER_CHAR ignored_by_everyone_to 1
00DA: \$1605 = player \$PLAYER_CHAR car
00AB: put_car \$1605 at \$1670 \$1671 \$1672```

at last give new coords for camera point

(point where camera looks to)

look for this code

`0160: point_camera 459.5 -382.2 14.0 2// give new coords`

save and compile the modded main.scm and test it

it should work with existing savegame

#### Share this post

##### Share on other sites Most appreciated answer! I will dig in shortly. So great.

Edited by Urban Legends

#### Share this post

##### Share on other sites On ‎1‎/‎17‎/‎2019 at 12:29 PM, ZAZ said:

What's the problem?

This is the coord table for the checkpoints

first x y z is for camera position

then coords for 24 checkpoints

Reveal hidden contents
```
0005: \$1742 = 450.0 //    camera_position at start X
0005: \$1743 = -389.0 //   camera_position at start Y
0005: \$1744 = 26.5 //     camera_position at start Z
0005: \$1670 = 460.0 //    checkpoint1 X
0005: \$1671 = -400.4 //   checkpoint1 Y
0005: \$1672 = 18.0 //     checkpoint1 Z
0005: \$1673 = 460.0 //    checkpoint2 X
0005: \$1674 = -441.5 //   checkpoint2 Y
0005: \$1675 = 17.5 //     checkpoint2 Z
0005: \$1676 = 453.0 //    checkpoint3 X
0005: \$1677 = -517.83 //  checkpoint3 Y
0005: \$1678 = 21.0 //     checkpoint3 Z
0005: \$1679 = 429.5 //    checkpoint4 X
0005: \$1680 = -580.6 //   checkpoint4 Y
0005: \$1681 = 11.0 //     checkpoint4 Z
0005: \$1682 = 392.0 //
0005: \$1683 = -661.3 //   and so on
0005: \$1684 = 11.5 //
0005: \$1685 = 366.5 //
0005: \$1686 = -719.2 //
0005: \$1687 = 23.3 //
0005: \$1688 = 349.5 //
0005: \$1689 = -762.2 //
0005: \$1690 = 24.0 //
0005: \$1691 = 342.26 //
0005: \$1692 = -802.3 //
0005: \$1693 = 11.5 //
0005: \$1694 = 316.0 //
0005: \$1695 = -858.0 //
0005: \$1696 = 11.5 //
0005: \$1697 = 285.0 //
0005: \$1698 = -890.0 //
0005: \$1699 = 11.5 //
0005: \$1700 = 256.7 //
0005: \$1701 = -955.0 //
0005: \$1702 = 17.0 //
0005: \$1703 = 242.5 //
0005: \$1704 = -1111.8 //
0005: \$1705 = 11.5 //
0005: \$1706 = 228.6 //
0005: \$1707 = -1147.9 //
0005: \$1708 = 11.5 //
0005: \$1709 = 193.5 //
0005: \$1710 = -1303.3 //
0005: \$1711 = 11.2 //
0005: \$1712 = 201.44 //
0005: \$1713 = -1318.7 //
0005: \$1714 = 11.2 //
0005: \$1715 = 188.6 //
0005: \$1716 = -1357.5 //
0005: \$1717 = 11.2 //
0005: \$1718 = 167.2 //
0005: \$1719 = -1369.2 //
0005: \$1720 = 11.2 //
0005: \$1721 = 129.6 //
0005: \$1722 = -1337.8 //
0005: \$1723 = 9.5 //
0005: \$1724 = 104.45 //
0005: \$1725 = -1319.7 //
0005: \$1726 = 5.5 //
0005: \$1727 = 78.7 //
0005: \$1728 = -1300.0 //
0005: \$1729 = 13.5 //
0005: \$1730 = 70.1 //
0005: \$1731 = -1220.4 //
0005: \$1732 = 11.0 //
0005: \$1733 = 12.5 //
0005: \$1734 = -1192.0 //
0005: \$1735 = 11.4 //
0005: \$1736 = 4.96 //
0005: \$1737 = -1253.5 //
0005: \$1738 = 21.6 //
0005: \$1739 = 19.8 //    checkpoint24 X
0005: \$1740 = -1308.9 // checkpoint24 Y
0005: \$1741 = 17.3 //    checkpoint24 Z```

edit the coord table, give new camera position and 24 new checkpoint coords

then it needs to put pcj and player_actor to the new track

below of the coord table you will find these code block:

```01C0: \$1606 = player \$PLAYER_CHAR wanted_level
0110: clear_player \$PLAYER_CHAR wanted_level
03BF: set_player \$PLAYER_CHAR ignored_by_everyone_to 1
00DA: \$1605 = player \$PLAYER_CHAR car```

add this code:

`00AB: put_car \$1605 at \$1670 \$1671 \$1672`
```01C0: \$1606 = player \$PLAYER_CHAR wanted_level
0110: clear_player \$PLAYER_CHAR wanted_level
03BF: set_player \$PLAYER_CHAR ignored_by_everyone_to 1
00DA: \$1605 = player \$PLAYER_CHAR car
00AB: put_car \$1605 at \$1670 \$1671 \$1672```

at last give new coords for camera point

(point where camera looks to)

look for this code

`0160: point_camera 459.5 -382.2 14.0 2// give new coords`

save and compile the modded main.scm and test it

it should work with existing savegame

Sorry I jumped to conclusions before trying..I replaced all 24 checkpoints with new ones but it didn't change anything at all. How is that possible? I figured leave everything and have the same start point as PCJ Playground...but the cords below I made a Sprint Race to the Hyman Memorial Stadium.. Not sure what to do after replacing the old checkpoints.

\$1742 = 450.0 // floating-point values
\$1743 = -389.0 // floating-point values
\$1744 = 26.5 // floating-point values
\$1670 = 456.115 // floating-point values
\$1671 = -111.416 // floating-point values
\$1672 = 9.341 // floating-point values
\$1673 = 445.438 // floating-point values
\$1674 = 49.097 // floating-point values
\$1675 = 9.547 // floating-point values
\$1676 = 316.118 // floating-point values
\$1677 = 951.708 // floating-point values
\$1678 = 18.605 // floating-point values
\$1679 = 283.373 // floating-point values
\$1680 = 954.341 // floating-point values
\$1681 = 22.114 // floating-point values
\$1682 = 226.795 // floating-point values
\$1683 = 965.211 // floating-point values
\$1684 = 24.887 // floating-point values
\$1685 = 177.349 // floating-point values
\$1686 = 981.038 // floating-point values
\$1687 = 21.629 // floating-point values
\$1688 = 139.834 // floating-point values
\$1689 = 994.270 // floating-point values
\$1690 = 16.268 // floating-point values
\$1691 = 93.368 // floating-point values
\$1692 = 987.079 // floating-point values
\$1693 = 9.410 // floating-point values
\$1694 = 54.804 // floating-point values
\$1695 = 897.427 // floating-point values
\$1696 = 19.319 // floating-point values
\$1697 = 81.846 // floating-point values
\$1698 = 887.368 // floating-point values
\$1699 = 19.371 // floating-point values
\$1700 = -63.011 // floating-point values
\$1701 = 1000.494 // floating-point values
\$1702 = 9.480 // floating-point values
\$1703 = -622.214 // floating-point values
\$1704 = 1165.084 // floating-point values
\$1705 = 9.444 // floating-point values
\$1706 = -727.760 // floating-point values
\$1707 = 1186.016 // floating-point values
\$1708 = 9.444 // floating-point values
\$1709 = -863.441 // floating-point values
\$1710 = 1214.437 // floating-point values
\$1711 = 9.773 // floating-point values
\$1712 = -867.964 // floating-point values
\$1713 = 1291.458 // floating-point values
\$1714 = 9.767 // floating-point values
\$1715 = -938.394 // floating-point values
\$1716 = 1313.738 // floating-point values
\$1717 = 9.679 // floating-point values
\$1718 = -1044.649 // floating-point values
\$1719 = 1398.865 // floating-point values
\$1720 = 7.207 // floating-point values
\$1721 = -1052.198 // floating-point values
\$1722 = 1417.839 // floating-point values
\$1723 = 7.276 // floating-point values
\$1724 = -1100.850 // floating-point values
\$1725 = 1352.078 // floating-point values
\$1726 = 18.609 // floating-point values
\$1727 = -1101.480 // floating-point values
\$1728 = 1328.233 // floating-point values
\$1729 = 18.615 // floating-point values
\$1730 = -1101.491 // floating-point values
\$1731 = 1320.361 // floating-point values
\$1732 = 18.610 // floating-point values
\$1733 = -1107.661 // floating-point values
\$1734 = 1311.643 // floating-point values
\$1735 = 18.609 // floating-point values
\$1736 = -1106.681 // floating-point values
\$1737 = 1316.777 // floating-point values
\$1738 = 18.611 // floating-point values
\$1739 = -1105.388 // floating-point values
\$1740 = 1323.223 // floating-point values
\$1741 = 18.607 // floating-point values
\$1606 = Player.WantedLevel(\$PLAYER_CHAR)
Player.ClearWantedLevel(\$PLAYER_CHAR)…

Does this block need changing too? I just below the coordinateds I changed

:T4X4_1_1165
Player.CanMove(\$PLAYER_CHAR) = False
02A3: enable_widescreen 1
018A: \$1622 = create_checkpoint_at \$1670 \$1671 \$1672
018A: \$1623 = create_checkpoint_at \$1673 \$1674 \$1675
018A: \$1624 = create_checkpoint_at \$1676 \$1677 \$1678
018A: \$1625 = create_checkpoint_at \$1679 \$1680 \$1681
018A: \$1626 = create_checkpoint_at \$1682 \$1683 \$1684
018A: \$1627 = create_checkpoint_at \$1685 \$1686 \$1687
018A: \$1628 = create_checkpoint_at \$1688 \$1689 \$1690
018A: \$1629 = create_checkpoint_at \$1691 \$1692 \$1693
018A: \$1630 = create_checkpoint_at \$1694 \$1695 \$1696
018A: \$1631 = create_checkpoint_at \$1697 \$1698 \$1699
018A: \$1632 = create_checkpoint_at \$1700 \$1701 \$1702
018A: \$1633 = create_checkpoint_at \$1703 \$1704 \$1705
018A: \$1634 = create_checkpoint_at \$1706 \$1707 \$1708
018A: \$1635 = create_checkpoint_at \$1709 \$1710 \$1711
018A: \$1636 = create_checkpoint_at \$1712 \$1713 \$1714
018A: \$1637 = create_checkpoint_at \$1715 \$1716 \$1717
018A: \$1638 = create_checkpoint_at \$1718 \$1719 \$1720
018A: \$1639 = create_checkpoint_at \$1721 \$1722 \$1723
018A: \$1640 = create_checkpoint_at \$1724 \$1725 \$1726
018A: \$1641 = create_checkpoint_at \$1727 \$1728 \$1729
018A: \$1642 = create_checkpoint_at \$1730 \$1731 \$1732
018A: \$1643 = create_checkpoint_at \$1733 \$1734 \$1735
018A: \$1644 = create_checkpoint_at \$1736 \$1737 \$1738
018A: \$1645 = create_checkpoint_at \$1739 \$1740 \$1741
Model.Load(#YANKEE)

Thanks in advance for any help *anyone* can provide!

Edited by Urban Legends

#### Share this post

##### Share on other sites 20 hours ago, Urban Legends said:

.I replaced all 24 checkpoints with new ones but it didn't change anything at all. How is that possible? I figured leave everything and have the same start point as PCJ Playground...but the cords below I made a Sprint Race to the Hyman Memorial Stadium.. Not sure what to do after replacing the old checkpoints.

Are you shure that you mean the right mission?

To start "PCJ Underground" needs to jump on PCJ600 which will spawn near the central street cross beside of Ocean Beach

20 hours ago, Urban Legends said:

Does this block need changing too? I just below the coordinateds I changed

:T4X4_1_1165

No

Edited by ZAZ

#### Share this post

##### Share on other sites Yes that mission. I intended on starting there and have the 24 checkpoints go in a different dirrction.

I made all the files un read me only or whatever.  Open the main scm.. Compiled. Any thoughts?

#### Share this post

##### Share on other sites Does UAC protect modding? Is the game installed under c:/program files?

Or are you shure that you're able to modify main.scm?

Please decompile current main.scm inside of vc install dir, copy the mission script and post it at pastebin.com

Edited by ZAZ

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account. 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.

• ### 1 User Currently Viewing 0 members, 0 Anonymous, 1 Guest

×

• #### Activity

• Leaderboard
×
• Create New...

## Important Information

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