Taalasmaa Posted October 5, 2009 Share Posted October 5, 2009 Okay, so hello. I maked alcohol script, there's alcohol"meter" and you can drink something like vodka and your bar goes up, when the bar is up to 90% you will be drunk. Script is ready, but is there some way to make shaking camera, so it's looking like drunk. This is just my problem, I didn't find camera shake things from mta development. I'm really glad if someone know how to make shaking camera. + if there isn't way to do camera shake, give ideas how to make it looking like drunk Thanks. Greetings Talasma Link to comment
robhol Posted October 5, 2009 Share Posted October 5, 2009 There's no makeCameraShake(player) function, if that was what you were hoping for, but you can make something to make it wiggle from side to side. I suggest using onClientRender and setCameraMatrix in order to not make it look like crap. Link to comment
Taalasmaa Posted October 6, 2009 Author Share Posted October 6, 2009 There's no makeCameraShake(player) function, if that was what you were hoping for, but you can make something to make it wiggle from side to side. I suggest using onClientRender and setCameraMatrix in order to not make it look like crap. Thanks for reply, i'm going to plan something. Link to comment
Buffalo Posted October 7, 2009 Share Posted October 7, 2009 In case you aren't very good at complex maths, use createExplosion() client side in local players stream, so the camera would shake heavily enough for this effect. Just script explosions without sound/graphic view and damage. Link to comment
Slothman Posted October 9, 2009 Share Posted October 9, 2009 not quite the same as the drunk swaying camera, but explosions are better than nothing i suppose Link to comment
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