Quantcast
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 Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

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

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

      1. St Andrews Cathedral
    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    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. DYOM
      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
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Sign in to follow this  
ViceCityMamba80

small change in smc file vice city

Recommended Posts

ViceCityMamba80

Hey all,

 

I was trying to make a small change in spaceeinsteins all in one mod for vice city when you do the mission martha's mug shot where the shutters open in the building they close after the mission ends, is there a way to make the shutters in the building remain open kind of like he did with the mission cap the collecter where the small printworks door stays open even after the mission?

 

I read the tut but its pretty hard to sift through the codes, and i figure for someone who has the experience this would be an easy thing to do. Thanks to anyone who takes the time to read this. smile.gif

 

VCM-

Share this post


Link to post
Share on other sites
Jack

Try to find opcodes that are containing a word "Object" in that mission.

Share this post


Link to post
Share on other sites
ViceCityMamba80
Try to find opcodes that are containing a word "Object" in that mission.

Thanks for responding back to my question. I know that this is something simple to do probably for most people. Im a super noob at this stuff and not afraid to admit it haha. I took a look and think i found something, any help with the next steps would be greatly appreciated. biggrin.gif

Share this post


Link to post
Share on other sites
Jack

If you mean that blue door on the building with the stairs and floors where FBI agents are trying to eliminate you in the Martha's Mug Shot mission then find this:

 

$1645 = Object.Init(#PH_BUILD_DR_CLOSED, 569.925, 52.0, 14.616)Object.RemoveFromMissionCleanupList($1645)034D: rotate_object $1645 from_angle 270.0 to_angle 270.0 flag 0

 

and remove it from the main.scm.txt file, save it and open it with Sanny Builder then hit run, compile. By the way my main.scm file is modified so number 1645 is probably diferent in your file.

Edited by JACK JONES

Share this post


Link to post
Share on other sites
ViceCityMamba80

thanks for the reply. its actually the window in the hotel when you do the mission marthas mugshot that opens for you to take pictures across the street.

 

The door opens and stays open after the mission, i was more trying to make it where the window stays open permanently even after the mission. I cant find the codes to make the window stay open. Is the door and the window affected by that block of code being removed?

 

Thanks again for putting up with my noob questions and hope to hear from you soon. biggrin.gif

 

VCM-

Share this post


Link to post
Share on other sites
Jack

These two lines are responsible for that window:

 

03B6: replace_model_at 568.54 -4.801 13.264 radius 80.0 from #OD_WTSIGN to #OD_CHARIOT03B6: replace_model_at 568.54 -4.801 13.264 radius 80.0 from #OD_CHARIOT to #OD_WTSIGN

 

The first one puts the window in the game and the second one removes it. So there are two objects:

#OD_CHARIOT - window object,

#OD_WTSIGN - emty space.

So you just remove the first line from that mission and input the second line in the main part of main.scm file and the window is gone. The bad news: unleas you have something like a save game editor you're gonna have to start the game from the begining. I tried to built a CLEO by using object numbers (-155 and -156) but it ain't gonna work, I don't know why whatsthat.gif.

EDIT: I figured out what's the problem and here's the CLEO code:

 

{$CLEO .cs}thread 'Jack' :Checkwait 004C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 0.0 0.0 if and8443:   not player $PLAYER_CHAR in_a_car 0021:   [email protected] > 50.0 // floating-point values jf @Check03B6: replace_model_at 568.54 -4.801 13.264 radius 80.0 from -158 to -15703B6: replace_model_at 568.54 -4.801 13.264 radius 80.0 from -156 to -155:Check1wait 004C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 0.0 0.0 if8021:   NOT   [email protected] > 50.0 // floating-point values jf @Check103B6: replace_model_at 568.54 -4.801 13.264 radius 80.0 from -157 to -15803B6: replace_model_at 568.54 -4.801 13.264 radius 80.0 from -155 to -156jump @Check

 

Put that in some text document, save it, install Sanny Builder and CLEO for VC and put the document in the CLEO folder, open it with SB then run, compile. The window is now history smile.gif.

Edited by JACK JONES

Share this post


Link to post
Share on other sites
ViceCityMamba80

youll have to excuse my ignorance lol. confused.gif what is CLEO? Also i might have to add that i am using the xbox version of gta and spaceeinsteins all in one mod so i figured a simple scm edit would do the trick just fine for me. smile.gif

 

So if i remove the first line and just do a simple recompile that will let the window remain there correct? I have a reason as to why i want the window always there and open instead of sh*t. Once i can get through this i have a few ideas in my head.

 

thanks again for even answering my noob questions, i just really want to get this going and ill be a happy camper. haha. smile.gif

 

VCM-

Share this post


Link to post
Share on other sites
Jack

Just put my code in main.scm. Instructions:

Find the first "create_thread" opcode in the main.scm.txt and put new 004F opcode above it:

 

004F: create_thread @Glass

 

Then go to that CLEO code I gave you and replace "{$CLEO .cs}" with this label:

 

:Glass

 

Copy that whole code from the text document and put it in main.scm.txt above this:

 

//-------------Mission 0---------------

 

Save the main.scm.txt, open it with SB and compile. For more details about the inputing threads in main.scm read this:

http://www.gtamodding.com/index.php?title=Create_a_thread

And you will probably have to click "start new game" otherwise the game will crash because the main.scm is now modified. If you are planing to make something more complex then read this:

http://www.gtaforums.com/index.php?showtopic=403790

Edited by JACK JONES

Share this post


Link to post
Share on other sites
ViceCityMamba80
Posted (edited)

Sorry for the old bump on this topic, but i actually have started back trying to figure this out and am running into some issues.

 

Firstly, i CANNOT use any CLEO code, only the standard code. I really want the ability to have the window open all the time, not just after the mission.

 

With that said, whenever i try to edit the window to stay open even after the mission, the area around the hotel becomes a trap as the ground and beach around it becomes soft and you fall through it constantly. It makes no sense. When i change the line of code back, it goes back to normal but i lose the window and it shuts back after the mission.

 

The weird part is initially ground is solid around the area until i enter the hotel and take the pictures, but after leaving the hotel the ground is now not solid around it. So it is confusing...Can anyone shed any light here with this>?

Edited by ViceCityMamba80

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.