Below I am trying to create a gun view for use in a first person shooter. From what I understand after setting up this view I have to offset the gun or camera a little bit off to one side. I was wondering how to do that? What I have below puts me directly behind the gun. I think I have to offset the gun now or camera. so the gun shoots to the center of the screen butt gun looks off to the side.
VIEW* gun_view =
{
type = "pistol.mdl";
layer = 2;
gun.x = 34;
gun.y = 0;
gun.z = 0;
flags = SHOW;
view = camera;
}
Am I positioning wrong here? Its not doing anything.
I am looking at a version 6 gamestudio tut so maybe I am wrong in my approach?
Thanks for any help you can give. If I type in gun.x =34; after pressing the tab key it moves but including it here it doesnt move.
Last edited by ncc1701d; 03/19/10 00:33.