Black Ghost Posted March 12, 2008 Share Posted March 12, 2008 Hey all,, I was looking for some thing to learn (becuse i dont know coding I want to learn ) and I find this posted in Aug 12 2005 and it great look at it ;Place this by the other 004Fs in MAIN004F: create_thread ££CJsitt;Place this further down by the other threads:CJsitt0001: wait $DEFAULT_WAIT_TIME ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££CJsittOmstart0004: $CJsitter = 0;; integer values00D6: if 102A0: actor $PLAYER_ACTOR stopped00E1: key_pressed 0 19004D: jump_if_false ££CJsittOmstart04ED: load_animation "BEACH"04ED: load_animation "SUNBATHE":CJsittLastAnim00D6: if 184EE: NOT animation "BEACH" loaded84EE: NOT animation "SUNBATHE" loaded004D: jump_if_false ££CJsittende0001: wait 0 ms0002: jump ££CJsittLastAnim:CJsittende0812: unknown_action_sequence $PLAYER_ACTOR "PARKSIT_M_IN" "SUNBATHE" 4.0 0 0 0 0 -10001: wait 2000 ms 0812: unknown_action_sequence $PLAYER_ACTOR "PARKSIT_M_LOOP" "BEACH" 4.0 1 0 0 0 -10004: $CJsitter = 1;; integer values015D: set_gamespeed 5.0:CJstå0001: wait $DEFAULT_WAIT_TIME ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££CJstå00D6: if 10038: $CJsitter == 1;; integer values00E1: key_pressed 0 19004D: jump_if_false ££CJstå015D: set_gamespeed 1.00605: unknown_action_sequence $PLAYER_ACTOR "PARKSIT_M_OUT" "SUNBATHE" 4.0 0 0 0 0 -104EF: release_animation "BEACH"04EF: release_animation "SUNBATHE"0001: wait 2000 ms:CJsittOmstart0002: jump ££CJsitt It can make cj set down !!!! and this posted by Toby I couldn't find any code that checked for benches, etc. near CJ, so I simply make him sit like peds do on porches. It kinda works on flat ground too, even though small elevations like stairs or porches are better if you want it to look realistic. Use Barton's Mission Builder to add these codes in your main.scm: then the code i just show you How to use it: Press the "look behind" button (initially NUM1) while stopped to sit down. The gameplay will then increase to 5x normal speed. Press the same button while sitting to stand up, and the gameplay goes back to normal. Other changes f.ex. in stats can also be added, I might look at that later... I haven't tested it much yet, but the only glitch I've found so far is that CJ sits down underwater without drowning if he's standing on the bottom. I don't know if there is a way to prevent this (code 0965 doesn't work unless he's floating), but it doesn't really matter. He'll do that if you crouch down normally anyway. Ok but when i install it with Barton's Mission Builder and compile it this show up so can any one help me with it ?? Link to comment Share on other sites More sharing options...
ZAZ Posted March 12, 2008 Share Posted March 12, 2008 Ok but when i install it with Barton's Mission Builder and compile it this show up so can any one help me with it ?? The massage means that you have an invalid code line in your main and this is the invalide line: Place this by the other 004Fs in MAIN your post exemble includes this line ;Place this by the other 004Fs in MAIN004F: create_thread ££CJsitt but it is set as comment, it have a semicolon infront ; and so it is valid Maybe you have this line on an other place of your main without semicolon search in your main for Place this by the other 004Fs in MAIN and delete it CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
james227uk Posted March 15, 2008 Share Posted March 15, 2008 search for 0004: in the main, then add 004F: create_thread ££CJsitt underneath all the004Fs. Then scroll down to find some of the other threads, then add the rest of the script. Link to comment Share on other sites More sharing options...
Black Ghost Posted March 18, 2008 Author Share Posted March 18, 2008 thanxs man you the best [ but i already did it ] but thanxs for trying you help 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