i dont think it will help us who dont really understand the scripting language. cause i believe he wrote his entire map using custom scripts, not the trigger editor
ok i fixed the camera looking up but what do you mean by add the camera to a circle. right now i've attached it to a local variable that gives the position of the main unit with an offset. but i have to do that on a 0.0 timer and its choppy as hell. in your video your camera is silky smooth... does that have anything to do with the fact that you used a custom physics engine? or is it just the circle thingy?
@rrowland:
ok i included my map. still got the same problem i havent added anything fancy like moving yet. i am just trying to get the shooting mechanic to work first.
you have probably named your main unit variable something else. or your misplaced a capitol letter. check what your main unit variable is called, i had the same problem last night.
hi,
i've used your traceline in my map but there is a problem once i look up from the ground. when i'm looking at the ground the camera is ok, but one i look at the sky (the crosshair is no longer touching the ground) i get these error messages.
00:00:03.69 Trigger Error in 'gt_Camerafollow_Func': Could not get 'p' from parameter in 'PointGetY' (value: 0)
00:00:03.69 Trigger Error in 'gt_Camerafollow_Func': Could not get 'p' from parameter in 'PointGetX' (value: 0)
00:00:03.69 Trigger Error in 'gt_Camerafollow_Func': Could not get 'p' from parameter in 'PointGetY' (value: 0)
00:00:03.69 Trigger Error in 'gt_Camerafollow_Func': Could not get 'p' from parameter in 'PointGetX' (value: 0)
any idea why?
my camera is currently set to follow the target point of the traceline.
also i've tried to use the target point variable to spawn a unit at that location however it spawns at the current position of the camera. (even when its not attached to a unit.)
any help you could provide would be much apriciated.
0
@robinjfor:
i dont think it will help us who dont really understand the scripting language. cause i believe he wrote his entire map using custom scripts, not the trigger editor
0
@rrowland:
i'm sorry for the brain fart here. but where do i get the circle? or the ractangle for that matter? do you mean a region?
0
ok i fixed the camera looking up but what do you mean by add the camera to a circle. right now i've attached it to a local variable that gives the position of the main unit with an offset. but i have to do that on a 0.0 timer and its choppy as hell. in your video your camera is silky smooth... does that have anything to do with the fact that you used a custom physics engine? or is it just the circle thingy?
again thanks and any help is much apriciated.
0
@rrowland:
ok i included my map. still got the same problem i havent added anything fancy like moving yet. i am just trying to get the shooting mechanic to work first.
0
@Scarx398:
you have probably named your main unit variable something else. or your misplaced a capitol letter. check what your main unit variable is called, i had the same problem last night.
0
hi,
i've used your traceline in my map but there is a problem once i look up from the ground. when i'm looking at the ground the camera is ok, but one i look at the sky (the crosshair is no longer touching the ground) i get these error messages.
00:00:03.69 Trigger Error in 'gt_Camerafollow_Func': Could not get 'p' from parameter in 'PointGetY' (value: 0)
00:00:03.69 Trigger Error in 'gt_Camerafollow_Func': Could not get 'p' from parameter in 'PointGetX' (value: 0)
00:00:03.69 Trigger Error in 'gt_Camerafollow_Func': Could not get 'p' from parameter in 'PointGetY' (value: 0)
00:00:03.69 Trigger Error in 'gt_Camerafollow_Func': Could not get 'p' from parameter in 'PointGetX' (value: 0)
any idea why?
my camera is currently set to follow the target point of the traceline.
also i've tried to use the target point variable to spawn a unit at that location however it spawns at the current position of the camera. (even when its not attached to a unit.)
any help you could provide would be much apriciated.