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.

Newcomers DBPro Corner / fps snippit

Author
Message
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 22nd Oct 2003 08:30
could someone wright me a quick snippit on how to make the gun stay o screen in an fps? i have tried lock object on, position object where the camera is, using it as a limb, etc.....but i fail to get a working code!!! Help!!
thanx in advance
bishop

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
HardBoot
21
Years of Service
User Offline
Joined: 10th Sep 2003
Location: Earth
Posted: 22nd Oct 2003 22:06
Check out these tuts,

http://developer.thegamecreators.com/?f=tutorials

Good luck
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 22nd Oct 2003 22:18
yeah i checked out these snippits but they use the lock object on command....it seems when i use lock object on, my program bugs...any other snippit to do this? thanx in advance

Bishop

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 22nd Oct 2003 22:20
show us the code youare using to lock the gun to the screen at the moment, lock object on is the best method i know to do fps weapons.


Go on, click on my signature image, you know you want to
Favourite smiley>>>
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 23rd Oct 2003 03:49
its kind of long, and the media is missing, but here you go

btw the gun i used is the mp5 from darkMATTER



one problem is the gun looks really funky(like the top texture is missing) and it won't seem to register the objects x,y,or z position....thanx

Bishop

p.s.-any improvment, don't hesitate to make...

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd Oct 2003 07:28
I'm not sure about your code, but here's the code I use for camera movement in my FPS.

Login to post a reply

Server time is: 2024-11-25 14:29:46
Your offset time is: 2024-11-25 14:29:46