1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. The poll for our 11th Music Contest is up! Help us choose the most awesome cinematic tracks by casting a vote!
    Dismiss Notice
  3. Melee Mapping contest #3 - Poll is up! Vote for the best 4v4 melee maps!
    Dismiss Notice
  4. The 30th edition of the Modeling Contest is finally up! The Portable Buildings need your attention, so come along and have a blast!
    Dismiss Notice
  5. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    Dismiss Notice

First Person Camera System 1.0

Submitted by VampireofBlood
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
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
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
  1. 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
     
  2. Sheephunter

    Sheephunter

    Joined:
    Dec 21, 2008
    Messages:
    755
    Resources:
    0
    Resources:
    0
    This is almost one of the easyest things you can do in the camera editor :p
    and 0.01 can be realy laggy, so be carfull.
     
  3. VampireofBlood

    VampireofBlood

    Joined:
    Feb 17, 2009
    Messages:
    542
    Resources:
    3
    Maps:
    3
    Resources:
    3
    well this is right, maybe i will fit it to 0.05 or 0.1 .
    But i still need help with the camera highst :/
     
  4. StaberFire

    StaberFire

    Joined:
    Jun 28, 2008
    Messages:
    683
    Resources:
    8
    Icons:
    4
    Skins:
    1
    Spells:
    3
    Resources:
    8
    When you go up ramps all you can see are his feet.
     
  5. Diehard@Azeroth

    Diehard@Azeroth

    Joined:
    Sep 21, 2007
    Messages:
    483
    Resources:
    1
    Spells:
    1
    Resources:
    1
    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 ))
     
  6. VampireofBlood

    VampireofBlood

    Joined:
    Feb 17, 2009
    Messages:
    542
    Resources:
    3
    Maps:
    3
    Resources:
    3
    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.
     
  7. StaberFire

    StaberFire

    Joined:
    Jun 28, 2008
    Messages:
    683
    Resources:
    8
    Icons:
    4
    Skins:
    1
    Spells:
    3
    Resources:
    8
    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.
     
  8. Deuterium

    Deuterium

    Joined:
    Mar 17, 2009
    Messages:
    1,301
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
    Isn't there already such a system? :s
     
  9. VampireofBlood

    VampireofBlood

    Joined:
    Feb 17, 2009
    Messages:
    542
    Resources:
    3
    Maps:
    3
    Resources:
    3
    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...

    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: Nov 18, 2009