Taalasmaa Posted October 5, 2009 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
robhol Posted October 5, 2009 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.
Taalasmaa Posted October 6, 2009 Author 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.
Buffalo Posted October 7, 2009 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.
Slothman Posted October 9, 2009 Posted October 9, 2009 not quite the same as the drunk swaying camera, but explosions are better than nothing i suppose
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