Page 1 of 1
Need to auto-zoom the camera to first person
Posted: Tue Aug 23, 2011 9:05 am
by Mushroomstamp
I play with the camera zoomed out, but this seems to interfere with the death script. When the camera is zoomed out, the script doesn't work. If I zoom the camera all the way in manually, the script works. So how do I get the bot to zoom the camera to first person so I can then have it call the death script?
Re: How can auto-zoom the camera to first person?
Posted: Tue Aug 23, 2011 9:13 am
by lisa
I think that code is zooming a long way back, have you tried setting it to 1?
Code: Select all
RoMScript("SetCameraPosition (0,0,1)")
I can't test this atm but I'd try that first and see how it goes.
Re: How can auto-zoom the camera to first person?
Posted: Tue Aug 23, 2011 9:36 am
by Mushroomstamp
That number puts it underground.
Re: How can auto-zoom the camera to first person?
Posted: Tue Aug 23, 2011 9:40 am
by lisa
try between 40-70 and see how they look
Re: How can auto-zoom the camera to first person?
Posted: Tue Aug 23, 2011 10:02 am
by lisa
Ok forget what I said lol
I did some playing with this
the camera potision changes when you move around in the world, silly idea but anyway. You could try using that code to get the position and then use that to set the camera I guess.
Re: How can auto-zoom the camera to first person?
Posted: Tue Aug 23, 2011 11:55 am
by Mushroomstamp
Is there code I can put in command line to get the current position? Now it's dying fine, but not rez'ing right.

Re: How can auto-zoom the camera to first person?
Posted: Tue Aug 23, 2011 2:15 pm
by kanta
Run MM with rom\getpos to have it show coordinates.
Re: Need to auto-zoom the camera to first person
Posted: Tue Aug 23, 2011 7:52 pm
by Mushroomstamp
kanta wrote:Run MM with rom\getpos to have it show coordinates.
I found that in an old post after my last post, but it's not right... camera zooms far away.
Re: Need to auto-zoom the camera to first person
Posted: Tue Aug 23, 2011 8:09 pm
by lisa
Might be easier to just check the key bindings for zoom and play with using a key to do it?
--=== Edit ===--
Meh couldnt find any key bindings for it