Bridge Commander Central
BC Forums => BC Bridge Modding => Topic started by: Lurok91 on November 18, 2010, 01:09:11 PM
-
Know this has been asked a zillion times before, but:
How do you in bridge script write tactical view so don't zoom to Felix but keep locked forward on viewscreen?
Is there a way to keep player pov locked ahead on viewscreen so don't look to other crew even when press F1 keys?
(need this for co-pilot seat shuttle versions)
specific script code examples welcome :)
-
thats an easy one :)
look for this section of code in the character's script:
(ill use Nebula Bridge Felix for example)
look under def ConfigureForNebula(pNebFelix):
to find:
# Add common animations.
AddCommonAnimations(pNebFelix)
pNebFelix.SetLocation("NebTactical")
pNebFelix.AddPositionZoom("NebTactical", 0.8, "Tactical")
pNebFelix.SetLookAtAdj(-2, 0, 75)
# kDebugObj.Print("Finished configuring Felix")
the SetLookAtAdj is an x y z axis (**i think) where the camera points, and the 0.8 value is how close/far to zoom...
the lower the number, as far as 0.8 in this case, the closer the view... a value of 1.0 will not zoom at all, but will just look to where x y and z tells it to...
with me, ive always just tried out different x y z values to get to where i wanted, and then set the zoom, and sometimes it can take many tries with trial and error lol
-
cookied for sheer Irony, Lurok (you got yours, Jimmy). we were just going over this because of the TMP styled bridges tendancy to stay focused on Felix's back.
-
Thanks, J *cookie* Fixed.
-
proved useful, Eh Lor-