Tremulous Forum

Mods => Modding Center => Topic started by: Demolution on July 21, 2008, 08:35:47 pm

Title: Geosynchronous (orbiting) Camera
Post by: Demolution on July 21, 2008, 08:35:47 pm
Would it be hard to make this work, so that when someone spectates a player, the camera is centered on the player but can be moved around in an orbit? Maybe as a mod?
Title: Re: Geosynchronous (orbiting) Camera
Post by: Lava Croft on July 21, 2008, 08:40:43 pm
Even with my non-existent coding knowledge, I say it's a minor task to include a 3rd-person spectator camera that allows you to freely rotate the camera around the subject you are spectating.
Quake2Gloom allowed you to choose 1 of 4 directions for the 3rd-person spectator camera by tapping one of the arrow keys. This was a very, very neat feature.

Now just for some smart person to code it!
Title: Re: Geosynchronous (orbiting) Camera
Post by: Odin on July 21, 2008, 09:48:58 pm
Lava, you forgot to search (http://tremulous.net/forum/index.php?topic=1393.0).
Title: Re: Geosynchronous (orbiting) Camera
Post by: Demolution on July 21, 2008, 09:58:10 pm
Nice contradictions Lava.  :)
I did try to search first, however I used different keywords...
I'm curious if the general community would want this implemented though.
Title: Re: Geosynchronous (orbiting) Camera
Post by: UniqPhoeniX on July 21, 2008, 10:08:44 pm
/me WANTS
Title: Re: Geosynchronous (orbiting) Camera
Post by: Odin on July 21, 2008, 10:13:48 pm
In all seriousness, it would probably be a simple allowance of spectators to use cg_thirdperson 1.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Bomb on July 21, 2008, 10:15:28 pm
/me WANTS

