Telescopes camera system?

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.

Telescopes camera system?

Postby Aloys » Sat Mar 22, 2008 6:09 pm

At some point I'd like to work on some camera system similar to what we have on the 'telescopes' in Teledahn or in the City (Tokotah rooftop).. Is it possible? How would one do that? Switching the camera to first person is ok, but moving it to a precise point? Also how would it be possible to restrict its movement to some specific area?
Thats something I have no idea how to do right now..
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Telescopes camera system?

Postby Owehn » Sat Mar 22, 2008 6:20 pm

I asked not too long ago here, but I'm not in a position to pursue a better answer.
User avatar
Owehn
 
Posts: 132
Joined: Sat Sep 29, 2007 8:05 am

Re: Telescopes camera system?

Postby Lontahv » Sun Mar 23, 2008 4:36 pm

Easy! CamFlags! :)

There's a whole pile of Alc-CamFlags, just look into them, I'm sure you'll find what you want.

Also, for the scope-GUI use region-triggered parenting. It works like a charm.

You can find the code here: http://forum.guildofwriters.com/viewtopic.php?f=9&t=183&st=0&sk=t&sd=a

If you want some zooming--just adjust the FOV for the local cam with this:

The time is the time it takes to transition to that FOV.

Code: Select all
camera.setFOV(<fov>, <time>)


~Lontahv
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Telescopes camera system?

Postby Owehn » Sun Mar 23, 2008 4:46 pm

Is it possible to design a different GUI, rather than using the telescope one?
User avatar
Owehn
 
Posts: 132
Joined: Sat Sep 29, 2007 8:05 am

Re: Telescopes camera system?

Postby Lontahv » Sun Mar 23, 2008 4:50 pm

Yup, no old-GUI needed. We can just make out own. :) Not sure about sliding parts but... buttons, key-control etc. is possible. You'd need to talk to some people like Nadnerb. :)

~Lontahv
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Telescopes camera system?

Postby Aloys » Sun Mar 23, 2008 5:11 pm

Very cool; yet another thing that's been enabled recently I had no idea about. :)
I'll give it a try, if I can get this (along with the oneshotmod 'avatar grabs scopes' animation) I'll write a tutorial.
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)


Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests

cron