PDA

View Full Version : Animation question



Bullz_eye_on_my_back
Jan 29 2003, 05:39
I have a little question....

I'm trying to animate the camera on my cypher for when the script calls for it to tilt up or down. I was trying to get the camera to tilt up or down at the same time, so that the person it would be looking at could see that its looking their direction....

The question is.... can you animate the same object more than once?
I have the same camera parts in oxygen named "camup" and "camdown" and the axis that they are rotating about are separate; one set is named "osa_camup" and the other "osa_camdown"
they are on the same plane but not the same vertices.

I have the configuration file right, but in the game it will only do the animation "camdown" but not the "camup"

if this can be done I was going to write a script to turn the camera as its being rotated around in script too

Thanks!

BratZ
Jan 29 2003, 08:01
Nope, only one animation per selection.This is also the reason that planes landing gear wheels don't spin (animation already used on the gear raising)
I've overcome some of this using hidden selections

And you can also share the same axis,no need for extra

Bullz_eye_on_my_back
Jan 29 2003, 12:42
Hmmm...that would be a great thing for the big guys to fix!! Hidden selections?? hmmm... do you mean having an invisible selection by textures and at an activation of an animation it changes the textures?? not sure if its possible or not

Jan 29 2003, 12:58
Moving to Addon Config & Scripting http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/smile.gif

BratZ
Jan 29 2003, 17:53
Yes the hidden selections work.In your case I would have 2 cameras ,one rotates up/down and the other left right

Hide/Unhide them during movement
Could get complicated tho

Bullz_eye_on_my_back
Jan 29 2003, 19:03
oops sorry denior...I didn't know I had placed the question in the wrong forum.....

hmmm...so it is possible...well I guess I can start searching on how to hide and unhide selections.....

BratZ
Jan 29 2003, 20:32
Very recent discovery....

http://www.flashpoint1985.com/cgi-bin....t=26088 (http://www.flashpoint1985.com/cgi-bin/ikonboard301/ikonboard.cgi?act=ST;f=51;t=26088)

Bullz_eye_on_my_back
Jan 29 2003, 22:04
ahhh....sweeet....well i've got some work to do..... http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/smile.gif

Thanks bratz.... especially for the quick response!!


truly a new found friend! lol

oh if you want to see what I'm working on you can find it in my posts in both the "mission edditing and scripting" and "addons and mods in progress" just look for the name cypher.... thanks again!!! I may have a few questions when I get to working on it......once i get some time!!! http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/biggrin.gif

Bullz_eye_on_my_back
Jan 30 2003, 16:49
Well I think i might have thought of something really simple for my problem... instead of making tons of animations I'm going to try making the camera a gun turret and just have the ai target where the camera is pointing... might have to place an invisible object for it to point at?

BratZ
Jan 30 2003, 19:09
You mean for the AI? Cause if you made the camera a gun turret,I think it would work exactly how you want (thats a good idea btw)

Bullz_eye_on_my_back
Jan 30 2003, 21:00
yep... i know tanks can have turrets that can revolve all the way around, but can heli's too???

I've made the camera on it a turret, but for some reason its showing the view like 2 meters behind it and on the ground.... and the rotating axis is from that spot too....so the camera flies up in space and down into the ground....

then ive looked at some configure files for tanks and used the same coefficients for the min and max turning (+90 and +270) but it only seems to rotate in 180 degrees...