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. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    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 IV 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 SA Mods
    10. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA III 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  
Joni2030

stripped main scm

Recommended Posts

Joni2030

I want change my skin in stripped main scm but i dont know how so can somebody tell me i want change it for Ryder i want example for how i change it

Share this post


Link to post
Share on other sites
Bad.boy!

Learn coding before you start screwing around with your main.scm

Share this post


Link to post
Share on other sites
Joni2030

I started edit new main.scm there is mutch defined unique jumps and pickups and carls/weapons/save pickups

Share this post


Link to post
Share on other sites
Ashwin.Star

 

  0352: set_actor $PLAYER_ACTOR skin_to 'PLAYER'

 

where 'PLAYER' is skin/model name,

 

but i think you asked it for SA, ::Ryder::

you have to find 'Ryder's model name in SCM & then replace it with another Model name

Edited by Ashwin the new boy

Share this post


Link to post
Share on other sites
MichaelKnight1

 

  0352: set_actor $PLAYER_ACTOR skin_to 'PLAYER'

 

where 'PLAYER' is skin/model name,

 

but i think you asked it for SA, ::Ryder::

you have to find 'Ryder's model name in SCM & then replace it with another Model name

@Ashwin Ryder is A Special Actor It is not random you .And surely you know this rule .

@Joni2030

 

023C: load_special_actor 'RYDER1' as 1 // models 290-299 038B: load_requested_models 

 

 

09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 

 

SPECIAL = as 1 == SPECIAL01

Edited by MichaelKnight1

Share this post


Link to post
Share on other sites
Joni2030

Okey now i have to know where to put it know it i have to put it to main.scm but where there?

Share this post


Link to post
Share on other sites
Silent

Well, if you can use CLEO (YES, you can use CLEO opcodes inside main.scm if only CLEO is installed), there is a MUCH better way to do this, as it doesn't need special actors loading (means, nothing gets f*cked up if you'll load another actor on the same slot).

 

http://www.gta-mods.pl/artykuly/57/zmiana-modelu-gracza ("Dla Zaawansowanych" section)

 

The only thing is that site is in Polish, but code is full and you don't really need to understand the language. The only thing you might want to know is that "NAZWA MODELU" means "model name".

Share this post


Link to post
Share on other sites
MichaelKnight1

 

Okey now i have to know where to put it know it i have to put it to main.scm but where there?

There is no difficulty, such as Cleo just you create thread of course ,

 

004F: create_thread @PLAYER 

 

Load Special Actor ( Ryder ) befor changer player

 

023C: load_special_actor 'RYDER1' as 1 // models 290-

 

Then Changer it To Ryder !!

 

09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 

 

 

Check This :

 

 

:PLAYER_LOAD03A4: name_thread 'PLAYER' 0001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @PLAYER_LOAD 023C: load_special_actor 'RYDER1' as 1 // models 290-299 038B: load_requested_models :PLAYER_CHANGE0001: wait 0 ms 00D6: if and 023D:   special_actor 1 loaded  09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 004E: end_thread

 

 

 

Share this post


Link to post
Share on other sites
Silent

Wrong code, as usual.

Share this post


Link to post
Share on other sites
MichaelKnight1
Wrong code, as usual.

NO devil.gif

Share this post


Link to post
Share on other sites
Silent

Yes, it won't work properly. C'mon, you think you're a good coder, fix your errors. Or better yet, stop "helping" people.

Share this post


Link to post
Share on other sites
MichaelKnight1
Yes, it won't work properly. C'mon, you think you're a good coder, fix your errors. Or better yet, stop "helping" people.

so. i don't want to fight , sorry , anyways peace

Share this post


Link to post
Share on other sites
Frank.s

^Lol he's such a fail.

 

 

 

 

 

 

@SilentPL, as i have no knowledge of what those memory addresses do, could you/someone who knows give a brief description of what the polish code does differently than a traditional skin change opcode?

Share this post


Link to post
Share on other sites
Silent

It mostly recreates "load_special_actor" stuff, with the only difference being that the model will be loaded to ID 0 - means, only player will use it. And yeah, that's my code, rewritten in SCM from EXE tounge.gif

Share this post


Link to post
Share on other sites
Frank.s

Ah nice, ty.

Share this post


Link to post
Share on other sites
Joni2030

