Need to auto-zoom the camera to first person

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Need to auto-zoom the camera to first person

#1 Post by Mushroomstamp » Tue Aug 23, 2011 9:05 am

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?
Last edited by Mushroomstamp on Tue Aug 23, 2011 7:50 pm, edited 3 times in total.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: How can auto-zoom the camera to first person?

#2 Post by lisa » Tue Aug 23, 2011 9:13 am

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.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: How can auto-zoom the camera to first person?

#3 Post by Mushroomstamp » Tue Aug 23, 2011 9:36 am

That number puts it underground.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: How can auto-zoom the camera to first person?

#4 Post by lisa » Tue Aug 23, 2011 9:40 am

try between 40-70 and see how they look
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: How can auto-zoom the camera to first person?

#5 Post by lisa » Tue Aug 23, 2011 10:02 am

Ok forget what I said lol


I did some playing with this

Code: Select all

local x,y,z = GetCameraPosition()
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.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: How can auto-zoom the camera to first person?

#6 Post by Mushroomstamp » Tue Aug 23, 2011 11:55 am

Is there code I can put in command line to get the current position? Now it's dying fine, but not rez'ing right. :x

kanta
Posts: 424
Joined: Thu Nov 11, 2010 4:08 pm

Re: How can auto-zoom the camera to first person?

#7 Post by kanta » Tue Aug 23, 2011 2:15 pm

Run MM with rom\getpos to have it show coordinates.
Scout/Knight/Rogue 70/66/66

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: Need to auto-zoom the camera to first person

#8 Post by Mushroomstamp » Tue Aug 23, 2011 7:52 pm

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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Need to auto-zoom the camera to first person

#9 Post by lisa » Tue Aug 23, 2011 8:09 pm

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
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests