noalcohol Posted August 15, 2009 Share Posted August 15, 2009 (edited) GTA SA Hey, I didn't see any tutorial to go to an interior. Please tell me the details! How to go to an interior, please! Also give me example. Edited August 15, 2009 by noalcohol Link to comment Share on other sites More sharing options...
TheSiggi Posted August 15, 2009 Share Posted August 15, 2009 this is my 'teleport into Wuzis betshop script: set this code in your script: 016A: fade 0 time 1000 then, after it: 04BB: select_interior 1 //you find a list of all interiors in sannybiulder help and: 03CB: set_rendering_origin_at -2158.418 642.5994 1052.375 00A1: put_actor $PLAYER_ACTOR at -2158.418 642.5994 1052.375 0860: link_actor $PLAYER_ACTOR to_interior 1 0001: wait 500 ms 016A: fade 1 time 1000 // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------03A4: name_thread 'WUZIBET' 0001: wait 1000 ms :WUZIBET_160001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @WUZIBET_16 00D6: if and0038: $ONMISSION == 0 80DF: not actor $PLAYER_ACTOR driving 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere -2155.779 645.5449 52.3672 radius 1.0 1.0 1.0 on_foot 004D: jump_if_false @WUZIBET_16 016A: fade 0 time 1000 ////////////////////////////////////////////////////////////////////0001: wait 1000 ms 04BB: select_interior 1 /////////////////////////////////////////////////////////////////////04E4: unknown_refresh_game_renderer_at -2158.418 642.5994 ///////////////////////////////////////////03CB: set_rendering_origin_at -2158.418 642.5994 1052.375 ////////////////////////////////////////////////00A1: put_actor $PLAYER_ACTOR at -2158.418 642.5994 1052.375 ///////////////////////////////////////////0860: link_actor $PLAYER_ACTOR to_interior 1 ///////////////////////////////////////////////////////////////0001: wait 500 ms 016A: fade 1 time 1000 0007: [email protected] = -2157.389 0007: [email protected] = 635.4733 0007: [email protected] = 52.3828 0007: [email protected] = 269.5582 :WUZIBET_2200001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @WUZIBET_220 00D6: if 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere -2170.35 645.9218 1057.594 radius 1.0 1.0 1.0 on_foot 004D: jump_if_false @WUZIBET_220 016A: fade 0 time 1000 ////////////////////////////////////0001: wait 1000 ms 04BB: select_interior 0 ////////////////// no interior > normal //////////////////////////////////04E4: unknown_refresh_game_renderer_at [email protected] [email protected] 03CB: set_rendering_origin_at [email protected] [email protected] [email protected] 00A1: put_actor $PLAYER_ACTOR at [email protected] [email protected] [email protected] 0173: set_actor $PLAYER_ACTOR Z_angle_to [email protected] 0860: link_actor $PLAYER_ACTOR to_interior 0 0001: wait 500 ms 016A: fade 1 time 1000 0001: wait 1000 ms 0002: jump @WUZIBET_16 Link to comment Share on other sites More sharing options...
12jango Posted August 15, 2009 Share Posted August 15, 2009 (edited) Nice, dude! Thanks for the hints! But I still don't understand 'bout these: (If you don't mind, please answer ) * There are 4 0007 opcodes with local variables 0007: [email protected] = -2157.3890007: [email protected] = 635.47330007: [email protected] = 52.38280007: [email protected] = 269.5582 The numbers like 635.4733, 52.3828, and so on... What are they? Coordinates? Thanks! Edited August 15, 2009 by 12jango Link to comment Share on other sites More sharing options...
james227uk Posted August 15, 2009 Share Posted August 15, 2009 They're the coords. Siggi stores them to a local (a waste IMO) then uses them after. I'd just use the simple way, type coords into the opcode. Link to comment Share on other sites More sharing options...
TheSiggi Posted August 15, 2009 Share Posted August 15, 2009 @ james: Yeah, I'm using this since I saw this way in a save script... the WUZIBET script was improved by ZAZ ( he added the fading and the rendering ) Link to comment Share on other sites More sharing options...
Dutchy3010 Posted August 15, 2009 Share Posted August 15, 2009 (edited) @ 12jango: That are very basic things to know when you want to code. I'll advise you to read some tutorials: Mission Coding for Dummies CLEO Script Tutorial Coding Bible Part I Coding Bible Part II @ James: In an easy script, it is indeed possible that you don't use variables for these opcodes. But in more complex scripts, you can better use variables, because they are more organized than just the opcode. You can change them more easily. And, of course, you can use them more than once. That's why I prefer to use variables most of the times. However, you are absolutely right that in this script, he can use the number instead of variables, so that he won't waste a local. Edited August 15, 2009 by Dutchy3010 DYOM - Create, play, share! Link to comment Share on other sites More sharing options...
Deji Posted August 15, 2009 Share Posted August 15, 2009 @ 12jango: That are very basic things to know when you want to code. I'll advise you to read some tutorials: Mission Coding for Dummies CLEO Script Tutorial Coding Bible Part I Coding Bible Part II I believe he said he did read the tutorials, but couldn't find what he was looking for Still, opcode search would be helpful in future Link to comment Share on other sites More sharing options...
Dutchy3010 Posted August 15, 2009 Share Posted August 15, 2009 Can't believe that, Deji. I explained about the numbers and variables here, ZAZ explained it here and tommyworld10 explained it here. DYOM - Create, play, share! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now