Just a Quick Question Regarding Cameras.
Moderator: Moderators
- willinator
- Major

- Posts: 517
- Joined: Sun Mar 13, 2011 3:11 pm
- Projects :: [Coming of the Sentinels]
- xbox live or psn: PC pwns all!
- Location: The rings of Saturn...
Just a Quick Question Regarding Cameras.
Is it possible to have a fixed camera view for an entire map? What I mean is, can you have your unit running around while the camera view remains in the same location, rather than following the unit like it usually does?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Just a Quick Question Regarding Cameras.
No, camera positions are relative locations and not absolute locations in the world, as far as I know. An easy workaround would be to force your unit into a turret when it spawns, but then of course you lose control of the unit (you still have control of the turret, of course, but none of the moving around of the unit). Whether this is a viable workaround or not all depends on what you're trying to do.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Just a Quick Question Regarding Cameras.
Well, the debugger has a console command called SnapCamera, but I'm not entirely sure what it does.
- willinator
- Major

- Posts: 517
- Joined: Sun Mar 13, 2011 3:11 pm
- Projects :: [Coming of the Sentinels]
- xbox live or psn: PC pwns all!
- Location: The rings of Saturn...
Re: Just a Quick Question Regarding Cameras.
Okay, that makes sense. However, I notice that you used the term that it is relavent to an object's location. Is it then possible to have the camera relative to not the unit, but a different object? Then have that object remain stationary, while you control the unit?Maveritchell wrote:No, camera positions are relative locations and not absolute locations in the world, as far as I know.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Just a Quick Question Regarding Cameras.
The camera is always relative to whatever the player is controlling.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Just a Quick Question Regarding Cameras.
I'm fairly certain you can do that if you mess with free camera. I can't test it right now, so I can't give you the steps. I also assume there's a function that lets you attach the view to a non-controlled objet since galactic conquest does it. However, it's method might only work with shell maps.willinator wrote:have your unit running around while the camera view remains in the same location
- willinator
- Major

- Posts: 517
- Joined: Sun Mar 13, 2011 3:11 pm
- Projects :: [Coming of the Sentinels]
- xbox live or psn: PC pwns all!
- Location: The rings of Saturn...
Re: Just a Quick Question Regarding Cameras.
I had a feeling if it was possible it would have something to do with free camera, so I was a secretly hoping you would post in this thread, as you are the god of all knowledge related to this kind of stuff. I hadn't thought of the GC thing though, we'll have to see if it works.[RDH]Zerted wrote:I'm fairly certain you can do that if you mess with free camera. I can't test it right now, so I can't give you the steps. I also assume there's a function that lets you attach the view to a non-controlled object since galactic conquest does it. However, it's method might only work with shell maps.
