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: Liberty City Stories

GTA Liberty City Stories

GUIDES, WALKTHROUGHS, AND USEFUL LINKS:

F.A.Q · Firmware Version Info · Cars & Weapons · Custom Tracks · Mission Checklist · Cheats

  Reply to this topicStart new topicStart Poll

 SCM Editor

 I'm making an SCM creator for GTA LCS
 
trjack  
Posted: Saturday, Aug 27 2011, 01:35
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Mar 11, 2009

uk.gif

XXXXX



Hello guys.

I'm currently developing an SCM creator for GTA LCS.

I might put a beta out for you lot in the morning.

Heres an example script:

CODE

PLAYER_CHAR <- getValue(24);
PLAYER_ACTOR <- getValue(28);
ONMISSION <- getValue(48);

nameThread("MAIN");
loadSkin(0,"PLR3");
playerSkin("PLR3");
loadRequestedModels();
createPlayer(0,0.0,0.0,0.0,PLAYER_CHAR);
setPlayerZAngle(PLAYER_CHAR,0.0);
getPlayerActor(PLAYER_CHAR,PLAYER_ACTOR);
setInteger(ONMISSION,0);
setOnMissionFlagTo(ONMISSION);
fade(4000,1);
setCarDensityTo(0.0);
setPedestriansDensityTo(0.0);
endThread();


Obviously that script doesn't do much but it works and requires that your PSP/PS2 can play backup copies so that you can overwrite the MAIN.SCM with the custom one.

Soon there might be some mission mods for LCS tounge.gif
Users WebsitePMXbox LivePlayStation Network
  Top
 

 
SilentPL  
Posted: Saturday, Aug 27 2011, 11:38
Quote Post


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

pl.gif

Member Award




I like the syntax. Not very native, but still good icon14.gif
Users WebsitePMMSNXbox Live
  Top
 

 
trjack  
Posted: Saturday, Aug 27 2011, 12:35
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Mar 11, 2009

uk.gif

XXXXX



GTA: Liberty City Stories SCM Compiler

It's not complete yet, createThread startMission etc does NOT exist right now.
I have not tested loadSkin or the playerSkin opcodes yet.

biggrin.gif
Users WebsitePMXbox LivePlayStation Network
  Top
 

 
trjack  
Posted: Saturday, Aug 27 2011, 12:51
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Mar 11, 2009

uk.gif

XXXXX



QUOTE (SilentPL @ Saturday, Aug 27 2011, 11:38)
I like the syntax. Not very native, but still good icon14.gif

It uses the squirrel syntax so you can for example write createPlayer(...,14.0+19.0*50.0...) and have mathematical result compiled in.
Users WebsitePMXbox LivePlayStation Network
  Top
 

 
SilentPL  
Posted: Saturday, Aug 27 2011, 13:44
Quote Post


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

pl.gif

Member Award




Well, that can be confusing to people, as you won't be able to use variables in math.
Users WebsitePMMSNXbox Live
  Top
 

 
trjack  
Posted: Saturday, Aug 27 2011, 13:46
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Mar 11, 2009

uk.gif

XXXXX



QUOTE (SilentPL @ Saturday, Aug 27 2011, 13:44)
Well, that can be confusing to people, as you won't be able to use variables in math.

I guess though you will have to use the functions to use the SCM variables, it should all work out with a few examples though

Example:

CODE

setInteger(ONMISSION,1);

Users WebsitePMXbox LivePlayStation Network
  Top
 

 
trjack  
Posted: Saturday, Aug 27 2011, 13:48
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Mar 11, 2009

uk.gif

XXXXX



I have a better idea, ill make a class called SCMInt or SCMFloat etc and it has add, sub, divide, multiply etc...

And it puts the SCM opcodes for the variables smile.gif
Users WebsitePMXbox LivePlayStation Network
  Top
 

 
gamerzworld  
Posted: Wednesday, Sep 7 2011, 02:02
Quote Post


Why did I move here? I guess it was to bounce.
Group Icon
Group: Members
Joined: Nov 29, 2005

us.gif

XXXXX



Very nice stuff! Think it would be possible for you to 'fix' the VCS PS2 scm to run correctly on the PSP? It uses a couple of new opcodes and crashes the PSP when doing certain things. If you could change these/remove these opcodes (mainly just stat tracking iirc), it should work fine minus the stat tracking.
Users WebsitePMMSNXbox LivePlayStation Network
  Top
 

 

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

0 Members:

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



 
IMG IMG