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.
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.
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.
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.
Now you need to get the crosshair to show up...
Bookmarks