+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Third Person view

  1. #1
    Wire Amateur darky's Avatar
    Join Date
    Mar 2008
    Posts
    50

    Default Third Person view

    A very basic third person view that uses E2 and a cam controller and a number
    pad .




    @name ThirdPerson
    @outputs CamA:angle CamP:vector O:entity
    @persist
    @trigger
    @model models/hunter/plates/plate.mdl

    if (first() | duped())
    {
    runOnTick(1)
    O = owner()
    holoCreate(0)
    holoPos(0,O:toWorld(vec(-100,0,80)))
    holoAng(0,(O:shootPos() - holoEntity(0):pos()):toAngle())
    holoParentAttachment(0,entity():owner(),"eyes")
    holoShadow(0,0)
    holoAlpha(0,0)
    CamA=holoEntity(0):angles()
    CamP=holoEntity(0):pos()
    }
    #Made By Darky Enjoy Just push the number key 1 to activate



    download
    Third person.zip Download!
    Last edited by darky; 08-18-2010 at 06:18 AM.

  2. #2
    Wire Sofaking Jack37's Avatar
    Join Date
    Jul 2009
    Location
    In front of Tatra T6A5
    Posts
    779

    Default Re: Third Person view

    You don't need interval(1) (btw. min interval is 10), you already use runOnTick(1). If this is whole code, you don't need even runOnTick(1), since it's in first()

    Anyway good work (I didn't try), but I didn't get the code.


    Wanna add me?:


    My Apps: Adv. Dupe -> E2 Code

  3. #3
    Wire Amateur darky's Avatar
    Join Date
    Mar 2008
    Posts
    50

    Default Re: Third Person view

    sorry that was a typo my bad

  4. #4
    Wire Noob Gravemind's Avatar
    Join Date
    Jul 2009
    Posts
    4

    Default Re: Third Person view

    Nice works good.

  5. #5
    Wirererer Paper Clip's Avatar
    Join Date
    Sep 2008
    Location
    Canada
    Posts
    368

    Default Re: Third Person view

    I love the pose

  6. #6
    Wire Amateur Spoon God's Avatar
    Join Date
    Jul 2009
    Posts
    87

    Default Re: Third Person view

    If you used ranger functions instead of a parented holo you could stop the cam getting stuck inside walls.
    (Ragdoll Keyframer) (Awesome Heads) (Fish Tank) (Virtual Fish Pond) (Fishing Rod) (Crap) (Sparkle) (Airboat Tank V2.0) (Balls of Rubber V2.0) (Bomb Truck) (Nuke Cannon) (Jet)
    If my computer is online, you can see all my new stuff at my E2 page.

  7. #7
    Wire Amateur darky's Avatar
    Join Date
    Mar 2008
    Posts
    50

    Default Re: Third Person view

    i would like you to show me that.

  8. #8
    Wire Amateur darky's Avatar
    Join Date
    Mar 2008
    Posts
    50

    Default Re: Third Person view

    thanks i knew some one would like it

  9. #9
    Wire Noob Oirad's Avatar
    Join Date
    May 2010
    Posts
    3

    Default Re: Third Person view

    Now you need to get the crosshair to show up...

  10. #10
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: Third Person view

    Quote Originally Posted by Spoon God View Post
    If you used ranger functions instead of a parented holo you could stop the cam getting stuck inside walls.
    Or you could not over-complicate it and use V:isInWorld()

+ Reply to Thread
Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots