Player on a track?
by Jeff Murray · in Technical Issues · 02/07/2007 (10:44 am) · 2 replies
Hi guys!
Something I thought was going to be easy is proving to be a little bit of a pain.
I was hoping to be able to somehow tap into the AIPlayer code and use it for the main player, but I just ended up getting messed up.
Essentially, what I want to do is have a player on a track ... like a ghost train ride or something, where the player moves along a path (looping around and around) but has the ability to look around using the mouse and shoot stuff.
I tried initializing the player as an ai player, but I'm guessing that the movement code for a 'control object' player overrides the automated AI player code??
Anyone tried to do this, or got any ideas on the easiest way of going about this?
Thanks in advance!
Jeff M.
Something I thought was going to be easy is proving to be a little bit of a pain.
I was hoping to be able to somehow tap into the AIPlayer code and use it for the main player, but I just ended up getting messed up.
Essentially, what I want to do is have a player on a track ... like a ghost train ride or something, where the player moves along a path (looping around and around) but has the ability to look around using the mouse and shoot stuff.
I tried initializing the player as an ai player, but I'm guessing that the movement code for a 'control object' player overrides the automated AI player code??
Anyone tried to do this, or got any ideas on the easiest way of going about this?
Thanks in advance!
Jeff M.
#2
Just for the record, though, would this be possible through Torquescript only or is it something that really *needs* an engine mod?
02/07/2007 (10:57 am)
Excellent idea :) thanks, David.Just for the record, though, would this be possible through Torquescript only or is it something that really *needs* an engine mod?
Associate David Montgomery-Blake
David MontgomeryBlake