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 http://www.sincitygaming.net - The next generation of gaming! SinCity Gaming | UltiRace 24/7 - 188.165.199.162:22003 SinCity Gaming | Roleplay Gaming - Beta soon! SinCity Gaming | Zombie Mode + - 188.165.199.162:22005 Instead of using ip: 188.165.199.162 you can use: sincitygaming.net
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. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
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. http://www.sincitygaming.net - The next generation of gaming! SinCity Gaming | UltiRace 24/7 - 188.165.199.162:22003 SinCity Gaming | Roleplay Gaming - Beta soon! SinCity Gaming | Zombie Mode + - 188.165.199.162:22005 Instead of using ip: 188.165.199.162 you can use: sincitygaming.net
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. Powered by Kimsufi© ☢ ZHP on Facebook ☢ ZHP on Youtube ☢ Support us ☢
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 Check out my recent work: ZDay - a zombie script Slothbot - an AI deathmatch bot my community profile (all my resources)
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