JostVice Posted January 20, 2007 Share Posted January 20, 2007 Hello, what's up? before some days, I start now doing some missions or something, I know how to place those pickups, weapons, cars, create threads etc but now I want to test with a mission, I'm working in the gostown TC scm for now, so you'll not recognise the coords I made a simple mission, not working (the game loads, but when I see CJ the game crash) you need to bring back some cars to theirs points. I'm a noob in this, so maybe I did something stupid. scm here Sorry for the rapidshare link, but my ftp doesn't want to work Thanks, waiting for response Link to comment Share on other sites More sharing options...
Bigun Posted January 21, 2007 Share Posted January 21, 2007 Appears like you've uploaded your compiled main.scm. It is best if you just post your code here (and relevant code only - only your mission. Also post what you did when adding it, did you modify the DEFINE's properly etc (tho it probably wouldn't of compiled otherwise)). We need more details, when did this exactly start to happen, what's your added code, and how are you starting the mission (well, you aren't yet, it crashes before that I reckon). If it's a very long, huge mission code block or something host it in a .txt file on some site and link to it here. Look for some of those 'pastebin' sites if needed. Link to comment Share on other sites More sharing options...
JostVice Posted January 21, 2007 Author Share Posted January 21, 2007 Oops, sorry. Here we go: click here I only added one thing to the Define missions, DEFINE MISSIONS 1DEFINE MISSION 0 AT @SUN 042C: set_total_missions_to 1030D: set_total_mission_points_to 1 The mission should start when you enter into a sphere, //start_mission 0:SRTMIS2_203A4: name_thread 'SRTMIS2'03BC: $SUNIC = create_sphere -2008.571 -870.397 6.9136 1.0 0002: jump @SRTMIS2_20:SRTMIS2_20wait 0if 00FF: actor $PLAYER_ACTOR 0 -2008.571 -870.397 6.9136 radius 1.0 1.0 2.0 003D: jump_if_false @SRTMIS2_20 0002: jump @SRTMIS2_25:SRTMIS2_2500BA: text_styled 'SUNM' 1500 ms 2 // A favour...03BD: destroy sphere $SUNICstart_mission 2004E: end_thread The code starts below the create_threads create_thread @SAV1create_thread @SAV2create_thread @CHTBOXcreate_thread @HJcreate_thread @COORDScreate_thread @SRTMIS2_2 The code of the mission is large though, search for SUN. 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