• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

First Person Camera System 1.0

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
  • Like
Reactions: ModelTester
Better screen is coming soon.

I had 1 Problem.
I didn't know how to attach the camera to the head of the triggering unit, so that the camera will stay on the highst i want it to be.

pls give credit if you use it ;)

Keywords:
camera, system, gui, triggers, simple
Contents

First Person Camera (Map)

Reviews
17:30, 7th Dec 2009 TriggerHappy: Review for First Person Camera System 1.0 We honestly don't need another one of these. I mean we have like 6 of them. Status Rejected

Moderator

M

Moderator

17:30, 7th Dec 2009
TriggerHappy:


Review for First Person Camera System 1.0

We honestly don't need another one of these. I mean we have like 6 of them.

Status

Rejected
 
Level 10
Joined
Sep 21, 2007
Messages
517
hey!, you were the dude who asked about changing the cam height xD, btw this might be a tad bit complicated for you, but since its a system, try adjusting camera height by getting the height of the location of unit, i suggest using x and y intercepts, like this
  • Custom Script: set udg_ZLoc = GetLocationZ(Location(GetUnitX(udg_THEUNIT), GetUnitY(udg_THEUNIT) ) )
just replace the text "THEUNIT" with the name of your unit variable, and create a variable called ZLoc (a real variable) and put that script somewhere, the ZLoc variable will have the height of the location of the unit ))
 
hey!, you were the dude who asked about changing the cam height xD, btw this might be a tad bit complicated for you, but since its a system, try adjusting camera height by getting the height of the location of unit, i suggest using x and y intercepts, like this
  • Custom Script: set udg_ZLoc = GetLocationZ(Location(GetUnitX(udg_THEUNIT), GetUnitY(udg_THEUNIT) ) )
just replace the text "THEUNIT" with the name of your unit variable, and create a variable called ZLoc (a real variable) and put that script somewhere, the ZLoc variable will have the height of the location of the unit ))

All of this seems to work, but now i need a name, cause it says, 200:need a name.

I tried to add Triggering_unit, but that didn't fit.
 
Lol. Make a unit variable, e.g., cameraUnit. Then Set cameraUnit = Whatever unit you are following. Then after "GetUnitX(udg_" and "GetUnitY(udg_" you just put cameraUnit because that's the unit variable which stored the identity of the unit you are following.

I got that idea 2 minutes ago :p, but if i test the map now, the camera highst is his flying highst, wich is 0 right now-.-, means you are looking at his feet...

Isn't there already such a system? :s
Yea but its a bit more difficult and it didn't work as i tried it.



Edit: Major update soon, including better view and easier desription^^
 
Last edited:
Top