Righteo, I got the second camera setup, and it is setup as a circle camera, but when the compiler runs it reverts the camera to fixed. Look closely at the Camera Brain Export, this is what I believe is suppose to show for my second camera as circle, not fixed.
Camera OrbitingCam is the camera that I have setup as circle.
- Code: Select all
[Camera OrbitingCam]
[Coordinate Interface OrbitingCam]
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None
Exporting Camera Modifier Object
Calculating FOV for lens is 35 mm
Camera Brain: fixed
Exporting CameraBrain1
Decoding MixedRef: None
WARNING: Could not decode False to an object type code. Type of object: <type 'bool'>
Error: Decoding error on keystring None and basetype False
Decoding MixedRef: None
WARNING: Could not decode False to an object type code. Type of object: <type 'bool'>
Error: Decoding error on keystring None and basetype False
Exporting CameraBrain1_Fixed
Decoding MixedRef: None
[Region Object CameraRgn]
Region type: unknown
[LogicHelper]
[CameraRegionDetector CameraRgn]
Decoding MixedRef: OrbitCamera
[Physical]
HullBounds export
Exporting 8 (8) vertices
Setting Region-Specific settings....
Object is Dynamic
[Coordinate Interface CameraRgn]
[Camera OrbitCamera]
[Coordinate Interface OrbitCamera]
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None
Exporting Camera Modifier Object
Calculating FOV for lens is 35 mm
Camera Brain: fixed
Exporting CameraBrain1
Decoding MixedRef: None
WARNING: Could not decode False to an object type code. Type of object: <type 'bool'>
Error: Decoding error on keystring None and basetype False
Decoding MixedRef: None
WARNING: Could not decode False to an object type code. Type of object: <type 'bool'>
Error: Decoding error on keystring None and basetype False
Exporting CameraBrain1_Fixed
Decoding MixedRef: None
And this is the Alc script that goes with it
- Code: Select all
# insert AlcScript code here
# To get cameras to work you need to add
# the following to an Alc script
# <camera region name>:
# region:
# type: camera
# messages:
# - newcam: <camera object name>
# <camera object name>:
# camera:
# brain:
# type: <camera type (fixed, circle, avatar)>
# xpanlimit: 0.8 (sets the amount of pan the player can do by holding down the right mouse button)
# zpanlimit: 0.8 (values range from 0 to 1)
# poa: 0, 0, 6 (point on the avatar the camera points to)
# offset: 0, 6, 6 (for avatar cameras only,location relative to avatar's feet)
# flags:
# - followlocalavatar
# - maintainLOS
# circleflags: (only for cameras that circle)
# - farthest
CameraRgn:
region:
type: camera
camera:
messages:
- newcam: OrbitCamera
OrbitCamera:
camera:
brain:
type: fixed
xpanlimit 0.8
zpanlimit 0.8
poa 0,0,6
# offset 0,6,6
flags:
- followlocalavatar
- maintainLOS
- circleflags
# circleflags:
- farthest
OrbitCamRgn:
region:
type: camera
camera:
messages:
- newcam: OrbitingCam
OrbitingCam:
camera:
brain:
type: circle
xpanlimit 0.8
zpanlimit 0.8
poa 0,0,6
#offset 0,6,6
flags:
- followlocalavatar
- maintainLOS
- circleflags
circleflags:
- farthest
And the .blend that goes with it, note that this Age is for experimental use only, and doesn't reflect what will be in the final Age, that isn't even started.
http://grogyan.googlepages.com/G5_1.zip