Fov, camera question
Moderator: Moderators
Fov, camera question
hey is it possible to make 1 player's camera spin.
something like
local.player fov time 1
local.player fov rotatez
local.player start/move
something like
local.player fov time 1
local.player fov rotatez
local.player start/move
camera
I don't know how to make a camera work for just one player, sorry. I, also, don't think you can spin the player. But, you can spin what he is standing on or in--see my marry-go-round in the explodingdoor tutorial map.
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
hate a contradict ya Tom but
and you stop your crying!!! 
Code: Select all
spin:
parm.other.spin = 36
while ((parm.other.spin <= 36) && (parm.other.spin > 0))
{
parm.other.viewangles = (parm.other.viewangles[0] (parm.other.angles[1] + 10) parm.other.viewangles[2])
parm.other.spin--
waitframe
}
//iprintln_noloc "spin"
endhope this helps, prob not cos it's all foreign 2 me :-/
ok cool:D. my head hurts from all this..maybe its the no food and 2 days without sleep.
thanx nuggets!!!
that script makes the player go round on z yes but i reaalised i need it so it spins like an "o"...errm..i wish i was good at explaining
basicaly so when the plane does a barrel roll the players veiw goes with the roll.
thanx nuggets!!!
that script makes the player go round on z yes but i reaalised i need it so it spins like an "o"...errm..i wish i was good at explaining
basicaly so when the plane does a barrel roll the players veiw goes with the roll.
syntax error
Try this:
Code: Select all
spin:
parm.other.spin = 36
while ((parm.other.spin <= 36) && (parm.other.spin > 0))
{
parm.other.viewangles = (parm.other.viewangles[0] (parm.other.viewangles[1] + 10) parm.other.viewangles[2])
parm.other.spin--
waitframe
}
//iprintln_noloc "spin"
end
The original:
Tltrude's:
You forgot view on that.
Code: Select all
spin:
parm.other.spin = 36
while ((parm.other.spin <= 36) && (parm.other.spin > 0))
{
parm.other.viewangles = (parm.other.viewangles[0] (parm.other.angles[1] + 10) parm.other.viewangles[2])
parm.other.spin--
waitframe
}
//iprintln_noloc "spin"
end
spin:
parm.other.spin = 36
while ((parm.other.spin <= 36) && (parm.other.spin > 0))
{
parm.other.viewangles = (parm.other.viewangles[0] (parm.other.viewangles[1] + 10) parm.other.viewangles[2])
parm.other.spin--
waitframe
}
//iprintln_noloc "spin"
end
You forgot view on that.


