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 / Camera Help

Author
Message
eGaming
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: New York
Posted: 9th Jan 2004 23:21 Edited at: 9th Jan 2004 23:22
Ok, I am making a FPS and was wondering how could i control the camera with the mouse but not actually like move the camera out of its Current position. So Basically use the mouse to aim the gun. I whould also like to use the arrow keys to actually move the camera, (i know how to do this.) But is there a way i could limit how far the camera can move with the mouse? because otherwise it would be wierd for someone to be able to look behind them with there feet facing the other direction. Thanks in Advance!!
BTW im useing Pro

hi
Ebon
21
Years of Service
User Offline
Joined: 13th Apr 2003
Location:
Posted: 9th Jan 2004 23:38
Well,
You could do something like the following:

Of course you would have to declare that the PLA_AGL_X and Y were in fact the current angle measurements of the camera.
Dunno if that helps
Does it?

That which does not kill us makes us stronger.
eGaming
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: New York
Posted: 9th Jan 2004 23:48 Edited at: 9th Jan 2004 23:49
So something like this?


hi
eGaming
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: New York
Posted: 10th Jan 2004 05:12
Never mind i figured it out. But one more thing, the gun im useing seems very small can i enlarge it some how?

hi
Emperor Baal
20
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 10th Jan 2004 05:34
Use the scale object command, example:

load object "gun.3ds", 1
scale object 1, 500,200,300

this will resize gun.3ds to X=500%, Y=200% and Z=300%


Quote: "
Amd 2500+ | 1024mb pc2700 | A7N8X-X | Geforce4 ti 4200 128mb
"
eGaming
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: New York
Posted: 10th Jan 2004 11:01
Cool thanks

hi
eGaming
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: New York
Posted: 10th Jan 2004 22:57
Now that i got that all taken care of i need some help with this question. Since it is a FPS should i actually load a player model and set him behind the camera holding the gun? Because right now it looks like the gun is just floating in the air and eventually if i wanted to make a multiplayer game i guess I whould need it. But how to I put the gun in his hand? I know theres some kind of limb command but i cant figure it out. Thanks

hi
PiratSS
22
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 12th Jan 2004 14:48
That should be different model. Set it behind the camera, and position, animate it etc.

You will see it if you goto 3rd person view.

Dual AMD Athlon MP 2x1GHZ | IBM 15000Rpm SCSI 73.4 Gb X 2 | e-GeForce Ti4400 | Audigy 2 + 7.1 Surround sound | 17' Monitor | Ugly mouse

Login to post a reply

Server time is: 2024-11-25 23:53:10
Your offset time is: 2024-11-25 23:53:10