Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

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

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

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. 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. 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. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
Urban Legends

PCJ Playground

Recommended Posts

Urban Legends

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


Link to post
Share on other sites
ZAZ

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


Link to post
Share on other sites
Urban Legends

Most appreciated answer! I will dig in shortly. So great.

 

 

Edited by Urban Legends

Share this post


Link to post
Share on other sites
Urban Legends
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


Link to post
Share on other sites
ZAZ
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


Link to post
Share on other sites
Urban Legends

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


Link to post
Share on other sites
ZAZ

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

Share this post


Link to post
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.

Sign in to follow this  

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

×
×
  • Create New...

Important Information

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