Warcraft III resources & community, 2003–2006 · archived

Cameras

11 posts
#1

Cameras

can somebody please tell me how to make a camera look through the eyes of a unit so that when the unit turns the camera turns with it. :?
#2
I don't know if it's possible. But I don't think so.

-Rui
#3
it is many people did it he is talking about frist person mode
#4
I did something like that in my map, but the camera is a little zoomed in because you're looking through a sniper rifle.

Sniper Mode
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Sniper Mode 
        Lvl10SniperOff[(Player number of (Owner of (Casting unit)))] Equal to True
    Actions
        Unit - Order (Casting unit) to Stop
        Set Lvl10SniperOff[(Player number of (Owner of (Casting unit)))] = False
        Set Lvl10CameraDist[(Player number of (Owner of (Casting unit)))] = True
        Camera - Set (Owner of (Casting unit))'s camera Distance to target to 0.00 over 0.35 seconds
        Camera - Set (Owner of (Casting unit))'s camera Angle of attack to 360.00 over 0.60 seconds
        Camera - Set (Owner of (Casting unit))'s camera Rotation to (Facing of (Casting unit)) over 0.60 seconds
        Camera - Pan camera for (Owner of (Casting unit)) to ((Position of (Casting unit)) offset by 192.00 towards (Facing of (Casting unit)) degrees) over 0.00 seconds
        Unit - Add Snipe  to (Casting unit)
        Unit - Add Stop Sniping  to (Casting unit)

Sniper Camera
    Events
        Time - Every 0.20 seconds of game time
    Conditions
        Level Equal to 10
    Actions
        For each (Integer A) from 1 to 8, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Lvl10SniperOff[(Integer A)] Equal to False
                    Then - Actions
                        Camera - Set (Player((Integer A)))'s camera Distance to target to 0.00 over 0.60 seconds
                        Camera - Set (Player((Integer A)))'s camera Angle of attack to 360.00 over 0.60 seconds
                        Camera - Set (Player((Integer A)))'s camera Rotation to (Facing of (Random unit from (Units owned by (Player((Integer A))) of type Solid Snake))) over 0.60 seconds
                        Camera - Pan camera for (Player((Integer A))) to ((Position of (Random unit from (Units owned by (Player((Integer A))) of type Solid Snake))) offset by 192.00 towards (Facing of (Random unit from (Units owned by (Player((Integer A))) of type Solid Snake))) degrees) over 0.00 seconds
                    Else - Actions
#5
i want what the guy that made rotd cinematic thingy i think he made the camera look through the eyes of a drogan as it flu. :?
#6
So can't you look at this cinematic and find out how does it work?! Men, THINK!
#7
I'm not that dumb his map was pretected
#8
Waht are you smoking? Return of the Dragons protected?! Nice to know it!
#9
well it was a cinematic that had a dragon and lich king in it and something got squeched by rocks of a mountain. it was protected i know it cos lotsa people didnt like it being protected
#10

Your Answer!!

Check out my map Rifleman Paintball, it's not protected! It's in maps and Arenas category ok?
If you make a map your givin me credit right?
The camera just follows the riflfeman, if you want it to see as the eyes, just zoom in on the distance from target :). Good luck with your map!!
#11
Well LOAP v10 has a very good first person camera. too bad its protected.....