danny_is_cooler Posted September 26, 2007 Share Posted September 26, 2007 hey ive just started coding .scm in vice city im going very well and ive done alot so far but this is the first thing that ive been doing thats got me stuck after about 1/2 an hour of try again and again i havent fixed my problem is whn i make my teleport to go in it all was fine but hen i added the exit teleport my game wouldnt even show the cut scene when i start a new game plz help. :KENOFFif 00F6: player $PLAYER_CHAR 0 119.102 -826.868 9.481 radius 1.0 1.0 1.0else_jump @KENOFF gosub @NONAME_1_11785 select_interior 0 04BB: select_interiour 6 \\ select render area - lawyer office0055: put_player $PLAYER_CHAR at 141.6 -1367.4 13.1 0171: set_player $PLAYER_CHAR z_angle_to 60.0$297 = 0 // integer values $1325 = 0 // integer values create_thread @KENOFF0wait 1000gosub @NONAME_1_12036 :KENOFF0if 00F6: player $PLAYER_CHAR 0 139.253 -1370.551 12.202 radius 1.0 1.0 1.0else_jump @KENOFF0 gosub @NONAME_1_11785 select_interior 0 04BB: select_interiour 0 \\ select render area - lawyer office0055: put_player $PLAYER_CHAR at 117.102 -827.374 9.645 0171: set_player $PLAYER_CHAR z_angle_to 60.0$297 = 1 // integer values $1325 = 1 // integer values wait 1000 gosub @NONAME_1_12036end_thread oh and if anyone has some source or a tutorial on a fuel mod for vice city it would be great ive been looking every where but i cant find it Link to comment Share on other sites More sharing options...
SteaVor Posted September 27, 2007 Share Posted September 27, 2007 I've only looked at the systactical errors, it's not surprising that it doesn't behave correctly: select_interior 0 04BB: select_interiour 6 What is that supposed to do? You'll only notice the last interior change (to interior 6). Same issue in KENOFF0. That's your main problem: [...]$1325 = 0 // integer values create_thread @KENOFF0 wait 1000 gosub @NONAME_1_12036 :KENOFF0 if 00F6: player $PLAYER_CHAR 0 139.253 -1370.551 12.202 radius 1.0 1.0 1.0 else_jump @KENOFF0 [...] delete the bolded line, otherwise the thread runs multiple times at once. Additionally, you're missing the wait command at the beginning of KENOFF0. The game will therefore go into an infinite loop unless you're at the desired location. Go back to reading more simple tuorials, imitating simple code etc. - you don't know how and when to use WAIT commands currently, among other things. Link to comment Share on other sites More sharing options...
danny_is_cooler Posted September 27, 2007 Author Share Posted September 27, 2007 thx for the help ill try that. Link to comment Share on other sites More sharing options...
danny_is_cooler Posted September 27, 2007 Author Share Posted September 27, 2007 (edited) i fixed up my code and tryed it out it all works i went in then out but my problem is i cant go in agian. dw about it ive fixed it and now its fully working thx for all your help Edited September 27, 2007 by danny_is_cooler 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