HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I need help with first person camera

02-21-2003, 12:59 AM#1
STURMguy22
what are the camera fields for a first person camera. Is it locked to the unit And distance to target of 0. I also need to know how to look up and down while in FPV. Would i use the angle of attack. Someone plz help me!
02-21-2003, 01:53 AM#2
FatUglyNakedGuy
ive tried to do that a lot but i could never get it right... try to PM the creater of natures call.. he did one thing where u looked through the eyes of a spider.. quite nice
02-21-2003, 06:44 AM#3
Nuladion
I dont know...

And I got an other question:
- How can I 'lock' a camera to a unit?


- Nuladion
02-21-2003, 11:28 AM#4
STURMguy22
there is an action for this camera-lock camera to unit
02-21-2003, 03:12 PM#5
DaemonKillar
Well basically, you can't have the camera target float in the air, so looking up and down would require some sort of cliff/hill in front of your camera. this way you can slide your camera up or down with an angle of attack around 0 and 30 without having the camera clip under the map landscape. I'll try and post a screen shot of this if you still don't understand
02-21-2003, 03:22 PM#6
Nuladion
Quote:
Originally posted by NAMguy222
there is an action for this camera-lock camera to unit


I found out already, but thanks anyway!

But now I know how to lock the camera to a unit using the default game camera. But I want to create a camera that is behind a unit (3rd person view) a moves/rotates with the unit! How can I do that???

- Nuladion
02-21-2003, 03:24 PM#7
DaemonKillar
I doubt this can be done... you can make up an in-game camera that'll follow the unit, but it won't rotate around...
02-21-2003, 03:30 PM#8
Nuladion
Quote:
Originally posted by DaemonKillar
I doubt this can be done... you can make up an in-game camera that'll follow the unit, but it won't rotate around...


Darn... Can't I have War3 waiting for a key to be pressed, and when that key is pressed, you add/subtract a value to the rotation of the camera???


- Nuladion
02-23-2003, 06:02 AM#9
Silencers
Why dont you check the triggers in one of those paintball maps like jungle paintball, farmpaintball, or play house paintball. They have it in 3rd person view and the camara rotates with the riflemen.
02-23-2003, 08:51 AM#10
Insaniteus
3rd person following is easy actually, it's definatly not impossible. Here's how:

Event - Every .01 second
Actions - Lock Camera on unit
----------- Camera - Set Camera Rotation equal to "facing of unit" degrees.
----------- Camera - Set Angle of attack equal to 345

That should do it. 1st person cameras are ALOT harder and I'm still figuring them out.

-Insaniteus-
02-23-2003, 10:26 AM#11
Nuladion
Quote:
Originally posted by Insaniteus
3rd person following is easy actually, it's definatly not impossible. Here's how:

Event - Every .01 second
Actions - Lock Camera on unit
----------- Camera - Set Camera Rotation equal to "facing of unit" degrees.
----------- Camera - Set Angle of attack equal to 345

That should do it. 1st person cameras are ALOT harder and I'm still figuring them out.

-Insaniteus-


Thanks! I'll try and combine that with keyboard movement! Then I could make a real cool 3rd person cinematic or 3rd person adventure!
02-23-2003, 10:31 AM#12
Nuladion
For the 1st person view:
Can't you just make a region in front of a unit that moves/rotates with it. And then you set a camera targeting the region (so it moves/rotates wit hit). You modify the camera so is right above the units head. It would look like it targets the unit, but it targets the region right in front of the unit!

I dont know if this works, I'll try out and post my reply here!
02-23-2003, 11:29 PM#13
Insaniteus
I tried one locking camera on "position f unit offset by 800 towards facing of unit degrees" once before to make 1st person cameras, but that crashed WarCraft for some dumb reason.

I don't think there is just some easy way to do this. However it's done, is hard and needlessly tedious.

-Insaniteus-
02-23-2003, 11:52 PM#14
Guest
To make 3rd person is really easy. I tried out that jungle paintball game and laughed at everyone who thought the camera was so cool. To make 1st person there are two ways.

the way I've gotten to work: set the camera right above the head of a unit. That way, no clipping and whatnot.

The drawback about war3 cameras is that you cannot change their height off the ground very smoothly. So if that unit walks up a hill or down a ramp or something, the camera height has to be choppily adjusted (or you see weird clipping through the unit's head.)
If Ganon and the FPS people find a way to make that .exe accessible to other platforms, i would highly suggest using that to smoothly change the variable of height.
Maybe a trigger that does every .1 seconds: set camera1 height = height of unit(is this possible?)

The way that i haven't gotten to work: what insaniteous did: try to set offset by unit facing.

I'm glad there are actually other people having troubles like me. My mod is moving along very slowly(since few months after war3 came out) Image extractor is preventing me from even getting skins and models out to edit.
04-28-2003, 10:21 PM#15
Guest
u'd b suprised what u can do w/ camreas!