IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (2) 1 [2]   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 stripped main scm

 
Rapier  
Posted: Monday, Apr 16 2012, 22:42
Quote Post


Retired scripter
Group Icon
Group: Members
Joined: Aug 14, 2005

ba.gif

XXXXX



QUOTE (Joni2030 @ Sunday, Apr 15 2012, 16:18)
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.
CODE
:LabelChangeModel
wait 0
0209: 0@ = random_int_in_ranges 9 289
if and
  not  1@ == 0@ // (int)
  not 0@ == 42
  not 0@ == 65
  not 0@ == 74
  not 0@ == 86
  not 0@ == 119
  not 0@ == 149
jf @LabelChangeModel
if and
  not 0@ == 208
  not 0@ == 265
  not 0@ == 266
  not 0@ == 267
  not 0@ == 268
  not 0@ == 269
  not 0@ == 270
jf @LabelChangeModel
if and
  not 0@ == 271
  not 0@ == 272
  not 0@ == 273
jf @LabelChangeModel
003B: 1@ = 0@ // (int)
Model.Load(1@)
038B: load_requested_models

:LabelChangeModel02
wait 0
if
  Model.Available(1@)
jf @LabelChangeModel02
// You can do some fade efects here...
09C7: change_player $PLAYER_CHAR model_to 1@
Player.Build($PLAYER_CHAR)
Model.Destroy(1@)
jump @LabelStart

You will have to make a way to enable this script. An option would be to create something like this:
CODE
:LabelStart
if and
 Player.Defined($PLAYER_CHAR)
 Player.Controllable($PLAYER_CHAR)
 not Actor.Driving($PLAYER_ACTOR)
8965: not actor $PLAYER_ACTOR swimming
jf @LabelWait
wait 0
if
00E1: player 0 pressed_key 4  //ACTION KEY
jf @LabelStart
jump @LabelChangeModel

:LabelWait
wait $DEFAULT_WAIT_TIME
jump @LabelStart

:LabelChangeModel
...

Hope this helps! smile.gif

This post has been edited by Rapier on Monday, Apr 16 2012, 22:52
PM
  Top
 

 
Joni2030  
Posted: Tuesday, Apr 17 2012, 04:49
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



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

 
Rapier  
Posted: Wednesday, Apr 18 2012, 23:39
Quote Post


Retired scripter
Group Icon
Group: Members
Joined: Aug 14, 2005

ba.gif

XXXXX



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

 
Joni2030  
Posted: Thursday, Apr 19 2012, 04:25
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



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

 
Joni2030  
Posted: Thursday, Apr 19 2012, 17:06
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



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.
Users WebsitePM
  Top
 

 
Rapier  
Posted: Thursday, Apr 19 2012, 23:05
Quote Post


Retired scripter
Group Icon
Group: Members
Joined: Aug 14, 2005

ba.gif

XXXXX



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

 
Joni2030  
Posted: Friday, Apr 20 2012, 04:14
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



I know it´s omplex but i want it
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Friday, Apr 20 2012, 14:32
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




QUOTE (Rapier @ Friday, Apr 20 2012, 01:05)
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.
Users WebsitePMMSNXbox Live
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (2) 1 [2] 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG