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

    1. GTANet.com

    1. GTA Online

      1. The Contract
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    2. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    3. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    4. Bugs*

    1. Grand Theft Auto Series

      1. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    6. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

[VC] Help with extra CSPlay models script


RRT94
 Share

Recommended Posts

Hello all, I know next to nothing about script editing or any coding but I tried to make a cleo script for VC anyways. I tried to make a script that allowed to me add more cutscene models for Tommy like CSPlay12, CSPlay13, CSPlay14 etc. I managed to somehow make a few of them appear but not all of them, such as CSPlay 17, 20 and 21. Can someone look at this script and tell me what I did wrong and how to fix it please?

 

// This file was decompiled using VCSCM.ini published on 2021-05-25
{$CLEO .cs}

0000: NOP 

:NONAME_2
wait 250 
if and
   not 0@ == 1 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY11' 
jf @NONAME_71 
05DF: write_memory 6842393 size 1 value 49 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 49 virtual_protect 0 
0@ = 1 // @ = int 

:NONAME_71
if and
   not 0@ == 2 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY12' 
jf @NONAME_135 
05DF: write_memory 6842393 size 1 value 50 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 50 virtual_protect 0 
0@ = 2 // @ = int 

:NONAME_135
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY13' 
jf @NONAME_136 
05DF: write_memory 6842393 size 1 value 51 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 51 virtual_protect 0 
0@ = 3 // @ = int 

:NONAME_136
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY14' 
jf @NONAME_137 
05DF: write_memory 6842393 size 1 value 52 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 52 virtual_protect 0 
0@ = 3 // @ = int

:NONAME_137 
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY15' 
jf @NONAME_138 
05DF: write_memory 6842393 size 1 value 53 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 53 virtual_protect 0 
0@ = 3 // @ = int 

:NONAME_138
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY16' 
jf @NONAME_139 
05DF: write_memory 6842393 size 1 value 54 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 54 virtual_protect 0 
0@ = 3 // @ = int 

:NONAME_139
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY17' 
jf @NONAME_140 
05DF: write_memory 6842393 size 1 value 55 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 55 virtual_protect 0 
0@ = 3 // @ = int 

:NONAME_140
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY18' 
jf @NONAME_180 
05DF: write_memory 6842393 size 1 value 56 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 56 virtual_protect 0 
0@ = 3 // @ = int 

:NONAME_180
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY19' 
jf @NONAME_169 
05DF: write_memory 6842393 size 1 value 57 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 57 virtual_protect 0 
0@ = 3 // @ = int


:NONAME_169
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY20' 
jf @NONAME_153 
05DF: write_memory 6842393 size 1 value 58 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 58 virtual_protect 0 
0@ = 3 // @ = int  


:NONAME_153 
if and
   not 0@ == 3 // @ == int 
0500:   player $PLAYER_CHAR skin == 'PLAY21' 
jf @NONAME_200 
05DF: write_memory 6842393 size 1 value 59 virtual_protect 0 
05DF: write_memory 6842655 size 1 value 59 virtual_protect 0 
0@ = 3 // @ = int 

:NONAME_200
jump @NONAME_2

 

Edited by RRT94
Link to comment
Share on other sites

I'd recommend writing your code in the high level syntax (assuming you're using Sanny Builder). And don't use quotes for code, instead do this:

 

#include <stdio.h>

int main()
{
	printf("%s","Do this");
	return 0;
}


 

Anyway have you checked the bone hierarchy for the models that work and the models that don't?

Edited by NicusorN5
Link to comment
Share on other sites

49 minutes ago, NicusorN5 said:

I'd recommend writing your code in the high level syntax (assuming you're using Sanny Builder). And don't use quotes for code, instead do this:

 

#include <stdio.h>

int main()
{
	printf("%s","Do this");
	return 0;
}


 

Anyway have you checked the bone hierarchy for the models that work and the models that don't?

Mate I'm gonna be honest with you, I'm so bloody stupid I didn't understand a single thing you just said 😭. But yes I am in fact using Sanny Builder.

Link to comment
Share on other sites

mEd9emA.png

I mean this.

 

My checking the bone hierarchy I mean opening the dff files inside ZModeler, or Blender and see how the bones are put.

Edited by NicusorN5
Link to comment
Share on other sites

5 hours ago, NicusorN5 said:

mEd9emA.png

I mean this.

 

My checking the bone hierarchy I mean opening the dff files inside ZModeler, or Blender and see how the bones are put.

Oh ok.

Link to comment
Share on other sites

Alright I managed to make CSPlay 17 appear. But CSPlay 20 and 21 still won't show up no matter what I do. I feel like Tommy has sort of cutscene models limitations which I don't know how to increase. Updated the main post.

Edited by RRT94
Link to comment
Share on other sites

I fear you'll have to edit CSPlay20 and CSPlay21 inside a 3D moddeling program that supports animations like Blender. A person with proper 3D moddeling experience can help you from here...

Link to comment
Share on other sites

1 hour ago, NicusorN5 said:

I fear you'll have to edit CSPlay20 and CSPlay21 inside a 3D moddeling program that supports animations like Blender. A person with proper 3D moddeling experience can help you from here...

Alright I'll try to do that but besides that, is there anything wrong with my script from what you see?

Link to comment
Share on other sites

I think that the script looks file, I don't know how to use the memory addresses like you did though...

Link to comment
Share on other sites

Ok I'm bumping this because I really don't know what to do. If anyone can help me with this script I'll greatly appreciate it.

Link to comment
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
 Share

  • 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.