Out of curiosity, is the cg_thirdPerson protection client- or server-side?
Title: Re: Geosynchronous (orbiting) Camera
Post by: Demolution on July 21, 2008, 10:17:56 pm
In all seriousness, it would probably be a simple allowance of spectators to use cg_thirdperson 1.
Yes, but also be able to move around the model of the person you are spectating, in an orbit. That would require some coding, no?
Title: Re: Geosynchronous (orbiting) Camera
Post by: David on July 21, 2008, 10:19:57 pm
To make it use the mouse, yes, but it can otherwise all be done with current cvars and some creative binding.
Title: Re: Geosynchronous (orbiting) Camera
Post by: UniqPhoeniX on July 21, 2008, 10:58:53 pm
3rdperson camera in 1.1.0 == FAIL
try looking up/down with angle 180
Title: Re: Geosynchronous (orbiting) Camera
Post by: Odin on July 21, 2008, 11:24:45 pm
That's because it focuses on the torso.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Lava Croft on July 21, 2008, 11:46:53 pm
Lava, you forgot to search (http://tremulous.net/forum/index.php?topic=1393.0).
He merely asked how hard it would be to code...
While Gloom had a neat 3rd-person spectator camera, it would not be a worse game without it.
I used it while playing back demos, using it while actually spectating a live game did not work so well, since there is a lot of wallhugging in games like Gloom and Tremulous, which makes any kind of comfortable 3rd-person spectating next to impossible.
Unless you do it like y'olde Quake and just let the spectator camera clip through the map...  ::)
Title: Re: Geosynchronous (orbiting) Camera
Post by: Zero on July 22, 2008, 03:36:19 am
Is Counter-strike a open-source in any way? If not, ask someone who knows coding and/or created a game with that feature or just research it and see what you find that is useful.
Title: Re: Geosynchronous (orbiting) Camera
Post by: googles on July 22, 2008, 04:00:01 am
That is made by valve, so its closed source, also! this can only be done with a client mod, including the allowing of cg_thirdperson, the client allows that ONLY if sv_cheats is on
Title: Re: Geosynchronous (orbiting) Camera
Post by: Zero on July 22, 2008, 04:08:58 am
why cant they mod cg_thirdperson to be used without sv_cheats on..... That as simple as it gets....
Title: Re: Geosynchronous (orbiting) Camera
Post by: Odin on July 22, 2008, 06:04:34 am
why cant they mod cg_thirdperson to be used without sv_cheats on..... That as simple as it gets....
Because then it would be (allegedly) cheating. It's not cheating for spectators though so it should be allowed for spectators, presumably in a separate cvar such as cg_thirdPersonSpectator.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Lava Croft on July 22, 2008, 11:00:32 am
A 3rd-person camera is not alleged cheating, it is cheating. It allows you to look around corners without exposing yourself.
Title: Re: Geosynchronous (orbiting) Camera
Post by: David on July 22, 2008, 02:13:11 pm
It also allows you to see the dretch running up behind you.
It also prevents you from aiming.

IMO its probably OK for (non-deadspec) spectators, but it needs a fair bit of work to be useful.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Lava Croft on July 22, 2008, 02:29:48 pm
The Dretch coming from behind thing is also 'cheating', although is far less useful than peeking around corners.

On the subject of a useable 3rd-person camera, did you people already forget the horror that was unleashed upon us gamers once 3d platform games became popular after the release of Mario64? Remember how just about each and every one of those games sported a horrible, uncontrollable and generally annoying 3rd-person camera? It's a rather tough job to code a good, useable 3rd-person camera. The only ones I know running on id Software code is what Raven came up with for Heretic2 and what Ritual did with their Quake3-based UberTools (FAKK2, Alice).
Title: Re: Geosynchronous (orbiting) Camera
Post by: David on July 22, 2008, 03:44:13 pm
We wouldn't be trying to make it playable, just good for spec / making videos etc.
Its probably not worth the hassle unless someone's already done it and we can steal it.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Lava Croft on July 22, 2008, 04:33:33 pm
A good 3rd-person spectator camera is almost the same as good 3d-person 'playing' camera, since you face the same troubles with making the view stay consistent and not-annoying. Just moving the camera backwards does not work at all, as is showcased by Quake3's broken cg_thirdperson.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Bissig on July 22, 2008, 09:54:03 pm
The most horrid camera I've ever encountered was some Jedi Knight game where in the demo you where on a space shipyard, sneaking trough some sort of tunnels or "sewers" and the fucking camera in that already hauntingly dark place jumped out of the narrow tunnel and you fought blindly against some of the watch droids. It was absurd.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Demolution on July 23, 2008, 03:23:41 am
You were watching a demo when that happened? Or you were playing the game?
Title: Re: Geosynchronous (orbiting) Camera
Post by: Kaleo on July 23, 2008, 09:06:38 am
It can't be that hard to implement. UrT managed it...
Title: Re: Geosynchronous (orbiting) Camera
Post by: Bissig on July 23, 2008, 09:36:06 pm
You were watching a demo when that happened? Or you were playing the game?

I was playing the demo (levels) that the publisher offered.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Demolution on July 23, 2008, 11:44:09 pm
It can't be that hard to implement. UrT managed it...
Code stealing time? :P
Title: Re: Geosynchronous (orbiting) Camera
Post by: TinMan on July 24, 2008, 12:04:05 am
It can't be that hard to implement. UrT managed it...
Code stealing time? :P
For a different engine, one that isn't even Open Source? I don't think so. Even if it's not in the engine, UnrealScripts aren't exactly port-able to trem. Might as well code it from scratch.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Demolution on July 24, 2008, 02:08:55 am
It can't be that hard to implement. UrT managed it...
Code stealing time? :P
For a different engine, one that isn't even Open Source? I don't think so. Even if it's not in the engine, UnrealScripts aren't exactly port-able to trem. Might as well code it from scratch.
I doubt anyone will have time to code this. It was a nice idea to consider though.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Odin on July 24, 2008, 08:58:18 am
It can't be that hard to implement. UrT managed it...
Code stealing time? :P
For a different engine, one that isn't even Open Source? I don't think so. Even if it's not in the engine, UnrealScripts aren't exactly port-able to trem. Might as well code it from scratch.
UrT (http://www.urbanterror.net/)
Title: Re: Geosynchronous (orbiting) Camera
Post by: TinMan on July 24, 2008, 10:25:42 am
Since when is UrT Urban Terror and not Unreal Tournament? xD

Urban Terror is still proprietary mod data though, so the code literally would have to be "stolen" if it was their code.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Lava Croft on July 24, 2008, 11:39:33 am
Unreal Tournament is abbreviated as UT.
Title: Re: Geosynchronous (orbiting) Camera
Post by: TinMan on July 25, 2008, 12:57:26 am
Unreal Tournament is abbreviated as UT.
I've seen it as UT, UnT, Unreal, UTr, and UrTr.
Don't play it with Canadians, they come up with stupid short ways of typing anything.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Lava Croft on July 25, 2008, 06:27:31 am
I think it's the Canadians that have the correct abbreviation, since the variations you come up with are just erm, weird.

Also, taking into account common sense, why use anything besides 'UT'?

And, in case you care, look at this (http://en.wikipedia.org/wiki/Unreal_Tournament).
Title: Re: Geosynchronous (orbiting) Camera
Post by: TinMan on July 25, 2008, 06:59:38 am
Oooohhhh....a wikipedia article that says "UT" and "UT99". I can say that after playing it on and off for about 7 years on the Brigzy & Helenski server I've have never seen it referred to as UT99, wikinoob.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Odin on July 25, 2008, 07:34:48 am
Who cares? Can we get back on topic please?
Title: Re: Geosynchronous (orbiting) Camera
Post by: David on July 25, 2008, 01:33:30 pm
Unreal Tournament 2004 is abbreviated to UT2004 by the people who make it.  Do you need anything more official?
Odin: Old topic died.  What's more to say?
Title: Re: Geosynchronous (orbiting) Camera
Post by: benmachine on July 25, 2008, 02:42:18 pm
I feel an irresistable urge to point out that the use of the term Geosynchronous (http://www.answers.com/geosynchronous&r=67) in the topic title is remarkably inappropriate.
Title: Re: Geosynchronous (orbiting) Camera
Post by: Lava Croft on July 25, 2008, 11:27:38 pm
I feel an irresistable urge to point out that the use of the term Geosynchronous (http://www.answers.com/geosynchronous&r=67) in the topic title is remarkably inappropriate.
But it looks very interesting!
Title: Re: Geosynchronous (orbiting) Camera
Post by: Demolution on July 25, 2008, 11:55:46 pm
Bingo. I knew that I was mistakingly using the word to refer to the game, but it's a nice long (and complicated) word that catches the eye. Now, would anyone actually be interested in doing something like this?
Title: Re: Geosynchronous (orbiting) Camera
Post by: Death On Ice on July 26, 2008, 07:41:28 am
Unreal Tournament 2004 is abbreviated to UT2004 by the people who make it.  Do you need anything more official?
Odin: Old topic died.  What's more to say?
UT2k4?