Ah it´s not work Michael, and michael did you ever read tutorials or did you just start coding? i have created all the modt i want i maybe create missions i am not sure but the player IS RYDER becayse i like Eazy-E he is old and dead but She is GOOD

Share this post


Link to post
Share on other sites
Joni2030

SilentP First I am not sure if i used cleo opcodes i think i didn´t.

 

Two I dont learn nothing IF i always copy of somewhere so i started Read tutorials again and again because i can´t do nothing else.

 

 

But if somebody get for me the answer i will give him my first main.scm release But that is in progress now so i dont know how long there can be go.

 

 

Share this post


Link to post
Share on other sites
Silent

This code can't be just explained. But, if you want a straight and easy way, just put something like Knight showed (BUT CORRECT) after creaitng the player and, even beter, before the first rebuild. It should be fine.

Share this post


Link to post
Share on other sites
Joni2030

But witch

023C: load_special_actor 'RYDER1' as 1 // models 290-299038B: load_requested_models 09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 

 

Or

 

 

:PLAYER_LOAD03A4: name_thread 'PLAYER'0001: wait 0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @PLAYER_LOAD023C: load_special_actor 'RYDER1' as 1 // models 290-299038B: load_requested_models:PLAYER_CHANGE0001: wait 0 ms00D6: if and023D:   special_actor 1 loaded  09C7: change_player $PLAYER_CHAR model_to #SPECIAL01004E: end_thread 

 

Share this post


Link to post
Share on other sites
Silent

First variant + special actor releasing is better.

Share this post


Link to post
Share on other sites
Rapier

 

I want change my skin in stripped main scm but i dont know how so can somebody tell me i want change it for Ryder i want example for how i change it

This code is part of a mod I made some time ago. It changes CJ model by another randomly.

 

:LabelChangeModelwait 00209: [email protected] = random_int_in_ranges 9 289 if and  not  [email protected] == [email protected] // (int)   not [email protected] == 42   not [email protected] == 65   not [email protected] == 74   not [email protected] == 86   not [email protected] == 119   not [email protected] == 149 jf @LabelChangeModelif and  not [email protected] == 208   not [email protected] == 265   not [email protected] == 266   not [email protected] == 267   not [email protected] == 268   not [email protected] == 269   not [email protected] == 270 jf @LabelChangeModelif and  not [email protected] == 271   not [email protected] == 272   not [email protected] == 273 jf @LabelChangeModel003B: [email protected] = [email protected] // (int) Model.Load([email protected])038B: load_requested_models :LabelChangeModel02wait 0 if   Model.Available([email protected])jf @LabelChangeModel02// You can do some fade efects here...09C7: change_player $PLAYER_CHAR model_to [email protected]($PLAYER_CHAR)Model.Destroy([email protected])jump @LabelStart

 

You will have to make a way to enable this script. An option would be to create something like this:

 

:LabelStartif and Player.Defined($PLAYER_CHAR) Player.Controllable($PLAYER_CHAR) not Actor.Driving($PLAYER_ACTOR)8965: not actor $PLAYER_ACTOR swimmingjf @LabelWaitwait 0if 00E1: player 0 pressed_key 4  //ACTION KEY jf @LabelStartjump @LabelChangeModel:LabelWaitwait $DEFAULT_WAIT_TIME jump @LabelStart:LabelChangeModel...

 

Hope this helps! smile.gif

Edited by Rapier

Share this post


Link to post
Share on other sites
Joni2030

Okey thanks, but i dont want use cleo codes because i try make full scm

Share this post


Link to post
Share on other sites
Rapier

But I haven't used any of the Cleo codes! wink.gif

Share this post


Link to post
Share on other sites
Joni2030

Ah sorry i didn´t watch these codes so i try soon it thanks

Share this post


Link to post
Share on other sites
Joni2030

Rapier i watched key press code i dont want key press i want it to comes when i spawn i want my normal skin is ryder.

Share this post


Link to post
Share on other sites
Rapier

Okay, I understand. But this is a bit more complex...

Share this post


Link to post
Share on other sites
Joni2030

I know it´s omplex but i want it

Share this post


Link to post
Share on other sites
Silent
Okay, I understand. But this is a bit more complex...

Actually, not. You just have to add some extra code before the main loop, and that's all. The answer was given here at least 2 times already.

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.
Note: Your post will require moderator approval before it will be visible.

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  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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