Pie015 Posted August 11, 2010 Share Posted August 11, 2010 (edited) Hey guys, I dont know if this belongs here. How do I make my screen shake? like in: Are you going to San Fierro? The screen shakes left to right and stuff ? Is there any code? i press my choice of key and the screen shakes and its hard to control CJ Edited August 11, 2010 by Pie015 Link to comment Share on other sites More sharing options...
james227uk Posted August 11, 2010 Share Posted August 11, 2010 Hey guys, I dont know if this belongs here. How do I make my screen shake? like in: Are you going to San Fierro? The screen shakes left to right and stuff ? Is there any code? i press my choice of key and the screen shakes and its hard to control CJ *Mega Facepalm * OPCODE SEARCH. DUN DUN DUN. CTRL + ALT + 2. PRESS THAT COMBO IN SANNY BUILDER 0003: shake_camera 40 Seriously. This forum needs a notice about the Opcode Search. Link to comment Share on other sites More sharing options...
yair1221 Posted August 11, 2010 Share Posted August 11, 2010 or that: 052C: set_player $PLAYER_CHAR drunk_visuals 255 haven't checked, but it seems like what you are looking for Link to comment Share on other sites More sharing options...
Pie015 Posted August 11, 2010 Author Share Posted August 11, 2010 or that: 052C: set_player $PLAYER_CHAR drunk_visuals 255 haven't checked, but it seems like what you are looking for Thanks man, Theres just one problem, when i start my game it shakes even when i didnt press the key? {$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------thread 'DRUNK'0A95: enable_thread_saving wait 1000ifPlayer.Defined($PLAYER_CHAR):1wait 1000if 0AB0: key_pressed 53052C: set_player $PLAYER_CHAR drunk_visuals 255 jump @1 Link to comment Share on other sites More sharing options...
yair1221 Posted August 11, 2010 Share Posted August 11, 2010 {$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------thread 'DRUNK'0A95: enable_thread_savingwait 1000:cwait 0ifPlayer.Defined($PLAYER_CHAR)jf @c:1wait 0if0AB0: key_pressed 53jf @1052C: set_player $PLAYER_CHAR drunk_visuals 255wait 1000jump @1 Link to comment Share on other sites More sharing options...
Pie015 Posted August 11, 2010 Author Share Posted August 11, 2010 {$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------thread 'DRUNK'0A95: enable_thread_savingwait 1000:cwait 0ifPlayer.Defined($PLAYER_CHAR)jf @c:1wait 0if0AB0: key_pressed 53jf @1052C: set_player $PLAYER_CHAR drunk_visuals 255wait 1000jump @1 Thanks!! Is there any code to make it hard to control cj? If there is you would be just....AWESOME Link to comment Share on other sites More sharing options...
james227uk Posted August 11, 2010 Share Posted August 11, 2010 Wow, you're so ignorant. I posted the OPCODE SEARCH. You want to make CJ hard to control? Look in the opcode search. If you don't find anything, that's when you ask for help Link to comment Share on other sites More sharing options...
Deji Posted August 11, 2010 Share Posted August 11, 2010 james, chill... What's the point of quickly concluding that someone is being stupid when they ask for help, without letting anyone else have a chance to help? I've always found this a much better solution for a "drunk CJ" effect: 099C: jiggle_camera type 1 timelimit 20000.0 intensity 10.0 Adjust the type, timelimit and intensity to you liking. It moves the camera, which overrides whatever input the player gives... Makes it hard to direct CJ properly Link to comment Share on other sites More sharing options...
Pie015 Posted August 12, 2010 Author Share Posted August 12, 2010 james, chill... What's the point of quickly concluding that someone is being stupid when they ask for help, without letting anyone else have a chance to help? I've always found this a much better solution for a "drunk CJ" effect: 099C: jiggle_camera type 1 timelimit 20000.0 intensity 10.0 Adjust the type, timelimit and intensity to you liking. It moves the camera, which overrides whatever input the player gives... Makes it hard to direct CJ properly yay! thanks! 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