Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / 3rd person Project

Author
Message
thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 5th Jun 2009 22:18 Edited at: 6th Jun 2009 01:26
ok so far i have
but there is a problem, the character wont turn around 180 degrees no matter what i do, i used MIKE's 3rd person cam tutorial, i also wanted the character to stay in the center of the screen but that seems impossible too, the dbLockObjectOn positions the character in a weired place, eighter way it doesn't matter, i can live without him being centered, i just want him to turn around and i'm open to any suggestions...heres a youtube video of my progress http://www.youtube.com/watch?v=h-KArZS-XwM

Attachments

Login to view attachments
kklouzal
15
Years of Service
User Offline
Joined: 15th May 2009
Location: Arizona
Posted: 5th Jun 2009 23:19
thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 6th Jun 2009 01:25
didnt really work out, i'd prefer to stick with teh current code i have, just make mods to it
kklouzal
15
Years of Service
User Offline
Joined: 15th May 2009
Location: Arizona
Posted: 6th Jun 2009 01:56
My code is your code, just enhanced to utilize right click and some smoother movement.

Just saying. =D

thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 6th Jun 2009 04:34 Edited at: 6th Jun 2009 08:15
ok, i added animation and turned the character around by modifying my code, now i just need to glue the gun to the player, and add collision(Spaky's has some issues with my PC and regular collision doesnt seem to work)
thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 6th Jun 2009 15:57
now i have added the gun, and sounds and as usual, there is a problem, the sound and muzzel flash(which i need help on making transparent) only plays when you right click the mouse, i want it to play wen you left click the mouse also.

Attachments

Login to view attachments
JustinKR6
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location:
Posted: 7th Jun 2009 09:45
Its because of your else statement after your dbMouseClick() == 2, if youre not clicking button 2, then hide the muzzleflash and pause the sound. Your left click trys to play it but that else statement kills it.

Login to post a reply

Server time is: 2024-10-01 03:29:01
Your offset time is: 2024-10-01 03:29:01